Your message dated Wed, 29 Jul 2015 17:35:56 +0000
with message-id <[email protected]>
and subject line Bug#792988: fixed in xbs 0-10
has caused the Debian Bug report #792988,
regarding xbs: 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.)
--
792988: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=792988
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: xbs
Version: 0-9
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 xbs 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. Once applied, xbs can be built
reproducibly in our current experimental framework.
Cheers,
akira
[1]: https://wiki.debian.org/ReproducibleBuilds
diff -Nru xbs-0/debian/changelog xbs-0/debian/changelog
--- xbs-0/debian/changelog 2015-03-07 23:59:59.000000000 +0100
+++ xbs-0/debian/changelog 2015-07-14 15:14:23.000000000 +0200
@@ -1,3 +1,10 @@
+xbs (0-9.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix mtimes before building binary packages
+
+ -- akira <[email protected]> Tue, 14 Jul 2015 15:13:30 +0200
+
xbs (0-9) unstable; urgency=low
* patch from Sylvestre Ledru <[email protected]> to make this build
diff -Nru xbs-0/debian/rules xbs-0/debian/rules
--- xbs-0/debian/rules 2015-03-07 23:58:40.000000000 +0100
+++ xbs-0/debian/rules 2015-07-14 15:13:21.000000000 +0200
@@ -7,6 +7,8 @@
ddir=`pwd`/debian/tmp
+BUILD_DATE := $(shell dpkg-parsechangelog --show-field Date)
+
build:
$(checkdir)
make
@@ -70,6 +72,8 @@
# clean permissions and build
chown -R root:root debian/tmp
chmod -R go=rX debian/tmp
+ find debian/tmp -newermt '$(BUILD_DATE)' -print0 | \
+ xargs -0r touch --no-dereference --date='$(BUILD_DATE)'
dpkg --build debian/tmp ..
define checkdir
--- End Message ---
--- Begin Message ---
Source: xbs
Source-Version: 0-10
We believe that the bug you reported is fixed in the latest version of
xbs, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Matthew Vernon <[email protected]> (supplier of updated xbs 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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Wed, 29 Jul 2015 17:36:35 +0100
Source: xbs
Binary: xbs
Architecture: i386 source
Version: 0-10
Distribution: unstable
Urgency: low
Maintainer: Matthew Vernon <[email protected]>
Changed-By: Matthew Vernon <[email protected]>
Closes: 792988
Description:
xbs - 3-d models and movies of molecules
Changes:
xbs (0-10) unstable; urgency=low
.
* patch from Colin Watson to move to dh-based packaging. Thanks!
(Closes: #792988)
Checksums-Sha1:
750f1975d689f253498b7e65d323f0e50d40e4eb 1434 xbs_0-10.dsc
a43c6295ee7632e97f91884dcd5afc5d4f6c67c6 107265 xbs_0-10.tar.gz
f2919ab33eef96f95b6f6d70d3ced25c2a9caa49 78788 xbs_0-10_i386.deb
Checksums-Sha256:
db12a918102f2419125a204e00ec4291eb1777042bdc7149a406e70cae2dfb1a 1434
xbs_0-10.dsc
e8d8e1ed911a340321ff2e5b40641167216d83496a4b262bbb7f97b1a87e5133 107265
xbs_0-10.tar.gz
5972e7b46e5213e158f8d793ddeac813a8452e008a92f9bab9b8d3f31d528d00 78788
xbs_0-10_i386.deb
Files:
ef3c18479fb87f11908996102dd3ebbe 1434 science optional xbs_0-10.dsc
cc3b0ddd3d5ea2c78a7f02219f0468e1 107265 science optional xbs_0-10.tar.gz
6f96a4d45f2494299dfb43400b2c8c3e 78788 science optional xbs_0-10_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iQIcBAEBCgAGBQJVuQtNAAoJEBL00hyPamPIR50P/iOzjlgj4FR9A/Pe0qjpoC2H
7U1MsCYhdRcyJ13k5k4WnXacKSkGhLtZLSZp/cRIHkSbOsoP2ZGRx2nZ15wkuuBb
4OHMJX0txjFkOnEZNjLUocjiyqr+asnYYzL5/OBYAzVGmZQofn6J0aTMbJA5ktKc
+p2Va6j7R27Q04SqZG3lKcZq8+tgS/Il9VL/LbHxKzd/HH0MQMhlMOcVwdfRK7F/
RXwdRHp43oha1NF40y7VIK9Z1ynj2Kfw0Efm3gp9ESO1ley4siuT9QWWqi2IZHRb
kmgu2oqq9ZlCUSiHblRfv02fnQe7cuI8v0s7N8PWU+sCIeuK+Q6jolI14f9wWVDw
Ir0eNRh0xKzaZX63idd/vHOr3mxbaQ2Un5//BhGtERIBGab6ZrhcX2yogkVOAueq
MSE4qg8XrbBYG3Mr63P0Ym6qOlvnBBhzXTD/9L5rHMxjA2cG6OsBW7RP3rGVo47W
SX9q06Mg7t2kjOYIjkAxFwL3/dL+8w0MIGRAUQX7lBUeAnds3PhYm1vD7Y1bDaI0
CGtCukQy8A4bnV40llcp78PCNuUXrSdIb/hIKCaQid9ArUbmCtuOlvymfEH/zlKA
5iArsAuYHWAvJhoTflwoWKRhxI31qHxQsV/Gsgc7lUu2HgsCdC95207ZHCHBdJYR
KtmALgBqszdsWEUGg6w8
=QI4G
-----END PGP SIGNATURE-----
--- End Message ---