Bug#1020719: chibicc: reproducible-builds: Embedded build path in /usr/bin/chibicc
Vagrant Cascadian
vagrant at reproducible-builds.org
Sun Sep 25 19:41:27 BST 2022
Source: chibicc
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/chibicc:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/chibicc.html
/build/1st/chibicc-0+git20220719+ds/codegen.c:18
vs.
/build/2/chibicc-0+git20220719+ds/2nd/codegen.c:18
The attached patch fixes this in debian/rules by adding a dh_auto_build
override which passes the default CFLAGS.
With this patch applied chibicc should build reproducibly on
tests.reproducible-builds.org!
Thanks for maintaining chibicc!
live well,
vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-debian-rules-Pass-CFLAGS-to-dh_auto_build.patch
Type: text/x-diff
Size: 704 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20220925/26db04a3/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/20220925/26db04a3/attachment.sig>
More information about the Reproducible-bugs
mailing list