Bug#953071: ndisc6: please make the build reproducible

Chris Lamb lamby at debian.org
Wed Mar 4 01:46:47 GMT 2020


Source: ndisc6
Version: 1.0.4-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
ndisc6 could not be built reproducibly.

This is because it includes the CFLAGS used to build the package in
the binary via PACKAGE_CONFIGURE_INVOCATION which then includes the
absolute build path via (eg.) the -ffile-prefix-map flag.

I see you already patch out the hostname, etc. and you could follow
this approach and remove the CFLAGS too, but just in case they might
be useful I've attached a patch that strips out the -fdebug-prefix-map
(etc.) calls instead.

 [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: ndisc6.diff.txt
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20200303/adf3a92a/attachment.txt>


More information about the Reproducible-bugs mailing list