[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#957967: xawtv: ftbfs with GCC-10



Package: src:xawtv
Version: 3.106-1
Severity: normal
Tags: sid bullseye
User: debian-gcc@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/xawtv_3.106-1_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

[...]
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/include/ncursesw -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/X11/fonts -I. -I./vbistuff -I./x11 -I./jwz -I./common -I./console -I./x11 -I./structs -I./libng -I/usr/include/lqt -DCONFIGFILE="/etc/X11/xawtvrc" -DLIBDIR="/usr/lib/x86_64-linux-gnu/xawtv" -DDATADIR="/usr/share/xawtv" -DVERSION="3.106" -Wp,-MD,mk/console_matrox.tmp -c -o console/matrox.o console/matrox.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/include/ncursesw -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/X11/fonts -I. -I./vbistuff -I./x11 -I./jwz -I./common -I./console -I./x11 -I./structs -I./libng -I/usr/include/lqt -DCONFIGFILE="/etc/X11/xawtvrc" -DLIBDIR="/usr/lib/x86_64-linux-gnu/xawtv" -DDATADIR="/usr/share/xawtv" -DVERSION="3.106" -Wp,-MD,mk/common_lirc.tmp -c -o common/lirc.o common/lirc.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/include/ncursesw -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/X11/fonts -I. -I./vbistuff -I./x11 -I./jwz -I./common -I./console -I./x11 -I./structs -I./libng -I/usr/include/lqt -DCONFIGFILE="/etc/X11/xawtvrc" -DLIBDIR="/usr/lib/x86_64-linux-gnu/xawtv" -DDATADIR="/usr/share/xawtv" -DVERSION="3.106" -Wp,-MD,mk/common_joystick.tmp -c -o common/joystick.o common/joystick.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/include/ncursesw -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/X11/fonts -I. -I./vbistuff -I./x11 -I./jwz -I./common -I./console -I./x11 -I./structs -I./libng -I/usr/include/lqt -DCONFIGFILE="/etc/X11/xawtvrc" -DLIBDIR="/usr/lib/x86_64-linux-gnu/xawtv" -DDATADIR="/usr/share/xawtv" -DVERSION="3.106" -Wp,-MD,mk/common_midictrl.tmp -c -o common/midictrl.o common/midictrl.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/include/ncursesw -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/X11/fonts -I. -I./vbistuff -I./x11 -I./jwz -I./common -I./console -I./x11 -I./structs -I./libng -I/usr/include/lqt -DCONFIGFILE="/etc/X11/xawtvrc" -DLIBDIR="/usr/lib/x86_64-linux-gnu/xawtv" -DDATADIR="/usr/share/xawtv" -DVERSION="3.106" -Wp,-MD,mk/console_v4l-info.tmp -c -o console/v4l-info.o console/v4l-info.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/include/ncursesw -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/X11/fonts -I. -I./vbistuff -I./x11 -I./jwz -I./common -I./console -I./x11 -I./structs -I./libng -I/usr/include/lqt -DCONFIGFILE="/etc/X11/xawtvrc" -DLIBDIR="/usr/lib/x86_64-linux-gnu/xawtv" -DDATADIR="/usr/share/xawtv" -DVERSION="3.106" -Wp,-MD,mk/structs_struct-dump.tmp -c -o structs/struct-dump.o structs/struct-dump.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/include/ncursesw -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/X11/fonts -I. -I./vbistuff -I./x11 -I./jwz -I./common -I./console -I./x11 -I./structs -I./libng -I/usr/include/lqt -DCONFIGFILE="/etc/X11/xawtvrc" -DLIBDIR="/usr/lib/x86_64-linux-gnu/xawtv" -DDATADIR="/usr/share/xawtv" -DVERSION="3.106" -Wp,-MD,mk/structs_struct-v4l2.tmp -c -o structs/struct-v4l2.o structs/struct-v4l2.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/include/ncursesw -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/X11/fonts -I. -I./vbistuff -I./x11 -I./jwz -I./common -I./console -I./x11 -I./structs -I./libng -I/usr/include/lqt -DCONFIGFILE="/etc/X11/xawtvrc" -DLIBDIR="/usr/lib/x86_64-linux-gnu/xawtv" -DDATADIR="/usr/share/xawtv" -DVERSION="3.106" -Wp,-MD,mk/console_v4l-conf.tmp -c -o console/v4l-conf.o console/v4l-conf.c
gcc -Wl,-z,relro -Wl,-z,now -o console/dump-mixers console/dump-mixers.o
gcc -Wl,-z,relro -Wl,-z,now -o console/record console/record.o -lncursesw
gcc -Wl,-z,relro -Wl,-z,now -o console/showriff console/showriff.o
gcc -Wl,-z,relro -Wl,-z,now -o console/showqt console/showqt.o
rm -f libng/libng.a
ar: creating libng/libng.a
gcc -Wl,-z,relro -Wl,-z,now -o console/radio console/radio.o common/alsa_stream.o common/get_media_devices.o -lncursesw -lasound -lpthread -lm
ar: creating libng/libng.a
gcc -Wl,-z,relro -Wl,-z,now -o console/v4l-info console/v4l-info.o structs/struct-dump.o structs/struct-v4l2.o
gcc -Wl,-z,relro -Wl,-z,now -ldl -Wl,-E -o console/streamer console/streamer.o common/channel-no-x11.o common/sound.o common/webcam.o common/frequencies.o common/commands.o common/parseconfig.o common/capture.o common/event.o libng/libng.a -lpthread -ljpeg -lm -ldl
/usr/bin/ld: common/commands.o:(.bss+0x434): multiple definition of `debug'; console/streamer.o:(.bss+0x4): first defined here
/usr/bin/ld: libng/libng.a(writefile.o):./libng/grab-ng.h:486: multiple definition of `ng_lut_blue'; libng/libng.a(grab-ng.o):./libng/grab-ng.h:486: first defined here
/usr/bin/ld: libng/libng.a(writefile.o):./libng/grab-ng.h:485: multiple definition of `ng_lut_green'; libng/libng.a(grab-ng.o):./libng/grab-ng.h:485: first defined here
/usr/bin/ld: libng/libng.a(writefile.o):./libng/grab-ng.h:484: multiple definition of `ng_lut_red'; libng/libng.a(grab-ng.o):./libng/grab-ng.h:484: first defined here
/usr/bin/ld: libng/libng.a(color_packed.o):./libng/grab-ng.h:486: multiple definition of `ng_lut_blue'; libng/libng.a(grab-ng.o):./libng/grab-ng.h:486: first defined here
/usr/bin/ld: libng/libng.a(color_packed.o):./libng/grab-ng.h:485: multiple definition of `ng_lut_green'; libng/libng.a(grab-ng.o):./libng/grab-ng.h:485: first defined here
/usr/bin/ld: libng/libng.a(color_packed.o):./libng/grab-ng.h:484: multiple definition of `ng_lut_red'; libng/libng.a(grab-ng.o):./libng/grab-ng.h:484: first defined here
/usr/bin/ld: libng/libng.a(color_yuv2rgb.o):./libng/grab-ng.h:484: multiple definition of `ng_lut_red'; libng/libng.a(grab-ng.o):./libng/grab-ng.h:484: first defined here
/usr/bin/ld: libng/libng.a(color_yuv2rgb.o):./libng/grab-ng.h:486: multiple definition of `ng_lut_blue'; libng/libng.a(grab-ng.o):./libng/grab-ng.h:486: first defined here
/usr/bin/ld: libng/libng.a(color_yuv2rgb.o):./libng/grab-ng.h:485: multiple definition of `ng_lut_green'; libng/libng.a(grab-ng.o):./libng/grab-ng.h:485: first defined here
/usr/bin/ld: libng/libng.a(color_common.o):./libng/grab-ng.h:486: multiple definition of `ng_lut_blue'; libng/libng.a(grab-ng.o):./libng/grab-ng.h:486: first defined here
/usr/bin/ld: libng/libng.a(color_common.o):./libng/grab-ng.h:485: multiple definition of `ng_lut_green'; libng/libng.a(grab-ng.o):./libng/grab-ng.h:485: first defined here
/usr/bin/ld: libng/libng.a(color_common.o):./libng/grab-ng.h:484: multiple definition of `ng_lut_red'; libng/libng.a(grab-ng.o):./libng/grab-ng.h:484: first defined here
gcc -Wl,-z,relro -Wl,-z,now -ldl -Wl,-E -o console/webcam console/webcam.o console/ftp.o common/parseconfig.o libng/libng.a -lpthread -ljpeg -lm -ldl
/usr/bin/ld: libng/libng.a(writefile.o):./libng/grab-ng.h:486: multiple definition of `ng_lut_blue'; libng/libng.a(grab-ng.o):./libng/grab-ng.h:486: first defined here
/usr/bin/ld: libng/libng.a(writefile.o):./libng/grab-ng.h:485: multiple definition of `ng_lut_green'; libng/libng.a(grab-ng.o):./libng/grab-ng.h:485: first defined here
/usr/bin/ld: libng/libng.a(writefile.o):./libng/grab-ng.h:484: multiple definition of `ng_lut_red'; libng/libng.a(grab-ng.o):./libng/grab-ng.h:484: first defined here
/usr/bin/ld: libng/libng.a(color_packed.o):./libng/grab-ng.h:486: multiple definition of `ng_lut_blue'; libng/libng.a(grab-ng.o):./libng/grab-ng.h:486: first defined here
/usr/bin/ld: libng/libng.a(color_packed.o):./libng/grab-ng.h:485: multiple definition of `ng_lut_green'; libng/libng.a(grab-ng.o):./libng/grab-ng.h:485: first defined here
/usr/bin/ld: libng/libng.a(color_packed.o):./libng/grab-ng.h:484: multiple definition of `ng_lut_red'; libng/libng.a(grab-ng.o):./libng/grab-ng.h:484: first defined here
/usr/bin/ld: libng/libng.a(color_yuv2rgb.o):./libng/grab-ng.h:484: multiple definition of `ng_lut_red'; libng/libng.a(grab-ng.o):./libng/grab-ng.h:484: first defined here
/usr/bin/ld: libng/libng.a(color_yuv2rgb.o):./libng/grab-ng.h:486: multiple definition of `ng_lut_blue'; libng/libng.a(grab-ng.o):./libng/grab-ng.h:486: first defined here
/usr/bin/ld: libng/libng.a(color_yuv2rgb.o):./libng/grab-ng.h:485: multiple definition of `ng_lut_green'; libng/libng.a(grab-ng.o):./libng/grab-ng.h:485: first defined here
/usr/bin/ld: libng/libng.a(color_common.o):./libng/grab-ng.h:486: multiple definition of `ng_lut_blue'; libng/libng.a(grab-ng.o):./libng/grab-ng.h:486: first defined here
/usr/bin/ld: libng/libng.a(color_common.o):./libng/grab-ng.h:485: multiple definition of `ng_lut_green'; libng/libng.a(grab-ng.o):./libng/grab-ng.h:485: first defined here
/usr/bin/ld: libng/libng.a(color_common.o):./libng/grab-ng.h:484: multiple definition of `ng_lut_red'; libng/libng.a(grab-ng.o):./libng/grab-ng.h:484: first defined here
gcc -Wl,-z,relro -Wl,-z,now -ldl -Wl,-E -o console/scantv console/scantv.o common/vbi-data.o common/channel-no-x11.o common/sound.o common/webcam.o common/frequencies.o common/commands.o common/parseconfig.o common/capture.o common/event.o libng/libng.a -lpthread -lzvbi -lpthread -lm -lpng -lz -ljpeg -ldl
collect2: error: ld returned 1 exit status
make[1]: *** [mk/Compile.mk:75: console/streamer] Error 1
make[1]: *** Waiting for unfinished jobs....
/usr/bin/ld: common/commands.o:(.bss+0x434): multiple definition of `debug'; console/scantv.o:(.bss+0xc): first defined here
/usr/bin/ld: libng/libng.a(writefile.o):./libng/grab-ng.h:486: multiple definition of `ng_lut_blue'; libng/libng.a(grab-ng.o):./libng/grab-ng.h:486: first defined here
/usr/bin/ld: libng/libng.a(writefile.o):./libng/grab-ng.h:485: multiple definition of `ng_lut_green'; libng/libng.a(grab-ng.o):./libng/grab-ng.h:485: first defined here
/usr/bin/ld: libng/libng.a(writefile.o):./libng/grab-ng.h:484: multiple definition of `ng_lut_red'; libng/libng.a(grab-ng.o):./libng/grab-ng.h:484: first defined here
/usr/bin/ld: libng/libng.a(color_packed.o):./libng/grab-ng.h:486: multiple definition of `ng_lut_blue'; libng/libng.a(grab-ng.o):./libng/grab-ng.h:486: first defined here
/usr/bin/ld: libng/libng.a(color_packed.o):./libng/grab-ng.h:485: multiple definition of `ng_lut_green'; libng/libng.a(grab-ng.o):./libng/grab-ng.h:485: first defined here
/usr/bin/ld: libng/libng.a(color_packed.o):./libng/grab-ng.h:484: multiple definition of `ng_lut_red'; libng/libng.a(grab-ng.o):./libng/grab-ng.h:484: first defined here
/usr/bin/ld: libng/libng.a(color_yuv2rgb.o):./libng/grab-ng.h:484: multiple definition of `ng_lut_red'; libng/libng.a(grab-ng.o):./libng/grab-ng.h:484: first defined here
/usr/bin/ld: libng/libng.a(color_yuv2rgb.o):./libng/grab-ng.h:486: multiple definition of `ng_lut_blue'; libng/libng.a(grab-ng.o):./libng/grab-ng.h:486: first defined here
/usr/bin/ld: libng/libng.a(color_yuv2rgb.o):./libng/grab-ng.h:485: multiple definition of `ng_lut_green'; libng/libng.a(grab-ng.o):./libng/grab-ng.h:485: first defined here
/usr/bin/ld: libng/libng.a(color_common.o):./libng/grab-ng.h:486: multiple definition of `ng_lut_blue'; libng/libng.a(grab-ng.o):./libng/grab-ng.h:486: first defined here
/usr/bin/ld: libng/libng.a(color_common.o):./libng/grab-ng.h:485: multiple definition of `ng_lut_green'; libng/libng.a(grab-ng.o):./libng/grab-ng.h:485: first defined here
/usr/bin/ld: libng/libng.a(color_common.o):./libng/grab-ng.h:484: multiple definition of `ng_lut_red'; libng/libng.a(grab-ng.o):./libng/grab-ng.h:484: first defined here
collect2: error: ld returned 1 exit status
make[1]: *** [mk/Compile.mk:75: console/webcam] Error 1
collect2: error: ld returned 1 exit status
make[1]: *** [mk/Compile.mk:75: console/scantv] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j4 returned exit code 2
make: *** [debian/rules:7: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2


Reply to: