Package: src:foma Version: 1:0.10.0+s311-1 Severity: normal Tags: sid trixie User: [email protected] Usertags: ftbfs-gcc-13
[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-13/g++-13, but succeeds to build with gcc-12/g++-12. 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/2023/05/22/logs/foma_0.10.0+s311-1_unstable_gccexp.log The last lines of the build log are at the end of this report. To build with GCC 13, either set CC=gcc-13 CXX=g++-13 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-13/porting_to.html [...] [ 15%] Building C object CMakeFiles/foma-static.dir/extract.c.o /usr/bin/cc -D_GNU_SOURCE -I/<<PKGBUILDDIR>> -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -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: warning: 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: warning: 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /<<PKGBUILDDIR>>/io.c: In function ‘io_net_read’: /<<PKGBUILDDIR>>/io.c:708:5: warning: ‘__builtin_strncpy’ output may be truncated copying 40 bytes from a string of length 4095 [-Wstringop-truncation] 708 | strncpy(net->name, buf, FSM_NAME_LEN); | ^ /<<PKGBUILDDIR>>/io.c: In function ‘save_defined’: /<<PKGBUILDDIR>>/io.c:579:9: warning: ‘__builtin_strncpy’ specified bound 40 equals destination size [-Wstringop-truncation] 579 | strncpy(d->net->name, d->name, FSM_NAME_LEN); | ^ [ 20%] Building C object CMakeFiles/foma-static.dir/lexcread.c.o /usr/bin/cc -D_GNU_SOURCE -I/<<PKGBUILDDIR>> -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -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/lexcread.c.o -MF CMakeFiles/foma-static.dir/lexcread.c.o.d -o CMakeFiles/foma-static.dir/lexcread.c.o -c /<<PKGBUILDDIR>>/lexcread.c /<<PKGBUILDDIR>>/lexcread.c: In function ‘lexc_medpad’: /<<PKGBUILDDIR>>/lexcread.c:511:26: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 511 | for (size_t i = 0; i < s1len + 2; ++i) { | ^ /<<PKGBUILDDIR>>/lexcread.c:570:26: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 570 | for (size_t i = 0; i < s1len + 2; ++i) { | ^ /<<PKGBUILDDIR>>/lexcread.c: In function ‘lexc_merge_states’: /<<PKGBUILDDIR>>/lexcread.c:897:27: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 897 | for (i = 0; primes[i] < numstates/4; i++) { } | ^ [ 22%] Building C object CMakeFiles/foma-static.dir/mem.c.o /usr/bin/cc -D_GNU_SOURCE -I/<<PKGBUILDDIR>> -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -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/mem.c.o -MF CMakeFiles/foma-static.dir/mem.c.o.d -o CMakeFiles/foma-static.dir/mem.c.o -c /<<PKGBUILDDIR>>/mem.c [ 23%] Building C object CMakeFiles/foma-static.dir/minimize.c.o /usr/bin/cc -D_GNU_SOURCE -I/<<PKGBUILDDIR>> -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -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/minimize.c.o -MF CMakeFiles/foma-static.dir/minimize.c.o.d -o CMakeFiles/foma-static.dir/minimize.c.o -c /<<PKGBUILDDIR>>/minimize.c [ 25%] Building C object CMakeFiles/foma-static.dir/reverse.c.o /usr/bin/cc -D_GNU_SOURCE -I/<<PKGBUILDDIR>> -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -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/reverse.c.o -MF CMakeFiles/foma-static.dir/reverse.c.o.d -o CMakeFiles/foma-static.dir/reverse.c.o -c /<<PKGBUILDDIR>>/reverse.c [ 26%] Building C object CMakeFiles/foma-static.dir/rewrite.c.o /usr/bin/cc -D_GNU_SOURCE -I/<<PKGBUILDDIR>> -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -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/rewrite.c.o -MF CMakeFiles/foma-static.dir/rewrite.c.o.d -o CMakeFiles/foma-static.dir/rewrite.c.o -c /<<PKGBUILDDIR>>/rewrite.c /<<PKGBUILDDIR>>/rewrite.c:89:13: error: conflicting types for ‘fsm_rewrite’; have ‘struct fsm *(struct rewrite_set *)’ 89 | struct fsm *fsm_rewrite(struct rewrite_set *all_rules) { | ^~~~~~~~~~~ In file included from /<<PKGBUILDDIR>>/foma.h:18, from /<<PKGBUILDDIR>>/rewrite.c:21: /<<PKGBUILDDIR>>/fomalib.h:310:21: note: previous declaration of ‘fsm_rewrite’ with type ‘struct fsm *(void)’ 310 | FEXPORT struct fsm *fsm_rewrite(); | ^~~~~~~~~~~ make[3]: *** [CMakeFiles/foma-static.dir/build.make:294: CMakeFiles/foma-static.dir/rewrite.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 [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers
