Package: src:tstools Version: 1.13~git20151030-6 Severity: important Tags: sid forky User: debian-...@lists.debian.org 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/tstools_1.13~git20151030-6_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 [...] gcc -c tswrite.c -o obj/tswrite.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tstools-1.13~git20151030=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -O2 -g -D_FILE_OFFSET_BITS=64 -I. -fPIC -DTSTOOLS_VERSION=1.13 gcc -c pcap.c -o obj/pcap.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tstools-1.13~git20151030=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -O2 -g -D_FILE_OFFSET_BITS=64 -I. -fPIC -DTSTOOLS_VERSION=1.13 gcc -c ethernet.c -o obj/ethernet.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tstools-1.13~git20151030=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -O2 -g -D_FILE_OFFSET_BITS=64 -I. -fPIC -DTSTOOLS_VERSION=1.13 gcc -c ipv4.c -o obj/ipv4.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tstools-1.13~git20151030=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -O2 -g -D_FILE_OFFSET_BITS=64 -I. -fPIC -DTSTOOLS_VERSION=1.13 gcc -c ts2es.c -o obj/ts2es.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tstools-1.13~git20151030=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -O2 -g -D_FILE_OFFSET_BITS=64 -I. -fPIC -DTSTOOLS_VERSION=1.13 gcc -c es2ts.c -o obj/es2ts.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tstools-1.13~git20151030=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -O2 -g -D_FILE_OFFSET_BITS=64 -I. -fPIC -DTSTOOLS_VERSION=1.13 gcc -c esdots.c -o obj/esdots.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tstools-1.13~git20151030=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -O2 -g -D_FILE_OFFSET_BITS=64 -I. -fPIC -DTSTOOLS_VERSION=1.13 gcc -c esmerge.c -o obj/esmerge.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tstools-1.13~git20151030=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -O2 -g -D_FILE_OFFSET_BITS=64 -I. -fPIC -DTSTOOLS_VERSION=1.13 gcc -c esreport.c -o obj/esreport.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tstools-1.13~git20151030=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -O2 -g -D_FILE_OFFSET_BITS=64 -I. -fPIC -DTSTOOLS_VERSION=1.13 gcc -c esreverse.c -o obj/esreverse.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tstools-1.13~git20151030=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -O2 -g -D_FILE_OFFSET_BITS=64 -I. -fPIC -DTSTOOLS_VERSION=1.13 gcc -c ps2ts.c -o obj/ps2ts.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tstools-1.13~git20151030=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -O2 -g -D_FILE_OFFSET_BITS=64 -I. -fPIC -DTSTOOLS_VERSION=1.13 ps2ts.c: In function ‘print_usage’: ps2ts.c:159:5: warning: string length ‘5028’ is greater than the length ‘4095’ ISO C99 compilers are required to support [-Woverlength-strings] 159 | ); | ^ gcc -c psreport.c -o obj/psreport.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tstools-1.13~git20151030=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -O2 -g -D_FILE_OFFSET_BITS=64 -I. -fPIC -DTSTOOLS_VERSION=1.13 gcc -c psdots.c -o obj/psdots.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tstools-1.13~git20151030=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -O2 -g -D_FILE_OFFSET_BITS=64 -I. -fPIC -DTSTOOLS_VERSION=1.13 gcc -c stream_type.c -o obj/stream_type.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tstools-1.13~git20151030=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -O2 -g -D_FILE_OFFSET_BITS=64 -I. -fPIC -DTSTOOLS_VERSION=1.13 gcc -c tsdvbsub.c -o obj/tsdvbsub.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tstools-1.13~git20151030=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -O2 -g -D_FILE_OFFSET_BITS=64 -I. -fPIC -DTSTOOLS_VERSION=1.13 gcc -c tsinfo.c -o obj/tsinfo.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tstools-1.13~git20151030=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -O2 -g -D_FILE_OFFSET_BITS=64 -I. -fPIC -DTSTOOLS_VERSION=1.13 gcc -c tsreport.c -o obj/tsreport.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tstools-1.13~git20151030=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -O2 -g -D_FILE_OFFSET_BITS=64 -I. -fPIC -DTSTOOLS_VERSION=1.13 gcc -c tsplay.c -o obj/tsplay.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tstools-1.13~git20151030=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -O2 -g -D_FILE_OFFSET_BITS=64 -I. -fPIC -DTSTOOLS_VERSION=1.13 gcc -c tsserve.c -o obj/tsserve.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tstools-1.13~git20151030=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -O2 -g -D_FILE_OFFSET_BITS=64 -I. -fPIC -DTSTOOLS_VERSION=1.13 tsreport.c: In function ‘report_buffering_stats’: tsreport.c:350:13: warning: ‘read_first_TS_packet_from_buffer’ accessing 1504 bytes in a region of size 8 [-Wstringop-overflow=] 350 | err = read_first_TS_packet_from_buffer(tsreader,pcr_pid,start_count, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 351 | &packet,&pid,&acc_pcr,&count); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tsreport.c:350:13: note: referencing argument 4 of type ‘byte *[188]’ {aka ‘unsigned char *[188]’} In file included from tsreport.c:43: ts_fns.h:425:12: note: in a call to function ‘read_first_TS_packet_from_buffer’ 425 | extern int read_first_TS_packet_from_buffer(TS_reader_p tsreader, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tsreport.c:357:13: warning: ‘read_next_TS_packet_from_buffer’ accessing 1504 bytes in a region of size 8 [-Wstringop-overflow=] 357 | err = read_next_TS_packet_from_buffer(tsreader,&packet,&pid,&acc_pcr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tsreport.c:357:13: note: referencing argument 2 of type ‘byte *[188]’ {aka ‘unsigned char *[188]’} ts_fns.h:446:12: note: in a call to function ‘read_next_TS_packet_from_buffer’ 446 | extern int read_next_TS_packet_from_buffer(TS_reader_p tsreader, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -c ts_packet_insert.c -o obj/ts_packet_insert.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tstools-1.13~git20151030=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -O2 -g -D_FILE_OFFSET_BITS=64 -I. -fPIC -DTSTOOLS_VERSION=1.13 gcc -c m2ts2ts.c -o obj/m2ts2ts.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tstools-1.13~git20151030=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -O2 -g -D_FILE_OFFSET_BITS=64 -I. -fPIC -DTSTOOLS_VERSION=1.13 In file included from ts_packet_insert.c:33: ts_packet_insert.c: In function ‘insert_packets’: ts_packet_insert.c:131:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 131 | assert(rv=TS_PACKET_SIZE); | ^~ tsserve.c: In function ‘set_child_exit_handler’: tsserve.c:2988:21: error: assignment to ‘__sighandler_t’ {aka ‘void (*)(int)’} from incompatible pointer type ‘void (*)(void)’ [-Wincompatible-pointer-types] 2988 | action.sa_handler = on_child_exit; | ^ tsserve.c:2961:13: note: ‘on_child_exit’ declared here 2961 | static void on_child_exit() | ^~~~~~~~~~~~~ In file included from /usr/include/x86_64-linux-gnu/sys/wait.h:36, from tsserve.c:46: /usr/include/signal.h:72:16: note: ‘__sighandler_t’ declared here 72 | typedef void (*__sighandler_t) (int); | ^~~~~~~~~~~~~~ tsserve.c: In function ‘print_detailed_usage’: tsserve.c:3540:5: warning: string length ‘7485’ is greater than the length ‘4095’ ISO C99 compilers are required to support [-Woverlength-strings] 3540 | ); | ^ make[1]: *** [Makefile:388: obj/tsserve.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory '/build/reproducible-path/tstools-1.13~git20151030' dh_auto_build: error: make -j8 "INSTALL=install --strip-program=true" returned exit code 2 make: *** [debian/rules:17: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2