Bug#1096285: airspyhf: ftbfs with GCC-15
Package: src:airspyhf
Version: 1.6.8-4
Severity: important
Tags: sid forky
User: debian-gcc@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/airspyhf_1.6.8-4_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
[...]
cd /build/reproducible-path/airspyhf-1.6.8/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/airspyhf-1.6.8 /build/reproducible-path/airspyhf-1.6.8/tools/src /build/reproducible-path/airspyhf-1.6.8/obj-x86_64-linux-gnu /build/reproducible-path/airspyhf-1.6.8/obj-x86_64-linux-gnu/tools/src /build/reproducible-path/airspyhf-1.6.8/obj-x86_64-linux-gnu/tools/src/CMakeFiles/airspyhf_calibrate.dir/DependInfo.cmake "--color="
make[3]: Leaving directory '/build/reproducible-path/airspyhf-1.6.8/obj-x86_64-linux-gnu'
make -f tools/src/CMakeFiles/airspyhf_gpio.dir/build.make tools/src/CMakeFiles/airspyhf_gpio.dir/build
make[3]: Entering directory '/build/reproducible-path/airspyhf-1.6.8/obj-x86_64-linux-gnu'
make[3]: Leaving directory '/build/reproducible-path/airspyhf-1.6.8/obj-x86_64-linux-gnu'
make[3]: Leaving directory '/build/reproducible-path/airspyhf-1.6.8/obj-x86_64-linux-gnu'
make -f tools/src/CMakeFiles/airspyhf_info.dir/build.make tools/src/CMakeFiles/airspyhf_info.dir/build
make -f tools/src/CMakeFiles/airspyhf_calibrate.dir/build.make tools/src/CMakeFiles/airspyhf_calibrate.dir/build
make[3]: Leaving directory '/build/reproducible-path/airspyhf-1.6.8/obj-x86_64-linux-gnu'
make[3]: Leaving directory '/build/reproducible-path/airspyhf-1.6.8/obj-x86_64-linux-gnu'
make -f tools/src/CMakeFiles/airspyhf_rx.dir/build.make tools/src/CMakeFiles/airspyhf_rx.dir/build
make -f tools/src/CMakeFiles/airspyhf_lib_version.dir/build.make tools/src/CMakeFiles/airspyhf_lib_version.dir/build
make[3]: Entering directory '/build/reproducible-path/airspyhf-1.6.8/obj-x86_64-linux-gnu'
make[3]: Entering directory '/build/reproducible-path/airspyhf-1.6.8/obj-x86_64-linux-gnu'
make[3]: Entering directory '/build/reproducible-path/airspyhf-1.6.8/obj-x86_64-linux-gnu'
make[3]: Entering directory '/build/reproducible-path/airspyhf-1.6.8/obj-x86_64-linux-gnu'
[ 37%] Building C object tools/src/CMakeFiles/airspyhf_calibrate.dir/airspyhf_calibrate.c.o
[ 43%] Building C object tools/src/CMakeFiles/airspyhf_rx.dir/airspyhf_rx.c.o
cd /build/reproducible-path/airspyhf-1.6.8/obj-x86_64-linux-gnu/tools/src && /usr/bin/cc -D_FILE_OFFSET_BITS=64 -I/build/reproducible-path/airspyhf-1.6.8/libairspyhf/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/airspyhf-1.6.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -Wall -MD -MT tools/src/CMakeFiles/airspyhf_calibrate.dir/airspyhf_calibrate.c.o -MF CMakeFiles/airspyhf_calibrate.dir/airspyhf_calibrate.c.o.d -o CMakeFiles/airspyhf_calibrate.dir/airspyhf_calibrate.c.o -c /build/reproducible-path/airspyhf-1.6.8/tools/src/airspyhf_calibrate.c
[ 50%] Building C object tools/src/CMakeFiles/airspyhf_gpio.dir/airspyhf_gpio.c.o
cd /build/reproducible-path/airspyhf-1.6.8/obj-x86_64-linux-gnu/tools/src && /usr/bin/cc -D_FILE_OFFSET_BITS=64 -I/build/reproducible-path/airspyhf-1.6.8/libairspyhf/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/airspyhf-1.6.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -Wall -MD -MT tools/src/CMakeFiles/airspyhf_rx.dir/airspyhf_rx.c.o -MF CMakeFiles/airspyhf_rx.dir/airspyhf_rx.c.o.d -o CMakeFiles/airspyhf_rx.dir/airspyhf_rx.c.o -c /build/reproducible-path/airspyhf-1.6.8/tools/src/airspyhf_rx.c
cd /build/reproducible-path/airspyhf-1.6.8/obj-x86_64-linux-gnu/tools/src && /usr/bin/cc -D_FILE_OFFSET_BITS=64 -I/build/reproducible-path/airspyhf-1.6.8/libairspyhf/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/airspyhf-1.6.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -Wall -MD -MT tools/src/CMakeFiles/airspyhf_gpio.dir/airspyhf_gpio.c.o -MF CMakeFiles/airspyhf_gpio.dir/airspyhf_gpio.c.o.d -o CMakeFiles/airspyhf_gpio.dir/airspyhf_gpio.c.o -c /build/reproducible-path/airspyhf-1.6.8/tools/src/airspyhf_gpio.c
[ 56%] Building C object tools/src/CMakeFiles/airspyhf_info.dir/airspyhf_info.c.o
cd /build/reproducible-path/airspyhf-1.6.8/obj-x86_64-linux-gnu/tools/src && /usr/bin/cc -D_FILE_OFFSET_BITS=64 -I/build/reproducible-path/airspyhf-1.6.8/libairspyhf/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/airspyhf-1.6.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -Wall -MD -MT tools/src/CMakeFiles/airspyhf_info.dir/airspyhf_info.c.o -MF CMakeFiles/airspyhf_info.dir/airspyhf_info.c.o.d -o CMakeFiles/airspyhf_info.dir/airspyhf_info.c.o -c /build/reproducible-path/airspyhf-1.6.8/tools/src/airspyhf_info.c
[ 62%] Building C object tools/src/CMakeFiles/airspyhf_lib_version.dir/airspyhf_lib_version.c.o
cd /build/reproducible-path/airspyhf-1.6.8/obj-x86_64-linux-gnu/tools/src && /usr/bin/cc -D_FILE_OFFSET_BITS=64 -I/build/reproducible-path/airspyhf-1.6.8/libairspyhf/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/airspyhf-1.6.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -Wall -MD -MT tools/src/CMakeFiles/airspyhf_lib_version.dir/airspyhf_lib_version.c.o -MF CMakeFiles/airspyhf_lib_version.dir/airspyhf_lib_version.c.o.d -o CMakeFiles/airspyhf_lib_version.dir/airspyhf_lib_version.c.o -c /build/reproducible-path/airspyhf-1.6.8/tools/src/airspyhf_lib_version.c
/build/reproducible-path/airspyhf-1.6.8/tools/src/airspyhf_rx.c:41:13: error: ‘bool’ cannot be defined via ‘typedef’
41 | typedef int bool;
| ^~~~
/build/reproducible-path/airspyhf-1.6.8/tools/src/airspyhf_rx.c:41:13: note: ‘bool’ is a keyword with ‘-std=c23’ onwards
/build/reproducible-path/airspyhf-1.6.8/tools/src/airspyhf_rx.c:41:1: warning: useless type name in empty declaration
41 | typedef int bool;
| ^~~~~~~
[ 68%] Linking C static library libairspyhf.a
cd /build/reproducible-path/airspyhf-1.6.8/obj-x86_64-linux-gnu/libairspyhf/src && /usr/bin/cmake -P CMakeFiles/airspyhf-static.dir/cmake_clean_target.cmake
[ 75%] Linking C executable airspyhf_lib_version
cd /build/reproducible-path/airspyhf-1.6.8/obj-x86_64-linux-gnu/tools/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/airspyhf_lib_version.dir/link.txt --verbose=1
cd /build/reproducible-path/airspyhf-1.6.8/obj-x86_64-linux-gnu/libairspyhf/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/airspyhf-static.dir/link.txt --verbose=1
make[3]: *** [tools/src/CMakeFiles/airspyhf_rx.dir/build.make:82: tools/src/CMakeFiles/airspyhf_rx.dir/airspyhf_rx.c.o] Error 1
make[3]: Leaving directory '/build/reproducible-path/airspyhf-1.6.8/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:346: tools/src/CMakeFiles/airspyhf_rx.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
/usr/bin/ar qc libairspyhf.a "CMakeFiles/airspyhf-static.dir/airspyhf.c.o" "CMakeFiles/airspyhf-static.dir/iqbalancer.c.o"
/usr/bin/ranlib libairspyhf.a
make[3]: Leaving directory '/build/reproducible-path/airspyhf-1.6.8/obj-x86_64-linux-gnu'
/usr/bin/cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/airspyhf-1.6.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -Wl,-z,relro -rdynamic -Wl,--dependency-file=CMakeFiles/airspyhf_lib_version.dir/link.d CMakeFiles/airspyhf_lib_version.dir/airspyhf_lib_version.c.o -o airspyhf_lib_version -Wl,-rpath,/build/reproducible-path/airspyhf-1.6.8/obj-x86_64-linux-gnu/libairspyhf/src: ../../libairspyhf/src/libairspyhf.so.1.6.8 -lm -lusb-1.0 -lpthread
make[3]: Leaving directory '/build/reproducible-path/airspyhf-1.6.8/obj-x86_64-linux-gnu'
[ 75%] Built target airspyhf-static
[ 81%] Linking C executable airspyhf_calibrate
cd /build/reproducible-path/airspyhf-1.6.8/obj-x86_64-linux-gnu/tools/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/airspyhf_calibrate.dir/link.txt --verbose=1
[ 81%] Built target airspyhf_lib_version
[ 87%] Linking C executable airspyhf_gpio
cd /build/reproducible-path/airspyhf-1.6.8/obj-x86_64-linux-gnu/tools/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/airspyhf_gpio.dir/link.txt --verbose=1
/usr/bin/cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/airspyhf-1.6.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -Wl,-z,relro -rdynamic -Wl,--dependency-file=CMakeFiles/airspyhf_gpio.dir/link.d CMakeFiles/airspyhf_gpio.dir/airspyhf_gpio.c.o -o airspyhf_gpio -Wl,-rpath,/build/reproducible-path/airspyhf-1.6.8/obj-x86_64-linux-gnu/libairspyhf/src: ../../libairspyhf/src/libairspyhf.so.1.6.8 -lm -lusb-1.0 -lpthread
make[3]: Leaving directory '/build/reproducible-path/airspyhf-1.6.8/obj-x86_64-linux-gnu'
[ 93%] Linking C executable airspyhf_info
[ 93%] Built target airspyhf_gpio
cd /build/reproducible-path/airspyhf-1.6.8/obj-x86_64-linux-gnu/tools/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/airspyhf_info.dir/link.txt --verbose=1
/usr/bin/cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/airspyhf-1.6.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -Wl,-z,relro -rdynamic -Wl,--dependency-file=CMakeFiles/airspyhf_calibrate.dir/link.d CMakeFiles/airspyhf_calibrate.dir/airspyhf_calibrate.c.o -o airspyhf_calibrate -Wl,-rpath,/build/reproducible-path/airspyhf-1.6.8/obj-x86_64-linux-gnu/libairspyhf/src: ../../libairspyhf/src/libairspyhf.so.1.6.8 -lm -lusb-1.0 -lpthread
make[3]: Leaving directory '/build/reproducible-path/airspyhf-1.6.8/obj-x86_64-linux-gnu'
[ 93%] Built target airspyhf_calibrate
/usr/bin/cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/airspyhf-1.6.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -Wl,-z,relro -rdynamic -Wl,--dependency-file=CMakeFiles/airspyhf_info.dir/link.d CMakeFiles/airspyhf_info.dir/airspyhf_info.c.o -o airspyhf_info -Wl,-rpath,/build/reproducible-path/airspyhf-1.6.8/obj-x86_64-linux-gnu/libairspyhf/src: ../../libairspyhf/src/libairspyhf.so.1.6.8 -lm -lusb-1.0 -lpthread
make[3]: Leaving directory '/build/reproducible-path/airspyhf-1.6.8/obj-x86_64-linux-gnu'
[ 93%] Built target airspyhf_info
make[2]: Leaving directory '/build/reproducible-path/airspyhf-1.6.8/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:139: all] Error 2
make[1]: Leaving directory '/build/reproducible-path/airspyhf-1.6.8/obj-x86_64-linux-gnu'
dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j8 "INSTALL=install --strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:6: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
Reply to: