[Debian-med-packaging] Bug#1033089: subread: reproducible-builds: Embedded build path in various binaries
Vagrant Cascadian
vagrant at reproducible-builds.org
Fri Mar 17 05:04:38 GMT 2023
Source: subread
Version: 2.0.4+dfsg-1
Severity: normal
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org
The build path is embedded in various binaries:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/subread.html
/usr/bin/exactSNP
/build/1st/subread-2.0.4+dfsg/src/input-files.c:3084
vs.
/build/2/subread-2.0.4+dfsg/2nd/src/input-files.c:3084
The attached patch fixes this by patching src/Makefile.Linux to not
override the CFLAGS and CXXFLAGS variables, so that the default flags
include -ffile-prefix-map to avoid embedding the build path.
Earlier versions (e.g. 2.0.3* currently in bookworm) did pass the
default flags, so this is a regression from what is currently in
bookworm.
According to my local tests, with this patch applied subread should build
reproducibly on tests.reproducible-builds.org!
Thanks for maintaining subread!
live well,
vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-src-Makefile.Linux-Do-not-set-CFLAGS-and-CXXFLAGS-to.patch
Type: text/x-diff
Size: 887 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-med-packaging/attachments/20230316/9f0c8f91/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-med-packaging/attachments/20230316/9f0c8f91/attachment.sig>
More information about the Debian-med-packaging
mailing list