Your message dated Wed, 03 Dec 2025 09:07:57 +0000
with message-id <[email protected]>
and subject line Bug#1119589: fixed in tkdnd 2.9.5-0.1
has caused the Debian Bug report #1119589,
regarding tkdnd: 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.)
--
1119589: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1119589
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: tkdnd
Version: 2.6-1.1
User: [email protected]
Usertags: hardening-buildflags
tkdnd 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 tkdnd 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
tkdnd, 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: tkdnd
Source-Version: 2.9.5-0.1
Done: Andreas Tille <[email protected]>
We believe that the bug you reported is fixed in the latest version of
tkdnd, 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 tkdnd 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, 28 Nov 2025 09:11:50 +0100
Source: tkdnd
Architecture: source
Version: 2.9.5-0.1
Distribution: unstable
Urgency: medium
Maintainer: Hans-Christoph Steiner <[email protected]>
Changed-By: Andreas Tille <[email protected]>
Closes: 929861 1119589
Changes:
tkdnd (2.9.5-0.1) unstable; urgency=medium
.
* Non-maintainer upload.
.
[ Hans-Christoph Steiner ]
* remove 'Recommends: pd-import', its not relevant and was a mistake
.
[ Jelmer Vernooij
* Migrate repository from alioth to salsa.
.
[ Andreas Tille ]
* New upstream version
Closes: #929861
* New Homepage
* d/watch:
- Point watch file to Github
- Version=5
* Standards-Version: 4.7.2 (routine-update)
* debhelper-compat 13 (routine-update)
* Reorder sequence of d/control fields by cme (routine-update)
* Secure URI in copyright format (routine-update)
* Remove trailing whitespace in debian/copyright (routine-update)
* Use cmake
Closes: #1119589
* Hardening
* d/copyright: Fix License name
Checksums-Sha1:
bd96901e51ea21b6133e4a606108162e6150a4fa 1850 tkdnd_2.9.5-0.1.dsc
5ed81aa744505cd2620efc6050d48c3a92279642 1365451 tkdnd_2.9.5.orig.tar.gz
60547f9ed52be68f63b82bd0342dd9a35df58afb 2616 tkdnd_2.9.5-0.1.debian.tar.xz
f90116920b615299f0804a3fa46cf4763648d7ae 8218 tkdnd_2.9.5-0.1_amd64.buildinfo
Checksums-Sha256:
2643e6406a32da1d8abb2a0266d40e7f0c621b7ff93de201f362891d12439a1c 1850
tkdnd_2.9.5-0.1.dsc
e8fd7157e420d410459617dfa1722ee5c5504cd7ba226c88347a6d6a16535b98 1365451
tkdnd_2.9.5.orig.tar.gz
e7e68704e9121b1c164db553d3fb6e027af24dde820861b948918123f6819f45 2616
tkdnd_2.9.5-0.1.debian.tar.xz
11e28170dbd96e17d3aa984320993a1a245b80c3a6bc9a53af5c9093eb440f8a 8218
tkdnd_2.9.5-0.1_amd64.buildinfo
Files:
b3ab8bf9a616a3bc574fdfe43cc7fac8 1850 libs optional tkdnd_2.9.5-0.1.dsc
68bd8110f0bfb44d91ac37b93866e4d9 1365451 libs optional tkdnd_2.9.5.orig.tar.gz
56e7640c6057c504f409d5a1edad2f94 2616 libs optional
tkdnd_2.9.5-0.1.debian.tar.xz
c2b62a846a4a043a08621d9a36a2ece0 8218 libs optional
tkdnd_2.9.5-0.1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJFBAEBCgAvFiEE8fAHMgoDVUHwpmPKV4oElNHGRtEFAmkpW1MRHHRpbGxlQGRl
Ymlhbi5vcmcACgkQV4oElNHGRtE2tQ//dA8KpmSER+a/YNbdysSIpDFBDIfr7Zyd
TDNaQNFSwRdLwxZFpZ1IIoZS9TU1lC5vlfYTu7+c2dKlS4qRN8lFrmz852J3barv
yuJl+/0cskKl+Fd2TLPtRA1SM/8bnwMzzZU2Mkr8TMJ1pG86HvUOHbst/EKGJVXW
ePYfjU8DBewpLd+6BovTxxHPhav9trSdWmdM0z3YW9E1T/AyPudQ/KaX82dmtC7x
T4lBgQdri1eNalAe96XsgXBQqlyq7ck89RJii6FqB+n8Igvfql0DDSaeDMRLqw5d
9DpW7GJjakuhAYMqyz0A7k20FrNcrLCo7Bv7WuePclk9mgM0yz202libhNyWF++3
2ww3uaxZcaaOD3BDR+KuI1iNwJMdLADUin0i8I8kmbb1K7UT6WWvJhSQOxI5LYCa
6P/PtT+teDdUcVm8XeRCkv9UUNP7Eccu72wWo9MQWAOCgH+FsMbrmaHQxMLYvumg
40ikKAIFfVGiPV9kz/mWywlgecHO2kFyL5QbkD0MUOY86JUzR6t+oBH75iaPFwYq
v3E7yChi7rg2ib6Wi2WyshqBc+dQZoFSZppHc+hn5SVgVRd+44G7fzHKDLEiJRUQ
QYRD/3tEXNSJm3QnoVZQm5HDGj2Ef1rGUP0hGGYr9D2ZNjLn3d1YrlnC0/nLF49q
1YjU/jrDpQk=
=ggSS
-----END PGP SIGNATURE-----
pgpSM0CdSZ0kj.pgp
Description: PGP signature
--- End Message ---