[Debian-med-packaging] Bug#1120634: qcat: please make the build reproducible
Chris Lamb
lamby at debian.org
Thu Nov 13 16:42:07 GMT 2025
Source: qcat
Version: 1.1.0-8
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: nocheck
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org
Hi,
Whilst working on the Reproducible Builds effort [0], we noticed that
qcat could not be built reproducibly.
This is because the package ships different contents depending on
whether the test are run; specifically, the modification time of
some files is different.
Patch attached that uses cp's --archive feature to maintain mtimes.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
--- a/debian/rules 2025-11-13 08:01:52.735749374 -0800
--- b/debian/rules 2025-11-13 08:17:57.412317705 -0800
@@ -5,7 +5,7 @@
include /usr/share/dpkg/default.mk
-export PYBUILD_BEFORE_TEST=cp -r {dir}/$(DEB_SOURCE)/test {build_dir}/$(DEB_SOURCE) ;
+export PYBUILD_BEFORE_TEST=cp -ar {dir}/$(DEB_SOURCE)/test {build_dir}/$(DEB_SOURCE) ;
%:
dh $@ --buildsystem=pybuild
More information about the Debian-med-packaging
mailing list