[Debian-med-packaging] Bug#993304: samtools: please make the build reproducible

Chris Lamb lamby at debian.org
Mon Aug 30 14:55:21 BST 2021


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

This is because it includes the build flags in the binary to include
in --version output, but this will encode the buildpath due to
dpkg-buildflags(1) embedding (for example) -ffile-prefix-map.

Patch attached that normalises these paths to a placeholder entry
using sed(1).

 [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: samtools.diff.txt
URL: <http://alioth-lists.debian.net/pipermail/debian-med-packaging/attachments/20210830/c1856d1e/attachment.txt>


More information about the Debian-med-packaging mailing list