Bug#1097138: kvazaar: ftbfs with GCC-15
Package: src:kvazaar
Version: 2.3.1-2
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/kvazaar_2.3.1-2_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
[...]
Patching output file 1672/1696
Patching output file 1673/1696
Patching output file 1674/1696
Patching output file 1675/1696
Patching output file 1676/1696
Patching output file 1677/1696
Patching output file 1678/1696
Patching output file 1679/1696
Patching output file 1680/1696
Patching output file 1681/1696
Patching output file 1682/1696
Patching output file 1683/1696
Patching output file 1684/1696
Patching output file 1685/1696
Patching output file 1686/1696
Patching output file 1687/1696
Patching output file 1688/1696
Patching output file 1689/1696
Patching output file 1690/1696
Patching output file 1691/1696
Patching output file 1692/1696
Patching output file 1693/1696
Patching output file 1694/1696
Patching output file 1695/1696
Patching output file 1696/1696
type lookup cache used 6834/65536 hits=151832 misses=6941
symbol lookup cache used 13239/65536 hits=78002 misses=13239
finished...
make[1]: Leaving directory '/build/reproducible-path/kvazaar-2.3.1'
debian/rules override_dh_auto_test-arch
make[1]: Entering directory '/build/reproducible-path/kvazaar-2.3.1'
dh_auto_test
make -j8 check "TESTSUITEFLAGS=-j8 --verbose" VERBOSE=1
make[2]: Entering directory '/build/reproducible-path/kvazaar-2.3.1'
Making check in src
make[3]: Entering directory '/build/reproducible-path/kvazaar-2.3.1/src'
make[3]: Nothing to be done for 'check'.
make[3]: Leaving directory '/build/reproducible-path/kvazaar-2.3.1/src'
Making check in tests
make[3]: Entering directory '/build/reproducible-path/kvazaar-2.3.1/tests'
make kvazaar_tests
make[4]: Entering directory '/build/reproducible-path/kvazaar-2.3.1/tests'
gcc -DHAVE_CONFIG_H -I. -I.. -DKVZ_DLL_EXPORTS -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I.. -I../src -pthread -Wall -Wextra -Wvla -Wno-sign-compare -Wno-unused-parameter -I./src -I./src/extras -ftree-vectorize -fvisibility=hidden -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/kvazaar-2.3.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o kvazaar_tests-coeff_sum_tests.o `test -f 'coeff_sum_tests.c' || echo './'`coeff_sum_tests.c
gcc -DHAVE_CONFIG_H -I. -I.. -DKVZ_DLL_EXPORTS -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I.. -I../src -pthread -Wall -Wextra -Wvla -Wno-sign-compare -Wno-unused-parameter -I./src -I./src/extras -ftree-vectorize -fvisibility=hidden -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/kvazaar-2.3.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o kvazaar_tests-dct_tests.o `test -f 'dct_tests.c' || echo './'`dct_tests.c
gcc -DHAVE_CONFIG_H -I. -I.. -DKVZ_DLL_EXPORTS -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I.. -I../src -pthread -Wall -Wextra -Wvla -Wno-sign-compare -Wno-unused-parameter -I./src -I./src/extras -ftree-vectorize -fvisibility=hidden -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/kvazaar-2.3.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o kvazaar_tests-intra_sad_tests.o `test -f 'intra_sad_tests.c' || echo './'`intra_sad_tests.c
gcc -DHAVE_CONFIG_H -I. -I.. -DKVZ_DLL_EXPORTS -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I.. -I../src -pthread -Wall -Wextra -Wvla -Wno-sign-compare -Wno-unused-parameter -I./src -I./src/extras -ftree-vectorize -fvisibility=hidden -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/kvazaar-2.3.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o kvazaar_tests-mv_cand_tests.o `test -f 'mv_cand_tests.c' || echo './'`mv_cand_tests.c
gcc -DHAVE_CONFIG_H -I. -I.. -DKVZ_DLL_EXPORTS -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I.. -I../src -pthread -Wall -Wextra -Wvla -Wno-sign-compare -Wno-unused-parameter -I./src -I./src/extras -ftree-vectorize -fvisibility=hidden -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/kvazaar-2.3.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o kvazaar_tests-sad_tests.o `test -f 'sad_tests.c' || echo './'`sad_tests.c
gcc -DHAVE_CONFIG_H -I. -I.. -DKVZ_DLL_EXPORTS -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I.. -I../src -pthread -Wall -Wextra -Wvla -Wno-sign-compare -Wno-unused-parameter -I./src -I./src/extras -ftree-vectorize -fvisibility=hidden -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/kvazaar-2.3.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o kvazaar_tests-satd_tests.o `test -f 'satd_tests.c' || echo './'`satd_tests.c
gcc -DHAVE_CONFIG_H -I. -I.. -DKVZ_DLL_EXPORTS -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I.. -I../src -pthread -Wall -Wextra -Wvla -Wno-sign-compare -Wno-unused-parameter -I./src -I./src/extras -ftree-vectorize -fvisibility=hidden -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/kvazaar-2.3.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o kvazaar_tests-speed_tests.o `test -f 'speed_tests.c' || echo './'`speed_tests.c
gcc -DHAVE_CONFIG_H -I. -I.. -DKVZ_DLL_EXPORTS -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I.. -I../src -pthread -Wall -Wextra -Wvla -Wno-sign-compare -Wno-unused-parameter -I./src -I./src/extras -ftree-vectorize -fvisibility=hidden -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/kvazaar-2.3.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o kvazaar_tests-tests_main.o `test -f 'tests_main.c' || echo './'`tests_main.c
tests_main.c: In function ‘main’:
tests_main.c:54:3: error: too many arguments to function ‘init_test_strategies’; expected 0, have 1
54 | init_test_strategies(1);
| ^~~~~~~~~~~~~~~~~~~~ ~
In file included from tests_main.c:35:
test_strategies.h:40:6: note: declared here
40 | void init_test_strategies();
| ^~~~~~~~~~~~~~~~~~~~
make[4]: *** [Makefile:816: kvazaar_tests-tests_main.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory '/build/reproducible-path/kvazaar-2.3.1/tests'
make[3]: *** [Makefile:1233: check-am] Error 2
make[3]: Leaving directory '/build/reproducible-path/kvazaar-2.3.1/tests'
make[2]: *** [Makefile:533: check-recursive] Error 1
make[2]: Leaving directory '/build/reproducible-path/kvazaar-2.3.1'
dh_auto_test: error: make -j8 check "TESTSUITEFLAGS=-j8 --verbose" VERBOSE=1 returned exit code 2
make[1]: *** [debian/rules:32: override_dh_auto_test-arch] Error 25
make[1]: Leaving directory '/build/reproducible-path/kvazaar-2.3.1'
make: *** [debian/rules:12: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
Reply to: