Your message dated Tue, 11 Nov 2025 22:59:51 +0000
with message-id <[email protected]>
and subject line Bug#1119442: fixed in hintview 2.3.0-1
has caused the Debian Bug report #1119442,
regarding hintview: 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.)


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

hintview 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 hintview 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
hintview, 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: hintview
Source-Version: 2.3.0-1
Done: Hilmar Preuße <[email protected]>

We believe that the bug you reported is fixed in the latest version of
hintview, 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.
Hilmar Preuße <[email protected]> (supplier of updated hintview 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, 11 Nov 2025 22:24:02 +0100
Source: hintview
Architecture: source
Version: 2.3.0-1
Distribution: unstable
Urgency: medium
Maintainer: Debian TeX Task Force <[email protected]>
Changed-By: Hilmar Preuße <[email protected]>
Closes: 1115555 1119442
Changes:
 hintview (2.3.0-1) unstable; urgency=medium
 .
   * New upstream version.
     - Fixes FTCBFS: (Closes: #1115555).
       Thanks to Helmut Grohne for report and creating the original
       patch.
 .
   * Better Desktop integration.
     - New MIME Type for .hnt files; associate hintview to that MIME Type.
     - Integrate into start menu + Icon for .hnt files.
   * Package build log passes blhc test (Closes: #1119442)
   * Bump Standards version, no changes needed.
Checksums-Sha1:
 6e0610defb21c2620cd05ab60464d4f834d6c75f 2187 hintview_2.3.0-1.dsc
 cd6009f086b2204c29f96970a9b8cf2b28e6b259 684536 hintview_2.3.0.orig.tar.xz
 bbf1bacc972bc12575536b0ce2ccb5904eb4d2d6 5716 hintview_2.3.0-1.debian.tar.xz
 bd19700bd7a2f0b5340fbdcfae36b3bd6624956d 5480 hintview_2.3.0-1_source.buildinfo
Checksums-Sha256:
 429c4d10e7f40eafa9d908ad84a9967977f2ac28aa8b3c2b6b7c932b66a02836 2187 
hintview_2.3.0-1.dsc
 10860c967f9c4b8cbd67dbb929bfb698247c161d1be9e66ca0459c16dc2519e8 684536 
hintview_2.3.0.orig.tar.xz
 47424e17a9357f2fc5efac020e2d5bb0919fbc03d4448e896b254b184850255f 5716 
hintview_2.3.0-1.debian.tar.xz
 18d1a5768a061acba4c9d30f28282b913d94d7bc5601cd11327acdaf5e6764ba 5480 
hintview_2.3.0-1_source.buildinfo
Files:
 47f216d609db284713adf3cc9fa91f09 2187 text optional hintview_2.3.0-1.dsc
 83f2c8a362781b5590029fd7d3837006 684536 text optional 
hintview_2.3.0.orig.tar.xz
 260bfd3f9664f663ef814afb79032ceb 5716 text optional 
hintview_2.3.0-1.debian.tar.xz
 50a563034e40413ae04b03be54c09ded 5480 text optional 
hintview_2.3.0-1_source.buildinfo

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

iQKTBAEBCgB9FiEEaXGmC/nkbIhxf16kxiZYRqvgLIsFAmkTqhRfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDY5
NzFBNjBCRjlFNDZDODg3MTdGNUVBNEM2MjY1ODQ2QUJFMDJDOEIACgkQxiZYRqvg
LIu63BAAphS9B4ewJ6Kk1+lsvpZPTg+rAq0V8/yMJ+eMh6T4qYKuJovwvG7Fuayc
+XtUkKmwy9l5psInRLVutNYnNZEozH5xIDL+DzfcdHmvnNNYLEiV5lD0CbYahYQJ
g6QeLt5V9sJyXjgIHVrmHlLRy3t4Z2mwNtPdhDaqBwGmOTzuoFxRCromzKIeJHQu
vMTCCpMfSI5abUXqBi2OpezAntxYUVII8Wk378Q65tQSrwizxa5tzv4TLE6Ak+Ax
7Iyqx8XXEeGJkF2fcmeZa2A0IPvS5fBLpLFvEdw3MNTvnc2ZiOjsBbMCMN7Vi63T
45lxX05OfcE7WS+/je4eiE2hgax8dQCx1W+YFN8/sRSzL+NSqcsnxDm7Jyzm+ov3
EUmA68CQPCok1ITKzeqYlKtVruau+0o1sm0cQ57runH2TbdzI5tyTXseoMxvfuWr
Aczo9em4llIFw2gKJhPhSqYmfrgbdkKX8ONJrg3e1OAT3OeA5H+xd7Aqu9ZuuGqg
TExTf9GCbJCLWa7ZdhwZlIzZeF4+Ht5h1DerBoLP8+Zo1lx99URXAeMr++s8t6io
uUbbMIHROekCIgRqMaXJNn0luO2tOglqQnjR88w26Gd5suxIvYnTJZb2/AUozYQY
nY0MsZX0te+9jbKzoH98MAdBDGr8qNcJx6VVZb/FKebAFdKqpXo=
=DPSz
-----END PGP SIGNATURE-----

Attachment: pgpAutj85jmcU.pgp
Description: PGP signature


--- End Message ---

Reply via email to