Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1011104: convlit: reproducible-builds: embedded build paths in /usr/bin/clit

0 views
Skip to first unread message

Vagrant Cascadian

unread,
May 16, 2022, 6:00:04 PM5/16/22
to
Source: convlit
Severity: normal
Tags: patch
User: reproduci...@lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproduc...@lists.alioth.debian.org

The build path is embedded in /usr/bin/clit:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/convlit.html

/build/1st/convlit-1.8/clit18/clit.c:109
vs.
/build/2/convlit-1.8/2nd/clit18/clit.c:109

The first patch fixes this by passing -ffile-prefix-map to CFLAGS in
debian/rules, which avoids embedding the build paths in the binaries.

The second patch fixes this by completing the transition to the dh build
system, which includes -ffile-prefix-map in CFLAGS by default.


With these patches applied, convlit should build reproducibly on
tests.reproducible-builds.org!


live well,
vagrant
signature.asc
0001-debian-rules-Pass-ffile-prefix-map-in-CFLAGS-to-avoi.patch
0002-debian-rules-Finish-conversion-to-dh.patch
0 new messages