Bug#1024279: tolua++: reproducible-builds: build path embedded in tolua++5.1

Vagrant Cascadian vagrant at reproducible-builds.org
Wed Nov 16 23:14:55 GMT 2022


Source: tolua++
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/tolua++5.1:

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

  /build/1st/tolua++-1.0.93/src/bin/tolua.c:84
  vs.
  /build/2/tolua++-1.0.93/2nd/src/bin/tolua.c:84

The attached patch to debian/rules fixes this by adding
-ffile-prefix-map to the CCFLAGS included in debian/custom.py.

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

Thanks for maintaining tolua++!

live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-debian-rules-Avoid-embedding-build-paths-by-adding-f.patch
Type: text/x-diff
Size: 812 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20221116/e2af4af2/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/20221116/e2af4af2/attachment.sig>


More information about the Reproducible-bugs mailing list