Package: resource-agents Version: 1:4.2.0-1 Severity: normal Tags: unreproducible patch User: m...@linux.it Usertags: usrmerge
Dear maintainer. The package resource-agents currently fails to build reproducibly on merged-usr vs non-merged systems. Please see attached patch fixing this issue. Regards, Andreas Henriksson
diff -Nru resource-agents-4.2.0/debian/changelog resource-agents-4.2.0/debian/changelog --- resource-agents-4.2.0/debian/changelog 2018-10-24 11:43:37.000000000 +0200 +++ resource-agents-4.2.0/debian/changelog 2018-12-06 20:25:11.000000000 +0100 @@ -1,3 +1,11 @@ +resource-agents (1:4.2.0-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Pass paths explicitly to configure instead of looking up tools + - fixes reproducible build on merged-usr vs non-merged systems + + -- Andreas Henriksson <andr...@fatal.se> Thu, 06 Dec 2018 20:25:11 +0100 + resource-agents (1:4.2.0-1) unstable; urgency=medium * New upstream version 4.2.0 diff -Nru resource-agents-4.2.0/debian/rules resource-agents-4.2.0/debian/rules --- resource-agents-4.2.0/debian/rules 2018-10-24 11:40:00.000000000 +0200 +++ resource-agents-4.2.0/debian/rules 2018-12-06 20:25:11.000000000 +0100 @@ -14,7 +14,12 @@ echo $(DEB_VERSION_UPSTREAM_REVISION) > .tarball-version [ -f configure ] || sh autogen.sh if [ -e configure -a ! -x configure ]; then chmod u+x configure; fi - ./configure --sbindir=/usr/sbin --libexecdir=/usr/lib \ + ./configure \ + BASH_SHELL=/bin/bash RM=/bin/rm \ + ROUTE=/sbin/route GREP=/bin/grep \ + TAR=/bin/tar PING=/bin/ping IFCONFIG=/sbin/ifconfig \ + REBOOT=/sbin/reboot POWEROFF_CMD=/sbin/poweroff \ + --sbindir=/usr/sbin --libexecdir=/usr/lib \ --with-ocf-root=/usr/lib/ocf --with-initdir=/etc/init.d \ --with-rsctmpdir=/run/resource-agents \ --prefix=/usr --sysconfdir=/etc --localstatedir=/var \