Debian Bug report logs - #1098019
tstools: ftbfs with GCC-15

version graph

Package: src:tstools; Maintainer for src:tstools is Debian QA Group <[email protected]>;

Reported by: Matthias Klose <[email protected]>

Date: Mon, 17 Feb 2025 18:00:26 UTC

Severity: important

Tags: forky, sid

Found in version tstools/1.13~git20151030-6

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to Debian QA Group <[email protected]>:
Bug#1098019; Package src:tstools. (Mon, 17 Feb 2025 18:00:27 GMT) (full text, mbox, link).


Acknowledgement sent to Matthias Klose <[email protected]>:
New Bug report received and forwarded. Copy sent to Debian QA Group <[email protected]>. (Mon, 17 Feb 2025 18:00:27 GMT) (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Matthias Klose <[email protected]>
To: [email protected]
Subject: tstools: ftbfs with GCC-15
Date: Mon, 17 Feb 2025 17:57:51 +0000
Package: src:tstools
Version: 1.13~git20151030-6
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/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



Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 12:57:57 2025; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.