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 <vagr...@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 <la...@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
signature.asc
Description: PGP signature