Bug#1098076: w-scan: ftbfs with GCC-15
Matthias Klose
doko at debian.org
Mon Feb 17 17:59:44 GMT 2025
Package: src:w-scan
Version: 20170107-2.1
Severity: important
Tags: sid forky
User: debian-gcc at 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/w-scan_20170107-2.1_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 stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking for unistd.h... (cached) yes
checking for inline... inline
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint8_t... yes
checking for error_at_line... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for memset... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strtoul... yes
checking for linux/dvb/frontend.h presence... yes
checking for linux/dvb/frontend.h usability (FE_CAN_2G_MODULATION)... yes
checking for linux/dvb/frontend.h usability (DVB-T2, DVB API >= v5.3)... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
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/w-scan-20170107'
make all-am
make[2]: Entering directory '/build/reproducible-path/w-scan-20170107'
gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wno-comment -Wswitch-default -Wno-unused-parameter -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/w-scan-20170107=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c atsc_psip_section.c
gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wno-comment -Wswitch-default -Wno-unused-parameter -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/w-scan-20170107=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c countries.c
In file included from scan.h:35,
from countries.c:29:
tools.h:36:15: error: ‘bool’ cannot be defined via ‘typedef’
36 | typedef int bool;
| ^~~~
tools.h:36:15: note: ‘bool’ is a keyword with ‘-std=c23’ onwards
tools.h:36:3: warning: useless type name in empty declaration
36 | typedef int bool;
| ^~~~~~~
In file included from emulate.h:10,
from scan.h:37:
si_types.h:65:1: warning: useless storage class specifier in empty declaration
65 | };
| ^
make[2]: *** [Makefile:426: countries.o] Error 1
make[2]: Leaving directory '/build/reproducible-path/w-scan-20170107'
make[1]: *** [Makefile:261: all] Error 2
make[1]: Leaving directory '/build/reproducible-path/w-scan-20170107'
dh_auto_build: error: make -j1 returned exit code 2
make: *** [debian/rules:4: binary] Error 255
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
More information about the pkg-vdr-dvb-devel
mailing list