Package: src:mjpegtools Version: 1:2.1.0+debian-8.1 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/mjpegtools_2.1.0+debian-8.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 [...] | ^~~~~~~~ In file included from /usr/include/stdio.h:970, from avilib.h:30: In function 'snprintf', inlined from 'avi_add_odml_index_entry.isra' at avilib.c:412:6: /usr/include/x86_64-linux-gnu/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 5 and 14 bytes into a destination of size 5 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ In function 'memset', inlined from 'avi_update_header' at avilib.c:956:4: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:59:10: warning: '__builtin___memset_chk' offset [2053, 219043332216] is out of the bounds [0, 2048] of object 'AVI_header' with type 'unsigned char[2048]' [-Warray-bounds=] 59 | return __builtin___memset_chk (__dest, __ch, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 60 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ avilib.c: In function 'avi_update_header': avilib.c:739:18: note: 'AVI_header' declared here 739 | unsigned char AVI_header[HEADERBYTES]; | ^~~~~~~~~~ avilib.c: In function 'AVI_write_frame': avilib.c:1717:43: warning: '%1d' directive output may be truncated writing between 1 and 11 bytes into a region of size 4 [-Wformat-truncation=] 1717 | snprintf((char *)astr, sizeof(astr), "0%1dwb", (int)(AVI->aptr+1)); | ^~~ In function 'avi_write_data', inlined from 'AVI_write_frame' at avilib.c:1749:6: avilib.c:1717:41: note: directive argument in the range [-2147483647, 2147483647] 1717 | snprintf((char *)astr, sizeof(astr), "0%1dwb", (int)(AVI->aptr+1)); | ^~~~~~~~ In function 'snprintf', inlined from 'avi_write_data' at avilib.c:1717:4, inlined from 'AVI_write_frame' at avilib.c:1749:6: /usr/include/x86_64-linux-gnu/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 5 and 15 bytes into a destination of size 5 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ avilib.c: In function 'AVI_write_audio': avilib.c:1717:43: warning: '%1d' directive output may be truncated writing between 1 and 11 bytes into a region of size 4 [-Wformat-truncation=] 1717 | snprintf((char *)astr, sizeof(astr), "0%1dwb", (int)(AVI->aptr+1)); | ^~~ In function 'avi_write_data', inlined from 'AVI_write_audio' at avilib.c:1772:8: avilib.c:1717:41: note: directive argument in the range [-2147483647, 2147483647] 1717 | snprintf((char *)astr, sizeof(astr), "0%1dwb", (int)(AVI->aptr+1)); | ^~~~~~~~ In function 'snprintf', inlined from 'avi_write_data' at avilib.c:1717:4, inlined from 'AVI_write_audio' at avilib.c:1772:8: /usr/include/x86_64-linux-gnu/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 5 and 15 bytes into a destination of size 5 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../utils -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mjpegtools-2.1.0+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wunused -c avilib.c -o liblavfile_la-avilib.o >/dev/null 2>&1 make[3]: Leaving directory '/build/reproducible-path/mjpegtools-2.1.0+debian/lavtools' make[2]: *** [Makefile:580: all-recursive] Error 1 make[2]: Leaving directory '/build/reproducible-path/mjpegtools-2.1.0+debian' make[1]: *** [Makefile:487: all] Error 2 make[1]: Leaving directory '/build/reproducible-path/mjpegtools-2.1.0+debian' dh_auto_build: error: make -j8 returned exit code 2 make: *** [debian/rules:4: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

