Bug#1026877: opari2: please make the build reproducible

Chris Lamb lamby at debian.org
Fri Dec 23 05:32:47 GMT 2022


Source: opari2
Version: 2.0.7-1
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Hi,

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

Patch attached that exports CFLAGS from dpkg-buildflags(1), ensuring
that -fdebug-prefix-map (and similar) to the underlying build system.

Patch attached.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/rules	2022-12-23 05:22:27.671938667 +0000
--- b/debian/rules	2022-12-23 05:30:34.856752502 +0000
@@ -17,7 +17,7 @@
 	dh_autoreconf autoreconf -- -f -i . build-frontend
 
 override_dh_auto_configure:
-	ac_scorep_platform=linux dh_auto_configure -- --enable-shared
+	ac_scorep_platform=linux dh_auto_configure -- --enable-shared $(shell dpkg-buildflags --export=configure)
 
 override_dh_installdocs:
 	dh_installdocs


More information about the Reproducible-bugs mailing list