From lamby at debian.org Mon Oct 6 17:52:56 2025 From: lamby at debian.org (Chris Lamb) Date: Mon, 06 Oct 2025 09:52:56 -0700 Subject: Bug#1117494: python-can: please make the build reproducible Message-ID: <175976943810.5178.10591692140990928399@08999de0d766> Source: python-can Version: 4.6.1-1 Severity: wishlist Tags: patch User: reproducible-builds at lists.alioth.debian.org Usertags: environment X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org Hi, Whilst working on the Reproducible Builds effort [0], we noticed that python-can could not be built reproducibly. This is because the documentation calls out to Python 2.x and the error message that gets embedded in the documentation varies depending on the shell (eg. dash vs. bash): ? ? ? ? -/bin/sh: 1: python: not found ? ? ? ? +/bin/sh: line 1: python: command not found This is, in turn, caused by the debian/patches/python3.patch patch being slightly incomplete, we also need to patch the can.bridge bit: --- a/doc/scripts.rst 2025-10-06 09:41:22.757481287 -0700 --- b/doc/scripts.rst 2025-10-06 09:49:15.270426016 -0700 @@ -62,7 +62,7 @@ A small application that can be used to connect two can buses: -.. command-output:: python -m can.bridge -h +.. command-output:: python3 -m can.bridge -h :shell: [0] https://reproducible-builds.org/ Regards, -- ,''`. : :' : Chris Lamb `. `'` lamby at debian.org / chris-lamb.co.uk `- -------------- next part -------------- --- a/doc/scripts.rst 2025-10-06 09:41:22.757481287 -0700 --- b/doc/scripts.rst 2025-10-06 09:49:15.270426016 -0700 @@ -62,7 +62,7 @@ A small application that can be used to connect two can buses: -.. command-output:: python -m can.bridge -h +.. command-output:: python3 -m can.bridge -h :shell: From lamby at debian.org Wed Oct 8 17:48:57 2025 From: lamby at debian.org (Chris Lamb) Date: Wed, 08 Oct 2025 09:48:57 -0700 Subject: Bug#1117614: rsbackup: please make the build reproducible Message-ID: <175994206418.14740.8723582568131562761@233660a471ef> Source: rsbackup Version: 10.0-3 Severity: wishlist Tags: patch User: reproducible-builds at lists.alioth.debian.org Usertags: filesystem X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org Hi, Whilst working on the Reproducible Builds effort [0], we noticed that rsbackup could not be built reproducibly. This was because the DEBIAN/md5sums file was generated by naively iterating over the file system without piping the outout via sort(1). (There is a call to sort, but only for one of the binary packages.) Patch attached. [0] https://reproducible-builds.org/ Regards, -- ,''`. : :' : Chris Lamb `. `'` lamby at debian.org / chris-lamb.co.uk `- -------------- next part -------------- --- a/debian/rules 2025-10-08 09:12:32.180505084 -0700 --- b/debian/rules 2025-10-08 09:41:20.475219750 -0700 @@ -119,7 +119,7 @@ cd debian/rsbackup-graph && \ find -name DEBIAN -prune -o -type f -print \ | sed 's/^\.\///' \ - | xargs md5sum > DEBIAN/md5sums + | sort | xargs md5sum > DEBIAN/md5sums dpkg-gencontrol -isp -prsbackup-graph -Pdebian/rsbackup-graph \ -Tdebian/substvars.rsbackup-graph chmod -R g-ws debian/rsbackup-graph