Package: systraq Version: 20160803-3 Severity: normal Tags: patch User: m...@linux.it Usertags: usrmerge
Dear Maintainer, The package currently fails to reproducibly build on merged-usr vs non-merged systems. https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/systraq.html The problem is caused by embedding the full path of run-parts looked up via PATH. On merged-usr systems /bin is a symlink to /usr/bin and normally PATH has /usr/bin before /bin, thus you end up with /usr/bin/run-parts on merged-usr systems while it's /bin/run-parts on non-merged systems. In my opinion the best solution would be to avoid embedding a path at all and just rely on PATH at *runtime* (instead of build-time). Unfortunately the generated configure script for some reason only accepts RUN_PATHS variables that contains slashes for unknown reasons. (This doesn't happen in all packages I've looked at, only some.) Thus the solution for now is to pass RUN_PARTS=/bin/run-parts to configure. Please see attached debdiff. Regards, Andreas Henriksson
diff -Nru systraq-20160803/debian/changelog systraq-20160803/debian/changelog --- systraq-20160803/debian/changelog 2017-08-17 10:54:16.000000000 +0200 +++ systraq-20160803/debian/changelog 2018-12-02 15:25:39.000000000 +0100 @@ -1,3 +1,11 @@ +systraq (20160803-3.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Pass RUN_PARTS=/bin/run-parts to configure + - fixes reproducible build on merged-usr vs non-merged systems + + -- Andreas Henriksson <andr...@fatal.se> Sun, 02 Dec 2018 15:25:39 +0100 + systraq (20160803-3) unstable; urgency=medium * debian/20systraq: invert logic in order to exit successfully in case diff -Nru systraq-20160803/debian/rules systraq-20160803/debian/rules --- systraq-20160803/debian/rules 2017-08-15 18:10:25.000000000 +0200 +++ systraq-20160803/debian/rules 2018-12-02 15:25:39.000000000 +0100 @@ -3,7 +3,7 @@ include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/autotools.mk -DEB_CONFIGURE_EXTRA_FLAGS := --libexecdir=/usr/share +DEB_CONFIGURE_EXTRA_FLAGS := RUN_PARTS=/bin/run-parts --libexecdir=/usr/share install/systraq:: rm -f debian/systraq/etc/systraq/systraq.d/*