Source: libsmi Version: 0.4.8+dfsg2-15 Severity: normal Tags: patch User: [email protected] Usertags: usrmerge
Dear Maintainer, According to reproducible build tests libsmi gets built differently on a merged-usr system vs a non-merged system. The package embeds the full path of sh. Since PATH defaults to /usr/bin before /bin, the first will be used on a usrmerged system where they're both essentially the same thing, but /usr/bin/sh does not exist on non- merged systems. The attached patch passes SH=/bin/sh to explicitly set the path. Regards, Ansgar
diff -Nru libsmi-0.4.8+dfsg2/debian/changelog libsmi-0.4.8+dfsg2/debian/changelog --- libsmi-0.4.8+dfsg2/debian/changelog 2016-11-17 15:33:25.000000000 +0100 +++ libsmi-0.4.8+dfsg2/debian/changelog 2018-12-01 13:07:16.000000000 +0100 @@ -1,3 +1,10 @@ +libsmi (0.4.8+dfsg2-15.1) UNRELEASED; urgency=medium + + * Explicit pass SH=/bin/sh to configure to make build reproducible + between merged-usr and non-merged-usr systems. + + -- Ansgar Burchardt <[email protected]> Sat, 01 Dec 2018 13:07:16 +0100 + libsmi (0.4.8+dfsg2-15) unstable; urgency=medium * Add /var/lib/snmp/mibs/site to the default search path for MIB files. diff -Nru libsmi-0.4.8+dfsg2/debian/rules libsmi-0.4.8+dfsg2/debian/rules --- libsmi-0.4.8+dfsg2/debian/rules 2016-11-17 15:33:25.000000000 +0100 +++ libsmi-0.4.8+dfsg2/debian/rules 2018-12-01 13:00:07.000000000 +0100 @@ -4,6 +4,9 @@ %: dh $@ --with autoreconf +override_dh_auto_configure: + dh_auto_configure -- SH=/bin/sh + override_dh_auto_test: # Don't do that.

