Your message dated Sun, 11 Jan 2026 21:49:50 +0000
with message-id <[email protected]>
and subject line Bug#1124852: fixed in eegdev 0.2-12
has caused the Debian Bug report #1124852,
regarding eegdev: 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.)


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

eegdev 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 eegdev 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
eegdev, 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: eegdev
Source-Version: 0.2-12
Done: Étienne Mollier <[email protected]>

We believe that the bug you reported is fixed in the latest version of
eegdev, 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 eegdev 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, 11 Jan 2026 22:14:59 +0100
Source: eegdev
Architecture: source
Version: 0.2-12
Distribution: unstable
Urgency: medium
Maintainer: Debian Med Packaging Team 
<[email protected]>
Changed-By: Étienne Mollier <[email protected]>
Closes: 1124852
Changes:
 eegdev (0.2-12) unstable; urgency=medium
 .
   * d/rules: activate all hardening flags.  (Closes: #1124852)
   * d/*{preinst,postinst,posrtm}: delete: remove systemd diversion.
   * d/control: drop redundant Priority: optional.
   * d/control: drop redundant Rules-Requires-Root: no.
   * d/libeegdev0t64.lintian-overrides: delete.
     This removes the now unused override package-name-doesnt-match-sonames.
   * d/eegdev-plugins-free.lintian-overrides: delete.
     The override was needed during the usr-merge systemd diversion.
   * d/control: declare compliance to standards version 4.7.3.
Checksums-Sha1:
 21e4ed4c0a65239d3ead4e893447e006b73b079c 2249 eegdev_0.2-12.dsc
 6b910a256119cae58fa092b99b3558f339f88f8f 11244 eegdev_0.2-12.debian.tar.xz
 5e5b8b00110ef4cb0074256889ba1b36781432e5 7203 eegdev_0.2-12_amd64.buildinfo
Checksums-Sha256:
 6bff71f101d5919e0c79d5f32b3da69ab40fb5387c0ec421a2e4e3334638d370 2249 
eegdev_0.2-12.dsc
 527122aa857811167e066fb2444af325555ed746a3a2efc76c2fe41a6163486a 11244 
eegdev_0.2-12.debian.tar.xz
 32a2e346e4edae374a28611d862f2b2b16ff4dd26e591923227497d69cdc498d 7203 
eegdev_0.2-12_amd64.buildinfo
Files:
 2028bbe2e9b0ce993d8bfdd6658038b0 2249 libs optional eegdev_0.2-12.dsc
 c29e781573faadb79a091de89781f04a 11244 libs optional 
eegdev_0.2-12.debian.tar.xz
 bd00459a68d27cadf83b16f32cd424ef 7203 libs optional 
eegdev_0.2-12_amd64.buildinfo

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

iQJIBAEBCgAyFiEEj5GyJ8fW8rGUjII2eTz2fo8NEdoFAmlkFFAUHGVtb2xsaWVy
QGRlYmlhbi5vcmcACgkQeTz2fo8NEdpNeA/+Kc39Aq4RlcLV5hpbidd1EoPJL3mj
Ws2bhNgmNYr9a28GUD1fOik5MB+3hTlpI8kqnvuvWD/JUBjCqkntWQ0f7YJghkCT
BDxD7XQkEc18sFBJsbcOGP0ty1/xb8JFgj552eQRhbVxSAfDytX6xZhQG92fxKbJ
D1aBO/fqlyAGXM6f3WUe698WEuBF2/b5xtbaM2GbhaoZS92WtBB+tyhOq33diZDi
uJWpLzzwnZfxnpTk14iQlapmszo5h/G8HYcqwrtYPoTMGK88wM10cOYFyCqRSvmr
UsyRenRJPTny8br8RMzER0eZQFHZmfINRsDmEI5zpQTX6FqPIBhtizjQ3fYgPWmv
oggz9JDyyeca3x5Tx3CVOC9BLSI2GQxNZ9hE34JuvWu1ySLVxWhkgebtwNXKRCbs
lJaU8j+juVgicuVvezrKKVVK14RTZkZCUhP33PkGTt0lokb+wwx+BWnlQMHu6shl
sTfmJrDD29qZZL2srcy4zkO4Iv0coJ2eh0yOM9bsIYr3mV4nwPN/8NuYZEOJcIVC
ev0NO8ayDPEam7BUhGYoy+qTG0K72Ma/avJuQQcnW8XWfn6zzGpvnlILXI1Fci2m
CJZQgKhNuWxFk/YNrE55Hk68Ok50WnZGgTi+QvL74aWVsP+CGu1NdR5/bPmFsJhK
czYZSQRe/oCTiTQ=
=mgZ/
-----END PGP SIGNATURE-----

Attachment: pgpBnShdK9zYU.pgp
Description: PGP signature


--- End Message ---

Reply via email to