Your message dated Fri, 07 Nov 2025 10:49:34 +0000
with message-id <[email protected]>
and subject line Bug#1119453: fixed in ircmarkers 0.17-1
has caused the Debian Bug report #1119453,
regarding ircmarkers: 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.)


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

ircmarkers 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 ircmarkers 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
ircmarkers, 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: ircmarkers
Source-Version: 0.17-1
Done: Christoph Berg <[email protected]>

We believe that the bug you reported is fixed in the latest version of
ircmarkers, 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.
Christoph Berg <[email protected]> (supplier of updated ircmarkers 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: Fri, 07 Nov 2025 11:27:07 +0100
Source: ircmarkers
Architecture: source
Version: 0.17-1
Distribution: unstable
Urgency: medium
Maintainer: Christoph Berg <[email protected]>
Changed-By: Christoph Berg <[email protected]>
Closes: 1119453
Changes:
 ircmarkers (0.17-1) unstable; urgency=medium
 .
   * Use standard compiler flags. (Closes: #1119453)
Checksums-Sha1:
 cadef17073953dcd4a7afdc3383028ed44c4af67 1835 ircmarkers_0.17-1.dsc
 528e987052163df6cb67d5d19796d826fa0a3b0a 1498742 ircmarkers_0.17.orig.tar.gz
 9355bc074569ac74269d3f07609ec78fd5acd708 4760 ircmarkers_0.17-1.debian.tar.xz
Checksums-Sha256:
 5e9c13b63e2b27ab5bb2a9ec94a67819bd025a9692b84d1e150cbde6c63ed37a 1835 
ircmarkers_0.17-1.dsc
 eea04ce0d123b65f4bd7ec1bf603c5e745a4b6a0dc2d1d62291d776efaa5f572 1498742 
ircmarkers_0.17.orig.tar.gz
 db10f3880fb9698fe539a16ef0eaefcad893475e6daac303e1b7eeebee71f4b0 4760 
ircmarkers_0.17-1.debian.tar.xz
Files:
 90eedb9ef026da35e0b5b5fde66a1b65 1835 graphics optional ircmarkers_0.17-1.dsc
 a70269928a9c907ce82eab7abda14515 1498742 graphics optional 
ircmarkers_0.17.orig.tar.gz
 fbfb1932528dac6d1fb2a1035328167a 4760 graphics optional 
ircmarkers_0.17-1.debian.tar.xz

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

iQIzBAEBCgAdFiEEXEj+YVf0kXlZcIfGTFprqxLSp64FAmkNye0ACgkQTFprqxLS
p64UuA//R25Q1+SHCwY3zrDH/PgJGNf7wBzWutfOh37U1HnalrjkY2qKKCrxKwm+
roxfv7UrRkWCxHAT87Sc0tHwQKNrFRiFQezXjjLoKzqEm1OIRZTxnzGVyzU8Tgs/
CxS0QUFV9HlfsodtjICIP3th17zI8UVTlBmq8qQIGJa4j6kH9XiwGIl1gG9O0Atm
emzf+BIj94Yqr8TCk3IkUyRg+46KEqX1SV4w99JDldRtEifYb07l9j0WCjJraZ+L
bcdJTaomc8uGmCMF/TJRGpBubgSx24hu15Rj49qKpGK5ibwQOwoYiVYVkk++ZFzC
3RVyd8wMpDfWJHnXRVdLo/MwtpbyUOmd3KuA+8b1oKVnctWhKArkjTDFDR6ELg0Y
bwqzKqgWj+4iLUG1Pf9yxhjA9vlOgHfeS4yl51Y2l1+LDlRFiUpP4FQg9YYCnB5h
J7rsYTDX/TQ9L/lXZPFKKzkbl3sArUsOnfE61FJIZCs/Bgwm3LmgEByRCfqRPBpm
4ySygMQTiSeKtOuvoJrnMS8Wkdz1ixNUdGZ4K3K+8MNK+G9Vi4OD6nEJRZ2lLlKQ
Am0LdHumzHUKfL0kcV1w/HRaWfENOJbEkza6jxh5i0dc729IsE+pSM6ZwjSONxC7
4UoUZFWy35+aZpI5iRa3CDoQKNjquk3E8SAvv0z9P67SXMrrkgQ=
=2GPb
-----END PGP SIGNATURE-----

Attachment: pgpqEJiAH2Vbo.pgp
Description: PGP signature


--- End Message ---

Reply via email to