Bug#957492: linuxtv-dvb-apps: ftbfs with GCC-10

Matthias Klose doko at debian.org
Fri Apr 17 12:05:15 BST 2020


Package: src:linuxtv-dvb-apps
Version: 1.1.1+rev1500-1.2
Severity: normal
Tags: sid bullseye
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-10

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-10/g++-10, but succeeds to build with gcc-9/g++-9. The
severity of this report will be raised before the bullseye release,
so nothing has to be done for the buster release.

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc10-20200225/linuxtv-dvb-apps_1.1.1+rev1500-1.2_unstable_gcc10.log
The last lines of the build log are at the end of this report.

To build with GCC 10, either set CC=gcc-10 CXX=g++-10 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++ 

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-10/porting_to.html

[...]
CC gotox
make[3]: Leaving directory '/<<PKGBUILDDIR>>/util/gotox'
make -C zap all
make[3]: Entering directory '/<<PKGBUILDDIR>>/util/zap'
CC zap_ca.o
CC zap_dvb.o
CC zap
make[3]: Leaving directory '/<<PKGBUILDDIR>>/util/zap'
make -C lsdvb all
make[3]: Entering directory '/<<PKGBUILDDIR>>/util/lsdvb'
CC lsdvb
lsdvb.c: In function ‘get_frontend_entry’:
lsdvb.c:74:20: warning: ‘%s’ directive writing up to 255 bytes into a region of size 49 [-Wformat-overflow=]
   74 |   sprintf(tmp, "%s/%s", DVB_SYSFS_DIR, adap_dir->d_name);
      |                    ^~
In file included from /usr/include/stdio.h:867,
                 from lsdvb.c:24:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 16 and 271 bytes into a destination of size 64
   36 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   37 |       __bos (__s), __fmt, __va_arg_pack ());
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lsdvb.c: In function ‘main’:
lsdvb.c:292:33: 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 file included from /usr/include/stdio.h:867,
                 from lsdvb.c:24:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 19 and 92 bytes into a destination of size 64
   36 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   37 |       __bos (__s), __fmt, __va_arg_pack ());
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[3]: Leaving directory '/<<PKGBUILDDIR>>/util/lsdvb'
make -C alevt all
make[3]: Entering directory '/<<PKGBUILDDIR>>/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
./bdf2xbm font1 <vtxt-latin-1.bdf >font1.xbm
./bdf2xbm font2 <vtxt-latin-2.bdf >font2.xbm
./bdf2xbm font3 <vtxt-koi8.bdf >font3.xbm
./bdf2xbm font4 <vtxt-iso8859-7.bdf >font4.xbm
fgrep -h "#define" font1.xbm font2.xbm font3.xbm font4.xbm >fontsize.h
cc -O -g -w -DVERSION=\"1.7.0\" -DWITH_PNG -DUSE_LIBZVBI -I/include -Wdate-time -D_FORTIFY_SOURCE=2  -c -o xio.o xio.c
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
cc -O -g -w -DVERSION=\"1.7.0\" -DWITH_PNG -DUSE_LIBZVBI -I/include -Wdate-time -D_FORTIFY_SOURCE=2  -c -o misc.o misc.c
cc -O -g -w -DVERSION=\"1.7.0\" -DWITH_PNG -DUSE_LIBZVBI -I/include -Wdate-time -D_FORTIFY_SOURCE=2  -c -o hamm.o hamm.c
cc -O -g -w -DVERSION=\"1.7.0\" -DWITH_PNG -DUSE_LIBZVBI -I/include -Wdate-time -D_FORTIFY_SOURCE=2  -c -o lang.o lang.c
cc -O -g -w -DVERSION=\"1.7.0\" -DWITH_PNG -DUSE_LIBZVBI -I/include -Wdate-time -D_FORTIFY_SOURCE=2  -c -o export.o export.c
cc -O -g -w -DVERSION=\"1.7.0\" -DWITH_PNG -DUSE_LIBZVBI -I/include -Wdate-time -D_FORTIFY_SOURCE=2  -c -o exp-txt.o exp-txt.c
cc -O -g -w -DVERSION=\"1.7.0\" -DWITH_PNG -DUSE_LIBZVBI -I/include -Wdate-time -D_FORTIFY_SOURCE=2  -c -o exp-html.o exp-html.c
cc -O -g -w -DVERSION=\"1.7.0\" -DWITH_PNG -DUSE_LIBZVBI -I/include -Wdate-time -D_FORTIFY_SOURCE=2  -c -o exp-gfx.o exp-gfx.c
cc -O -g -w -DVERSION=\"1.7.0\" -DWITH_PNG -DUSE_LIBZVBI -I/include -Wdate-time -D_FORTIFY_SOURCE=2  -c -o font.o font.c
cc -O -g -w main.o ui.o xio.o fdset.o vbi.o cache.o help.o search.o misc.o hamm.o lang.o export.o exp-txt.o exp-html.o exp-gfx.o font.o -Wl,-z,relro -o alevt -L/usr/lib -L/usr/lib64 -lX11 -lpng -lz -lm -lzvbi -lpthread
/usr/bin/ld: vbi.o:/<<PKGBUILDDIR>>/util/alevt/vbi.c:38: multiple definition of `sid'; main.o:/<<PKGBUILDDIR>>/util/alevt/main.c:23: first defined here
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:28: alevt] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/util/alevt'
make[2]: *** [Makefile:22: all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/util'
make[1]: *** [Makefile:14: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j1 returned exit code 2
make: *** [debian/rules:4: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2



More information about the pkg-vdr-dvb-devel mailing list