Your message dated Fri, 24 Jul 2026 17:48:47 +0000
with message-id <[email protected]>
and subject line Bug#1124862: fixed in jeolib-miallib 1.2-1
has caused the Debian Bug report #1124862,
regarding jeolib-miallib: 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.)
--
1124862: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1124862
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: jeolib-miallib
Version: 1.1.7-2
User: [email protected]
Usertags: hardening-buildflags
jeolib-miallib 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 jeolib-miallib 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
jeolib-miallib, 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: jeolib-miallib
Source-Version: 1.2-1
Done: Bas Couwenberg <[email protected]>
We believe that the bug you reported is fixed in the latest version of
jeolib-miallib, 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.
Bas Couwenberg <[email protected]> (supplier of updated jeolib-miallib
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, 24 Jul 2026 18:59:04 +0200
Source: jeolib-miallib
Architecture: source
Version: 1.2-1
Distribution: unstable
Urgency: medium
Maintainer: Debian GIS Project <[email protected]>
Changed-By: Bas Couwenberg <[email protected]>
Closes: 1124862
Changes:
jeolib-miallib (1.2-1) unstable; urgency=medium
.
* Team upload.
* New upstream release.
(closes: #1124862)
* Drop Priority: optional, default since dpkg 1.22.13.
* Bump Standards-Version to 4.7.4, changes: priority.
* Update copyright file.
* Drop libdir.patch, applied upstream.
* Add patch to install headers.
Checksums-Sha1:
2c1c13d2740a93bf361a217b477dd8bb314bd589 2211 jeolib-miallib_1.2-1.dsc
0c711ed7f4293a183820b2aae1b60cc427c010c4 409921 jeolib-miallib_1.2.orig.tar.gz
9f2f678355fd6fd31705bd9c7bceac896bf86f1a 9240
jeolib-miallib_1.2-1.debian.tar.xz
c5b9e70a553cbead6640553939bed7baf539740f 16466
jeolib-miallib_1.2-1_amd64.buildinfo
Checksums-Sha256:
574408ff2fd72952bc36cac63375b85593aa34598a821b67d0fc069572bef76a 2211
jeolib-miallib_1.2-1.dsc
4ece5e7400e7b2f1c67176a7fab48e587089570318cff7d489bc2038927b2855 409921
jeolib-miallib_1.2.orig.tar.gz
08c571a1233b97c0b69beac848ced4885e32147b1e5fc8c24338766ceae8c436 9240
jeolib-miallib_1.2-1.debian.tar.xz
23d90896b1b5dbaee58e237a0afd94692d2ee51e111e2bfd0e05efd9894fec6a 16466
jeolib-miallib_1.2-1_amd64.buildinfo
Files:
d130dff57912506d3d404ef30f4bb660 2211 libs optional jeolib-miallib_1.2-1.dsc
d08236d4a46324c9fff84b92974339d0 409921 libs optional
jeolib-miallib_1.2.orig.tar.gz
6707b40c91c197172c7a86ae28be1060 9240 libs optional
jeolib-miallib_1.2-1.debian.tar.xz
a320be685a8ec1478f14f5560e6f34f1 16466 libs optional
jeolib-miallib_1.2-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEgYLeQXBWQI1hRlDRZ1DxCuiNSvEFAmpjoKkACgkQZ1DxCuiN
SvHLdQ//fTzzN3SZ6eqB4bxlmMYSehH0uliTJBbDDREaIJFZZ3XZ5CVihOr71cbr
aTuvPzT7Wt5s5yKNTV9QV0udPHB8qFgxaBoLqzF1CRiilTCzKZYHf7qookGMOGcj
ogz9N1a/uXGZHj8Qg1wp3Vt5bIh8vm9+MuYBK6DiDvyT5L+nIerzmGJMgbzZaUfg
BC4d1+LaW5N/5vcyk0KcHAWwVkC5OhyU/BXiQ4EaZ29BvJMxYLKkEEo84pZsg+1x
XFAGd+xj55Mh72V2EqFg7rECxKsTlcnladH+FTxRm/7jwYXiSnwV+e2dQZ7AyoMX
ZLOefWtlyVNrKH1SGIrRw+Druu5/ihAD91Ff3kqVYfZUkqVtjiyQOIHK8yc0NgPA
S3WYDeEWHa127c4Iuk8pwHSPmTpjvvgc7iTEeTEruhHHbRyAWaDfqIIMerWNK+pX
H4PVGXBs7zE6GWfm3uQMCwjZg9g5uIpK+z3lrAQFzoniu7yjc2Wc9imwUjdjD0Mt
g8rRIdrAl1sSes3kgEscoPsO4I0Py+b56B4w5W3sI00ILhHasNIaW6XlwXWqo/2H
xh+xVkr8FdCsDk4zbHCGW/KMbg+dj0WP0D1mrFAK6bz3OFX5hYInFgh+c+xD0EXd
Lm47bK1JSVCoOSqsemU51XUOGfR+mIYCGDpDMwIPJGFbe/HZO40=
=FG4f
-----END PGP SIGNATURE-----
pgplH2tBZ2pcy.pgp
Description: PGP signature
--- End Message ---