Your message dated Tue, 16 Jun 2026 11:06:27 +0000
with message-id <[email protected]>
and subject line Bug#1124920: fixed in xplot 1.19-11
has caused the Debian Bug report #1124920,
regarding xplot: 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.)


-- 
1124920: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1124920
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: xplot
Version: 1.19-9.2
User: [email protected]
Usertags: hardening-buildflags

xplot 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 xplot 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
xplot, 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://hal.science/hal-05334704/

--- End Message ---
--- Begin Message ---
Source: xplot
Source-Version: 1.19-11
Done: Andreas Tille <[email protected]>

We believe that the bug you reported is fixed in the latest version of
xplot, 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 xplot 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: Tue, 16 Jun 2026 12:29:34 +0200
Source: xplot
Architecture: source
Version: 1.19-11
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers 
<[email protected]>
Changed-By: Andreas Tille <[email protected]>
Closes: 1124920
Changes:
 xplot (1.19-11) unstable; urgency=medium
 .
   * Standards-Version: 4.7.4 (routine-update)
   * Reflow Uploaders field (cme)
   * Remove Priority field (cme)
   * Build using the default build flags
     Closes: #1124920
   * d/rules: Hardening
Checksums-Sha1:
 701fb476f712038d2f16024acbd5d5e1e0082dd5 1965 xplot_1.19-11.dsc
 f669de879a4b57dca8143209ce428449eea4cf60 5032 xplot_1.19-11.debian.tar.xz
 5e4113fa18555acd115c5eb2b3b7ff6fdbd220cc 6538 xplot_1.19-11_amd64.buildinfo
Checksums-Sha256:
 813fb2bbc1755ab9ebbdb14e437a86f57398646c180c5b249f803ddaf71acd41 1965 
xplot_1.19-11.dsc
 7445b74d7130fe9472ffb6c3e9fe260c0f715981ad1440288acb543d71861df4 5032 
xplot_1.19-11.debian.tar.xz
 f2b29aeebcb9897feb04f5ba9fd35460fefe058e3c1ead3a93f8a1081adaaf41 6538 
xplot_1.19-11_amd64.buildinfo
Files:
 e1821c4100bb07626bf705de3228b019 1965 science optional xplot_1.19-11.dsc
 efd2b899bd9920ac11a12e14e2449b87 5032 science optional 
xplot_1.19-11.debian.tar.xz
 66254fd305a27464beb99726841629e3 6538 science optional 
xplot_1.19-11_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJFBAEBCgAvFiEE8fAHMgoDVUHwpmPKV4oElNHGRtEFAmoxKnARHHRpbGxlQGRl
Ymlhbi5vcmcACgkQV4oElNHGRtFQQA//Sr8L/PYbC/yZ8HzTsvxbjivPrV1kCbGs
ZOmIAUqyWeNgGB30tXYuFhaeHO6wzIvZpN+1NWHZcpmIHnvlPAnu10X6Kaz9wIIN
8DPWzsUEnNLjSUZsv+rNw7MVxYzxxOu/L5YCmHlAWWxrbc+rua4Q6Si6frZd7nc4
J1ca/cdSZ7kqOQljzI2C7hLdznd9NP/l8USmAs5V+sSRgbItzJ3DngbXi+wg5gRf
KnZBjtr3fAc77SaNpFfF5YYCN/G3kEQjl7ExiBATwXyugdst9YrWMElfcWH8M7Az
L5euidm+SE27JCz7CKV4Z/WaRAHzlL9PIiW47sGv+8IjjTM7ovoP0YgYfTDvLaZK
hFAbQa6t5oGxloTXakGA6Vi0jUkbJw3e6iVbuabchHQrSWT8MBiO9plIDVNrkmYe
1UGQZV5Y8FkHEf8juQb6uyPNu8m3btR47kinaVbd/vp2mCHiNKLOOiWpy9N0kwi9
8zqEktH8nf0iyZQkzwsoYi1jMzRq9ZXSXMZDuamJ8bZZElmqahrJoxXFEWqdXnRx
ktCW7MthHXESPlj92vpuRaKH05RH7JVmMGeh2jC2Uu6i/XaC6cun1ZWhCIq+mbL7
kb7SDeSMyE9aYGpbgYAw3rTpYeKRwTmvSORmbMQsR8fUTZVO/n4lY4i+fbE9x9R4
EbknYYPEpC0=
=s9ET
-----END PGP SIGNATURE-----

Attachment: pgpY08ExMjGRS.pgp
Description: PGP signature


--- End Message ---

Reply via email to