794398">

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

version graph

Package: src:clhep; Maintainer for src:clhep is Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>;

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

Date: Sun, 2 Aug 2015 16:09:02 UTC

Severity: wishlist

Tags: patch

Found in version clhep/2.1.4.1-1.1

Fixed in version clhep/2.1.4.1+dfsg-1.1

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-builds@lists.alioth.debian.org, Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>:
Bug#794398; Package src:clhep. (Sun, 02 Aug 2015 16:09:05 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, Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>. (Sun, 02 Aug 2015 16:09:06 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, that clhep could not be built reproducibly. > A file list is sorted differently depending on the locale. > > The attached patch fixes this by sorting with LC_ALL set to C. > > Regards, > Reiner > > [1]: https://wiki.debian.org/ReproducibleBuilds > ">reply):

From: Reiner Herrmann <reiner@reiner-h.de>
To: submit@bugs.debian.org
Subject: clhep: please make the build reproducible
Date: Sun, 2 Aug 2015 18:03:58 +0200
[Message part 1 (text/plain, inline)]
Source: clhep
Version: 2.1.4.1-1.1
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: locale
X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org

Hi!

While working on the "reproducible builds" effort [1], we have noticed
that clhep could not be built reproducibly.
A file list is sorted differently depending on the locale.

The attached patch fixes this by sorting with LC_ALL set to C.

Regards,
 Reiner

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

