[Fingerforce-devel] Bug#957225: fprintd: ftbfs with GCC-10

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


Package: src:fprintd
Version: 0.9.0-1
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/fprintd_0.9.0-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

[...]
device.c: In function ‘fprint_device_release’:
device.c:722:13: warning: G_ADD_PRIVATE
  722 |  FprintDevicePrivate *priv = DEVICE_GET_PRIVATE(rdev);
      |             ^~~~~~~~~~~~~~~
device.c: In function ‘verify_restart_cb’:
device.c:762:13: warning: G_ADD_PRIVATE
  762 |  FprintDevicePrivate *priv = DEVICE_GET_PRIVATE(rdev);
      |             ^~~~~~~~~~~~~~~
device.c: In function ‘verify_cb’:
device.c:778:13: warning: G_ADD_PRIVATE
  778 |  FprintDevicePrivate *priv = DEVICE_GET_PRIVATE(rdev);
      |             ^~~~~~~~~~~~~~~
device.c: In function ‘identify_restart_cb’:
device.c:821:13: warning: G_ADD_PRIVATE
  821 |  FprintDevicePrivate *priv = DEVICE_GET_PRIVATE(rdev);
      |             ^~~~~~~~~~~~~~~
device.c: In function ‘identify_cb’:
device.c:838:13: warning: G_ADD_PRIVATE
  838 |  FprintDevicePrivate *priv = DEVICE_GET_PRIVATE(rdev);
      |             ^~~~~~~~~~~~~~~
device.c: In function ‘fprint_device_verify_start’:
device.c:876:13: warning: G_ADD_PRIVATE
  876 |  FprintDevicePrivate *priv = DEVICE_GET_PRIVATE(rdev);
      |             ^~~~~~~~~~~~~~~
device.c: In function ‘fprint_device_verify_stop’:
device.c:1018:13: warning: G_ADD_PRIVATE
 1018 |  FprintDevicePrivate *priv = DEVICE_GET_PRIVATE(rdev);
      |             ^~~~~~~~~~~~~~~
device.c: In function ‘enroll_stage_cb’:
device.c:1086:13: warning: G_ADD_PRIVATE
 1086 |  FprintDevicePrivate *priv = DEVICE_GET_PRIVATE(rdev);
      |             ^~~~~~~~~~~~~~~
device.c: In function ‘fprint_device_enroll_start’:
device.c:1115:13: warning: G_ADD_PRIVATE
 1115 |  FprintDevicePrivate *priv = DEVICE_GET_PRIVATE(rdev);
      |             ^~~~~~~~~~~~~~~
device.c: In function ‘fprint_device_enroll_stop’:
device.c:1180:13: warning: G_ADD_PRIVATE
 1180 |  FprintDevicePrivate *priv = DEVICE_GET_PRIVATE(rdev);
      |             ^~~~~~~~~~~~~~~
device.c: In function ‘fprint_device_list_enrolled_fingers’:
device.c:1224:13: warning: G_ADD_PRIVATE
 1224 |  FprintDevicePrivate *priv = DEVICE_GET_PRIVATE(rdev);
      |             ^~~~~~~~~~~~~~~
device.c: In function ‘fprint_device_delete_enrolled_fingers’:
device.c:1279:13: warning: G_ADD_PRIVATE
 1279 |  FprintDevicePrivate *priv = DEVICE_GET_PRIVATE(rdev);
      |             ^~~~~~~~~~~~~~~
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wmissing-prototypes -I/usr/include/libfprint -pthread -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/polkit-1 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -DG_LOG_DOMAIN=\"fprintd\" -DLOCALEDIR=\"/usr/share/locale\" -DPLUGINDIR=\"/usr/lib/x86_64-linux-gnu/fprintd/modules\" -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c manager.c -o manager.o >/dev/null 2>&1
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wmissing-prototypes -I/usr/include/libfprint -pthread -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/polkit-1 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -DG_LOG_DOMAIN=\"fprintd\" -DLOCALEDIR=\"/usr/share/locale\" -DPLUGINDIR=\"/usr/lib/x86_64-linux-gnu/fprintd/modules\" -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c fprintd-marshal.c -o fprintd-marshal.o >/dev/null 2>&1
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wmissing-prototypes -I/usr/include/libfprint -pthread -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/polkit-1 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -DG_LOG_DOMAIN=\"fprintd\" -DLOCALEDIR=\"/usr/share/locale\" -DPLUGINDIR=\"/usr/lib/x86_64-linux-gnu/fprintd/modules\" -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c device.c -o device.o >/dev/null 2>&1
/bin/bash ../libtool  --tag=CC   --mode=link gcc -Wall -Wmissing-prototypes  -I/usr/include/libfprint -pthread -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/polkit-1 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -DG_LOG_DOMAIN=\""fprintd"\" -DLOCALEDIR=\""/usr/share/locale"\" -DPLUGINDIR=\""/usr/lib/x86_64-linux-gnu/fprintd/modules"\" -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -no-undefined -Wl,-z,relro -o libfprintd.la  manager.lo device.lo fprintd-marshal.lo -lfprint -ldbus-glib-1 -ldbus-1 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lpolkit-gobject-1 -lgio-2.0 -lgobject-2.0 -lglib-2.0 
libtool: link: ar cr .libs/libfprintd.a .libs/manager.o .libs/device.o .libs/fprintd-marshal.o 
libtool: link: ranlib .libs/libfprintd.a
libtool: link: ( cd ".libs" && rm -f "libfprintd.la" && ln -s "../libfprintd.la" "libfprintd.la" )
/bin/bash ../libtool  --tag=CC   --mode=link gcc -Wall -Wmissing-prototypes  -I/usr/include/libfprint -pthread -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/polkit-1 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -DG_LOG_DOMAIN=\""fprintd"\" -DLOCALEDIR=\""/usr/share/locale"\" -DPLUGINDIR=\""/usr/lib/x86_64-linux-gnu/fprintd/modules"\" -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security  -Wl,-z,relro -o fprintd main.o loop.o file_storage.o libfprintd.la 
libtool: link: gcc -Wall -Wmissing-prototypes -I/usr/include/libfprint -pthread -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/polkit-1 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -DG_LOG_DOMAIN=\"fprintd\" -DLOCALEDIR=\"/usr/share/locale\" -DPLUGINDIR=\"/usr/lib/x86_64-linux-gnu/fprintd/modules\" -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z -Wl,relro -o fprintd main.o loop.o file_storage.o  ./.libs/libfprintd.a -lfprint -ldbus-glib-1 -ldbus-1 -lgmodule-2.0 -lpolkit-gobject-1 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -pthread
/usr/bin/ld: ./.libs/libfprintd.a(device.o):./src/storage.h:47: multiple definition of `store'; main.o:./src/storage.h:47: first defined here
collect2: error: ld returned 1 exit status
make[4]: *** [Makefile:524: fprintd] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[3]: *** [Makefile:680: check] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[2]: *** [Makefile:450: check-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j4 returned exit code 2
make[1]: *** [debian/rules:20: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:6: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2



More information about the Fingerforce-devel mailing list