Bug#973601: sympow: please make the build reproducible

Vagrant Cascadian vagrant at reproducible-builds.org
Thu Dec 8 19:05:56 GMT 2022


On 2020-11-02, Chris Lamb wrote:
> Whilst working on the Reproducible Builds effort [0] I noticed that
> sympow could not be built reproducibly.
>
> This is because the .txt files under datafiles/ insert lines that
> include the absolute build path. Upstream's Configure script strips
> some of these away (particularly, the ones that use "logfile =", but
> there are some (new?) ones that use "logfile is".

I have uploaded an NMU to DELAYED/10 fixing this issue:

diff -Nru sympow-2.023.6/debian/changelog sympow-2.023.6/debian/changelog
--- sympow-2.023.6/debian/changelog	2020-04-16 22:15:58.000000000 -0700
+++ sympow-2.023.6/debian/changelog	2022-12-08 10:57:16.000000000 -0800
@@ -1,3 +1,12 @@
+sympow (2.023.6-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+
+  [ Chris Lamb ]
+  * Make the build reproducible (Closes: #973601)
+
+ -- Vagrant Cascadian <vagrant at reproducible-builds.org>  Thu, 08 Dec 2022 10:57:16 -0800
+
 sympow (2.023.6-1) unstable; urgency=medium
 
   * New release.
diff -Nru sympow-2.023.6/debian/patches/make-the-build-reproducible-closes-97360.patch sympow-2.023.6/debian/patches/make-the-build-reproducible-closes-97360.patch
--- sympow-2.023.6/debian/patches/make-the-build-reproducible-closes-97360.patch	1969-12-31 16:00:00.000000000 -0800
+++ sympow-2.023.6/debian/patches/make-the-build-reproducible-closes-97360.patch	2022-12-08 10:57:16.000000000 -0800
@@ -0,0 +1,20 @@
+From: Chris Lamb <lamby at debian.org>
+Date: Mon, 2 Nov 2020 12:12:21 +0000
+X-Dgit-Generated: 2.023.6-1.1 c77693a055c9d4c5d353fcdaf7c5f175ec423ad6
+Subject: Make the build reproducible (Closes: #973601)
+
+
+---
+
+diff --git a/Configure b/Configure
+index dcc6bac..4c66812 100755
+--- a/Configure
++++ b/Configure
+@@ -331,6 +331,7 @@ echo "	\$(TOUCH) datafiles/param_data" >> $FILE
+ echo "	\$(SH) armd.sh" >> $FILE
+ echo "	\$(SH) debian/adhoc/job/sympow-new_data.job" >> $FILE
+ echo "	\$(SED) -i -e '/logfile =/d' datafiles/*.txt" >> $FILE
++echo "	\$(SED) -i -e '/logfile is/d' datafiles/*.txt" >> $FILE
+ echo "sympow.1: sympow" >> $FILE
+ echo "	\$(HELP2MAN) \$(H2MFLAGS) -s 1 -n \"SYMPOW program\" -I sympow.h2m -o \$@ ./\$<" >> $FILE
+ echo "clean:" >> $FILE
diff -Nru sympow-2.023.6/debian/patches/series sympow-2.023.6/debian/patches/series
--- sympow-2.023.6/debian/patches/series	2018-07-27 10:17:56.000000000 -0700
+++ sympow-2.023.6/debian/patches/series	2022-12-08 10:57:16.000000000 -0800
@@ -1 +1,2 @@
 debianization.patch
+make-the-build-reproducible-closes-97360.patch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20221208/88723d6a/attachment-0001.sig>


More information about the debian-science-maintainers mailing list