Your message dated Thu, 27 Aug 2026 12:49:09 +0000
with message-id <[email protected]>
and subject line Bug#1119440: fixed in gwaei 3.6.2-10
has caused the Debian Bug report #1119440,
regarding gwaei: 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.)
--
1119440: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1119440
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: gwaei
Version: 3.6.2-9.2
User: [email protected]
Usertags: hardening-buildflags
gwaei 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 gwaei 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
gwaei, 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: gwaei
Source-Version: 3.6.2-10
Done: Andreas Tille <[email protected]>
We believe that the bug you reported is fixed in the latest version of
gwaei, 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.
Andreas Tille <[email protected]> (supplier of updated gwaei 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, 27 Aug 2026 14:26:52 +0200
Source: gwaei
Architecture: source
Version: 3.6.2-10
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <[email protected]>
Changed-By: Andreas Tille <[email protected]>
Closes: 1020670 1045028 1049714 1119440 1133349 1134268
Changes:
gwaei (3.6.2-10) unstable; urgency=medium
.
[ Andreas Tille ]
* QA upload.
* Orphan package
Closes: #1133349
* Maintain package in Debian team on Salsa
* Use Github repository as Homepage
Closes: #1134268
* Fix clean target
Closes: #1045028
* Bump debhelper from old 10 to 13.
* Remove redundant Priority: optional from source stanza.
* Replace FSF postal address with a reference to
https://www.gnu.org/licenses/.
* Set debhelper-compat version in Build-Depends.
* Set upstream metadata fields: Bug-Database, Name (from ./configure),
Repository-Browse.
* Build-Depends: libncurses5-dev => libncurses-dev,
remove libncursesw5-dev
* d/rules:
- Short dh (Closes: #1049714)
- do not override CFLAGS (Closes: #1119440)
- hardening
* d/copyright: DEP5
* Add d/lrc.config
* Remove d/menu since there is a desktop file
* d/control:
- distinct short descriptions
- lib in Section libs
- No explicit Build-Depends from dpkg-dev needed
* DEP3
* Add watch file pointing to latest Git commit to advertise
continued development but leave upgrading to people who know
this program better
* Standards-Version: 4.7.4
* Remove unused lintian-overrides
.
[ Vagrant Cascadian ]
* Add -ffile-prefix-map to CFLAGS
Closes: #1020670
Checksums-Sha1:
54eb3b2b4a7e10bdc0708d6cfa3c1dc62b8f5ae6 2108 gwaei_3.6.2-10.dsc
3d6f4a2137655cd5b12bf44b94babbd3daee1efc 6008 gwaei_3.6.2-10.debian.tar.xz
cc8c41d3268994b697ae8ca42d58f05572216430 18323 gwaei_3.6.2-10_amd64.buildinfo
Checksums-Sha256:
ae9d9023b0653c1dfc2be9df118fca57d078d0fa39e13db7ec6e76031fac0159 2108
gwaei_3.6.2-10.dsc
d33b9cb634c46ee03a4227ff7373288fc86cf609f9773ea6f41186b45607222d 6008
gwaei_3.6.2-10.debian.tar.xz
ab8fb17d74b62acdc71411a9540f41fe02ac0dcd8a4cedbfb574bb5ea144ae70 18323
gwaei_3.6.2-10_amd64.buildinfo
Files:
74be7912ae2cb04934b395068a0ef271 2108 gnome optional gwaei_3.6.2-10.dsc
5ff9ff11e8ca704ee2c346d12d0201ad 6008 gnome optional
gwaei_3.6.2-10.debian.tar.xz
c3938ae41382f14a02a72b909cf7254c 18323 gnome optional
gwaei_3.6.2-10_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJFBAEBCgAvFiEE8fAHMgoDVUHwpmPKV4oElNHGRtEFAmqQLtURHHRpbGxlQGRl
Ymlhbi5vcmcACgkQV4oElNHGRtF46Q/+Kyn3k8jxrQnCUUf8C0r4w4JCt/8KMr0R
haVNEJEBwvUw2t3NrrTDpQ+5Axo6ZgJgniqHKI6Kqad1sEZcEnYfXH2cag0Smvxg
CbJ55P6ic5TC+2EozEz9DxVKf7ttOZVrOf5jxJWPHWHS0D/Ft8wUxjrBGpEX6c5g
/fVP68emsiT24MxQFpDof473V8/1yeh9j0oK6Gc3qGT7fhU5h3PMQMCyys+D2Zsz
7hAO4LlG4cSv8c8dcyu2vcuoYAp3TOlMQC4oPfuCfLgnPgJ7jG0GrNFGaAVD/cMw
qqmAVF4XRJl3wlYXfHccEAlHwnC7YihpxSg/A+1FEDCtSenPRnFQCKcCg0wJUNyR
LTzQ2BJQOX6w9xYROGtnsEZVSMHamOSuL9d3GXMBmyo9Bfb5+3VfaE0WY03UFqMn
CBgh8p7ILYYhesX49hAkkcaoHtV/seUxzQJsf1mPxfrF0+tX1cvE4ayY026mt0ny
hDvTGWb/luLektauJIjfh3WuQC0CovuM4FfMtm1TiNpdMgCXj5A/vGsoTd/wN6gA
fIFDJYQFww9ya+guF6UM3McIIDyCrq1lHaKZdbYEI2RawZEB4oYOKGpGOfrIr2JU
jfrUQh5SpQ7K6vF6XMj/8cuceRfqFAq/NHFkwE5yxbslAqLBKEbjPrjfb1LfY5YN
2/ebGZfXlkU=
=75sk
-----END PGP SIGNATURE-----
pgpSRda9LzRTO.pgp
Description: PGP signature
--- End Message ---