Debian Bug report logs -
#913195
netmrg: Make netmrg reproducible
Reported by: Snahil Singh <singhsnahil@gmail.com>
Date: Wed, 7 Nov 2018 23:21:01 UTC
Severity: important
Tags: patch
Found in version netmrg/0.20-7.2
Fixed in version 0.20-7.2+rm
Done: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Uwe Steinmann <steinm@debian.org>:
Bug#913195; Package netmrg.
(Wed, 07 Nov 2018 23:21:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Snahil Singh <singhsnahil@gmail.com>:
New Bug report received and forwarded. Copy sent to Uwe Steinmann <steinm@debian.org>.
(Wed, 07 Nov 2018 23:21:04 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: netmrg
Version: 0.20-7.2
Severity: important
Tags: patch
Dear Maintainer,
While working on Reproducible Builds effort[0], I found that netmrg
could not be built reproducibly because in the var/lib/rrd/Makefile.am, rrdtool is picking current time
to create the database. So, in order to make it reproducible, need to
pass '--start' argument with value as 'SOURCE_DATE_EPOCH'[1] to the
rrdtool. Please find attached patch below for the changes in the
Makefile.am.
But the changes can be implemented only if netmrg is upgraded to follow
latest debian/rules and debian/compat because currently it won't pick any
changes in the Makefile as it's following old debian rules and
debian/compat(i.e. equal to 5) and so it gets the Makefile shipped in the
tarball. So, once the debian/rules and debian/compat
(>=10) are upgraded to work with latest debhelper, dh-autoreconf can
function and regenerate Makefile on every build and therefore, the
changes in the patch(given below) can be implemented and can work
towards making netmrg reproducible.
Please let me know if you have any questions regarding this.
[0] https://reproducible-builds.org/
[1] https://reproducible-builds.org/specs/source-date-epoch/
Thank you
Snahil Singh
===================== begin patch ==========================
--- netmrg-0.20.orig/var/lib/rrd/Makefile.am
+++ netmrg-0.20/var/lib/rrd/Makefile.am
@@ -11,7 +11,7 @@ netmrg_var_lib_DATA = $(RRDS)
$(RRDS) :
@echo " RRD $@"
- @$(RRDTOOL) create zero.rrd DS:mon_25:GAUGE:600:U:U RRA:AVERAGE:0:1:1 RRA:LAST:0:1:1 RRA:MAX:0:1:1
+ @$(RRDTOOL) create --start $(SOURCE_DATE_EPOCH) zero.rrd DS:mon_25:GAUGE:600:U:U RRA:AVERAGE:0:1:1 RRA:LAST:0:1:1 RRA:MAX:0:1:1
============================================================
-- System Information:
Debian Release: buster/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.9.93-linuxkit-aufs (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968), LANGUAGE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect
Versions of packages netmrg depends on:
ii adduser 3.118
pn apache2 | httpd <none>
ii debconf [debconf-2.0] 1.5.69
pn default-mysql-client | virtual-mysql-client <none>
ii libc6 2.27-7
ii libgcc1 1:8.2.0-9
ii libmariadbclient18 1:10.1.35-1
ii libsnmp30 5.7.3+dfsg-4+b1
ii libstdc++6 8.2.0-9
ii libxml2 2.9.4+dfsg1-7+b1
pn php | php-cgi <none>
pn php-cli <none>
pn php-mysql <none>
ii rrdtool 1.7.0-1+b3
pn wwwconfig-common <none>
ii zlib1g 1:1.2.11.dfsg-1
netmrg recommends no packages.
Versions of packages netmrg suggests:
pn default-mysql-server | virtual-mysql-server <none>
Reply sent
to Debian FTP Masters <ftpmaster@ftp-master.debian.org>:
You have taken responsibility.
(Sun, 18 Nov 2018 17:27:16 GMT) (full text, mbox, link).
Notification sent
to Snahil Singh <singhsnahil@gmail.com>:
Bug acknowledged by developer.
(Sun, 18 Nov 2018 17:27:16 GMT) (full text, mbox, link).
Message #10 received at 913195-done@bugs.debian.org (full text, mbox, reply):
Version: 0.20-7.2+rm
Dear submitter,
as the package netmrg has just been removed from the Debian archive
unstable we hereby close the associated bug reports. We are sorry
that we couldn't deal with your issue properly.
For details on the removal, please see https://bugs.debian.org/913212
The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.
This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.
Debian distribution maintenance software
pp.
Scott Kitterman (the ftpmaster behind the curtain)
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Mon, 17 Dec 2018 07:45:50 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 10:46:17 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.