Bug#1020812: ascii2binary: reproducible-builds: build path embedded in /usr/bin/ascii2binary

Vagrant Cascadian vagrant at reproducible-builds.org
Tue Sep 27 02:10:04 BST 2022


Source: ascii2binary
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/ascii2binary:

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

  /build/1st/ascii2binary-2.14/ascii2binary.c:147
  vs.
  /build/2/ascii2binary-2.14/2nd/ascii2binary.c:147

The attached patch to debian/rules fixes this by adding a
dh_auto_configure override passing -ffile-prefix-map via CFLAGS.

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

Thanks for maintaining ascii2binary!

live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-debian-rules-Add-dh_auto_configure-override-passing-.patch
Type: text/x-diff
Size: 663 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20220926/04f18d52/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/04f18d52/attachment.sig>


More information about the Reproducible-bugs mailing list