Debian Bug report logs - #955783
netgen-lvs: please make the build reproducible

version graph

Package: src:netgen-lvs; Maintainer for src:netgen-lvs is Debian Electronics Team <pkg-electronics-devel@lists.alioth.debian.org>;

Reported by: "Chris Lamb" <lamby@debian.org>

Date: Sat, 4 Apr 2020 21:39:01 UTC

Severity: wishlist

Tags: patch

Found in version netgen-lvs/1.5.133-1

Fixed in version netgen-lvs/1.5.133-1.2

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-bugs@lists.alioth.debian.org, Debian Electronics Team <pkg-electronics-devel@lists.alioth.debian.org>:
Bug#955783; Package src:netgen-lvs. (Sat, 04 Apr 2020 21:39:03 GMT) (full text, mbox, link).


Acknowledgement sent to "Chris Lamb" <lamby@debian.org>:
New Bug report received and forwarded. Copy sent to reproducible-bugs@lists.alioth.debian.org, Debian Electronics Team <pkg-electronics-devel@lists.alioth.debian.org>. (Sat, 04 Apr 2020 21:39:03 GMT) (full text, mbox, link).


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

From: "Chris Lamb" <lamby@debian.org>
To: submit@bugs.debian.org
Subject: netgen-lvs: please make the build reproducible
Date: Sat, 04 Apr 2020 22:36:48 +0100
[Message part 1 (text/plain, inline)]
Source: netgen-lvs
Version: 1.5.133-1
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0] we noticed that
netgen-lvs could not be built reproducibly.

This is because it embeds by the build date into the binary.

Patch attached.

 [0] https://reproducible-builds.org/


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby@debian.org / chris-lamb.co.uk
       `-
[netgen-lvs.diff.txt (text/plain, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Electronics Team <pkg-electronics-devel@lists.alioth.debian.org>:
Bug#955783; Package src:netgen-lvs. (Thu, 10 Sep 2020 23:03:07 GMT) (full text, mbox, link).


Acknowledgement sent to "Chris Lamb" <lamby@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Electronics Team <pkg-electronics-devel@lists.alioth.debian.org>. (Thu, 10 Sep 2020 23:03:08 GMT) (full text, mbox, link).


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

From: "Chris Lamb" <lamby@debian.org>
To: 955783@bugs.debian.org, reproducible-bugs@lists.alioth.debian.org
Subject: Re: Bug#955783: netgen-lvs: please make the build reproducible
Date: Thu, 10 Sep 2020 22:58:07 -0000
Dear Maintainer,

> Source: netgen-lvs
> Version: 1.5.118-1
> Tags: patch

There hasn't seem to be any update on this bug in 158 days, in which
time the Reproducible Builds effort has come on a long way.

Would you consider applying this patch and uploading?


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby@debian.org / chris-lamb.co.uk
       `-



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Electronics Team <pkg-electronics-devel@lists.alioth.debian.org>:
Bug#955783; Package src:netgen-lvs. (Thu, 10 Dec 2020 18:03:09 GMT) (full text, mbox, link).


Acknowledgement sent to "Chris Lamb" <lamby@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Electronics Team <pkg-electronics-devel@lists.alioth.debian.org>. (Thu, 10 Dec 2020 18:03:09 GMT) (full text, mbox, link).


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

From: "Chris Lamb" <lamby@debian.org>
To: 955783@bugs.debian.org, reproducible-bugs@lists.alioth.debian.org
Subject: Re: Bug#955783: netgen-lvs: please make the build reproducible
Date: Thu, 10 Dec 2020 17:58:04 -0000
Chris Lamb wrote:

> [..]

