Debian Bug report logs -
#983126
iptotal: embeds path to "date"
Reported by: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Fri, 19 Feb 2021 19:36:01 UTC
Severity: normal
Tags: patch
Fixed in version iptotal/0.3.3-15
Done: Vagrant Cascadian <vagrant@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, Debian QA Group <packages@qa.debian.org>:
Bug#983126; Package src:iptotal.
(Fri, 19 Feb 2021 19:36: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, Debian QA Group <packages@qa.debian.org>.
(Fri, 19 Feb 2021 19:36: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: iptotal
Severity: normal
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: usrmerge
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org
The configuration /etc/iptotal/iptotal.cfg embeds the path to the "date"
command, which may vary when built on a usrmerge vs. a non-usrmerge
systems.
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/iptotal.html
/etc/iptotal/iptotal.cfg
DATECMD=/bin/date
DATECMD=/usr/bin/date
Patch attached which fixes this in debian/rules.
live well,
vagrant
[0001-debian-rules-Set-DATECMD-from-dh_auto_install.patch (text/x-diff, inline)]
From 4830bf04a5275f3ac69b7829c8481ba41fd76f6b Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Fri, 19 Feb 2021 18:51:03 +0000
Subject: [PATCH 1/2] debian/rules: Set DATECMD from dh_auto_install.
The path to "date" is embedded in the binaries, which may be /bin/date
or /usr/bin/date depending on if the running system is a usrmerge
system or not. Consistently use /bin/date as this is the most
compatible path.
https://tests.reproducible-builds.org/debian/issues/paths_vary_due_to_usrmerge_issue.html
---
debian/rules | 3 +++
1 file changed, 3 insertions(+)
diff --git a/debian/rules b/debian/rules
index a53df1d..5620fa6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -15,3 +15,6 @@ override_dh_auto_install:
rm -f $(CURDIR)/debian/iptotal/var/lib/iptotal/*.png
rm -f $(CURDIR)/debian/iptotal/var/lib/iptotal/archive/*.png
rm -f $(CURDIR)/debian/iptotal/var/lib/iptotal/images/*.png
+ # Avoid embedding the path to date, by consistently using the
+ # most compatible path to date.
+ sed -i -e 's,^DATECMD=.*,DATECMD=/bin/date,g' $(CURDIR)/debian/iptotal/etc/iptotal/iptotal.cfg
--
2.20.1
[signature.asc (application/pgp-signature, inline)]
Reply sent
to Vagrant Cascadian <vagrant@debian.org>:
You have taken responsibility.
(Fri, 19 Feb 2021 20:21:09 GMT) (full text, mbox, link).
Notification sent
to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Bug acknowledged by developer.
(Fri, 19 Feb 2021 20:21:09 GMT) (full text, mbox, link).
Message #10 received at 983126-close@bugs.debian.org (full text, mbox, reply):
Source: iptotal
Source-Version: 0.3.3-15
Done: Vagrant Cascadian <vagrant@debian.org>
We believe that the bug you reported is fixed in the latest version of
iptotal, 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 983126@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Vagrant Cascadian <vagrant@debian.org> (supplier of updated iptotal 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: Fri, 19 Feb 2021 11:46:33 -0800
Source: iptotal
Architecture: source
Version: 0.3.3-15
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Vagrant Cascadian <vagrant@debian.org>
Closes: 983126
Changes:
iptotal (0.3.3-15) unstable; urgency=medium
.
* QA upload.
* debian/rules: Set DATECMD from dh_auto_install. (Closes: #983126)
Checksums-Sha1:
f23e841d17ca1ebd07a4a59d55ac3351109f76bf 1295 iptotal_0.3.3-15.dsc
2c3204ac8bde15b4c0b3db8a5bc42dc05956f596 11960 iptotal_0.3.3-15.debian.tar.xz
Checksums-Sha256:
3caf067641fd0129014c36b933ffbb69fd3a360c559089a5135e4a6e8a138828 1295 iptotal_0.3.3-15.dsc
55bf70e2c91bfa8719af39c22150e34430992291cfe1fd2b59c8c3f8fe983f9b 11960 iptotal_0.3.3-15.debian.tar.xz
Files:
c78b34c3bdf386c9591daf54b315d2ae 1295 admin optional iptotal_0.3.3-15.dsc
0388c2626b0ae7063d85257eb84526cd 11960 admin optional iptotal_0.3.3-15.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iIkEARYKADEWIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCYDAXIhMcdmFncmFudEBk
ZWJpYW4ub3JnAAoJENxRj8h/lxaqQRMBAPPudxu2i2us/oPhiJ4NvTxQscDz8imu
3hihCa+KGyE8AQDobo+F69eWwpG8wy2hVSY9ShQ88ghix4rDxAqKG8JJCg==
=FJZE
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Tue, 30 Mar 2021 07:25:31 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:58:10 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.