846975">

Debian Bug report logs - #846975
libranlip: please make the build reproducible (fileordering)

version graph

Package: libranlip; Maintainer for libranlip is Debian QA Group <packages@qa.debian.org>;

Reported by: Valerie R Young <spectranaut@riseup.net>

Date: Sun, 4 Dec 2016 19:09:02 UTC

Severity: wishlist

Tags: patch

Fixed in version libranlip/1.0-4.4

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

Bug is archived. No further changes may be made.

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


Report forwarded to debian-bugs-dist@lists.debian.org, reproducible-bugs@lists.alioth.debian.org, Juan Esteban Monsalve Tobon <esteban@v7w.com>:
Bug#846975; Package libranlip. (Sun, 04 Dec 2016 19:09:04 GMT) (full text, mbox, link).


Acknowledgement sent to Valerie R Young <spectranaut@riseup.net>:
New Bug report received and forwarded. Copy sent to reproducible-bugs@lists.alioth.debian.org, Juan Esteban Monsalve Tobon <esteban@v7w.com>. (Sun, 04 Dec 2016 19:09:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, that libranlip could not be built reproducibly. > > The attached patch sorts the md5sums files. Once applied, > along with the other reproducible patch pending on libranlip, > libranlip will almost build reproducibly in our current experimental > framework. > > Sincerely, > Valerie > > [1]: https://wiki.debian.org/ReproducibleBuilds > > -- System Information: > Debian Release: stretch/sid > APT prefers testing > APT policy: (500, 'testing'), (500, 'stable') > Architecture: amd64 (x86_64) > > Kernel: Linux 4.4.0-rc8-touchpad (SMP w/4 CPU cores) > Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) > Shell: /bin/sh linked to /bin/dash > Init: systemd (via /run/systemd/system) &References=<58446930.8060808@riseup.net>">reply):

From: Valerie R Young <spectranaut@riseup.net>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: libranlip: please make the build reproducible (fileordering)
Date: Sun, 4 Dec 2016 14:06:24 -0500
[Message part 1 (text/plain, inline)]
Package: libranlip
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: fileordering
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org

Dear Maintainer,

While working on the "reproducible builds" effort [1], we have noticed
that libranlip could not be built reproducibly.

The attached patch sorts the md5sums files. Once applied,
along with the other reproducible patch pending on libranlip,
libranlip will almost build reproducibly in our current experimental
framework.

Sincerely,
Valerie

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

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.4.0-rc8-touchpad (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
[rules.patch (text/x-patch, attachment)]

Added tag(s) pending. Request was from Vagrant Cascadian <vagrant@debian.org> to 1007137-submit@bugs.debian.org. (Thu, 22 Sep 2022 18:30:04 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Juan Esteban Monsalve Tobon <esteban@v7w.com>:
Bug#846975; Package libranlip. (Thu, 22 Sep 2022 18:30:07 GMT) (full text, mbox, link).


Acknowledgement sent to Vagrant Cascadian <vagrant@debian.org>:
Extra info received and forwarded to list. Copy sent to Juan Esteban Monsalve Tobon <esteban@v7w.com>. (Thu, 22 Sep 2022 18:30:07 GMT) (full text, mbox, link).


Message #12 received at 846975@bugs.debian.org (full text, mbox, DEBIAN/md5sums > + cd debian/libranlip1c2 && md5sum `find * -type f ! -regex "DEBIAN/.*"` | LC_ALL=C sort > DEBIAN/md5sums &In-Reply-To=<877d1vjmec.fsf@contorta>">reply):

From: Vagrant Cascadian <vagrant@debian.org>
To: 788000@bugs.debian.org, 846975@bugs.debian.org, 1007137@bugs.debian.org
Subject: libranlip: please make the build reproducible
Date: Thu, 22 Sep 2022 11:26:35 -0700
[Message part 1 (text/plain, inline)]
Control: tags 788000 pending
Control: tags 846975 pending
Control: tags 1007137 pending

Uploaded an NMU fixing these three reproducible builds bugs to
DELAYED/10.

diff -u libranlip-1.0/debian/changelog libranlip-1.0/debian/changelog
--- libranlip-1.0/debian/changelog
+++ libranlip-1.0/debian/changelog
@@ -1,3 +1,22 @@
+libranlip (1.0-4.4) unstable; urgency=medium
+
+  * Non-maintainer upload.
+
+  [ Dhole ]
+  * Makefile.in: Pass -n via GZIP_ENV to avoid embedding
+    timestamps. (Closes: #788000)
+  * debian/rules: Pass -n to gzip when compressing files.
+    (Closes: #788000)
+  * debian/rules: Use consistent date in packaged files. (Closes: #788000)
+
+  [ Valerie R Young ]
+  * debian/rules: Sort md5sums files. (Closes: #846975)
+
+  [ Vagrant Cascadian ]
+  * debian/rules: Use standard buildflags. (Closes: #1007137)
+
+ -- Vagrant Cascadian <vagrant@reproducible-builds.org>  Thu, 22 Sep 2022 11:16:14 -0700
+
 libranlip (1.0-4.3) unstable; urgency=medium

   * Non-maintainer upload.
diff -u libranlip-1.0/debian/rules libranlip-1.0/debian/rules
--- libranlip-1.0/debian/rules
+++ libranlip-1.0/debian/rules
@@ -3,6 +3,10 @@
 # Copyright (c) 2005 Juan Esteban Monsalve Tobon <esteban@v7w.com>

 STRIP      = strip --remove-section=.comment --remove-section=.note
+BUILD_DATE=$(shell dpkg-parsechangelog --show-field Date)
+
+DPKG_EXPORT_BUILDFLAGS = 1
+include /usr/share/dpkg/buildflags.mk

 build:
        $(checkdir)
@@ -57,23 +61,27 @@
        cp -p debian/changelog debian/libranlip1c2/usr/share/doc/libranlip1c2/changelog.Debian
        cp -p docs/ranlip.ps debian/libranlip1c2/usr/share/doc/libranlip1c2/
        cp -p examples/ranliptest* examples/makefile debian/libranlip1c2/usr/share/doc/libranlip1c2/examples
-       cd debian/libranlip1c2/usr/share/doc/libranlip1c2 && gzip -9 changelog.Debian ranlip.ps examples/*
+       cd debian/libranlip1c2/usr/share/doc/libranlip1c2 && gzip -9n changelog.Debian ranlip.ps examples/*

        ln -s libranlip1c2 debian/libranlip-dev/usr/share/doc/libranlip-dev

        dpkg-shlibdeps debian/libranlip1c2/usr/lib/ranlip/*
        dpkg-gencontrol -isp -plibranlip1c2 -Pdebian/libranlip1c2
-       cd debian/libranlip1c2 && md5sum `find * -type f ! -regex "DEBIAN/.*"` > DEBIAN/md5sums
+       cd debian/libranlip1c2 && md5sum `find * -type f ! -regex "DEBIAN/.*"` | LC_ALL=C sort > DEBIAN/md5sums
        chown -R root.root debian/libranlip1c2
        chmod -x debian/libranlip1c2/usr/lib/ranlip/*
        chmod -R go=rX debian/libranlip1c2
+       find debian/libranlip1c2 -depth -newermt '$(BUILD_DATE)' -print0 | \
+               xargs -0r touch --no-dereference --date='$(BUILD_DATE)'
        dpkg --build debian/libranlip1c2 ..

        dpkg-gencontrol -isp -plibranlip-dev -Pdebian/libranlip-dev
-       cd debian/libranlip-dev && md5sum `find * -type f ! -regex "DEBIAN/.*"` > DEBIAN/md5sums
+       cd debian/libranlip-dev && md5sum `find * -type f ! -regex "DEBIAN/.*"` | LC_ALL=C sort > DEBIAN/md5sums
        chown -R root.root debian/libranlip-dev
        chmod -x debian/libranlip-dev/usr/lib/ranlip/libranlip.a debian/libranlip-dev/usr/lib/ranlip/libranlip.la
        chmod -R go=rX debian/libranlip-dev
+       find debian/libranlip-dev -depth -newermt '$(BUILD_DATE)' -print0 | \
+               xargs -0r touch --no-dereference --date='$(BUILD_DATE)'
        dpkg --build debian/libranlip-dev ..

 define checkdir
only in patch2:
unchanged:
--- libranlip-1.0.orig/Makefile.in
+++ libranlip-1.0/Makefile.in
@@ -409,7 +409,7 @@
     || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
          && rm -fr $(distdir); }; }

-GZIP_ENV = --best
+GZIP_ENV = --best -n
 distuninstallcheck_listfiles = find . -type f -print
 distcleancheck_listfiles = find . -type f -print


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

Reply sent to Vagrant Cascadian <vagrant@reproducible-builds.org>:
You have taken responsibility. (Sun, 02 Oct 2022 19:42:07 GMT) (full text, mbox, link).


Notification sent to Valerie R Young <spectranaut@riseup.net>:
Bug acknowledged by developer. (Sun, 02 Oct 2022 19:42:07 GMT) (full text, mbox, link).


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

From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
To: 846975-close@bugs.debian.org
Subject: Bug#846975: fixed in libranlip 1.0-4.4
Date: Sun, 02 Oct 2022 19:39:13 +0000
Source: libranlip
Source-Version: 1.0-4.4
Done: Vagrant Cascadian <vagrant@reproducible-builds.org>

We believe that the bug you reported is fixed in the latest version of
libranlip, 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 846975@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 libranlip 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, 22 Sep 2022 11:16:14 -0700
Source: libranlip
Architecture: source
Version: 1.0-4.4
Distribution: unstable
Urgency: medium
Maintainer: Juan Esteban Monsalve Tobon <esteban@v7w.com>
Changed-By: Vagrant Cascadian <vagrant@reproducible-builds.org>
Closes: 788000 846975 1007137
Changes:
 libranlip (1.0-4.4) unstable; urgency=medium
 .
   * Non-maintainer upload.
 .
   [ Dhole ]
   * Makefile.in: Pass -n via GZIP_ENV to avoid embedding
     timestamps. (Closes: #788000)
   * debian/rules: Pass -n to gzip when compressing files.
     (Closes: #788000)
   * debian/rules: Use consistent date in packaged files. (Closes: #788000)
 .
   [ Valerie R Young ]
   * debian/rules: Sort md5sums files. (Closes: #846975)
 .
   [ Vagrant Cascadian ]
   * debian/rules: Use standard buildflags. (Closes: #1007137)
Checksums-Sha1:
 4be4b507fc35d8e14fac20a27b0e290d4efa6722 1322 libranlip_1.0-4.4.dsc
 92505b53263f871180fd7d40add7b5e3e8ebcc1e 4305 libranlip_1.0-4.4.diff.gz
Checksums-Sha256:
 518b36f6fc928be030160214fea76e9c9e559ab22699b4b149146fd0afba119d 1322 libranlip_1.0-4.4.dsc
 6d38ac3442a05494a426be392bd304a588b2690bbdd2b0dd679f111b3e05fb04 4305 libranlip_1.0-4.4.diff.gz
Files:
 ea7b7f8fe6b61535ddf70fbfe0cf6bc9 1322 math optional libranlip_1.0-4.4.dsc
 f0c16692f46d2b047a23b8f8c1d5a142 4305 math optional libranlip_1.0-4.4.diff.gz

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

iJYEARYKAD4WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCYyynAiAcdmFncmFudEBy
ZXByb2R1Y2libGUtYnVpbGRzLm9yZwAKCRDcUY/If5cWqh1fAP9rVK23VDHxc3Rk
qQyInH9GEHcENEhcO8Z3PjygvCStBAEA9mqtoKwN8eQtp1klZKjM8dqUxQxfUIJT
7nl/DvQFDQA=
=RFFV
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sat, 05 Nov 2022 07:28:16 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: Fri Jan 31 00:39:41 2025; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General 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.