Package: src:libquicktime Version: 2:1.2.4-16 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/libquicktime_1.2.4-16_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 -DHAVE_CONFIG_H -I. -I.. -I../include -I../include/quicktime -Wdate-time -D_FORTIFY_SOURCE=2 -DLOCALE_DIR=\"/usr/share/locale\" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libquicktime-1.2.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -finline-functions -Wall -Winline -Wmissing-declarations -Wdeclaration-after-statement -fvisibility=hidden -c -o dump_codecs.o dump_codecs.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include/quicktime -Wdate-time -D_FORTIFY_SOURCE=2 -DLOCALE_DIR=\"/usr/share/locale\" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libquicktime-1.2.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -finline-functions -Wall -Winline -Wmissing-declarations -Wdeclaration-after-statement -fvisibility=hidden -c -o gen_colorspace_tables.o gen_colorspace_tables.c /bin/bash ../libtool --tag=CC --mode=link gcc -DLOCALE_DIR=\"/usr/share/locale\" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libquicktime-1.2.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -finline-functions -Wall -Winline -Wmissing-declarations -Wdeclaration-after-statement -fvisibility=hidden -Wl,-z,relro -Wl,-z,now -o qtinfo qtinfo.o common.o ../src/libquicktime.la -lm -lz -ldl gen_colorspace_tables.c: In function ‘main’: gen_colorspace_tables.c:29:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 29 | if(v<min) v=min; if(v>max) v=max; | ^~ gen_colorspace_tables.c:138:5: note: in expansion of macro ‘RECLIP’ 138 | RECLIP(tmp_int, 0, 255); | ^~~~~~ gen_colorspace_tables.c:29:20: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 29 | if(v<min) v=min; if(v>max) v=max; | ^~ gen_colorspace_tables.c:138:5: note: in expansion of macro ‘RECLIP’ 138 | RECLIP(tmp_int, 0, 255); | ^~~~~~ gen_colorspace_tables.c:29:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 29 | if(v<min) v=min; if(v>max) v=max; | ^~ gen_colorspace_tables.c:153:5: note: in expansion of macro ‘RECLIP’ 153 | RECLIP(tmp_int, 0, 255); | ^~~~~~ gen_colorspace_tables.c:29:20: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 29 | if(v<min) v=min; if(v>max) v=max; | ^~ gen_colorspace_tables.c:153:5: note: in expansion of macro ‘RECLIP’ 153 | RECLIP(tmp_int, 0, 255); | ^~~~~~ lqtplay.c: In function ‘qt_alsa_audio_write’: lqtplay.c:1480:11: error: too many arguments to function ‘decode_audio’; expected 0, have 1 1480 | decode_audio(AUDIO_BLOCK_SIZE); | ^~~~~~~~~~~~ lqtplay.c:1420:12: note: declared here 1420 | static int decode_audio() | ^~~~~~~~~~~~ lqtplay.c: In function ‘qt_oss_audio_write’: lqtplay.c:1560:7: error: too many arguments to function ‘decode_audio’; expected 0, have 1 1560 | decode_audio(AUDIO_BLOCK_SIZE); | ^~~~~~~~~~~~ lqtplay.c:1420:12: note: declared here 1420 | static int decode_audio() | ^~~~~~~~~~~~ lqtplay.c: At top level: lqtplay.c:815:1: warning: ‘sndio_setformat’ defined but not used [-Wunused-function] 815 | sndio_setformat(int chan, int rate) | ^~~~~~~~~~~~~~~ /bin/bash ../libtool --tag=CC --mode=link gcc -DLOCALE_DIR=\"/usr/share/locale\" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libquicktime-1.2.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -finline-functions -Wall -Winline -Wmissing-declarations -Wdeclaration-after-statement -fvisibility=hidden -Wl,-z,relro -Wl,-z,now -o qtstreamize qtstreamize.o ../src/libquicktime.la -lm -lz -ldl make[5]: *** [Makefile:746: lqtplay.o] Error 1 make[5]: *** Waiting for unfinished jobs.... libtool: link: gcc -DLOCALE_DIR=\"/usr/share/locale\" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libquicktime-1.2.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -finline-functions -Wall -Winline -Wmissing-declarations -Wdeclaration-after-statement -fvisibility=hidden -Wl,-z -Wl,relro -Wl,-z -Wl,now -o .libs/qtinfo qtinfo.o common.o ../src/.libs/libquicktime.so -lm -lz -ldl libtool: link: gcc -DLOCALE_DIR=\"/usr/share/locale\" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libquicktime-1.2.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -finline-functions -Wall -Winline -Wmissing-declarations -Wdeclaration-after-statement -fvisibility=hidden -Wl,-z -Wl,relro -Wl,-z -Wl,now -o .libs/qtstreamize qtstreamize.o ../src/.libs/libquicktime.so -lm -lz -ldl lqtremux.c: In function ‘main’: lqtremux.c:536:29: warning: ‘first_file’ may be used uninitialized [-Wmaybe-uninitialized] 536 | if(!init_multiplex(&argv[first_file], nfiles-1, argv[argc-1])) | ^ lqtremux.c:474:7: note: ‘first_file’ was declared here 474 | int first_file; | ^~~~~~~~~~ make[5]: Leaving directory '/build/reproducible-path/libquicktime-1.2.4/utils' make[4]: *** [Makefile:816: all-recursive] Error 1 make[4]: Leaving directory '/build/reproducible-path/libquicktime-1.2.4/utils' make[3]: *** [Makefile:564: all-recursive] Error 1 make[3]: Leaving directory '/build/reproducible-path/libquicktime-1.2.4' make[2]: *** [Makefile:473: all] Error 2 make[2]: Leaving directory '/build/reproducible-path/libquicktime-1.2.4' dh_auto_build: error: make -j8 MSGMERGE_UPDATE=true returned exit code 2 make[1]: *** [debian/rules:23: override_dh_auto_build] Error 25 make[1]: Leaving directory '/build/reproducible-path/libquicktime-1.2.4' make: *** [debian/rules:11: binary] Error 2 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

