Debian Bug report logs - #842550
the: please make the build reproducible

version graph

Package: src:the; Maintainer for src:the is Alen Zekulic <alen@nms.hr>;

Reported by: Reiner Herrmann <reiner@reiner-h.de>

Date: Sun, 30 Oct 2016 10:51:02 UTC

Severity: wishlist

Tags: patch

Found in version the/3.3~rc1-3

Fixed in version the/3.3~rc1-3.1

Done: Vagrant Cascadian <vagrant@reproducible-builds.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, reproducible-builds@lists.alioth.debian.org, Alen Zekulic <alen@nms.hr>:
Bug#842550; Package src:the. (Sun, 30 Oct 2016 10:51:04 GMT) (full text, mbox, link).


Acknowledgement sent to Reiner Herrmann <reiner@reiner-h.de>:
New Bug report received and forwarded. Copy sent to reproducible-builds@lists.alioth.debian.org, Alen Zekulic <alen@nms.hr>. (Sun, 30 Oct 2016 10:51:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Reiner Herrmann <reiner@reiner-h.de>
To: submit@bugs.debian.org
Subject: the: please make the build reproducible
Date: Sun, 30 Oct 2016 12:47:53 +0100
[Message part 1 (text/plain, inline)]
Source: the
Version: 3.3~rc1-3
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: timestamps locale
X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org

Hi!

While working on the "reproducible builds" effort [1], we have noticed
that 'the' could not be built reproducibly.
The sorting of the md5sums file varies with different locales, and the
generated documentation contains build timestamps.

The attached patch fixes this.

Regards,
 Reiner

[1]: https://wiki.debian.org/ReproducibleBuilds
[the.patch (text/x-diff, attachment)]
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Alen Zekulic <alen@nms.hr>:
Bug#842550; Package src:the. (Thu, 06 Oct 2022 22:27:05 GMT) (full text, mbox, link).


Acknowledgement sent to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Extra info received and forwarded to list. Copy sent to Alen Zekulic <alen@nms.hr>. (Thu, 06 Oct 2022 22:27:05 GMT) (full text, mbox, link).


Message #10 received at 842550@bugs.debian.org (full text, mbox, reply):

From: Vagrant Cascadian <vagrant@reproducible-builds.org>
To: 842550@bugs.debian.org
Subject: Re: Bug#842550: the: please make the build reproducible
Date: Thu, 06 Oct 2022 15:25:08 -0700
[Message part 1 (text/plain, inline)]
Control: tags 842550 pending

On 2016-10-30, Reiner Herrmann wrote:
> While working on the "reproducible builds" effort [1], we have noticed
> that 'the' could not be built reproducibly.
> The sorting of the md5sums file varies with different locales, and the
> generated documentation contains build timestamps.
>
> The attached patch fixes this.

Upload an NMU to DELAYED/10 applying a variation of this patch:

diff -Nru the-3.3~rc1/debian/changelog the-3.3~rc1/debian/changelog
--- the-3.3~rc1/debian/changelog	2016-08-10 00:56:45.000000000 -0700
+++ the-3.3~rc1/debian/changelog	2022-10-06 15:12:42.000000000 -0700
@@ -1,3 +1,13 @@
+the (3.3~rc1-3.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+
+  [ Reiner Herrmann ]
+  * Generate reproducible documentation (Closes: #842550)
+  * Sort the md5sums file. (Closes: #842550)
+
+ -- Vagrant Cascadian <vagrant@reproducible-builds.org>  Thu, 06 Oct 2022 15:12:42 -0700
+
 the (3.3~rc1-3) unstable; urgency=low
 
   * Applied patches from Maria Valentina Marin <marivalenm@gmail.com>
diff -Nru the-3.3~rc1/debian/md5_sums the-3.3~rc1/debian/md5_sums
--- the-3.3~rc1/debian/md5_sums	2010-01-28 09:34:54.000000000 -0800
+++ the-3.3~rc1/debian/md5_sums	2022-10-06 15:12:42.000000000 -0700
@@ -7,7 +7,7 @@
 for TMPDIR; do
    find debian/${TMPDIR}/* -type f ! -regex "^debian/${TMPDIR}/DEBIAN/.*" \
                                  ! -regex "^debian/${TMPDIR}/etc/.*" | \
-                          sed s@debian/${TMPDIR}/@@g | sort > ${TMP_FILE}
+                          sed s@debian/${TMPDIR}/@@g | LC_ALL=C sort > ${TMP_FILE}
    cd debian/${TMPDIR}  
    xargs < ../../${TMP_FILE} md5sum > DEBIAN/md5sums
    cd ../../
diff -Nru the-3.3~rc1/debian/patches/generate-reproducible-documentation-clos.patch the-3.3~rc1/debian/patches/generate-reproducible-documentation-clos.patch
--- the-3.3~rc1/debian/patches/generate-reproducible-documentation-clos.patch	1969-12-31 16:00:00.000000000 -0800
+++ the-3.3~rc1/debian/patches/generate-reproducible-documentation-clos.patch	2022-10-06 15:12:42.000000000 -0700
@@ -0,0 +1,40 @@
+From: Reiner Herrmann <reiner@reiner-h.de>
+Date: Sun, 30 Oct 2016 12:47:53 +0100
+X-Dgit-Generated: 3.3~rc1-3.1 634e2b177616b31752934f174a55a6f70fe1f239
+Subject: Generate reproducible documentation (Closes: #842550)
+
+- Use fixed copyright year
+- Don't embed generation timestamp
+
+---
+
+diff --git a/man2html.rex b/man2html.rex
+index 4505f8c..2ab6ae5 100644
+--- a/man2html.rex
++++ b/man2html.rex
+@@ -1137,9 +1137,8 @@ Return
+ footing: Procedure Expose html_ext
+ Parse Arg src .
+ Say '<ADDRESS>'
+-Say 'The Hessling Editor is Copyright &copy; <A HREF = "http://www.rexx.org/">Mark Hessling</A>, 1990-'Left( Date('S'), 4 )
++Say 'The Hessling Editor is Copyright &copy; <A HREF = "http://www.rexx.org/">Mark Hessling</A>, 1990-2011'
+ Say '&lt;<A HREF = "mailto:mark@rexx.org">mark@rexx.org</A>&gt;'
+-Say '<BR>Generated on:' Date()
+ Say '</ADDRESS><HR>'
+ If src \= 'TOC' Then Say 'Return to <A HREF = "index' || html_ext || '#TOC"> Table of Contents </A><BR>'
+ Say '</BODY> </HTML>'
+diff --git a/man2hv.rex b/man2hv.rex
+index 19bc63e..ad22752 100644
+--- a/man2hv.rex
++++ b/man2hv.rex
+@@ -1228,9 +1228,8 @@ Return
+ footing: Procedure Expose html_ext ?port ?slash ?os
+ Parse Arg fn src .
+ Call Lineout fn, '<ADDRESS>'
+-Call Lineout fn, 'The Hessling Editor is Copyright &copy; <A HREF = "http://www.rexx.org/">Mark Hessling</A>, 1990-'Left( Date('S'), 4 )
++Call Lineout fn, 'The Hessling Editor is Copyright &copy; <A HREF = "http://www.rexx.org/">Mark Hessling</A>, 1990-2011'
+ Call Lineout fn, '&lt;<A HREF = "mailto:mark@rexx.org">mark@rexx.org</A>&gt;'
+-Call Lineout fn, '<BR>Generated on:' Date()
+ Call Lineout fn, '</ADDRESS><HR>'
+ If src \= 'TOC' Then Call Lineout fn, 'Return to <A HREF = "../index' || html_ext || '#TOC"> Table of Contents </A><BR>'
+ Call Lineout fn, '</BODY> </HTML>'
diff -Nru the-3.3~rc1/debian/patches/series the-3.3~rc1/debian/patches/series
--- the-3.3~rc1/debian/patches/series	2012-06-30 08:20:52.000000000 -0700
+++ the-3.3~rc1/debian/patches/series	2022-10-06 15:12:42.000000000 -0700
@@ -1 +1,2 @@
 az-patch-01
+generate-reproducible-documentation-clos.patch




[signature.asc (application/pgp-signature, inline)]

Added tag(s) pending. Request was from Vagrant Cascadian <vagrant@reproducible-builds.org> to 842550-submit@bugs.debian.org. (Thu, 06 Oct 2022 22:27:05 GMT) (full text, mbox, link).


Reply sent to Vagrant Cascadian <vagrant@reproducible-builds.org>:
You have taken responsibility. (Sun, 16 Oct 2022 23:21:03 GMT) (full text, mbox, link).


Notification sent to Reiner Herrmann <reiner@reiner-h.de>:
Bug acknowledged by developer. (Sun, 16 Oct 2022 23:21:03 GMT) (full text, mbox, link).


Message #17 received at 842550-close@bugs.debian.org (full text, mbox, reply):

From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
To: 842550-close@bugs.debian.org
Subject: Bug#842550: fixed in the 3.3~rc1-3.1
Date: Sun, 16 Oct 2022 23:17:56 +0000
Source: the
Source-Version: 3.3~rc1-3.1
Done: Vagrant Cascadian <vagrant@reproducible-builds.org>

We believe that the bug you reported is fixed in the latest version of
the, 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 842550@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Vagrant Cascadian <vagrant@reproducible-builds.org> (supplier of updated the 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 ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Thu, 06 Oct 2022 15:12:42 -0700
Source: the
Architecture: source
Version: 3.3~rc1-3.1
Distribution: unstable
Urgency: medium
Maintainer: Alen Zekulic <alen@nms.hr>
Changed-By: Vagrant Cascadian <vagrant@reproducible-builds.org>
Closes: 842550
Changes:
 the (3.3~rc1-3.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
 .
   [ Reiner Herrmann ]
   * Generate reproducible documentation (Closes: #842550)
   * Sort the md5sums file. (Closes: #842550)
Checksums-Sha1:
 f98a31eed61fdeccd2ba563064378984927a254e 1336 the_3.3~rc1-3.1.dsc
 c4eb2f01b113ef1e872f9dcd5728a2713a03dc2c 12362 the_3.3~rc1-3.1.debian.tar.bz2
Checksums-Sha256:
 5796e41b98e48c3ecfde3fa7cc8515d9a023be47626fd46ffee964935c3e4d4e 1336 the_3.3~rc1-3.1.dsc
 bf92542f42984dca8b3c0ca9c3990493c547debf1676ac758a278ddce62a9973 12362 the_3.3~rc1-3.1.debian.tar.bz2
Files:
 c3f6d08ec542f4a8c5476ca4a33be4b3 1336 editors optional the_3.3~rc1-3.1.dsc
 88bbffa2b918259c88d04652f5605110 12362 editors optional the_3.3~rc1-3.1.debian.tar.bz2

-----BEGIN PGP SIGNATURE-----

iJYEARYKAD4WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCYz9UaSAcdmFncmFudEBy
ZXByb2R1Y2libGUtYnVpbGRzLm9yZwAKCRDcUY/If5cWqnLEAQDAyyn/UIB14s8z
1/ZiYr++SqcVxh65CVuZuGJ5P6hJhQEAsx7Aah/fLPZeNHLJWbtRjtT4XZJM9Bi6
Nk+3xyLtcgY=
=q53w
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sat, 19 Nov 2022 07:27:52 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed May 17 12:42:31 2023; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.