On 2026-03-30, Vagrant Cascadian wrote:
> On 2023-06-28, Vagrant Cascadian wrote:
>> The permissions debian.supp differs depending on the umask of the build >> environment: >> >> https://tests.reproducible-builds.org/debian/rb-pkg/bookworm/amd64/diffoscope-results/valgrind.html >> >> -rw-r--r--···0·root·········(0)·root·········(0)·····1136·2022-08-28·10:40:16.000000·./usr/lib/valgrind/debian.supp >> vs. >> -rw-rw-r--···0·root·········(0)·root·········(0)·····1136·2022-08-28·10:40:16.000000·./usr/lib/valgrind/debian.supp >> >> >> The attached patch to debian/rules explicitly sets the permissions on >> debian.supp after dh_fixperms is run. >> >> Another approach is to remove the exclusion on .supp files from the >> dh_fixperms call, though presumeably this was added for a reason and >> that might need to be fixed some other way.
> > This still seems to be an issue, with no comments ... I would like to > perform an NMU to fix this unless the maintainers have significant > concerns.
The plot thickens... .supp and numerous other files extensions were excluded from dh_fixperms call in commit: commit 0c7b41fdf1b91a2fa20ec13862166bac33a2fc9f Author: Alessandro Ghedini <ghe…@debian.org> Date: Sat Sep 4 10:43:02 2021 +0100 Avoid marking files executable unnecessarily Which is presumably to work around the issue in dh_fixperms: dh_fixperms: please don't make all files executable in subdirectories of /usr/libexec https://bugs.debian.org/ Which resulted in filing a bug in valgrind: valgrind: a lot of files in /usr/libexec/ are .xml files that don't belong there https://bugs.debian.org/1043527 ... So the workaround to dh_fixperms marking libexec files executable triggers minor reproducibility issues... I have attached an updated patch, which I think might at least address the reproducibility issue, by removing .supp files from the dh_fixperms excludes, and manually removing the execute bit in the dh_fixperms override. Arguably, the dh_fixperms override should do the same with all the other file types as well, as the (intended?) purpose of the override was to remove the execute bit, as opposeed to all the other changes. live well, vagrant