Bug#1039618: liblopsub: reproducible-builds: embedded build path in lopsubgen

Vagrant Cascadian vagrant at reproducible-builds.org
Tue Jun 27 21:05:02 BST 2023


Source: liblopsub
Severity: normal
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

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

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

  /build/1st/liblopsub-1.0.3/lopsubgen.c:49
  vs.
  /build/2/liblopsub-1.0.3/2nd/lopsubgen.c:49

The attached patch fixes this by passing the -ffile-prefix-map argument
to the compiler in the upstream Makefile.

According to my local tests, with this patch and the recently submitted
timestamp patches applied, liblopsub should build reproducibly on
tests.reproducible-builds.org!

Thanks for maintaining liblopsub!

live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-Makefile-Add-ffile-prefix-map-to-CC-to-avoid-embeddi.patch
Type: text/x-diff
Size: 669 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20230627/7eab7d13/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/20230627/7eab7d13/attachment.sig>


More information about the Reproducible-bugs mailing list