Bug#1020875: z80asm: reproducible-builds: build path embedded in /usr/bin/z80asm

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


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

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

  /build/1st/z80asm-1.8/z80asm.c:105
  vs.
  /build/2/z80asm-1.8/2nd/z80asm.c:105

The attached patch to debian/rules fixes this by adding a dh_auto_build
override that passes the default CFLAGS.

Alternately, this might be fixed by updating to a newer debhelper compat
level.

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

Thanks for maintaining z80asm!

live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-debian-rules-Pass-default-CFLAGS-via-dh_auto_build-o.patch
Type: text/x-diff
Size: 569 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20220927/03778c95/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/20220927/03778c95/attachment.sig>


More information about the Reproducible-bugs mailing list