#1114218 muttprint: FTBFS: muttprint-langinfo.h:2:13: error: 'bool' cannot be defined via 'typedef'

#1114218#5
Date:
2025-09-05 18:20:52 UTC
From:
To:
Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build.

Below you will find how the build ends (probably the most relevant part,
but not necessarily). If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202509/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:muttprint, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --no-parallel
   dh_autoreconf_clean -O--no-parallel
   dh_clean -O--no-parallel
 debian/rules binary
dh binary --no-parallel
   dh_update_autotools_config -O--no-parallel
   dh_autoreconf -O--no-parallel
configure.ac:6: installing './compile'
configure.ac:2: installing './install-sh'
configure.ac:2: installing './missing'
doc/manpages/de/Makefile.am:3: warning: escaping \# comment markers is not portable
doc/manpages/en/Makefile.am:3: warning: escaping \# comment markers is not portable
doc/manpages/es/Makefile.am:3: warning: escaping \# comment markers is not portable
doc/manpages/it/Makefile.am:3: warning: escaping \# comment markers is not portable
doc/manual/de/Makefile.am:3: warning: escaping \# comment markers is not portable
doc/manual/en/Makefile.am:3: warning: escaping \# comment markers is not portable
doc/manual/es/Makefile.am:3: warning: escaping \# comment markers is not portable
doc/manual/it/Makefile.am:3: warning: escaping \# comment markers is not portable
doc/manual/sl/Makefile.am:3: warning: escaping \# comment markers is not portable
langinfo/Makefile.am: installing './depcomp'
   dh_auto_configure -O--no-parallel
	./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules --libdir=\${prefix}/lib/x86_64-linux-gnu --runstatedir=/run --disable-maintainer-mode --disable-dependency-tracking
checking for a BSD-compatible install... /usr/bin/install -c
checking whether sleep supports fractional seconds... yes
checking filesystem timestamp resolution... 0.01
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking xargs -n works... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... none
checking for db2pdf... true
checking for pod2man... true
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating langinfo/Makefile
config.status: creating pics/Makefile
config.status: creating translations/Makefile
config.status: creating doc/manual/Makefile
config.status: creating doc/manual/de/Makefile
config.status: creating doc/manual/en/Makefile
config.status: creating doc/manual/es/Makefile
config.status: creating doc/manual/it/Makefile
config.status: creating doc/manual/sl/Makefile
config.status: creating doc/manpages/Makefile
config.status: creating doc/manpages/de/Makefile
config.status: creating doc/manpages/en/Makefile
config.status: creating doc/manpages/es/Makefile
config.status: creating doc/manpages/it/Makefile
config.status: executing depfiles commands
   dh_auto_build -O--no-parallel
	make -j1
make[1]: Entering directory '/<<PKGBUILDDIR>>'
Making all in langinfo
make[2]: Entering directory '/<<PKGBUILDDIR>>/langinfo'
gcc -DPACKAGE_NAME=\"muttprint\" -DPACKAGE_TARNAME=\"muttprint\" -DPACKAGE_VERSION=\"0.73\" -DPACKAGE_STRING=\"muttprint\ 0.73\" -DPACKAGE_BUGREPORT=\"bugs@muttprint.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"muttprint\" -DVERSION=\"0.73\" -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o main.o main.c
In file included from main.c:9:
muttprint-langinfo.h:2:13: error: ‘bool’ cannot be defined via ‘typedef’
    2 | typedef int bool;
      |             ^~~~
muttprint-langinfo.h:2:13: note: ‘bool’ is a keyword with ‘-std=c23’ onwards
muttprint-langinfo.h:2:1: warning: useless type name in empty declaration
    2 | typedef int bool;
      | ^~~~~~~
