Bug#957898: unicap: ftbfs with GCC-10

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


Package: src:unicap
Version: 0.9.12+repack20150328.0.git2c600ae-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/unicap_0.9.12+repack20150328.0.git2c600ae-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

[...]
Warning: multiple "IDs" for constraint linkend: UNICAP-FLAGS-AUTO:CAPS.
Warning: multiple "IDs" for constraint linkend: UNICAP-FLAGS-ONE-PUSH:CAPS.
Warning: multiple "IDs" for constraint linkend: UNICAP-FLAGS-READ-OUT:CAPS.
Warning: multiple "IDs" for constraint linkend: UNICAP-FLAGS-ON-OFF:CAPS.
Warning: multiple "IDs" for constraint linkend: UNICAP-FLAGS-READ-ONLY:CAPS.
Warning: multiple "IDs" for constraint linkend: UNICAP-FLAGS-FORMAT-CHANGE:CAPS.
gtkdoc-fixxref --module=libunicap --module-dir=html --html-dir=/usr/share/gtk-doc/html 
html/libunicap-unicap.html:708: warning: no link for: "unicap-emumerate-formats" -> (<code class="function">unicap_emumerate_formats()</code>).
touch html-build.stamp
make[4]: Leaving directory '/<<PKGBUILDDIR>>/doc/libunicap'
make[4]: Entering directory '/<<PKGBUILDDIR>>/doc'
make[4]: Nothing to be done for 'all-am'.
make[4]: Leaving directory '/<<PKGBUILDDIR>>/doc'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/doc'
Making all in po
make[3]: Entering directory '/<<PKGBUILDDIR>>/po'
file=`echo de | sed 's,.*/,,'`.gmo \
  && rm -f $file && /usr/bin/msgfmt -o $file de.po
file=`echo fr | sed 's,.*/,,'`.gmo \
  && rm -f $file && /usr/bin/msgfmt -o $file fr.po
file=`echo ru | sed 's,.*/,,'`.gmo \
  && rm -f $file && /usr/bin/msgfmt -o $file ru.po
de.po: warning: Charset "" is not a portable encoding name.
                Message conversion to user's charset might not work.
make[3]: Leaving directory '/<<PKGBUILDDIR>>/po'
Making all in cpi
make[3]: Entering directory '/<<PKGBUILDDIR>>/cpi'
Making all in vid21394
make[4]: Entering directory '/<<PKGBUILDDIR>>/cpi/vid21394'
/bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../include -I../../include  -I. -I../../common  -Wdate-time -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o libvid21394_la-1394util.lo `test -f '1394util.c' || echo './'`1394util.c
/bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../include -I../../include  -I. -I../../common  -Wdate-time -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o libvid21394_la-vid21394_base.lo `test -f 'vid21394_base.c' || echo './'`vid21394_base.c
/bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../include -I../../include  -I. -I../../common  -Wdate-time -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o libvid21394_la-vid21394_cpi.lo `test -f 'vid21394_cpi.c' || echo './'`vid21394_cpi.c
/bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../include -I../../include  -I. -I../../common  -Wdate-time -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o libvid21394_la-visca.lo `test -f 'visca.c' || echo './'`visca.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I../include -I../../include -I. -I../../common -Wdate-time -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c vid21394_cpi.c  -fPIC -DPIC -o .libs/libvid21394_la-vid21394_cpi.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I../include -I../../include -I. -I../../common -Wdate-time -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c 1394util.c  -fPIC -DPIC -o .libs/libvid21394_la-1394util.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I../include -I../../include -I. -I../../common -Wdate-time -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c vid21394_base.c  -fPIC -DPIC -o .libs/libvid21394_la-vid21394_base.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I../include -I../../include -I. -I../../common -Wdate-time -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c visca.c  -fPIC -DPIC -o .libs/libvid21394_la-visca.o
vid21394_cpi.c: In function ‘cpi_capture_stop’:
vid21394_cpi.c:1198:20: warning: variable ‘status’ set but not used [-Wunused-but-set-variable]
 1198 |    unicap_status_t status;
      |                    ^~~~~~
