Bug#1011488: stymulator: reproducible-builds: embedded build paths in various binaries
Vagrant Cascadian
vagrant at reproducible-builds.org
Mon May 23 22:30:38 BST 2022
Source: stymulator
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 /usr/bin/ym2wav and /usr/bin/ymplayer:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/stymulator.html
/build/1st/stymulator-0.21a~dfsg/src/stsoundlib/YmUserInterface.cpp:40·(discriminator·1)
vs.
/build/2/stymulator-0.21a~dfsg/2nd/src/stsoundlib/YmUserInterface.cpp:40·(discriminator·1)
The attached patch fixes this by setting -ffile-prefix-map in CXXFLAGS
in debian/rules, which avoids embedding the absolute path in compiled
files.
Alternately, switching to use the default CXXFLAGS from dpkg-buildflags
(possibly through using a newer debhelper compat version) also would
include -ffile-prefix-map by default.
With this patch applied, stymulator should build reproducibly on
tests.reproducible-builds.org!
live well,
vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-debian-rules-Add-ffile-prefix-map-to-CXXFLAGS.patch
Type: text/x-diff
Size: 591 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20220523/68ac54ad/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/reproducible-bugs/attachments/20220523/68ac54ad/attachment.sig>
More information about the Reproducible-bugs
mailing list