make[2]: *** [Makefile:356: main.o] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>/langinfo'
make[1]: *** [Makefile:438: all-recursive] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j1 returned exit code 2
make: *** [debian/rules:4: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

#1114218#8
Date:
2025-09-06 17:29:48 UTC
From:
To:
Hello,

Bug #1114218 in muttprint reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/debian/muttprint/-/commit/e2c21471e20a44f8ec454da90b4f3434640f29f9
------------------------------------------------------------------------
debian/rules: force -std=c17 for now (closes: #1114218)
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1114218

#1114218#15
Date:
2025-09-06 17:53:25 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
muttprint, 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 1114218@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Rene Engelhard <rene@debian.org> (supplier of updated muttprint 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 ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Sat, 06 Sep 2025 19:17:01 +0200
Source: muttprint
Architecture: source
Version: 0.73-14
Distribution: unstable
Urgency: medium
Maintainer: Rene Engelhard <rene@debian.org>
Changed-By: Rene Engelhard <rene@debian.org>
Closes: 1114218
Changes:
 muttprint (0.73-14) unstable; urgency=medium
 .
   * debian/rules: force -std=c17 for now (closes: #1114218)
Checksums-Sha1:
 d36267561d24675e7dbe4cfa21ab59f5bdf565b0 2077 muttprint_0.73-14.dsc
 ef83ce520524ced388a9749dc9894189865fb0b2 197472 muttprint_0.73-14.debian.tar.xz
 a4af86460f78bf3d65c559bd23e65ce75324c865 10598 muttprint_0.73-14_source.buildinfo
Checksums-Sha256:
 b9f84da8493f5684d65d7ac7c2694f36d44192c19651fd5d34a03daf0d7dac24 2077 muttprint_0.73-14.dsc
 e312b2ec5788d69fa75e54a77623cdb263285ee97c3a8185126c1eecb3c89824 197472 muttprint_0.73-14.debian.tar.xz
 0c6ecd8dcb0801d25aca5af4344cbee270369503de0d540155ce907a2c9318cc 10598 muttprint_0.73-14_source.buildinfo
Files:
 9355aa897ddf2552c758fd3386c2b6bd 2077 mail optional muttprint_0.73-14.dsc
 fe9956e73bfcc951c3d221d0b37750ed 197472 mail optional muttprint_0.73-14.debian.tar.xz
 45bcd0996ef2ba8c7aaf0eabb78d9c6d 10598 mail optional muttprint_0.73-14_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJEBAEBCgAuFiEE4S3qRnUGcM+pYIAdCqBFcdA+PnAFAmi8b6QQHHJlbmVAZGVi
aWFuLm9yZwAKCRAKoEVx0D4+cIFuD/9U5U/DvGHTrbkn9yfa/+Due9UYEwSnov83
WzAIa8NTcF1/2bqMefQ+hRfEGQQzTGzyeHASHlgpwYpyX64UxnTSrVQz3orfL1La
52hTpiaUY22T1c3+xOJBARBt2lDJhdsJmquMTuLG9wasO1rD2XSD9HxDQAgW79nb
QOjPWBwegqNutnm6ypheDW22TU9qyH3Q56WvSck6Hrmxcf6QKGUZP4YvMAQ+v3Vi
ZuraS2l320r/SbZCq4I9iomRB9dnHJ/fklFgwGu2+nwMDza4EDSRm29+F7HpR6gE
R9DISnINLN75fJZZVfYBPjECZdAY1Zt87+0LiGV7+WeD27SPysIhQzuqgBm+kkbr
aKf+jz24kacl0a8eP1JSueroKZzQqpDDGJN3Vcnh9+nWSuIHwPmXcFdVKI2goq4c
2Qq8fjA6IT6jGiuvXEVNTAU/LyRqJTigFomzQoJMmHVOvPDEOZkgr3L7EwDGPAAV
s/SqrjQ4+Vsyy5bykmbsI/izDYGI48rkL06oRX/wKVGozr/r+SY1Z6dsZXxoCNPp
Kd5E8DnBx0zUbbAsPagQm/a2nEJAc7yk92J66OjOKYRtmr576uiXX1Hj9PtCmPKM
W3lr7IO7BS68aF5SvztRkO5O5vHqiGUirnyoLTfjbCPQPqtch4+YHrVV93qFdQ7D
v9Aj6PyWLQ==
=1ISM
-----END PGP SIGNATURE-----