#1096527 digup: ftbfs with GCC-15

Package:
src:digup
Source:
src:digup
Submitter:
Matthias Klose
Date:
2025-09-04 22:07:46 UTC
Severity:
normal
Tags:
#1096527#5
Date:
2025-02-17 17:10:01 UTC
From:
To:
[This bug is NOT targeted to the upcoming trixie release]

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-15/g++-15, but succeeds to build with gcc-14/g++-14. The
severity of this report will be raised before the forky release.

The full build log can be found at:
http://qa-logs.debian.net/2025/02/16/amd64exp/digup_0.6.57-1_unstable_gccexp.log.gz
The last lines of the build log are at the end of this report.

To build with GCC 15, either set CC=gcc-15 CXX=g++-15 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++

GCC 15 now defaults to the C23/C++23 standards, exposing many FTBFS.
Other Common build failures are new warnings resulting in build failures
with -Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-15/porting_to.html

[...]
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking building on win32... no
checking whether make supports the include directive... yes (GNU style)
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 dependency style of gcc... none
checking for gcc option to enable large file support... none needed
checking for gcc... (cached) gcc
checking whether the compiler supports GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to enable C11 features... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) none
checking for strndup... yes
checking for asprintf... yes
checking for getline... yes
checking for lstat... yes
checking for readlink... yes
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for endian.h... yes
checking for sys/param.h... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating digup.spec
config.status: executing depfiles commands
   dh_auto_build
	make -j8
