Package: src:ifile Version: 1.3.9-9 Severity: important Tags: sid forky User: [email protected] Usertags: ftbfs-gcc-15
[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/ifile_1.3.9-9_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 for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking alloca.h usability... yes checking alloca.h presence... yes checking for alloca.h... yes checking for getopt_long... yes checking for getopt_long_only... yes checking for strerror... yes checking for strndup... yes checking for ssize_t... yes checking for memmove... yes checking for vsnprintf... yes checking for strerror... (cached) yes checking for strings.h... (cached) yes checking if vsprintf returns int... no checking program_invocation_name... no checking for ANSI C header files... (cached) no checking for string.h... (cached) yes checking for memory.h... (cached) yes configure: creating ./config.status config.status: creating Makefile make[1]: Leaving directory '/build/reproducible-path/ifile-1.3.9' dh_auto_build dh_auto_build: warning: Compatibility levels before 10 are deprecated (level 9 in use) make -j1 make[1]: Entering directory '/build/reproducible-path/ifile-1.3.9' cc -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -c -Wdate-time -D_FORTIFY_SOURCE=2 -I. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRCHR=1 -DHAVE_ALLOCA_H=1 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ifile-1.3.9=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Iinclude -o database.o database.c database.c: In function ‘ifile_rate_categories’: database.c:372:15: warning: argument 2 null where non-null expected [-Wnonnull] 372 | if (strcmp(args.folder_calcs, | ^~~~~~ In file included from include/ifile.h:31, from database.c:28: /usr/include/string.h:156:12: note: in a call to function ‘strcmp’ declared ‘nonnull’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ^~~~~~ database.c:359:9: warning: variable ‘docval’ set but not used [-Wunused-but-set-variable] 359 | float docval, nval, r; | ^~~~~~ database.c: In function ‘ifile_add_db’: database.c:627:11: warning: argument 2 null where non-null expected [-Wnonnull] 627 | if (strcmp(folder, | ^~~~~~ /usr/include/string.h:156:12: note: in a call to function ‘strcmp’ declared ‘nonnull’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ^~~~~~ database.c: In function ‘ifile_del_db’: database.c:694:11: warning: argument 2 null where non-null expected [-Wnonnull] 694 | if (strcmp(folder, | ^~~~~~ /usr/include/string.h:156:12: note: in a call to function ‘strcmp’ declared ‘nonnull’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ^~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -c -Wdate-time -D_FORTIFY_SOURCE=2 -I. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRCHR=1 -DHAVE_ALLOCA_H=1 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ifile-1.3.9=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Iinclude -o error.o error.c error.c: In function ‘ifile_error’: error.c:161:3: error: too many arguments to function ‘ifile_close_log’; expected 0, have 1 161 | ifile_close_log(INFO); | ^~~~~~~~~~~~~~~ ~~~~ error.c:98:1: note: declared here 98 | ifile_close_log () | ^~~~~~~~~~~~~~~ make[1]: *** [Makefile:127: error.o] Error 1 make[1]: Leaving directory '/build/reproducible-path/ifile-1.3.9' dh_auto_build: error: make -j1 returned exit code 2 make: *** [debian/rules:47: binary] Error 255 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