[clhep.patch (text/x-patch, attachment)]
[signature.asc (application/pgp-signature, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>:
Bug#794398; Package src:clhep. (Thu, 22 Dec 2022 21:39: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 Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>. (Thu, 22 Dec 2022 21:39:05 GMT) (full text, mbox, link).


Message #10 received at 794398@bugs.debian.org (full text, mbox, > that clhep could not be built reproducibly. > > A file list is sorted differently depending on the locale. > > > > The attached patch fixes this by sorting with LC_ALL set to C. > > I have uploaded an NMU to DELAYED/10 fixing this sorting issue and > another reproducible builds issue with embedded build paths: > > diff -Nru clhep-2.1.4.1+dfsg/debian/changelog clhep-2.1.4.1+dfsg/debian/changelog > --- clhep-2.1.4.1+dfsg/debian/changelog 2017-02-07 03:01:31.000000000 -0800 > +++ clhep-2.1.4.1+dfsg/debian/changelog 2022-12-22 13:06:15.000000000 -0800 > @@ -1,3 +1,16 @@ > +clhep (2.1.4.1+dfsg-1.1) unstable; urgency=medium > + > + * Non-maintainer upload. > + > + [ Reiner Herrmann ] > + * getObjectList.in: Sort file list to get reproducible results > + (Closes: #794398) > + > + [ Vagrant Cascadian ] > + * debian/rules: Avoid embedding the build path in clhep-config. > + > + -- Vagrant Cascadian Thu, 22 Dec 2022 13:06:15 -0800 > + > clhep (2.1.4.1+dfsg-1) unstable; urgency=medium > > [ Andreas Tille ] > diff -Nru clhep-2.1.4.1+dfsg/debian/patches/getobjectlist.in-sort-file-list-to-get-r.patch clhep-2.1.4.1+dfsg/debian/patches/getobjectlist.in-sort-file-list-to-get-r.patch > --- clhep-2.1.4.1+dfsg/debian/patches/getobjectlist.in-sort-file-list-to-get-r.patch 1969-12-31 16:00:00.000000000 -0800 > +++ clhep-2.1.4.1+dfsg/debian/patches/getobjectlist.in-sort-file-list-to-get-r.patch 2022-12-22 13:06:15.000000000 -0800 > @@ -0,0 +1,19 @@ > +From: Reiner Herrmann > +Date: Sun, 2 Aug 2015 18:03:58 +0200 > +X-Dgit-Generated: 2.1.4.1+dfsg-1.1 dacaf952527807a2f82c0884afa3fa3f10696298 > +Subject: getObjectList.in: Sort file list to get reproducible results > + > +(Closes: #794398) > + > +--- > + > +diff --git a/getObjectList.in b/getObjectList.in > +index 3f55df2..9ff040b 100755 > +--- a/getObjectList.in > ++++ b/getObjectList.in > +@@ -22,4 +22,4 @@ do > + fi > + done > + > +-echo $filelist > ++echo $filelist | tr ' ' '\n' | LC_ALL=C sort | tr '\n' ' ' > diff -Nru clhep-2.1.4.1+dfsg/debian/patches/series clhep-2.1.4.1+dfsg/debian/patches/series > --- clhep-2.1.4.1+dfsg/debian/patches/series 2017-02-07 02:54:11.000000000 -0800 > +++ clhep-2.1.4.1+dfsg/debian/patches/series 2022-12-22 13:06:15.000000000 -0800 > @@ -4,3 +4,4 @@ > tests.patch &In-Reply-To=<87ili3aznq.fsf@contorta>&subject=Re: Bug#794398: clhep: please make the build reproducible&References=<55BE3F6E.9090505@reiner-h.de> <87ili3aznq.fsf@contorta>">reply):

From: Vagrant Cascadian <vagrant@reproducible-builds.org>
To: Reiner Herrmann <reiner@reiner-h.de>, 794398@bugs.debian.org
Subject: Re: Bug#794398: clhep: please make the build reproducible
Date: Thu, 22 Dec 2022 13:36:57 -0800
[Message part 1 (text/plain, inline)]
Control: tags 794398 pending

On 2015-08-02, Reiner Herrmann wrote:
> While working on the "reproducible builds" effort [1], we have noticed
> that clhep could not be built reproducibly.
> A file list is sorted differently depending on the locale.
>
> The attached patch fixes this by sorting with LC_ALL set to C.

I have uploaded an NMU to DELAYED/10 fixing this sorting issue and
another reproducible builds issue with embedded build paths:

diff -Nru clhep-2.1.4.1+dfsg/debian/changelog clhep-2.1.4.1+dfsg/debian/changelog
--- clhep-2.1.4.1+dfsg/debian/changelog	2017-02-07 03:01:31.000000000 -0800
+++ clhep-2.1.4.1+dfsg/debian/changelog	2022-12-22 13:06:15.000000000 -0800
@@ -1,3 +1,16 @@
+clhep (2.1.4.1+dfsg-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+
+  [ Reiner Herrmann ]
+  * getObjectList.in: Sort file list to get reproducible results
+    (Closes: #794398)
+
+  [ Vagrant Cascadian ]
+  * debian/rules: Avoid embedding the build path in clhep-config.
+
+ -- Vagrant Cascadian <vagrant@reproducible-builds.org>  Thu, 22 Dec 2022 13:06:15 -0800
+
 clhep (2.1.4.1+dfsg-1) unstable; urgency=medium
 
   [ Andreas Tille ]
diff -Nru clhep-2.1.4.1+dfsg/debian/patches/getobjectlist.in-sort-file-list-to-get-r.patch clhep-2.1.4.1+dfsg/debian/patches/getobjectlist.in-sort-file-list-to-get-r.patch
--- clhep-2.1.4.1+dfsg/debian/patches/getobjectlist.in-sort-file-list-to-get-r.patch	1969-12-31 16:00:00.000000000 -0800
+++ clhep-2.1.4.1+dfsg/debian/patches/getobjectlist.in-sort-file-list-to-get-r.patch	2022-12-22 13:06:15.000000000 -0800
@@ -0,0 +1,19 @@
+From: Reiner Herrmann <reiner@reiner-h.de>
+Date: Sun, 2 Aug 2015 18:03:58 +0200
+X-Dgit-Generated: 2.1.4.1+dfsg-1.1 dacaf952527807a2f82c0884afa3fa3f10696298
+Subject: getObjectList.in: Sort file list to get reproducible results
+
+(Closes: #794398)
+
+---
+
+diff --git a/getObjectList.in b/getObjectList.in
+index 3f55df2..9ff040b 100755
+--- a/getObjectList.in
++++ b/getObjectList.in
+@@ -22,4 +22,4 @@ do
+    fi
+ done
+ 
+-echo $filelist
++echo $filelist | tr ' ' '\n' | LC_ALL=C sort | tr '\n' ' '
diff -Nru clhep-2.1.4.1+dfsg/debian/patches/series clhep-2.1.4.1+dfsg/debian/patches/series
--- clhep-2.1.4.1+dfsg/debian/patches/series	2017-02-07 02:54:11.000000000 -0800
+++ clhep-2.1.4.1+dfsg/debian/patches/series	2022-12-22 13:06:15.000000000 -0800
@@ -4,3 +4,4 @@
 tests.patch
 fix-double-comparision-in-testBug58950.patch
 replace_psfig_by_graphicx.patch
+getobjectlist.in-sort-file-list-to-get-r.patch
diff -Nru clhep-2.1.4.1+dfsg/debian/rules clhep-2.1.4.1+dfsg/debian/rules
--- clhep-2.1.4.1+dfsg/debian/rules	2017-02-07 02:48:35.000000000 -0800
+++ clhep-2.1.4.1+dfsg/debian/rules	2022-12-22 13:06:15.000000000 -0800
@@ -34,5 +34,10 @@
 	dh_auto_build
 	doxygen doxygen.conf
 
+override_dh_install:
+	# Avoid embedding build path for reproducible builds
+	sed -i -e "s,$(CURDIR),BUILDDIR,g" debian/tmp/usr/bin/clhep-config
+	dh_install
+
 %:
 	dh $@ --with autoreconf $(dhopt)
[signature.asc (application/pgp-signature, inline)]

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


Reply sent to Vagrant Cascadian <vagrant@reproducible-builds.org>:
You have taken responsibility. (Sun, 01 Jan 2023 22:24:03 GMT) (full text, mbox, link).


Notification sent to Reiner Herrmann <reiner@reiner-h.de>:
Bug acknowledged by developer. (Sun, 01 Jan 2023 22:24:03 GMT) (full text, mbox, link).


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

From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
To: 794398-close@bugs.debian.org
Subject: Bug#794398: fixed in clhep 2.1.4.1+dfsg-1.1
Date: Sun, 01 Jan 2023 22:21:44 +0000
Source: clhep
Source-Version: 2.1.4.1+dfsg-1.1
Done: Vagrant Cascadian <vagrant@reproducible-builds.org>

We believe that the bug you reported is fixed in the latest version of
clhep, 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 794398@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 clhep 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 Dec 2022 13:06:15 -0800
Source: clhep
Architecture: source
Version: 2.1.4.1+dfsg-1.1
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
Changed-By: Vagrant Cascadian <vagrant@reproducible-builds.org>
Closes: 794398
Changes:
 clhep (2.1.4.1+dfsg-1.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
 .
   [ Reiner Herrmann ]
   * getObjectList.in: Sort file list to get reproducible results
     (Closes: #794398)
 .
   [ Vagrant Cascadian ]
   * debian/rules: Avoid embedding the build path in clhep-config.
Checksums-Sha1:
 3344e70df10c023416968629862f6e04dddc06c1 1711 clhep_2.1.4.1+dfsg-1.1.dsc
 e4530a07756f11f238a9dc6d19778fbcdf19905c 6904 clhep_2.1.4.1+dfsg-1.1.debian.tar.xz
Checksums-Sha256:
 702d03cb40784020bc7bddd1c4f5f4626095632c3b99b5225c9b0f7a3ebcee03 1711 clhep_2.1.4.1+dfsg-1.1.dsc
 98b4b203024c55c0185e8dd8779aebc0777f4ab31a06eb86c90b381c1192a37e 6904 clhep_2.1.4.1+dfsg-1.1.debian.tar.xz
Files:
 a1f6dd20805d0815a545c3d0c2e76c73 1711 science optional clhep_2.1.4.1+dfsg-1.1.dsc
 8e63265a13bbd12898e8553b20e57ba2 6904 science optional clhep_2.1.4.1+dfsg-1.1.debian.tar.xz

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

iJYEARYKAD4WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCY6TM1CAcdmFncmFudEBy
ZXByb2R1Y2libGUtYnVpbGRzLm9yZwAKCRDcUY/If5cWqluiAQDfFRc3cdJzdiu1
D3i+G4hezOvRop4yfL+TGDDBguorzgD+O6zGxDLZdjhbHuNOpY8/Bo7diNHPMp6F
XUsWhQp8+w0=
=W5ef
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sat, 04 Feb 2023 07:34:41 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:43 2025; Machine Name: bembo

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.