Source: net-snmp Severity: normal Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: usrmerge X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org
Various files contain an embedded paths to the "uname" and "ps" commands: https://tests.reproducible-builds.org/debian/rb-pkg/bullseye/amd64/diffoscope-results/net-snmp.html ./usr/bin/net-snmp-create-v3-user if·/bin/ps·-e·|·egrep·'·snmpd·*$'·>·/dev/null·2>&1·;·then vs. if·/usr/bin/ps·-e·|·egrep·'·snmpd·*$'·>·/dev/null·2>&1·;·then The attached patch fixes this by passing the UNAMEPROG and PSPROG variables to configure. This ensures that regardless of weather the system is built with a merged /usr or a traditional system, the resulting binaries will be useable on both systems (where compatibility symlinks for /bin -> /usr/bin typically are present). Thanks for maintaining net-snmp! live well, vagrant
From 9104ccb98745f67265e8c4338ccb0b100e531f25 Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian <vagr...@reproducible-builds.org> Date: Tue, 29 Dec 2020 01:15:10 +0000 Subject: [PATCH] debian/rules: Pass UNAMEPROG and PSPROG to configure. The paths to "uname" and "ps" may vary as either /bin/CMD or /usr/bin/CMD if the system is configured as a usrmerge system. Use /bin/CMD for the most compatible location. https://tests.reproducible-builds.org/debian/issues/unstable/paths_vary_due_to_usrmerge_issue.html --- debian/rules | 2 ++ 1 file changed, 2 insertions(+) diff --git a/debian/rules b/debian/rules index 41b0a45..f8fdf8b 100755 --- a/debian/rules +++ b/debian/rules @@ -54,6 +54,8 @@ override_dh_auto_configure: --with-mibdirs="\$$HOME/.snmp/mibs:$(MIBS_DIR)" \ --with-mysql \ --enable-blumenthal-aes \ + UNAMEPROG=/bin/uname \ + PSPROG=/bin/ps \ --with-defaults # --with-dnssec-local-validation # not enabled since libval doesn't exist in Debian yet -- 2.20.1
signature.asc
Description: PGP signature