Your message dated Tue, 05 Jan 2016 11:33:46 +0000 with message-id <e1agps2-00031l...@franck.debian.org> and subject line Bug#774852: fixed in manpages 4.04-0.1 has caused the Debian Bug report #774852, regarding manpages: please make build 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 ow...@bugs.debian.org immediately.) -- 774852: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=774852 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
--- Begin Message ---Source: manpages Version: 3.74-1 Severity: wishlist Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: timestamps randomness Hi! While working on the “reproducible builds” effort [1], we have noticed that manpages could not be built reproducibly. The attached patches removes timestamps from gzip headers and ensure a stable order in the copyright file. Once applied, manpages can be built reproducibly with our current experimental framework. [1]: https://wiki.debian.org/ReproducibleBuilds -- Lunar .''`. lu...@debian.org : :Ⓐ : # apt-get install anarchism `. `'` `-From f1250e9b93ae8141fd455522d37b43886b5363e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Bobibo?= <lu...@debian.org> Date: Thu, 8 Jan 2015 12:14:06 +0100 Subject: [PATCH 1/2] Stop recording timestamps in gzip headers These timestamps prevent the package from building reproducibly. --- debian/inst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/debian/inst b/debian/inst index 166f1e5..1d2f60e 100644 --- a/debian/inst +++ b/debian/inst @@ -7,7 +7,7 @@ install -d -m 755 licenses install -d -m 755 debian/manpages/usr/share/man/man{1,2,3,4,5,6,7,8} install -p -m 644 man2/intro.2 debian/manpages/usr/share/man/man2 install -p -m 644 man3/intro.3 debian/manpages/usr/share/man/man3 -gzip -9 debian/manpages/usr/share/man/man{2,3}/* +gzip -9n debian/manpages/usr/share/man/man{2,3}/* # Installing manpages files for i in man[145678]; do @@ -52,7 +52,7 @@ for i in man[145678]; do esac echo -n " " done - gzip -9 debian/manpages/usr/share/man/$i/*.? + gzip -9n debian/manpages/usr/share/man/$i/*.? echo done @@ -104,7 +104,7 @@ for i in man[23]; do esac echo -n " " done - gzip -9 debian/manpages-dev/usr/share/man/$i/*.? + gzip -9n debian/manpages-dev/usr/share/man/$i/*.? echo done -- 2.1.4From c22bee93063848c6c1208697024d644599b60c1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Bobibo?= <lu...@debian.org> Date: Thu, 8 Jan 2015 12:17:20 +0100 Subject: [PATCH 2/2] Ensure licenses are in a stable order in copyright file Perl hashes are sorted differently at each run. To make the package build reproducibly, we sort the licenses in order to get a stable order. --- debian/make-copyright | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/debian/make-copyright b/debian/make-copyright index 656f88e..c152aaa 100644 --- a/debian/make-copyright +++ b/debian/make-copyright @@ -149,7 +149,7 @@ foreach my $file (@files) { $license = $exception{$file}; } elsif (!exists $licensetext{$file}) { $license = ''; - foreach $l (keys %licenses) { + foreach $l (sort keys %licenses) { if ($blurb =~ /$licenses{$l}/) { $license = $l; last; @@ -177,7 +177,7 @@ if (-r $config{template}) { } print OUT "\n"; -foreach $l (keys %licenses) { +foreach $l (sort keys %licenses) { if (exists $manpages{$l}) { print OUT "=" x $config{width} . "\n\n"; print OUT "The following license covers these manpages:\n\n"; @@ -194,7 +194,7 @@ foreach $l (keys %licenses) { } } -foreach $l (keys %licensetext) { +foreach $l (sort keys %licensetext) { print OUT "=" x $config{width} . "\n\n"; print OUT "The following license covers these manpages:\n\n"; $l =~ /(.*)\.(\d)/; -- 2.1.4signature.asc
Description: Digital signature
--- End Message ---
--- Begin Message ---Source: manpages Source-Version: 4.04-0.1 We believe that the bug you reported is fixed in the latest version of manpages, 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 774...@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Dr. Tobias Quathamer <to...@debian.org> (supplier of updated manpages 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 ftpmas...@ftp-master.debian.org) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 1.8 Date: Tue, 05 Jan 2016 12:13:34 +0100 Source: manpages Binary: manpages manpages-dev Architecture: source all Version: 4.04-0.1 Distribution: unstable Urgency: medium Maintainer: Martin Schulze <j...@debian.org> Changed-By: Dr. Tobias Quathamer <to...@debian.org> Description: manpages - Manual pages about using a GNU/Linux system manpages-dev - Manual pages about using GNU/Linux for development Closes: 270368 298259 344233 396633 472447 527136 562890 621057 628099 728213 765592 765596 773443 774022 774852 775328 785178 Changes: manpages (4.04-0.1) unstable; urgency=medium . * Non-maintainer upload. * Imported Upstream version 4.04 (Closes: #785178) . cerf*.3 manpages have been removed upstream. (Closes: #765592) . vfprintf.3: Add note about thread safeness of %m. (Closes: #621057) . console.4: Is now included in this package. (Closes: #774022) . tzfile.5: Remove double "SEE ALSO" section (Closes: #765596) * Make build reproducible, thanks to Jérémy Bobbio. (Closes: #774852) * Update d/inst with current list of sid manpages . manpages (3.82-1) UNRELEASED; urgency=medium . * Imported Upstream version 3.82 . clock.3: CLOCKS_PER_SEC = 1000000 is required by XSI, not POSIX (Closes: #728213) . hosts.5: Mention 127.0.1.1 for FQDN and IPv6 examples (Closes: #562890) . host.conf.5: Rework discussion of nospoof, spoofalert, spoof and RESOLV_SPOOF_CHECK (Closes: #773443) . host.conf.5, hosts.5, resolv.conf.5: Cross references of these pages (Closes: #298259) . ipv6.7: SOL_IPV6 and other SOL_* options socket are not portable (Closes: #472447) . random.4: Since Linux 3.16, reads from /dev/urandom return at most 32 MB (Closes: #775328) . resolver.3: Document missing options used by _res structure indicate defaults (Closes: #527136) . resolver.3, host.conf.5: host.conf 'order' option deprecated, replaced by nsswitch.conf(5) (Closes: #270368, #396633, #344233) . xdr.3: Clarified incompatibility and correct usage of XDR API (Closes: #628099) Checksums-Sha1: 68264540122a6206fa8730c70ee9ec424aff64d9 1920 manpages_4.04-0.1.dsc a8fe81cbea71d1b0bdf9e6d185dd5826da575010 1426380 manpages_4.04.orig.tar.xz ef54da3dc86768dec5f7ae3e7fcb575cd67a1944 63476 manpages_4.04-0.1.debian.tar.xz 5d75ba0380aa0cf63e6795ed8431da171a99bc70 2046652 manpages-dev_4.04-0.1_all.deb ccd8221920ff4c78183aa7e747d29ad5a15106f4 1112962 manpages_4.04-0.1_all.deb Checksums-Sha256: 417b2acfde7b58d862ee95c4374682656cb60124e5a4a52cfd7ae303064b8b38 1920 manpages_4.04-0.1.dsc 8fe1950df65ccf2b43ed64c329ccce0eedb2f7b42af12beff03d3aa609ee1f6d 1426380 manpages_4.04.orig.tar.xz a6e7dfac0c25642656abc82f5926ee39335888e505a45af7db20d548dc1fff9d 63476 manpages_4.04-0.1.debian.tar.xz 858f7bfb910586ccd6504a334380d82a8a84c716b1791c832d232d904693705d 2046652 manpages-dev_4.04-0.1_all.deb 0fb7ea8046ca9053794e1952afc646bf0153ed1bb2045f39a0af801bddfa0cbd 1112962 manpages_4.04-0.1_all.deb Files: c504caf30c469b3e85d2509bcdf28e71 1920 doc important manpages_4.04-0.1.dsc c20326ff9687f3ded1c24aa319a3880d 1426380 doc important manpages_4.04.orig.tar.xz 7d53702ccb9b9362e978e268df47d703 63476 doc important manpages_4.04-0.1.debian.tar.xz 4c975f74d8cfe3b945cc5f3469248e6a 2046652 doc optional manpages-dev_4.04-0.1_all.deb 89d7d196aac1d2388ab5dd6c494a7011 1112962 doc important manpages_4.04-0.1_all.deb -----BEGIN PGP SIGNATURE----- iQIcBAEBCgAGBQJWi6XWAAoJEBMC8fA26+sZ3msP/iixnTMbwEWIRLeRPHglGm4S fTgg4srwXziKMrIjMv93eGtXBA0yhVKr6yQq7abpsWMr9NryENaWJdFGXKM+uq6k jh90BC54wYcuy1UFTj1LhkQq0D5GUC6t0ucz3W3KPv71JGnype5DImQ+swOmvdDn LqeUQeXjlIDZ22AWnXS7znZVvoUtQ//pb3xLwMmSSMbwjJsvMCIcex4kQhAz2mtm 7Zecfey9pjKYa4ZZsT0qZyf+fsomdEoAEpMd+weSZ/d+MOrK30gFtV3ig4q/Dq1o yY+hAmYlwnxD2aFmRBE0vdkyb1UD+7uGiTHYi3daR7ESmA6JIkkyfjT2VT7YIkbI bdbmUwZa4jinP/qVOOhEZzFcfz+vtgx2b23HP18NrJhOLh9tYq5VZsxZzLyO3GEF SKUkJjrAxnergBCZF7PwFETPv0k04UOrHq9Wuc3yvyz8vQST9fKhAPwtGWowVzGo Dloq5dd7I3AnmqCiqLzygpoAN8hdbI5WizqDDuZIhfnWV7QVQ+8xC6cZ/4Wgo8IB 5dZbFx9guX7h5PX45JH5dRbgi+7xelqjEzE7Ew995M8W4IAy7c4rwsQ240KrogzJ 173YDimBsnT7b2L4Qbc9kfrvEEgyQ2Tcgy8/lQ/ZGkqLtMTqpaUibY9BT70EUVAm t51FBqwszq/HnPtgLnTG =J/n6 -----END PGP SIGNATURE-----
--- End Message ---