Bug#961009: nulib2: please make the build reproducible

Chris Lamb lamby at debian.org
Tue May 19 11:08:09 BST 2020


Source: nulib2
Version: 3.1.0-2
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
nulib2 could not be built reproducibly.

This is because it embedded the build flags into the generated binary
which then included the absolute build path via the -ffile-prefix-map
GCC argument.

Patch attached that overwrites this from debian/rules via the
DEB_CPPFLAGS_MAINT_APPEND mechanism and sets it to an empty string but
it may be nicer to replace this with something like "Debian" or
something.

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


Regards,

--
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `- 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: nulib2.diff.txt
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20200519/51f5859d/attachment.txt>


More information about the Reproducible-bugs mailing list