Bug#1021456: bwbasic: reproducible-builds: build path embedded in /usr/bin/bwbasic
Vagrant Cascadian
vagrant at reproducible-builds.org
Sat Oct 8 23:04:54 BST 2022
Source: bwbasic
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/bwbasic:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/bwbasic.html
/build/1st/bwbasic-2.20pl2/bwbasic.c:118
vs.
/build/2/bwbasic-2.20pl2/2nd/bwbasic.c:118
The attached patches fix this by adjusting the upstream Makefile to use
the default CFLAGS (by appending the arguments), and disables format
string hardening which causes build failures (and was previously
ignored, as CFLAGS was not used).
According to my local tests, with this patch applied, bwbasic should build
reproducibly on tests.reproducible-builds.org!
Thanks for maintaining bwbasic!
live well,
vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Makefile.in-Use-CFLAGS-from-the-environment-and-pass.patch
Type: text/x-diff
Size: 950 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20221008/8ec481b6/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-debian-rules-Disable-format-hardening.patch
Type: text/x-diff
Size: 601 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20221008/8ec481b6/attachment-0001.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/20221008/8ec481b6/attachment.sig>
More information about the Reproducible-bugs
mailing list