Bug#1020817: aplus-fsf: reproducible-builds: Embedded build paths in binaries

Vagrant Cascadian vagrant at reproducible-builds.org
Tue Sep 27 03:21:23 BST 2022


Source: aplus-fsf
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/aplus-fsf.html

  /usr/lib/aplus-fsf/libAplusGUI.so.0.0.0

  /build/1st/aplus-fsf-4.22.1/src/AplusGUI/../MSGUI/MSGC.H:58
  vs.
  /build/2/aplus-fsf-4.22.1/2nd/src/AplusGUI/../MSGUI/MSGC.H:58

The attached patch to debian/rules fixes this by adding adding
-ffile-prefix-map to CFLAGS and CXXFLAGS.

According to my local tests, with this patch applied aplus-fsf should
build reproducibly on tests.reproducible-builds.org!

Thanks for maintaining aplus-fsf!

live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-debian-rules-Add-ffile-prefix-map-to-CFLAGS-and-CXXF.patch
Type: text/x-diff
Size: 704 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20220926/6dd5bf08/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/20220926/6dd5bf08/attachment.sig>


More information about the Reproducible-bugs mailing list