Your message dated Fri, 11 Aug 2017 18:00:05 +0200
with message-id 
<cae2spab_9l4f9ulmtyon2g7zwsw+djgdeekardao9ckvjxp...@mail.gmail.com>
and subject line Closed
has caused the Debian Bug report #774449,
regarding sensible-utils: please make sensible-utils build reproducibly
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 ow...@bugs.debian.org
immediately.)


-- 
774449: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=774449
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: sensible-utils
Version: 0.0.9
Severity: wishlist
Tags: patch
User: reproducible-bu...@lists.alioth.debian.org
Usertags: timestamps

Hi!

While working on the “reproducible builds” effort [1], we have noticed
that sensible-utils could not be built reproducibly.

The attached patch addresses the issues. Once applied the build becomes
reproducible with our current experimental framework.

 [1]: https://wiki.debian.org/ReproducibleBuilds

-- 
Lunar                                .''`. 
lu...@debian.org                    : :Ⓐ  :  # apt-get install anarchism
                                    `. `'` 
                                      `-   
diff -Nru sensible-utils-0.0.9/debian/changelog sensible-utils-0.0.9.0~reproducible1/debian/changelog
--- sensible-utils-0.0.9/debian/changelog	2013-06-06 14:19:53.000000000 +0200
+++ sensible-utils-0.0.9.0~reproducible1/debian/changelog	2015-01-02 22:45:58.000000000 +0100
@@ -1,3 +1,11 @@
+sensible-utils (0.0.9.0~reproducible1) UNRELEASED; urgency=low
+
+  * Make package build reproducibly:
+    - Stop recording current time when creating gzip files.
+    - Fix mtimes before creating binary packages.
+
+ -- Jérémy Bobbio <lu...@debian.org>  Fri, 02 Jan 2015 21:41:59 +0000
+
 sensible-utils (0.0.9) unstable; urgency=low
 
   * Fix bashism in select-editor
diff -Nru sensible-utils-0.0.9/debian/rules sensible-utils-0.0.9.0~reproducible1/debian/rules
--- sensible-utils-0.0.9/debian/rules	2012-05-14 09:23:19.000000000 +0200
+++ sensible-utils-0.0.9.0~reproducible1/debian/rules	2015-01-02 22:41:57.000000000 +0100
@@ -9,6 +9,8 @@
 INSTALL_SCRIPT  = $(INSTALL) -p    -o root -g root  -m  755
 INSTALL_DIR     = $(INSTALL) -p -d -o root -g root  -m  755
 
+BUILD_DATE := $(shell dpkg-parsechangelog | sed -n -e 's/^Date: //p')
+
 DEB_BUILD_ARCH_OS ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH_OS)
 DEB_BUILD_GNU_TYPE = $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
 DEB_HOST_GNU_TYPE = $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
@@ -78,7 +80,7 @@
 	     debian/sensible-utils/usr/share/man/de/man1 \
 	     debian/sensible-utils/usr/share/man/ja/man1 \
 	     debian/sensible-utils/usr/share/man/it/man1 \
-             debian/sensible-utils/usr/share/doc/$(package) -type f | xargs gzip -9
+             debian/sensible-utils/usr/share/doc/$(package) -type f | xargs gzip -9n
 	$(INSTALL_FILE) debian/copyright debian/sensible-utils/usr/share/doc/$(package)
 	$(INSTALL_SCRIPT) debian/postinst debian/sensible-utils/DEBIAN/
 	$(INSTALL_SCRIPT) debian/postrm debian/sensible-utils/DEBIAN/
@@ -87,6 +89,8 @@
 	cd debian/sensible-utils && find * -type f ! -regex '^DEBIAN/.*' -print0 | xargs -r0 md5sum > DEBIAN/md5sums
 
 	dpkg-gencontrol -Pdebian/sensible-utils
+	find debian/sensible-utils -depth -newermt '$(BUILD_DATE)' -print0 | \
+		xargs -0r touch --no-dereference --date='$(BUILD_DATE)'
 	dpkg --build debian/sensible-utils ..
 
 define checkdir

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
version: 0.0.10

--- End Message ---

Reply via email to