[DSE-Dev] Bug#1064895: python3-sepolicy: please make the package build reproducible.

James Addison jay at jp-hosting.net
Tue Feb 27 11:28:29 GMT 2024


Package: python3-sepolicy
Severity: wishlist
Tags: patch
Control: forwarded -1 https://salsa.debian.org/selinux-team/selinux-python/-/merge_requests/3
User: reproducible-builds at lists.alioth.debian.org
Usertags: buildpath

Dear Maintainer,

I'm an occasional volunteer contributor to the Reproducible Builds[1] project,
and, based on the current contents[2] of the python3-sepolicy package in Debian
trixie, particularly the presence of a direct_url.json file, I believe that it
would fail a reprotest reproducibility build test on Salsa.

The expected cause of difference in the built python3-sepolicy .deb files is
a build-path from the reprotest comparison builds; this is written into the
Python direct_url.json file.

For flit-based Pyton packages we automatically remove[3] that file, and I
believe that we can do that safely here too.  I've provided a merge request[4]
to suggest that change.

Thanks,
James

[1] - https://reproducible-builds.org/

[2] - https://packages.debian.org/trixie/all/python3-sepolicy/filelist

[3] - https://salsa.debian.org/python-team/tools/dh-python/-/commit/2ef6ff13748984258d5da000c17d9cdad707b9ae

[4] - https://salsa.debian.org/selinux-team/selinux-python/-/merge_requests/3



More information about the SELinux-devel mailing list