Your message dated Sun, 07 Dec 2025 18:10:58 +0000
with message-id <[email protected]>
and subject line Bug#1119545: fixed in raster3d 3.0-8-2
has caused the Debian Bug report #1119545,
regarding raster3d: 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.)
--
1119545: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1119545
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: raster3d
Version: 3.0-8-1
User: [email protected]
Usertags: hardening-buildflags
raster3d 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 raster3d 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
raster3d, 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: raster3d
Source-Version: 3.0-8-2
Done: Étienne Mollier <[email protected]>
We believe that the bug you reported is fixed in the latest version of
raster3d, 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.
Étienne Mollier <[email protected]> (supplier of updated raster3d 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, 07 Dec 2025 18:39:02 +0100
Source: raster3d
Architecture: source
Version: 3.0-8-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Med Packaging Team
<[email protected]>
Changed-By: Étienne Mollier <[email protected]>
Closes: 1119545
Changes:
raster3d (3.0-8-2) unstable; urgency=medium
.
* buildflags.patch: new: propagate build flags. (Closes: #1119545)
* d/rules: convert html documents to UTF-8.
* d/control: add myself to uploaders.
* d/patches/*: normalize dep3 headers.
Checksums-Sha1:
0dc7656f26f28eff29402d5d9de46d6434b102a2 2259 raster3d_3.0-8-2.dsc
8932181684033d71340d2026bdb308a404914e64 15284 raster3d_3.0-8-2.debian.tar.xz
Checksums-Sha256:
dc31fc54404658efdfcbe22d108c235736848fd9bb26229ec3f84cb0f9f43164 2259
raster3d_3.0-8-2.dsc
1afee905960593495be828ffced3ba74bd4fe34aa9626e814988ab9f3355d77f 15284
raster3d_3.0-8-2.debian.tar.xz
Files:
410beb0adeb18f969c3172f7371d6b6f 2259 science optional raster3d_3.0-8-2.dsc
6a866e1f509bb5546878d285e85d8405 15284 science optional
raster3d_3.0-8-2.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQJIBAEBCgAyFiEEj5GyJ8fW8rGUjII2eTz2fo8NEdoFAmk1vhgUHGVtb2xsaWVy
QGRlYmlhbi5vcmcACgkQeTz2fo8NEdoySw/+Ls8HpAk+gCkRRqoM/bUZzaQcYgQ1
95HRzKgrdmj8o4NiLBDFpEsD1eQDoBawlDgPTfK7XhTzvB1H2WY1qD7d02KCoEtG
9eOUseoMELUPtHp/ygWMuwdX4UNlRvKlWvlcleaEBQZFBUOP/Xo31RkmH35KwUCO
qkZUlW2KVERIeZBiQVWgQkA88RjPHdd3LivWpAksBN+XdIdIKS4RNI9s6EJhO1BI
Mt1l2rvlYktyFOuqqUgsiO/8ibyTYfn5tvw+fKsP9/77B4An8z9kOa/cMluruzMb
lFo2mYcd4pcj8wDb42nLeTQS6zMTxRbNVZi1rG3QSNePRs1rL8tIL1KjiVT59ssX
zqHwWMKZ+NGOPxVa/S0nRjlIE73QtXsCHKyWn/IyN0AdCWMVCM0Hdobc1qnhZyuN
VPdxgKobbHIo+fgNkNLPcKzNrZVVKkefNPQ4T9wjTaU2HGz/+a4/9HpbqsF2IQ3B
BUMO6+dXbyQ4IQj9g1NDcMAWQCwWl39r84Y8zGPkesGHTRa/HWGgujXpVvexhBZJ
1PshtffPQ2gwgDaCBEjUkHZIrRUNzpT5W0XRtvAg82uHhT5S20Zi3laWXFabzSPl
FYw5+6Dv1wcoDHn500iY4x0yjav03fv6WFKk7+K7k11DsqJAAMs9RwZxRAtlsArM
r1cuCLqexRzxKzs=
=Kfqz
-----END PGP SIGNATURE-----
pgpLh5NU2453g.pgp
Description: PGP signature
--- End Message ---