Bug#1038730: fribidi: please make the build reproducible

Chris Lamb lamby at debian.org
Tue Jun 20 17:58:14 BST 2023


Source: fribidi
Version: 1.0.13-2
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Hi,

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

This is because the new-to-unstable code to alter CFLAGS (added via
#930791) resulted in the build dropping the -fdebug-prefix-map GCC
flags.

A patch is attached that ensures that the 'fallback' CFLAGS will
always be included.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/rules	2023-06-20 17:52:39.441913687 +0100
--- b/debian/rules	2023-06-20 17:57:00.402466109 +0100
@@ -15,7 +15,7 @@
 	dh $@
 
 override_dh_auto_configure:
-	dh_auto_configure -- --enable-malloc --enable-static CFLAGS="${DEB_CFLAGS}"
+	dh_auto_configure -- --enable-malloc --enable-static CFLAGS="$(shell dpkg-buildflags --get CFLAGS) ${DEB_CFLAGS}"
 
 override_dh_makeshlibs:
 	dh_makeshlibs -V --add-udeb="$(FRIBIDI_UDEB)"


More information about the Reproducible-bugs mailing list