Your message dated Thu, 11 Jun 2026 10:34:37 +0000
with message-id <[email protected]>
and subject line Bug#1136377: fixed in blt 2.5.3+dfsg-9
has caused the Debian Bug report #1136377,
regarding blt FTBFS when exporting CC
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.)
--
1136377: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1136377
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: blt
Version: 2.5.3+dfsg-8
Tags: ftbfs patch upstream
Hello,
I noticed that blt fails to build from source when the CC variable is
exported. It does not matter what you export it to. It can be "cc",
"gcc" or "x86_64-linux-gnu-gcc" or even "false" or "true". The behavior
is always the same: It discovers a compiler and then fails to find any
header. With the help of Timo Roehling and Tobias Frost, I discovered
that the root cause for the problem resides in configure.in. The
AC_PROG_CC macro is conditionalized. When passing --with-cc, exporting
CC or setting the blt_cv_prog_cc cache variable, AC_PROG_CC is skipped
over. Doing so breaks all sorts of other checks. Instead, we should set
CC to whatever we prefer and then always run AC_PROG_CC. Then blt no
longer FTBFS. Please consider applying the attached patch and forwarding
it upstream.
Helmut
--- blt-2.5.3+dfsg.orig/configure.in
+++ blt-2.5.3+dfsg/configure.in
@@ -83,34 +83,20 @@
#
# -----------------------------------------------------------------------
-BLT_ENV_CC=$CC
-
#
# CC search order
#
# 1. command line (--with-cc)
# 2. environment variable ($CC)
# 3. cached variable ($blt_cv_prog_cc)
-# 4. check for program (AC_PROG_CC)
-# 4. default to cc
+# Discover using AC_PROG_CC
#
-AC_MSG_CHECKING([which C compiler])
if test "x${blt_with_cc}" != "x" ; then
CC=${blt_with_cc}
- unset ac_cv_prog_CPP
- unset ac_cv_prog_CC
-elif test "x${BLT_ENV_CC}" != "x" ; then
- unset ac_cv_prog_CPP
- unset ac_cv_prog_CC
-elif test "x${blt_cv_prog_cc}" != "x" ; then
- CC=${blt_cv_prog_cc}
- unset ac_cv_prog_CC
-else
- AC_PROG_CC
fi
-if test "x${CC}" = "x" ; then
- CC=cc
+if test "x$CC" = x && test "x${blt_cv_prog_cc}" != "x" ; then
+ CC=${blt_cv_prog_cc}
fi
case $target in
@@ -121,7 +107,7 @@
;;
esac
-AC_MSG_RESULT([$CC])
+AC_PROG_CC
unset blt_cv_prog_cc
AC_CACHE_VAL(blt_cv_prog_cc, blt_cv_prog_cc=$CC)
--- End Message ---
--- Begin Message ---
Source: blt
Source-Version: 2.5.3+dfsg-9
Done: Sergei Golovan <[email protected]>
We believe that the bug you reported is fixed in the latest version of
blt, 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.
Sergei Golovan <[email protected]> (supplier of updated blt 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: Thu, 11 Jun 2026 13:12:39 +0300
Source: blt
Architecture: source
Version: 2.5.3+dfsg-9
Distribution: unstable
Urgency: medium
Maintainer: Sergei Golovan <[email protected]>
Changed-By: Sergei Golovan <[email protected]>
Closes: 1136377
Changes:
blt (2.5.3+dfsg-9) unstable; urgency=medium
.
* Add a patch by Helmut Grohne which fixes FTBFS when exporting CC
(closes: #1136377).
* Mute the old-style-definition warning to make build logs more clear.
* Bump the standards version to 4.7.4.
Checksums-Sha1:
dfe39b23627ab5c360ace413041401695717f2bd 1997 blt_2.5.3+dfsg-9.dsc
af8f9701bbbf29f8537d7787f1adb788eae37741 59160 blt_2.5.3+dfsg-9.debian.tar.xz
733d816cfaf44b521f7d6265c4a6846bc15cf343 8179 blt_2.5.3+dfsg-9_amd64.buildinfo
Checksums-Sha256:
88ffeda21ca55cd8636cb22b089a9e6557773f8913332f2063dba8d74975434a 1997
blt_2.5.3+dfsg-9.dsc
5f0b1d651b37af9093838e613cdace145d903992e7903ac0fd740d0edf72baa9 59160
blt_2.5.3+dfsg-9.debian.tar.xz
5c64779f7e2619d97ccae6d484fab696b1b404cf271053c17274b79eea076eb5 8179
blt_2.5.3+dfsg-9_amd64.buildinfo
Files:
d8732b5de201630d58127789012a6087 1997 devel optional blt_2.5.3+dfsg-9.dsc
4d4a11ed3625a2ecac281984c0ec4b2c 59160 devel optional
blt_2.5.3+dfsg-9.debian.tar.xz
ac574bb3ff4b925250937a176ec6aa06 8179 devel optional
blt_2.5.3+dfsg-9_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEE/SYPsyDB+ShSnvc4Tyrk60tj54cFAmoqi+UACgkQTyrk60tj
54dn0hAAzqaxPir9vtGDcMiW6gr0B/ItPv3zmZED6cEXE2qr1J38AE9NQHlpACYg
BNtTgyybJreRhGc9SewJ8FizcxMCvu6bL/629lYWJONmS3yCZzSb/wGI25ALxar9
QUa+25/PHnJbrvnwNLx3fKyDmcoYnoCgW0JYlKEI1zuYoV/UjZkDUTUDRJE4duz3
2TJ0owPxnGFQhafydvr0N98XdWCRrbloTAJ1J10myMnue+HRD4tlJH06ycVfxaNe
eIUjQlkSnrXr/o8Iq5b0B75hEPEJXMkNsy42arJySHTmGRHOr/n1EcJlrF0dUzro
bpDv0H1NZWX0ZnDST2DvDq6XKEcZ/QK6/0irzMgvWWevsOAmysLZj/Dfpz3IKCdr
FkWmKWWxbBIf6rHHYz1EcD/qrxyrivg2+00PHItTmOQrwg7/Iq0ecjuewXe0nNkw
M38bfOxiSx5IZc0PpA1AwzOq9JL15QeUZqLm9v0aj2UjEuYeSEEyfErx/j2Rxehk
zrbESkkVpJnZlIpvajl82oEGANMJ2gqklgN/IbUr4xrXBVJom3GfFwo41F5eu/+U
0Y8OS1RoZTfdkklV9GLQSujuWGqITv5OahnzgbkUbCxK6Kgvdvppi7iEBato3i6q
y78zkHgQUj2jtEK8iQ39agRdYHAJmGpjiSMO78OvOSFkckhAM4o=
=oSSt
-----END PGP SIGNATURE-----
pgpCImiFKo1yp.pgp
Description: PGP signature
--- End Message ---