Your message dated Thu, 12 Nov 2026 22:35:11 +0000
with message-id <[email protected]>
and subject line Bug#1119366: fixed in bwbasic 2.20pl2-18
has caused the Debian Bug report #1119366,
regarding bwbasic: please build using the default build flags
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.)
--
1119366: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1119366
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: bwbasic
Version: 2.20pl2-16
User: [email protected]
Usertags: hardening-buildflags
bwbasic is not currently using the default build flags set by
dpkg-buildflags(1).
The default flags are chosen for multiple reasons including security,
performance, reproducibility, adherence to standards, and error handling.
Please make sure that bwbasic builds using the default build flags. blhc(1p)
and hardening-check(1) can be used to confirm that the issue is fixed.
In the general case, packages honoring CFLAGS, LDFLAGS, and other
similar environment variables get the default build flags for free
without the need for any work on the maintainer side. In the case of
bwbasic, the flags are either ignored or overridden.
The most common reasons for this are:
Hand-written Makefiles
----------------------
Some upstream Makefiles either override the values of variables such as
CFLAGS and similar or do not use them at all. See:
https://wiki.debian.org/HardeningWalkthrough#Handwritten_Makefiles
Misconfigured build systems
---------------------------
If the upstream code uses autotools, CMake, or other popular build
systems, it usually requires no further modifications. If might however
be that some variables are hardcoded in some way.
In this CMake snippet, the value of CXXFLAGS is overwritten with "-O2":
set(CMAKE_CXX_FLAGS "-O2")
If the intention is to append to CXXFLAGS, one should use the following
instead:
set(CMAKE_CXX_FLAGS "-O2 ${CMAKE_CXX_FLAGS}")
See #655870 for a similar autotools example.
Very old debhelper usage
------------------------
Packages not using dh(1), or those using a debhelper compatibility level
less than 9, need to manually include /usr/share/dpkg/buildflags.mk in
order for the dpkg-buildflags variables to be set:
https://wiki.debian.org/Hardening#dpkg-buildflags
Flags hardcoded in debian/rules (either voluntarily or not)
-----------------------------------------------------------
Some packages voluntarily hardcode the values of CFLAGS and friends in
debian/rules, ignoring the defaults set by dpkg-buildflags(1).
Others attempt to append to the variables, but end up accidentally
overriding the defaults:
#!/usr/bin/make -f
export CFLAGS += -pipe -fPIC -Wall
%:
dh $@
Debhelper only sets CFLAGS if it is not set yet. In the example above,
when dh is invoked the value of CFLAGS is "-pipe -fPIC -Wall", hence the
hardened defaults are not used. The right way to append to CFLAGS is
using DEB_CFLAGS_MAINT_APPEND instead, as documented in
dpkg-buildflags(1).
For a detailed analysis of this issue, see:
https://people.debian.org/~ema/nocflags_paper.pdf (eprint: hal-05334704)
--- 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-----
pgpcv2i8SiRBk.pgp
Description: PGP signature
--- End Message ---