make[1]: Entering directory '/build/reproducible-path/digup-0.6.57'
Making all in src
make[2]: Entering directory '/build/reproducible-path/digup-0.6.57/src'
gcc -DPACKAGE_NAME=\"digup\" -DPACKAGE_TARNAME=\"digup\" -DPACKAGE_VERSION=\"0.6.57\" -DPACKAGE_STRING=\"digup\ 0.6.57\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"digup\" -DVERSION=\"0.6.57\" -DON_WIN32=0 -D_GNU_SOURCE=1 -DHAVE_STRNDUP=1 -DHAVE_ASPRINTF=1 -DHAVE_GETLINE=1 -DHAVE_LSTAT=1 -DHAVE_READLINK=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_ENDIAN_H=1 -DHAVE_SYS_PARAM_H=1 -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -W -Wall -pedantic -Wno-long-long -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/digup-0.6.57=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o digup.o digup.c
gcc -DPACKAGE_NAME=\"digup\" -DPACKAGE_TARNAME=\"digup\" -DPACKAGE_VERSION=\"0.6.57\" -DPACKAGE_STRING=\"digup\ 0.6.57\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"digup\" -DVERSION=\"0.6.57\" -DON_WIN32=0 -D_GNU_SOURCE=1 -DHAVE_STRNDUP=1 -DHAVE_ASPRINTF=1 -DHAVE_GETLINE=1 -DHAVE_LSTAT=1 -DHAVE_READLINK=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_ENDIAN_H=1 -DHAVE_SYS_PARAM_H=1 -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -W -Wall -pedantic -Wno-long-long -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/digup-0.6.57=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o rbtree.o rbtree.c
gcc -DPACKAGE_NAME=\"digup\" -DPACKAGE_TARNAME=\"digup\" -DPACKAGE_VERSION=\"0.6.57\" -DPACKAGE_STRING=\"digup\ 0.6.57\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"digup\" -DVERSION=\"0.6.57\" -DON_WIN32=0 -D_GNU_SOURCE=1 -DHAVE_STRNDUP=1 -DHAVE_ASPRINTF=1 -DHAVE_GETLINE=1 -DHAVE_LSTAT=1 -DHAVE_READLINK=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_ENDIAN_H=1 -DHAVE_SYS_PARAM_H=1 -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -W -Wall -pedantic -Wno-long-long -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/digup-0.6.57=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o digest.o digest.c
gcc -DPACKAGE_NAME=\"digup\" -DPACKAGE_TARNAME=\"digup\" -DPACKAGE_VERSION=\"0.6.57\" -DPACKAGE_STRING=\"digup\ 0.6.57\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"digup\" -DVERSION=\"0.6.57\" -DON_WIN32=0 -D_GNU_SOURCE=1 -DHAVE_STRNDUP=1 -DHAVE_ASPRINTF=1 -DHAVE_GETLINE=1 -DHAVE_LSTAT=1 -DHAVE_READLINK=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_ENDIAN_H=1 -DHAVE_SYS_PARAM_H=1 -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -W -Wall -pedantic -Wno-long-long -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/digup-0.6.57=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o md5.o md5.c
gcc -DPACKAGE_NAME=\"digup\" -DPACKAGE_TARNAME=\"digup\" -DPACKAGE_VERSION=\"0.6.57\" -DPACKAGE_STRING=\"digup\ 0.6.57\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"digup\" -DVERSION=\"0.6.57\" -DON_WIN32=0 -D_GNU_SOURCE=1 -DHAVE_STRNDUP=1 -DHAVE_ASPRINTF=1 -DHAVE_GETLINE=1 -DHAVE_LSTAT=1 -DHAVE_READLINK=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_ENDIAN_H=1 -DHAVE_SYS_PARAM_H=1 -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -W -Wall -pedantic -Wno-long-long -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/digup-0.6.57=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o sha1.o sha1.c
gcc -DPACKAGE_NAME=\"digup\" -DPACKAGE_TARNAME=\"digup\" -DPACKAGE_VERSION=\"0.6.57\" -DPACKAGE_STRING=\"digup\ 0.6.57\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"digup\" -DVERSION=\"0.6.57\" -DON_WIN32=0 -D_GNU_SOURCE=1 -DHAVE_STRNDUP=1 -DHAVE_ASPRINTF=1 -DHAVE_GETLINE=1 -DHAVE_LSTAT=1 -DHAVE_READLINK=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_ENDIAN_H=1 -DHAVE_SYS_PARAM_H=1 -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -W -Wall -pedantic -Wno-long-long -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/digup-0.6.57=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o sha256.o sha256.c
gcc -DPACKAGE_NAME=\"digup\" -DPACKAGE_TARNAME=\"digup\" -DPACKAGE_VERSION=\"0.6.57\" -DPACKAGE_STRING=\"digup\ 0.6.57\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"digup\" -DVERSION=\"0.6.57\" -DON_WIN32=0 -D_GNU_SOURCE=1 -DHAVE_STRNDUP=1 -DHAVE_ASPRINTF=1 -DHAVE_GETLINE=1 -DHAVE_LSTAT=1 -DHAVE_READLINK=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_ENDIAN_H=1 -DHAVE_SYS_PARAM_H=1 -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -W -Wall -pedantic -Wno-long-long -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/digup-0.6.57=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o sha512.o sha512.c
gcc -DPACKAGE_NAME=\"digup\" -DPACKAGE_TARNAME=\"digup\" -DPACKAGE_VERSION=\"0.6.57\" -DPACKAGE_STRING=\"digup\ 0.6.57\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"digup\" -DVERSION=\"0.6.57\" -DON_WIN32=0 -D_GNU_SOURCE=1 -DHAVE_STRNDUP=1 -DHAVE_ASPRINTF=1 -DHAVE_GETLINE=1 -DHAVE_LSTAT=1 -DHAVE_READLINK=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_ENDIAN_H=1 -DHAVE_SYS_PARAM_H=1 -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -W -Wall -pedantic -Wno-long-long -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/digup-0.6.57=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o crc32.o crc32.c
gcc -DPACKAGE_NAME=\"digup\" -DPACKAGE_TARNAME=\"digup\" -DPACKAGE_VERSION=\"0.6.57\" -DPACKAGE_STRING=\"digup\ 0.6.57\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"digup\" -DVERSION=\"0.6.57\" -DON_WIN32=0 -D_GNU_SOURCE=1 -DHAVE_STRNDUP=1 -DHAVE_ASPRINTF=1 -DHAVE_GETLINE=1 -DHAVE_LSTAT=1 -DHAVE_READLINK=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_ENDIAN_H=1 -DHAVE_SYS_PARAM_H=1 -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -DRBTREE_VERIFY -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/digup-0.6.57=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o test_rbtree-test_rbtree.o `test -f 'test_rbtree.c' || echo './'`test_rbtree.c
digup.c:44:30: error: expected ‘;’, identifier or ‘(’ before ‘bool’
   44 | typedef enum { FALSE, TRUE } bool;
      |                              ^~~~
digup.c:44:30: warning: useless type name in empty declaration
make[2]: *** [Makefile:695: digup.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/build/reproducible-path/digup-0.6.57/src'
make[1]: *** [Makefile:360: all-recursive] Error 1
make[1]: Leaving directory '/build/reproducible-path/digup-0.6.57'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:4: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2