Friendly ping on this?


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby@debian.org / chris-lamb.co.uk
       `-



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Electronics Team <pkg-electronics-devel@lists.alioth.debian.org>:
Bug#955783; Package src:netgen-lvs. (Thu, 01 Dec 2022 22:45:02 GMT) (full text, mbox, link).


Acknowledgement sent to Vagrant Cascadian <vagrant@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Electronics Team <pkg-electronics-devel@lists.alioth.debian.org>. (Thu, 01 Dec 2022 22:45:02 GMT) (full text, mbox, link).


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

From: Vagrant Cascadian <vagrant@debian.org>
To: Chris Lamb <lamby@debian.org>, 955783@bugs.debian.org
Subject: Re: Bug#955783: netgen-lvs: please make the build reproducible
Date: Thu, 01 Dec 2022 14:40:58 -0800
[Message part 1 (text/plain, inline)]
Control: tags 955783 pending

On 2020-04-04, Chris Lamb wrote:
> Whilst working on the Reproducible Builds effort [0] we noticed that
> netgen-lvs could not be built reproducibly.
>
> This is because it embeds by the build date into the binary.

Uploaded an NMU to DELAYED/10 fixing this issue:

diff -Nru netgen-lvs-1.5.133/debian/changelog netgen-lvs-1.5.133/debian/changelog
--- netgen-lvs-1.5.133/debian/changelog	2021-11-07 10:50:30.000000000 -0800
+++ netgen-lvs-1.5.133/debian/changelog	2022-12-01 14:32:11.000000000 -0800
@@ -1,3 +1,12 @@
+netgen-lvs (1.5.133-1.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+
+  [ Chris Lamb ]
+  * Do not embed build timestamp (Closes: #955783)
+
+ -- Vagrant Cascadian <vagrant@reproducible-builds.org>  Thu, 01 Dec 2022 14:32:11 -0800
+
 netgen-lvs (1.5.133-1.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru netgen-lvs-1.5.133/debian/patches/do-not-embed-build-timestamp-closes-9557.patch netgen-lvs-1.5.133/debian/patches/do-not-embed-build-timestamp-closes-9557.patch
--- netgen-lvs-1.5.133/debian/patches/do-not-embed-build-timestamp-closes-9557.patch	1969-12-31 16:00:00.000000000 -0800
+++ netgen-lvs-1.5.133/debian/patches/do-not-embed-build-timestamp-closes-9557.patch	2022-12-01 14:32:11.000000000 -0800
@@ -0,0 +1,57 @@
+From: Chris Lamb <lamby@debian.org>
+Date: Sat, 4 Apr 2020 22:36:48 +0100
+X-Dgit-Generated: 1.5.133-1.2 d0def6605122fc8c1aeae62bd675d10394577f65
+Subject: Do not embed build timestamp (Closes: #955783)
+
+Adjusted-by: Vagrant Cascadian <vagrant@reproducible-builds.org>
+
+---
+
+diff --git a/base/Makefile b/base/Makefile
+index dbc0bb1..8c87439 100644
+--- a/base/Makefile
++++ b/base/Makefile
+@@ -10,7 +10,11 @@ include ${NETGENDIR}/defs.mak
+ 
+ SRCS   += ${GR_SRCS}
+ DFLAGS += ${GR_DFLAGS}
++ifdef SOURCE_DATE_EPOCH
++DFLAGS += -DNETGEN_DATE="\"`LC_ALL=C date -u -d "@$(SOURCE_DATE_EPOCH)" 2>/dev/null || date -u -r "$(SOURCE_DATE_EPOCH)" 2>/dev/null || date -u`\""
++else
+ DFLAGS += -DNETGEN_DATE="\"`date`\""
++endif
+ CFLAGS += ${GR_CFLAGS}
+ 
+ include ${NETGENDIR}/rules.mak
+diff --git a/netgen/Makefile b/netgen/Makefile
+index 52beff7..9541edd 100644
+--- a/netgen/Makefile
++++ b/netgen/Makefile
+@@ -8,7 +8,11 @@ EXTRA_LIBS = ${NETGENDIR}/base/libbase.o \
+ 	     ${MAIN_EXTRA_LIBS}
+ 
+ DFLAGS += ${GR_DFLAGS}
++ifdef SOURCE_DATE_EPOCH
++DFLAGS += -DNETGEN_DATE="\"`LC_ALL=C date -u -d "@$(SOURCE_DATE_EPOCH)" 2>/dev/null || date -u -r "$(SOURCE_DATE_EPOCH)" 2>/dev/null || date -u`\""
++else
+ DFLAGS += -DNETGEN_DATE="\"`date`\""
++endif
+ 
+ LIBS += ${GR_LIBS} -lm
+ CFLAGS += ${GR_CFLAGS} -I${NETGENDIR}/base
+diff --git a/tcltk/Makefile b/tcltk/Makefile
+index 861e185..5105765 100644
+--- a/tcltk/Makefile
++++ b/tcltk/Makefile
+@@ -6,7 +6,11 @@ include ${NETGENDIR}/defs.mak
+ 
+ EXTRA_LIBS = ${MAIN_EXTRA_LIBS}
+ 
++ifdef SOURCE_DATE_EPOCH
++DFLAGS += -DNETGEN_DATE="\"`LC_ALL=C date -u -d "@$(SOURCE_DATE_EPOCH)" 2>/dev/null || date -u -r "$(SOURCE_DATE_EPOCH)" 2>/dev/null || date -u`\""
++else
+ DFLAGS += -DNETGEN_DATE="\"`date`\""
++endif
+ LIBS += -lm
+ CLEANS += netgen.sh netgen.tcl netgenexec${EXEEXT}
+ CFLAGS += -I${NETGENDIR}/base
diff -Nru netgen-lvs-1.5.133/debian/patches/series netgen-lvs-1.5.133/debian/patches/series
--- netgen-lvs-1.5.133/debian/patches/series	2021-11-07 10:50:30.000000000 -0800
+++ netgen-lvs-1.5.133/debian/patches/series	2022-12-01 14:32:11.000000000 -0800
@@ -1,3 +1,4 @@
 0002-Make-sure-hardening-flags-are-passed-down.patch
 0002-Fix-some-sprintf-calls.patch
 autoconf2.71.patch
+do-not-embed-build-timestamp-closes-9557.patch
[signature.asc (application/pgp-signature, inline)]

Added tag(s) pending. Request was from Vagrant Cascadian <vagrant@debian.org> to 955783-submit@bugs.debian.org. (Thu, 01 Dec 2022 22:45:02 GMT) (full text, mbox, link).


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


Notification sent to "Chris Lamb" <lamby@debian.org>:
Bug acknowledged by developer. (Sun, 11 Dec 2022 23:48:03 GMT) (full text, mbox, link).


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

From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
To: 955783-close@bugs.debian.org
Subject: Bug#955783: fixed in netgen-lvs 1.5.133-1.2
Date: Sun, 11 Dec 2022 23:45:49 +0000
Source: netgen-lvs
Source-Version: 1.5.133-1.2
Done: Vagrant Cascadian <vagrant@reproducible-builds.org>

We believe that the bug you reported is fixed in the latest version of
netgen-lvs, 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 955783@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 netgen-lvs 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, 01 Dec 2022 14:32:11 -0800
Source: netgen-lvs
Architecture: source
Version: 1.5.133-1.2
Distribution: unstable
Urgency: medium
Maintainer: Debian Electronics Team <pkg-electronics-devel@lists.alioth.debian.org>
Changed-By: Vagrant Cascadian <vagrant@reproducible-builds.org>
Closes: 955783
Changes:
 netgen-lvs (1.5.133-1.2) unstable; urgency=medium
 .
   * Non-maintainer upload.
 .
   [ Chris Lamb ]
   * Do not embed build timestamp (Closes: #955783)
Checksums-Sha1:
 762c1e271f691e2fcbd60036f74027548131b8b6 1592 netgen-lvs_1.5.133-1.2.dsc
 1c69be6ce88bccbaa2e6dff60edff93cf7bb2e7a 7248 netgen-lvs_1.5.133-1.2.debian.tar.xz
Checksums-Sha256:
 4680af8b87a3453c3a6d862c5f3afd128346e83970bcc6164c1dd592cfbef49b 1592 netgen-lvs_1.5.133-1.2.dsc
 01034e4e0610b4edd6689c510bc1d5f96efad7073ac6c502bc1f3ea22bff72aa 7248 netgen-lvs_1.5.133-1.2.debian.tar.xz
Files:
 6198412ba616e9555e653cbd759f8ff8 1592 electronics optional netgen-lvs_1.5.133-1.2.dsc
 56db48837ad5dcf6a9227d5a422f0849 7248 electronics optional netgen-lvs_1.5.133-1.2.debian.tar.xz

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

iJYEARYKAD4WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCY4ks8SAcdmFncmFudEBy
ZXByb2R1Y2libGUtYnVpbGRzLm9yZwAKCRDcUY/If5cWqlowAP98a/8KRijTit5k
u7SlUuqntt2USBi+YEtzIStimJzkRAEAzqX3zzJebzM+543P6WY1TOOAskLlXMHn
E3LYlEMLqQk=
=JWXX
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Wed, 11 Jan 2023 07:30:32 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 10:53:58 2023; Machine Name: buxtehude

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.