Debian Bug report logs -
#978598
net-snmp: reproducible builds: embeded paths to "ps" and "uname"
Reported by: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Tue, 29 Dec 2020 02:27:01 UTC
Severity: normal
Tags: patch
Fixed in version net-snmp/5.9.1+dfsg-1
Done: Craig Small <csmall@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, reproducible-bugs@lists.alioth.debian.org, Net-SNMP Packaging Team <pkg-net-snmp-devel@lists.alioth.debian.org>:
Bug#978598; Package src:net-snmp.
(Tue, 29 Dec 2020 02:27:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Vagrant Cascadian <vagrant@reproducible-builds.org>:
New Bug report received and forwarded. Copy sent to reproducible-bugs@lists.alioth.debian.org, Net-SNMP Packaging Team <pkg-net-snmp-devel@lists.alioth.debian.org>.
(Tue, 29 Dec 2020 02:27:03 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Source: net-snmp
Severity: normal
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: usrmerge
X-Debbugs-Cc: reproducible-bugs@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
[0001-debian-rules-Pass-UNAMEPROG-and-PSPROG-to-configure.patch (text/x-diff, inline)]
From 9104ccb98745f67265e8c4338ccb0b100e531f25 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@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 (application/pgp-signature, inline)]
Message sent on
to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Bug#978598.
(Tue, 23 Mar 2021 11:27:03 GMT) (full text, mbox, link).
Message #8 received at 978598-submitter@bugs.debian.org (full text, mbox, reply):
Control: tag -1 pending
Hello,
Bug #978598 in net-snmp reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:
https://salsa.debian.org/debian/net-snmp/-/commit/b85c2b9ef8a3d6a903b2bc48f8bca421cfc28c95
------------------------------------------------------------------------
Embed path to ps and uname.
Closes: #978598
------------------------------------------------------------------------
(this message was generated automatically)
--
Greetings
https://bugs.debian.org/978598
Added tag(s) pending.
Request was from Craig Small <noreply@salsa.debian.org>
to 978598-submitter@bugs.debian.org.
(Tue, 23 Mar 2021 11:27:03 GMT) (full text, mbox, link).
Reply sent
to Craig Small <csmall@debian.org>:
You have taken responsibility.
(Mon, 20 Sep 2021 12:06:09 GMT) (full text, mbox, link).
Notification sent
to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Bug acknowledged by developer.
(Mon, 20 Sep 2021 12:06:09 GMT) (full text, mbox, link).
Message #15 received at 978598-close@bugs.debian.org (full text, mbox, reply):
Source: net-snmp
Source-Version: 5.9.1+dfsg-1
Done: Craig Small <csmall@debian.org>
We believe that the bug you reported is fixed in the latest version of
net-snmp, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 978598@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Craig Small <csmall@debian.org> (supplier of updated net-snmp package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Mon, 20 Sep 2021 21:35:58 +1000
Source: net-snmp
Architecture: source
Version: 5.9.1+dfsg-1
Distribution: unstable
Urgency: medium
Maintainer: Debian SNMP Team <team+snmp@tracker.debian.org>
Changed-By: Craig Small <csmall@debian.org>
Closes: 972985 975477 977573 978598 985369 990706 993997
Changes:
net-snmp (5.9.1+dfsg-1) unstable; urgency=medium
.
[ Owen Evans ]
* Enable Blumenthal AES-192 and AES-256 encryption Closes: #972985
.
[ Ferenc Wágner ]
* Enable systemd integration and UDP socket activation
Closes: #985369
.
[ Sergio Durigan Junior ]
* d/libsnmp-dev.install: Don't install archive (.a) files.
The archive files are just temporary files generated in order to
create the final shared objects (.so), and we don't need to ship them
in the package.
.
[ Debian Janitor ]
* Trim trailing whitespace.
.
[ Vagrant Cascadian ]
* Embed path to ps and uname. Closes: #978598
.
[ Craig Small ]
* Make the perl agent code more tolerant of perl types, thanks
to Guillem Jover for the patch Closes: #977573
* Make CI files use correct libmariadb-dev package names
Closes: #975477
* mib2c: Add recommends and fix error message Closes: #990706
.
* Add configuration directory for snmpd
* New upstream release
* Add Recommends: procps for snmpd Closes: #993997
Checksums-Sha1:
19feb06ad34270191744120354f068dc4176d349 2812 net-snmp_5.9.1+dfsg-1.dsc
85fb26a4a86a7abcf2ff2a43be641553b37d9735 3557580 net-snmp_5.9.1+dfsg.orig.tar.xz
fc16451aa98836fd0d5295800104c12b40ca663f 69264 net-snmp_5.9.1+dfsg-1.debian.tar.xz
829332ee4c2a07c831dbcd4f4f6adf34e8c1ac82 10516 net-snmp_5.9.1+dfsg-1_amd64.buildinfo
Checksums-Sha256:
70908f1f64835d6d5ac34f4dbe7c48f132729e2e39c895250f0f7cd2ce43704a 2812 net-snmp_5.9.1+dfsg-1.dsc
30342c169f7494e653a766c677b0995a151ac9f887645a760e25c767a87a2c1b 3557580 net-snmp_5.9.1+dfsg.orig.tar.xz
710df9861a33ce55561bfb37085297e19eefb0e6805c68ba0dae041bb2fb0d9b 69264 net-snmp_5.9.1+dfsg-1.debian.tar.xz
a47059eebba6f5fc16bbcfaaa367ab36384c638a2b053cecc18a4abfc99cb30e 10516 net-snmp_5.9.1+dfsg-1_amd64.buildinfo
Files:
16030cd6002663dddb14274ebdbc7104 2812 net optional net-snmp_5.9.1+dfsg-1.dsc
03a8c9eb42be9764bc848f0ce76b38b6 3557580 net optional net-snmp_5.9.1+dfsg.orig.tar.xz
8f61e03698e78e7e81bf8f75a879a180 69264 net optional net-snmp_5.9.1+dfsg-1.debian.tar.xz
112316f8759e0be589559bb9c3500538 10516 net optional net-snmp_5.9.1+dfsg-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEXT3w9TizJ8CqeneiAiFmwP88hOMFAmFIdAsACgkQAiFmwP88
hOMHOA/9Eg971uIPEhO3/0EawA76ZO/sPd8R6LqCyGKPMT6vj1C7p094TR1Avv+F
Cq7IZozLBJ/5iMQpqHOBDqjz9gvDLGlQkZ8ZFmjlVAkbAur0LDnPuGCuuaFXC/bC
4NHo3eXqMwCuwzuVonIAx8NgFGncnAN6/T5ywpR79XeIQ1fayYjg8EiE0HmdX6YH
q9tAoqOJ3mExmIKEDHXrMN/jrYUyhDjA8949iKzTZH22qtH7aPQ9cXkBZ8paJVTp
m21YESfeaJfqmz6G8EedF9nsAGGLYzw6swQMnsnOhHC8QfZXCfgr5rJdLl1dJZIR
6OykjcanatkqBQMgAa52g0sStjry0pG8Q1IAR9tFK3keAjrEvwq3o/E2ESKy1Kpo
j3WFOr+AfTJ3Erxq+jAfEm+oMbPSqPieQDMGgw37gSQOY3gAT/ptgRRP4KwIGvS4
wcBL7X06Xi/4CcBuokM+mXYcAV0pE8nVVwUHTaSXl/jaycfbqt67pcqc/ftS31kd
phyBFLcxfblbqJOOZUUJEvqurhWu25dExA2WgsXqwDXDLPJv8UDff1H+2nqC2H7H
7YqzgLF4zD3VMiD9tiUZ2/t9aSbjfKXfS1MJD3qC6TRjQRRd5Za75E9lP63CdcX1
ODb4yBTw7uZZssdysCP0yUGC/DsiJiGOjyyHixfrbPD0ga241kw=
=tqj9
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Wed, 10 Nov 2021 07:29:54 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Wed May 17 12:50:06 2023;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.