Bug#1011429: dds2tar: reproducible-builds: embedded build paths in /usr/bin/dds-dd

Vagrant Cascadian vagrant at reproducible-builds.org
Sun May 22 19:03:08 BST 2022


Source: dds2tar
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/dds-dd:

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

  /build/1st/dds2tar-2.5.2/dds2tar.c:382
  vs.
  /build/2/dds2tar-2.5.2/2nd/dds2tar.c:382

The attached patch fixes this by adjusting the Makefile to add CFLAGS to
the CCFLAGS variable, which includes the -ffile-prefix-map argument to
avoid embedding the absolute path in compiled files.


With this patch applied, dds2tar should build reproducibly on
tests.reproducible-builds.org!


live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Makefile-Add-CFLAGS-to-CCFLAGS.patch
Type: text/x-diff
Size: 573 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20220522/b5b168ac/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/20220522/b5b168ac/attachment.sig>


More information about the Reproducible-bugs mailing list