Your message dated Sun, 04 Sep 2016 17:56:56 +0000
with message-id <[email protected]>
and subject line Bug#836579: Removed package(s) from unstable
has caused the Debian Bug report #792963,
regarding erc: please make the mtimes reproducible
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
792963: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=792963
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: erc
Version: 5.3-1
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: timestamps
X-Debbugs-Cc: [email protected]
Hi!
While working on the “reproducible builds” effort [1], we have noticed
that erc could not be built reproducibly.
The attached patch sets the mtimes of all files which are modified
during the built to the date of the last changelog entry in order to
produce files with reproducible metadata.
Cheers,
akira
[1]: https://wiki.debian.org/ReproducibleBuilds
diff -u erc-5.3/debian/rules erc-5.3/debian/rules
--- erc-5.3/debian/rules
+++ erc-5.3/debian/rules
@@ -13,6 +13,8 @@
configure-stamp:
touch configure-stamp
+BUILD_DATE := $(shell dpkg-parsechangelog --show-field Date)
+
build: configure-stamp build-stamp
build-stamp:
# Comply with Debian vote 2006-1
@@ -87,6 +89,9 @@
find * -type f ! -regex '^DEBIAN/.*' -print0 | xargs -r0 md5sum >
DEBIAN/md5sums
## Generate DEBIAN/control
dpkg-gencontrol -isp -p${PACKAGE} -P${PKGDIR}
+## Fix mtimes before building binary packages
+ find ${PKGDIR} -newermt '$(BUILD_DATE)' -print0 | \
+ xargs -0r touch --no-dereference --date='$(BUILD_DATE)'
## Build the binary package
dpkg --build ${PKGDIR} ..
diff -u erc-5.3/debian/changelog erc-5.3/debian/changelog
--- erc-5.3/debian/changelog
+++ erc-5.3/debian/changelog
@@ -1,3 +1,10 @@
+erc (5.3-1.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix mtimes before building binary packages to produce reproducible output
+
+ -- akira <[email protected]> Fri, 17 Jul 2015 22:06:13 +0200
+
erc (5.3-1) unstable; urgency=low
* debian/control:
--- End Message ---
--- Begin Message ---
Version: 5.3-1+rm
Dear submitter,
as the package erc 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/836579
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
[email protected].
Debian distribution maintenance software
pp.
Chris Lamb (the ftpmaster behind the curtain)
--- End Message ---