Package: src:linuxtv-dvb-apps Version: 1.1.1+rev1500-2 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/linuxtv-dvb-apps_1.1.1+rev1500-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 [...] In file included from /usr/include/stdio.h:970, from lsdvb.c:24: In function ‘sprintf’, inlined from ‘get_frontend_entry’ at lsdvb.c:74:3: /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 16 and 271 bytes into a destination of size 64 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ lsdvb.c: In function ‘main’: lsdvb.c:292:54: warning: ‘%s’ directive writing up to 63 bytes into a region of size between 36 and 46 [-Wformat-overflow=] 292 | sprintf(fedev, "%s/adapter%d/%s", DVB_DIR, adapter, frontend); | ^~ ~~~~~~~~ In function ‘sprintf’, inlined from ‘main’ at lsdvb.c:292:4: /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 19 and 92 bytes into a destination of size 64 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[4]: Leaving directory '/build/reproducible-path/linuxtv-dvb-apps-1.1.1+rev1500/util/lsdvb' make -C alevt all make[4]: Entering directory '/build/reproducible-path/linuxtv-dvb-apps-1.1.1+rev1500/util/alevt' cc -O -g -w -DVERSION=\"1.7.0\" -DWITH_PNG -DUSE_LIBZVBI -I/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o main.o main.c cc -O -g -w -DVERSION=\"1.7.0\" -DWITH_PNG -DUSE_LIBZVBI -I/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o ui.o ui.c cc bdf2xbm.c -o bdf2xbm cc -O -g -w -DVERSION=\"1.7.0\" -DWITH_PNG -DUSE_LIBZVBI -I/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o fdset.o fdset.c cc -O -g -w -DVERSION=\"1.7.0\" -DWITH_PNG -DUSE_LIBZVBI -I/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o vbi.o vbi.c cc -O -g -w -DVERSION=\"1.7.0\" -DWITH_PNG -DUSE_LIBZVBI -I/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o cache.o cache.c cc -O -g -w -DVERSION=\"1.7.0\" -DWITH_PNG -DUSE_LIBZVBI -I/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o help.o help.c cc -O -g -w -DVERSION=\"1.7.0\" -DWITH_PNG -DUSE_LIBZVBI -I/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o search.o search.c search.c: In function ‘search_next’: search.c:120:9: error: passing argument 5 of ‘s->cache->op->foreach_pg’ from incompatible pointer type [-Wincompatible-pointer-types] 120 | search_pg, s); | ^~~~~~~~~ | | | int (*)(struct search *, struct vt_page *) search.c:120:9: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(struct search *, struct vt_page *)’ search.c:57:12: note: ‘search_pg’ declared here 57 | static int search_pg(struct search *s, struct vt_page *vtp) | ^~~~~~~~~ cache.c: In function ‘cache_foreach_pg’: cache.c:170:17: error: too many arguments to function ‘func’; expected 0, have 2 170 | if (func(data, vtp)) | ^~~~ ~~~~ make[4]: *** [<builtin>: search.o] Error 1 make[4]: *** Waiting for unfinished jobs.... make[4]: *** [<builtin>: cache.o] Error 1 ui.c: In function ‘do_next_pgno’: ui.c:143:57: error: passing argument 5 of ‘w->vbi->cache->op->foreach_pg’ from incompatible pointer type [-Wincompatible-pointer-types] 143 | pgno, subno, dir, subs ? _next_subno:_next_pgno, &arg)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | int (*)(int *, struct vt_page *) ui.c:143:57: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(int *, struct vt_page *)’ make[4]: *** [<builtin>: ui.o] Error 1 make[4]: Leaving directory '/build/reproducible-path/linuxtv-dvb-apps-1.1.1+rev1500/util/alevt' make[3]: *** [Makefile:22: all] Error 2 make[3]: Leaving directory '/build/reproducible-path/linuxtv-dvb-apps-1.1.1+rev1500/util' make[2]: *** [Makefile:14: all] Error 2 make[2]: Leaving directory '/build/reproducible-path/linuxtv-dvb-apps-1.1.1+rev1500' dh_auto_build: error: make -j8 "INSTALL=install --strip-program=true" returned exit code 2 make[1]: *** [debian/rules:10: override_dh_auto_build] Error 25 make[1]: Leaving directory '/build/reproducible-path/linuxtv-dvb-apps-1.1.1+rev1500' make: *** [debian/rules:6: binary] Error 2 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 _______________________________________________ pkg-vdr-dvb-devel mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-vdr-dvb-devel
