Package: src:foma Version: 1:0.10.0+s311-1.2 Severity: important Tags: sid trixie User: debian-...@lists.debian.org Usertags: ftbfs-gcc-14
[This bug is 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-14/g++-14, but succeeds to build with gcc-13/g++-13. The severity of this report will be raised before the trixie release. The full build log can be found at: http://qa-logs.debian.net/2024/07/01/foma_0.10.0+s311-1.2_unstable_gccexp.log The last lines of the build log are at the end of this report. To build with GCC 14, either set CC=gcc-14 CXX=g++-14 explicitly, or install the gcc, g++, gfortran, ... packages from experimental. apt-get -t=experimental install g++ 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-14/porting_to.html [...] | ^ [ 11%] Building C object CMakeFiles/foma-static.dir/define.c.o /usr/bin/cc -D_GNU_SOURCE -I/<<PKGBUILDDIR>> -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wno-missing-field-initializers -Wno-deprecated -Wno-unused-parameter -fvisibility=hidden -fPIC -std=c2x -fPIC -MD -MT CMakeFiles/foma-static.dir/define.c.o -MF CMakeFiles/foma-static.dir/define.c.o.d -o CMakeFiles/foma-static.dir/define.c.o -c /<<PKGBUILDDIR>>/define.c [ 12%] Building C object CMakeFiles/foma-static.dir/determinize.c.o /usr/bin/cc -D_GNU_SOURCE -I/<<PKGBUILDDIR>> -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wno-missing-field-initializers -Wno-deprecated -Wno-unused-parameter -fvisibility=hidden -fPIC -std=c2x -fPIC -MD -MT CMakeFiles/foma-static.dir/determinize.c.o -MF CMakeFiles/foma-static.dir/determinize.c.o.d -o CMakeFiles/foma-static.dir/determinize.c.o -c /<<PKGBUILDDIR>>/determinize.c /<<PKGBUILDDIR>>/determinize.c: In function ‘fsm_subset’: /<<PKGBUILDDIR>>/determinize.c:209:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 209 | while (tail < tptr->size && transitions->inout == minsym) { | ^ /<<PKGBUILDDIR>>/determinize.c:231:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 231 | if (tail == tptr->size) | ^~ /<<PKGBUILDDIR>>/determinize.c: In function ‘nhash_find_insert’: /<<PKGBUILDDIR>>/determinize.c:656:34: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 656 | if ((tableptr)->size != setsize) { | ^~ /<<PKGBUILDDIR>>/determinize.c: In function ‘move_set’: /<<PKGBUILDDIR>>/determinize.c:705:36: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 705 | if (set_table_offset + setsize >= set_table_size) { | ^~ /<<PKGBUILDDIR>>/determinize.c:706:43: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 706 | while (set_table_offset + setsize >= set_table_size) { | ^~ /<<PKGBUILDDIR>>/determinize.c: In function ‘nhash_rebuild_table’: /<<PKGBUILDDIR>>/determinize.c:759:25: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 759 | for (i=0; primes[i] < nhash_tablesize; i++) { } | ^ /<<PKGBUILDDIR>>/determinize.c: In function ‘nhash_init’: /<<PKGBUILDDIR>>/determinize.c:795:23: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 795 | for (i=0; primes[i] < initial_size; i++) { } | ^ [ 13%] Building C object CMakeFiles/foma-static.dir/dynarray.c.o /usr/bin/cc -D_GNU_SOURCE -I/<<PKGBUILDDIR>> -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wno-missing-field-initializers -Wno-deprecated -Wno-unused-parameter -fvisibility=hidden -fPIC -std=c2x -fPIC -MD -MT CMakeFiles/foma-static.dir/dynarray.c.o -MF CMakeFiles/foma-static.dir/dynarray.c.o.d -o CMakeFiles/foma-static.dir/dynarray.c.o -c /<<PKGBUILDDIR>>/dynarray.c /<<PKGBUILDDIR>>/dynarray.c: In function ‘fsm_construct_done’: /<<PKGBUILDDIR>>/dynarray.c:456:9: warning: ‘__builtin_strncpy’ specified bound 40 equals destination size [-Wstringop-truncation] 456 | strncpy(net->name, handle->name, 40); | ^ [ 15%] Building C object CMakeFiles/foma-static.dir/extract.c.o /usr/bin/cc -D_GNU_SOURCE -I/<<PKGBUILDDIR>> -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wno-missing-field-initializers -Wno-deprecated -Wno-unused-parameter -fvisibility=hidden -fPIC -std=c2x -fPIC -MD -MT CMakeFiles/foma-static.dir/extract.c.o -MF CMakeFiles/foma-static.dir/extract.c.o.d -o CMakeFiles/foma-static.dir/extract.c.o -c /<<PKGBUILDDIR>>/extract.c [ 16%] Building C object CMakeFiles/foma-static.dir/flags.c.o /usr/bin/cc -D_GNU_SOURCE -I/<<PKGBUILDDIR>> -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wno-missing-field-initializers -Wno-deprecated -Wno-unused-parameter -fvisibility=hidden -fPIC -std=c2x -fPIC -MD -MT CMakeFiles/foma-static.dir/flags.c.o -MF CMakeFiles/foma-static.dir/flags.c.o.d -o CMakeFiles/foma-static.dir/flags.c.o -c /<<PKGBUILDDIR>>/flags.c [ 18%] Building C object CMakeFiles/foma-static.dir/int_stack.c.o /usr/bin/cc -D_GNU_SOURCE -I/<<PKGBUILDDIR>> -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wno-missing-field-initializers -Wno-deprecated -Wno-unused-parameter -fvisibility=hidden -fPIC -std=c2x -fPIC -MD -MT CMakeFiles/foma-static.dir/int_stack.c.o -MF CMakeFiles/foma-static.dir/int_stack.c.o.d -o CMakeFiles/foma-static.dir/int_stack.c.o -c /<<PKGBUILDDIR>>/int_stack.c [ 19%] Building C object CMakeFiles/foma-static.dir/io.c.o /usr/bin/cc -D_GNU_SOURCE -I/<<PKGBUILDDIR>> -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wno-missing-field-initializers -Wno-deprecated -Wno-unused-parameter -fvisibility=hidden -fPIC -std=c2x -fPIC -MD -MT CMakeFiles/foma-static.dir/io.c.o -MF CMakeFiles/foma-static.dir/io.c.o.d -o CMakeFiles/foma-static.dir/io.c.o -c /<<PKGBUILDDIR>>/io.c /<<PKGBUILDDIR>>/io.c:1002:7: error: initialization of ‘char’ from ‘void *’ makes integer from pointer without a cast [-Wint-conversion] 1002 | { NULL, 0, NULL }, | ^~~~ /<<PKGBUILDDIR>>/io.c:1002:7: note: (near initialization for ‘BOM_codes[5].code[0]’) /<<PKGBUILDDIR>>/io.c:1002:16: error: initialization of ‘char’ from ‘void *’ makes integer from pointer without a cast [-Wint-conversion] 1002 | { NULL, 0, NULL }, | ^~~~ /<<PKGBUILDDIR>>/io.c:1002:16: note: (near initialization for ‘BOM_codes[5].code[2]’) /<<PKGBUILDDIR>>/io.c:996:26: warning: missing braces around initializer [-Wmissing-braces] 996 | static BOM BOM_codes[] = { | ^ /<<PKGBUILDDIR>>/io.c:996:26: warning: missing braces around initializer [-Wmissing-braces] /<<PKGBUILDDIR>>/io.c: In function ‘io_get_gz_file_size’: /<<PKGBUILDDIR>>/io.c:933:5: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 933 | fread(&bytes, 1, 4, infile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: *** [CMakeFiles/foma-static.dir/build.make:224: CMakeFiles/foma-static.dir/io.c.o] Error 1 make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu' make[2]: *** [CMakeFiles/Makefile2:94: CMakeFiles/foma-static.dir/all] Error 2 make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu' make[1]: *** [Makefile:139: all] Error 2 make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu' dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j1 "INSTALL=install --strip-program=true" VERBOSE=1 returned exit code 2 make: *** [debian/rules:13: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 -- debian-science-maintainers mailing list debian-science-maintainers@alioth-lists.debian.net https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers