Your message dated Sat, 08 Nov 2025 23:33:45 +0000
with message-id <[email protected]>
and subject line Bug#1119389: fixed in dbview 1.0.4-7
has caused the Debian Bug report #1119389,
regarding dbview: 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.)
--
1119389: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1119389
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: dbview
Version: 1.0.4-6
User: [email protected]
Usertags: hardening-buildflags
dbview 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 dbview 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
dbview, 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: dbview
Source-Version: 1.0.4-7
Done: Alexandre Detiste <[email protected]>
We believe that the bug you reported is fixed in the latest version of
dbview, 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.
Alexandre Detiste <[email protected]> (supplier of updated dbview 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: Sun, 09 Nov 2025 00:17:24 +0100
Source: dbview
Architecture: source
Version: 1.0.4-7
Distribution: unstable
Urgency: medium
Maintainer: Alexandre Detiste <[email protected]>
Changed-By: Alexandre Detiste <[email protected]>
Closes: 1119389
Changes:
dbview (1.0.4-7) unstable; urgency=medium
.
* Merge the 4 existing Makefile patches & fix handling of CFLAGS
Closes: #1119389
* Switch to X-Style: black
* Drop "Rules-Requires-Root: no"
* Bump Standards-Version to 4.7.2
Checksums-Sha1:
2511ed5976fe792efb122c31ca0e1af10f4c118a 1828 dbview_1.0.4-7.dsc
b7e06354c7217f0bc7c672efd7fb555dce025980 4252 dbview_1.0.4-7.debian.tar.xz
e6ce277a5d217e8e80e9c969e56c862e6f5778bf 5683 dbview_1.0.4-7_source.buildinfo
Checksums-Sha256:
7ee77b9e3e81666b67ea8ce7ef4069787ba2334b3f69186982c864178518f9fa 1828
dbview_1.0.4-7.dsc
16d396b80f91e5e6624505b297bb738e3369acea2857da5d261745af8fc5e4fd 4252
dbview_1.0.4-7.debian.tar.xz
f239e09fc5d437783264dbef046c257cc0ae400ee0937012dab445f0fe5993cd 5683
dbview_1.0.4-7_source.buildinfo
Files:
8dfbfc352287d6c893a3eed1534db219 1828 misc optional dbview_1.0.4-7.dsc
128e1556a63694d1ccc29e80c8b62f1d 4252 misc optional
dbview_1.0.4-7.debian.tar.xz
b1c9280598b84c701edc6caf504a4e0e 5683 misc optional
dbview_1.0.4-7_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJFBAEBCgAvFiEEj23hBDd/OxHnQXSHMfMURUShdBoFAmkP0GMRHHRjaGV0QGRl
Ymlhbi5vcmcACgkQMfMURUShdBrlsw//bi79E4CqYaagbR9cMfoQ237Y1aPc2YS9
J8xZO91Va3rClKS/0HoKWTr9OIu9y83mQ6dSsDTcm6pX0OfVBcpqfDOk+7RuoICu
bIS/Ea5zd1ZefFkGjDoz+1poJFI6uqVIuc80P02GCh3I9iTrts8+yOxTNT6cTfLA
1yUNLYHYBqZTPHsR/Hg/q1kPcHBXEEX5CAycEcaOZK5+J6aTrf89AZVibUhAmbIo
+OGJ/SNX2c5SY1NujkozhMpZarbFiHk47YfBRoCg6icWoxfMAJs1D4S9roHOAQSt
lKdeLkRhLRNNEzg1zk/GTcKQRHT0FWZ4u4B5xhrHkQk+dA392orbTeTNBldJaoYV
Wth4QwhAxQnchlaWawQWgeyrEj+2lSeG+guTAY8ISeTdaOxk6j5fv6F3EyDBxRNO
RQBinweIn/Yje49WmsmVcUlrmo9+StCMLMkdF3W2KwcPIC9OqOVFxBoZ3Nj77/Nr
5yzB1JGtvchQiHoika9ughjHdRq5k6xiy+81EPFITedqUgJBn02wihWULmgU1w4h
spl5G2TXYfYQz3V6n5rWySUCjB5QfNJw/x6imJEBIv/ky4S3ga3mgtLDLY51SQGw
1Ou6MNmRDJQL4h9BVfPwB8Ha5aN05L0aw7f0hOKycqk0FmTOTkp05XAkS6adrEj2
TP15ZcGLx+U=
=7Sde
-----END PGP SIGNATURE-----
pgpDAcjmpbVnY.pgp
Description: PGP signature
--- End Message ---