vid21394_base.c: In function ‘vid21394_start_transmit’:
vid21394_base.c:958:17: warning: variable ‘bandwidth’ set but not used [-Wunused-but-set-variable]
  958 |    int channel, bandwidth;
      |                 ^~~~~~~~~
vid21394_base.c: In function ‘vid21394_poll_buffer’:
vid21394_base.c:1633:8: warning: unused variable ‘buffers’ [-Wunused-variable]
 1633 |    int buffers = 0;
      |        ^~~~~~~
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I../include -I../../include -I. -I../../common -Wdate-time -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c 1394util.c -o libvid21394_la-1394util.o >/dev/null 2>&1
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I../include -I../../include -I. -I../../common -Wdate-time -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c visca.c -o libvid21394_la-visca.o >/dev/null 2>&1
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I../include -I../../include -I. -I../../common -Wdate-time -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c vid21394_cpi.c -o libvid21394_la-vid21394_cpi.o >/dev/null 2>&1
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I../include -I../../include -I. -I../../common -Wdate-time -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c vid21394_base.c -o libvid21394_la-vid21394_base.o >/dev/null 2>&1
/bin/bash ../../libtool  --tag=CC   --mode=link gcc -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -module -avoid-version -Wl,-z,relro -Wl,-z,now -pthread -Wl,-z,defs -Wl,--as-needed -Wl,--no-undefined -Wl,--version-script=/<<PKGBUILDDIR>>/debian/libunicap.ver  -o libvid21394.la -rpath /usr/lib/x86_64-linux-gnu/unicap2/cpi libvid21394_la-1394util.lo libvid21394_la-vid21394_base.lo libvid21394_la-vid21394_cpi.lo libvid21394_la-visca.lo -lraw1394 -lpthread  -L../../src/.libs/ -lunicap -L../../common -lucutils 
libtool: link: gcc -shared  -fPIC -DPIC  .libs/libvid21394_la-1394util.o .libs/libvid21394_la-vid21394_base.o .libs/libvid21394_la-vid21394_cpi.o .libs/libvid21394_la-visca.o  -Wl,--whole-archive /<<PKGBUILDDIR>>/common/.libs/libucutils.a -Wl,--no-whole-archive  -Wl,-rpath -Wl,/<<PKGBUILDDIR>>/src/.libs /usr/lib/x86_64-linux-gnu/libraw1394.so -lpthread -L../../src/.libs/ /<<PKGBUILDDIR>>/src/.libs/libunicap.so -L../../common  -g -O2 -fstack-protector-strong -Wl,-z -Wl,relro -Wl,-z -Wl,now -pthread -Wl,-z -Wl,defs -Wl,--as-needed -Wl,--no-undefined -Wl,--version-script=/<<PKGBUILDDIR>>/debian/libunicap.ver   -pthread -Wl,-soname -Wl,libvid21394.so -o .libs/libvid21394.so
/usr/bin/ld: .libs/libvid21394_la-vid21394_cpi.o:./cpi/vid21394/../../common/queue.h:34: multiple definition of `unicap_queue'; .libs/libvid21394_la-vid21394_base.o:./cpi/vid21394/../../common/queue.h:34: first defined here
/usr/bin/ld: .libs/libvid21394_la-visca.o:./cpi/vid21394/../../common/queue.h:34: multiple definition of `unicap_queue'; .libs/libvid21394_la-vid21394_base.o:./cpi/vid21394/../../common/queue.h:34: first defined here
/usr/bin/ld: /<<PKGBUILDDIR>>/common/.libs/libucutils.a(queue.o):./common/queue.h:34: multiple definition of `unicap_queue'; .libs/libvid21394_la-vid21394_base.o:./cpi/vid21394/../../common/queue.h:34: first defined here
collect2: error: ld returned 1 exit status
make[4]: *** [Makefile:490: libvid21394.la] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/cpi/vid21394'
make[3]: *** [Makefile:418: all-recursive] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/cpi'
make[2]: *** [Makefile:518: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:427: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j4 returned exit code 2
make: *** [debian/rules:25: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2



More information about the pkg-multimedia-maintainers mailing list