reopen 774498
user reproducible-bui...@lists.alioth.debian.org
usertags 774498 + umask
thanks

Debian Bug Tracking System:
>  base-files (9.1) unstable; urgency=low
>  .
>    * Use gzip -n to stop recording current time in gzip headers.
>    * Fix mtimes before building the binary package.
>    * The package should now build reproducibly. Closes: #774498.
>      Thanks to Jérémy Bobbio <lu...@debian.org>.

Sorry but since we are now testing umask variations as well, the new
version is not considered reproducible. The attached patch will fix the
issue.

Thanks!

-- 
Lunar                                .''`. 
lu...@debian.org                    : :Ⓐ  :  # apt-get install anarchism
                                    `. `'` 
                                      `-   
diff -Nru base-files-9.1/debian/changelog base-files-9.1.0~reproducible1/debian/changelog
--- base-files-9.1/debian/changelog	2015-05-15 10:55:02.000000000 +0000
+++ base-files-9.1.0~reproducible1/debian/changelog	2015-05-15 22:06:28.000000000 +0000
@@ -1,3 +1,10 @@
+base-files (9.1.0~reproducible1) UNRELEASED; urgency=low
+
+  * Set permissions for md5sums file to make the package build reproducibly
+    with different umasks.
+
+ -- Jérémy Bobbio <lu...@debian.org>  Fri, 15 May 2015 22:05:44 +0000
+
 base-files (9.1) unstable; urgency=low
 
   * Use gzip -n to stop recording current time in gzip headers.
diff -Nru base-files-9.1/debian/rules base-files-9.1.0~reproducible1/debian/rules
--- base-files-9.1/debian/rules	2015-05-15 10:58:15.000000000 +0000
+++ base-files-9.1.0~reproducible1/debian/rules	2015-05-15 22:13:42.000000000 +0000
@@ -68,7 +68,8 @@
 	ln -s ../usr/lib/os-release debian/tmp/etc/os-release
 	gzip -9n $(docdir)/changelog
 	cd debian/tmp && \
-		md5sum `find usr -type f` > DEBIAN/md5sums
+		md5sum `find usr -type f` > DEBIAN/md5sums && \
+		chmod 644 DEBIAN/md5sums
 	chown -R root:root debian/tmp
 	cd debian/tmp && chown root:staff   var/local
 	cd debian/tmp && chmod 755  `find . -type d`

Attachment: signature.asc
Description: Digital signature

Reply via email to