Your message dated Mon, 22 Dec 2025 04:05:15 +0000
with message-id <[email protected]>
and subject line Bug#1119431: fixed in glimpse 4.18.7-12
has caused the Debian Bug report #1119431,
regarding glimpse: 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.)
--
1119431: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1119431
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: glimpse
Version: 4.18.7-11
User: [email protected]
Usertags: hardening-buildflags
glimpse 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 glimpse 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
glimpse, 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: glimpse
Source-Version: 4.18.7-12
Done: Alexander Zangerl <[email protected]>
We believe that the bug you reported is fixed in the latest version of
glimpse, 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.
Alexander Zangerl <[email protected]> (supplier of updated glimpse 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: Mon, 22 Dec 2025 13:34:58 +1000
Source: glimpse
Architecture: source
Version: 4.18.7-12
Distribution: unstable
Urgency: medium
Maintainer: Alexander Zangerl <[email protected]>
Changed-By: Alexander Zangerl <[email protected]>
Closes: 1119431
Changes:
glimpse (4.18.7-12) unstable; urgency=medium
.
* adjusted makefile (closes: #1119431)
Checksums-Sha1:
eeb381368bb066b1233f2b2e601bfbac6a2826f5 1754 glimpse_4.18.7-12.dsc
8f672854ee086d1858d3628060bc4dfa7cbdb7f1 14752 glimpse_4.18.7-12.debian.tar.xz
e0ef21443863fb0e8048a4d8cb461674191859ba 7365 glimpse_4.18.7-12_amd64.buildinfo
Checksums-Sha256:
d053846e6cdc488767a091b1bc3ec5912a0a9cb78d6b185261c56c4d483bb294 1754
glimpse_4.18.7-12.dsc
3866bd4ef65ae72fea03fa209aa83a2eeec64cd4b8c588f9be642c93063da284 14752
glimpse_4.18.7-12.debian.tar.xz
0d94ed4268d6adf9d75716b68ac5eb5cffebe05139182ce3f56bd890a4625dfd 7365
glimpse_4.18.7-12_amd64.buildinfo
Files:
a1ee23193c4ad91ceef517e248537367 1754 text optional glimpse_4.18.7-12.dsc
2229883a8ffae145b47d9856323656d5 14752 text optional
glimpse_4.18.7-12.debian.tar.xz
5e036f46c6d9ca62437d93e174718285 7365 text optional
glimpse_4.18.7-12_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIcBAEBCgAGBQJpSL1eAAoJED06g4g30PqNFCIQAMF1cPGeX7sbpy5Y8ne4e6qf
kuG0tEFQiTtrbBdjNYLvs5JcEIQNxWCod50zcAuHfA7wTW5Hdz1f8EtSv7mB3RXk
5GlE0mErEpqrgKZV6U8CEjq+LVtxa7NuBjdPehD0UehivdWeO/igCTqg1x+gErVQ
kclItZdLURAe9HRr/eBfiIoKFgHI6/zCa2erCrJEaKJQB2AqjXWdznPyoBoWmQPo
1Vj+3+2s31VH6QWs5VG26OzHLbDtl4Kih7RgsAJnuZ6pBQaRBVgZyTNimb6GF/6v
cgleqyAZLyzCaNBWxUCsQPGuZ1yMIYajEzSuiU6UwJieg7uEZ3pCMvasjY1Nz6dt
Ypa2mDBULPg0tnDo8zE5vEnWXJ2CyxTo7Lzso4e9WiqFQCemUu0eY5inR2qQ1iXS
2Z2hZ/JUw+LOWS4LibR10YhnO2Q+9LXTisJA7WX/HPfmQ7sadAtu8Pid5vRb8gJ9
LZ/D5iKauRWtXQJ763ViXgzbk5PHJA9BWjIpg9B2NjEUjB8kB2sXtGitU3ee3wXN
Oetp9rqXKcQjVZ9aPLfhCKaVF40oZKf4ch/TWw/jHHSo33C+TX8td+rJ6Mr2eHrv
zSXBeEwqucd2OZxkLw2aHJB3Dp5Qse1Dv0H0tSD6bQWQ5Xihe2dfcQffsSDJ1OQY
wxOnwuyBDoIOEDEcAbDD
=SU5C
-----END PGP SIGNATURE-----
pgpxwEeH16Etx.pgp
Description: PGP signature
--- End Message ---