Your message dated Thu, 12 Nov 2026 22:35:11 +0000
with message-id <[email protected]>
and subject line Bug#1021456: fixed in bwbasic 2.20pl2-18
has caused the Debian Bug report #1021456,
regarding bwbasic: reproducible-builds: build path embedded in /usr/bin/bwbasic
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1021456: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1021456
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: bwbasic
Severity: normal
Tags: patch
User: [email protected]
Usertags: buildpath
X-Debbugs-Cc: [email protected]

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
From 3ef0221a1b4ecc8842c613e406b9f4af6926d9c0 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <[email protected]>
Date: Mon, 2 May 2022 15:48:14 +0000
Subject: [PATCH 1/4] Makefile.in: Use CFLAGS from the environment and pass
 CFLAGS to CC calls.

---
 Makefile.in | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Makefile.in b/Makefile.in
index 9d12d0b..fea9b5f 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -14,7 +14,7 @@ DEFS = @DEFS@
 
 # Revised by JBV
 #CFLAGS = -O
-CFLAGS = -g -ansi
+CFLAGS += -g -ansi
 
 # Revised by JBV
 #LDFLAGS = -s
@@ -58,11 +58,11 @@ DISTFILES=	$(CFILES) $(HFILES) $(MISCFILES)
 all: bwbasic bwbasic.1 renum
 
 bwbasic:	$(OFILES)
-		$(CC) $(OFILES) -lm -o $@ $(LDFLAGS)
+		$(CC) $(CFLAGS) $(OFILES) -lm -o $@ $(LDFLAGS)
 
 # Added by JBV
 renum:
-	$(CC) renum.c -g -o renum
+	$(CC) $(CFLAGS) renum.c -g -o renum
 
 # Added by Vince Mulhollon
 bwbasic.1: bwbasic.doc
-- 
2.37.2

From 2ec1c3e99f1b03ec7aea4c74e193d307aa9c6ad5 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <[email protected]>
Date: Mon, 2 May 2022 15:49:29 +0000
Subject: [PATCH 2/4] debian/rules: Disable format hardening.

This was effectively ignored before and causes build failures.
---
 debian/rules | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/debian/rules b/debian/rules
index 2f89281..bccd746 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,4 +1,6 @@
 #!/usr/bin/make -f
 
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all,-format
+
 %:
 	dh $@ --without autoreconf
-- 
2.37.2

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: bwbasic
Source-Version: 2.20pl2-18
Done: Vagrant Cascadian <[email protected]>

We believe that the bug you reported is fixed in the latest version of
bwbasic, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Vagrant Cascadian <[email protected]> (supplier of updated 
bwbasic package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Thu, 12 Nov 2026 14:14:45 -0800
Source: bwbasic
Architecture: source
Version: 2.20pl2-18
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <[email protected]>
Changed-By: Vagrant Cascadian <[email protected]>
Closes: 1021456 1119366
Changes:
 bwbasic (2.20pl2-18) unstable; urgency=medium
 .
   * QA upload.
   * debian/patches: Makefile.in: Use CFLAGS from the environment and pass
     CFLAGS to CC calls. (Closes: #1021456, #1119366)
   * debian/rules: Disable format hardening.
   * debian/rules: Disable error on implicit function declarations.
   * debian/changelog: Mark old bug as closed.
   * debian/control: Drop Priority field.
   * Update to debhelper-compat 14.
Checksums-Sha1:
 589b090029cc2c4adf8e2543dab4529de0450f7b 1315 bwbasic_2.20pl2-18.dsc
 67109122468d81b4c1f3918179987c604a94bb86 10008 bwbasic_2.20pl2-18.debian.tar.xz
 0e8db35cf6ec9e6907dee246441fff218ffe1014 5332 
bwbasic_2.20pl2-18_amd64.buildinfo
Checksums-Sha256:
 5d42618e079bd4be8684eb4c464a805012b66996813fecf7df221fb4d94a8beb 1315 
bwbasic_2.20pl2-18.dsc
 604a0d7a427550127f6ea66bb0ed73657599253dda5167b0e9f2f4c18c8a0d92 10008 
bwbasic_2.20pl2-18.debian.tar.xz
 b08e6256fc6a3100989e2bee0dc94b70a7fb6dc48ea87c78d371608019a65009 5332 
bwbasic_2.20pl2-18_amd64.buildinfo
Files:
 31a576c8edb3162b6f28193078bc0a77 1315 interpreters optional 
bwbasic_2.20pl2-18.dsc
 8281df38d8d45d545c4ba87e6699a008 10008 interpreters optional 
bwbasic_2.20pl2-18.debian.tar.xz
 4d16f7f19e3adf59a9beb00cf51d06e3 5332 interpreters optional 
bwbasic_2.20pl2-18_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iJYEARYKAD4WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCavY6/yAcdmFncmFudEBy
ZXByb2R1Y2libGUtYnVpbGRzLm9yZwAKCRDcUY/If5cWqkJ5AP9PRc8soMuwBnT5
2rvEiOnjUdOcaIVQczveEr24WdFwoAD9Evdgr01WGQWtwmpcmjH5U6Sb3bDjssze
K3ytyraNywY=
=thAa
-----END PGP SIGNATURE-----

Attachment: pgpmqjnDS65O1.pgp
Description: PGP signature


--- End Message ---

Reply via email to