[Pkg-netatalk-devel] Bug#957590: netatalk: ftbfs with GCC-10

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


Package: src:netatalk
Version: 3.1.12~ds-4
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/netatalk_3.1.12~ds-4_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 -DHAVE_CONFIG_H -I. -I../..   -I../../include -I../../include -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -DAPPLCNAME -DSERVERTEXT=\"/var/lib/netatalk/msg/\" -D_PATH_AFPDPWFILE=\"/etc/netatalk/afppasswd\" -D_PATH_AFPDUAMPATH=\"/usr/lib/netatalk//\" -D_PATH_CONFDIR=\"/etc/netatalk/\" -D_PATH_STATEDIR='"/var/lib/netatalk/"' -pthread -I/usr/include/tracker-2.0 -I/usr/include/tracker-2.0/libtracker-sparql -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  -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -DDBUS_COMPILATION -D_U_="__attribute__((unused))" -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o afpd-afpstats.o `test -f 'afpstats.c' || echo './'`afpstats.c
afpstats.c: In function ‘afpstats_init’:
afpstats.c:114:5: warning: ‘g_type_init’ is deprecated [-Wdeprecated-declarations]
  114 |     g_type_init();
      |     ^~~~~~~~~~~
In file included from /usr/include/glib-2.0/gobject/gobject.h:24,
                 from /usr/include/glib-2.0/gobject/gbinding.h:29,
                 from /usr/include/glib-2.0/glib-object.h:23,
                 from /usr/include/dbus-1.0/dbus/dbus-glib.h:27,
                 from afpstats.c:26:
/usr/include/glib-2.0/gobject/gtype.h:691:23: note: declared here
  691 | void                  g_type_init                    (void);
      |                       ^~~~~~~~~~~
afpstats.c:115:5: warning: ‘g_thread_init’ is deprecated [-Wdeprecated-declarations]
  115 |     g_thread_init(NULL);
      |     ^~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:110,
                 from afpstats.c:25:
/usr/include/glib-2.0/glib/deprecated/gthread.h:261:10: note: declared here
  261 | void     g_thread_init                   (gpointer vtable);
      |          ^~~~~~~~~~~~~
afpstats.c:119:5: warning: ‘g_thread_create’ is deprecated: Use 'g_thread_new' instead [-Wdeprecated-declarations]
  119 |     thread = g_thread_create(afpstats_thread, NULL, TRUE, NULL);
      |     ^~~~~~
In file included from /usr/include/glib-2.0/glib.h:110,
                 from afpstats.c:25:
/usr/include/glib-2.0/glib/deprecated/gthread.h:100:10: note: declared here
  100 | GThread *g_thread_create       (GThreadFunc       func,
      |          ^~~~~~~~~~~~~~~
gcc -DHAVE_CONFIG_H -I. -I../..   -I../../include -I../../include -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -DAPPLCNAME -DSERVERTEXT=\"/var/lib/netatalk/msg/\" -D_PATH_AFPDPWFILE=\"/etc/netatalk/afppasswd\" -D_PATH_AFPDUAMPATH=\"/usr/lib/netatalk//\" -D_PATH_CONFDIR=\"/etc/netatalk/\" -D_PATH_STATEDIR='"/var/lib/netatalk/"' -pthread -I/usr/include/tracker-2.0 -I/usr/include/tracker-2.0/libtracker-sparql -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  -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -DDBUS_COMPILATION -D_U_="__attribute__((unused))" -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o afpd-afpstats_obj.o `test -f 'afpstats_obj.c' || echo './'`afpstats_obj.c
if test -f afp_dtrace.o ; then rm -f afp_dtrace.o ; fi
/bin/bash ../../libtool --mode=execute dtrace -G -s ../../include/atalk/afp_dtrace.d -o afp_dtrace.o afpd-afp_dsi.o afpd-fork.o afpd-appl.o afpd-catsearch.o afpd-directory.o afpd-enumerate.o afpd-file.o afpd-filedir.o
/bin/bash ../../libtool  --tag=CC   --mode=link gcc -pthread -DAPPLCNAME -DSERVERTEXT=\"/var/lib/netatalk/msg/\" -D_PATH_AFPDPWFILE=\"/etc/netatalk/afppasswd\" -D_PATH_AFPDUAMPATH=\"/usr/lib/netatalk//\" -D_PATH_CONFDIR=\"/etc/netatalk/\" -D_PATH_STATEDIR='"/var/lib/netatalk/"' -pthread -I/usr/include/tracker-2.0 -I/usr/include/tracker-2.0/libtracker-sparql -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  -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -DDBUS_COMPILATION -D_U_="__attribute__((unused))" -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -export-dynamic -ldbus-1 -ldbus-glib-1 -ldbus-1 -lgobject-2.0 -lglib-2.0 -lgthread-2.0 -pthread -lglib-2.0 -ldbus-glib-1 -Wl,-z,relro -Wl,-z,now -o afpd afpd-afp_config.o afpd-afp_dsi.o afpd-afp_options.o afpd-afp_util.o afpd-afprun.o afpd-afs.o afpd-appl.o afpd-auth.o afpd-catsearch.o afpd-desktop.o afpd-dircache.o afpd-directory.o afpd-enumerate.o afpd-extattrs.o afpd-fce_api.o afpd-fce_util.o afpd-file.o afpd-filedir.o afpd-fork.o afpd-hash.o afpd-main.o afpd-mangle.o afpd-messages.o afpd-nfsquota.o afpd-ofork.o afpd-quota.o afpd-spotlight_marshalling.o afpd-status.o afpd-switch.o afpd-uam.o afpd-uid.o afpd-unix.o afpd-volume.o afpd-spotlight.o afpd-acls.o afpd-afpstats.o afpd-afpstats_obj.o ../../libatalk/libatalk.la -L/usr/lib/x86_64-linux-gnu -lgcrypt -lrpcsvc -lwrap -ldl   -lacl -lattr ../../etc/spotlight/libspotlight.la -ltalloc afp_dtrace.o  
libtool: link: gcc -pthread -DAPPLCNAME -DSERVERTEXT=\"/var/lib/netatalk/msg/\" -D_PATH_AFPDPWFILE=\"/etc/netatalk/afppasswd\" -D_PATH_AFPDUAMPATH=\"/usr/lib/netatalk//\" -D_PATH_CONFDIR=\"/etc/netatalk/\" -D_PATH_STATEDIR=\"/var/lib/netatalk/\" -pthread -I/usr/include/tracker-2.0 -I/usr/include/tracker-2.0/libtracker-sparql -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 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -DDBUS_COMPILATION "-D_U_=__attribute__((unused))" -g -O2 "-fdebug-prefix-map=/<<PKGBUILDDIR>>=." -fstack-protector-strong -Wformat -Werror=format-security -pthread -Wl,-z -Wl,relro -Wl,-z -Wl,now -o .libs/afpd afpd-afp_config.o afpd-afp_dsi.o afpd-afp_options.o afpd-afp_util.o afpd-afprun.o afpd-afs.o afpd-appl.o afpd-auth.o afpd-catsearch.o afpd-desktop.o afpd-dircache.o afpd-directory.o afpd-enumerate.o afpd-extattrs.o afpd-fce_api.o afpd-fce_util.o afpd-file.o afpd-filedir.o afpd-fork.o afpd-hash.o afpd-main.o afpd-mangle.o afpd-messages.o afpd-nfsquota.o afpd-ofork.o afpd-quota.o afpd-spotlight_marshalling.o afpd-status.o afpd-switch.o afpd-uam.o afpd-uid.o afpd-unix.o afpd-volume.o afpd-spotlight.o afpd-acls.o afpd-afpstats.o afpd-afpstats_obj.o afp_dtrace.o -Wl,--export-dynamic  -ldbus-1 -lgthread-2.0 -ldbus-glib-1 ../../libatalk/.libs/libatalk.so -L/usr/lib/x86_64-linux-gnu -lgcrypt -lrpcsvc -lwrap -ldl -lacl -lattr ../../etc/spotlight/.libs/libspotlight.a -ltracker-sparql-2.0 -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -ltalloc -pthread
/usr/bin/ld: afpd-appl.o:./etc/afpd/directory.h:94: multiple definition of `invalid_dircache_entries'; afpd-afp_dsi.o:./etc/afpd/directory.h:94: first defined here
/usr/bin/ld: afpd-auth.o:./etc/afpd/directory.h:94: multiple definition of `invalid_dircache_entries'; afpd-afp_dsi.o:./etc/afpd/directory.h:94: first defined here
/usr/bin/ld: afpd-catsearch.o:./etc/afpd/directory.h:94: multiple definition of `invalid_dircache_entries'; afpd-afp_dsi.o:./etc/afpd/directory.h:94: first defined here
/usr/bin/ld: afpd-desktop.o:./etc/afpd/directory.h:94: multiple definition of `invalid_dircache_entries'; afpd-afp_dsi.o:./etc/afpd/directory.h:94: first defined here
/usr/bin/ld: afpd-dircache.o:./etc/afpd/directory.h:94: multiple definition of `invalid_dircache_entries'; afpd-afp_dsi.o:./etc/afpd/directory.h:94: first defined here
/usr/bin/ld: afpd-directory.o:./etc/afpd/directory.h:94: multiple definition of `invalid_dircache_entries'; afpd-afp_dsi.o:./etc/afpd/directory.h:94: first defined here
/usr/bin/ld: afpd-enumerate.o:./etc/afpd/directory.h:94: multiple definition of `invalid_dircache_entries'; afpd-afp_dsi.o:./etc/afpd/directory.h:94: first defined here
/usr/bin/ld: afpd-extattrs.o:./etc/afpd/directory.h:94: multiple definition of `invalid_dircache_entries'; afpd-afp_dsi.o:./etc/afpd/directory.h:94: first defined here
/usr/bin/ld: afpd-fce_api.o:./etc/afpd/directory.h:94: multiple definition of `invalid_dircache_entries'; afpd-afp_dsi.o:./etc/afpd/directory.h:94: first defined here
/usr/bin/ld: afpd-fce_util.o:./etc/afpd/directory.h:94: multiple definition of `invalid_dircache_entries'; afpd-afp_dsi.o:./etc/afpd/directory.h:94: first defined here
/usr/bin/ld: afpd-file.o:./etc/afpd/directory.h:94: multiple definition of `invalid_dircache_entries'; afpd-afp_dsi.o:./etc/afpd/directory.h:94: first defined here
/usr/bin/ld: afpd-filedir.o:./etc/afpd/directory.h:94: multiple definition of `invalid_dircache_entries'; afpd-afp_dsi.o:./etc/afpd/directory.h:94: first defined here
/usr/bin/ld: afpd-fork.o:./etc/afpd/directory.h:94: multiple definition of `invalid_dircache_entries'; afpd-afp_dsi.o:./etc/afpd/directory.h:94: first defined here
/usr/bin/ld: afpd-main.o:./etc/afpd/directory.h:94: multiple definition of `invalid_dircache_entries'; afpd-afp_dsi.o:./etc/afpd/directory.h:94: first defined here
/usr/bin/ld: afpd-mangle.o:./etc/afpd/directory.h:94: multiple definition of `invalid_dircache_entries'; afpd-afp_dsi.o:./etc/afpd/directory.h:94: first defined here
/usr/bin/ld: afpd-nfsquota.o:./etc/afpd/directory.h:94: multiple definition of `invalid_dircache_entries'; afpd-afp_dsi.o:./etc/afpd/directory.h:94: first defined here
/usr/bin/ld: afpd-ofork.o:./etc/afpd/directory.h:94: multiple definition of `invalid_dircache_entries'; afpd-afp_dsi.o:./etc/afpd/directory.h:94: first defined here
/usr/bin/ld: afpd-quota.o:./etc/afpd/directory.h:94: multiple definition of `invalid_dircache_entries'; afpd-afp_dsi.o:./etc/afpd/directory.h:94: first defined here
/usr/bin/ld: afpd-switch.o:./etc/afpd/directory.h:94: multiple definition of `invalid_dircache_entries'; afpd-afp_dsi.o:./etc/afpd/directory.h:94: first defined here
/usr/bin/ld: afpd-unix.o:./etc/afpd/directory.h:94: multiple definition of `invalid_dircache_entries'; afpd-afp_dsi.o:./etc/afpd/directory.h:94: first defined here
/usr/bin/ld: afpd-volume.o:./etc/afpd/directory.h:94: multiple definition of `invalid_dircache_entries'; afpd-afp_dsi.o:./etc/afpd/directory.h:94: first defined here
/usr/bin/ld: afpd-spotlight.o:./etc/afpd/directory.h:94: multiple definition of `invalid_dircache_entries'; afpd-afp_dsi.o:./etc/afpd/directory.h:94: first defined here
/usr/bin/ld: afpd-acls.o:./etc/afpd/directory.h:94: multiple definition of `invalid_dircache_entries'; afpd-afp_dsi.o:./etc/afpd/directory.h:94: first defined here
collect2: error: ld returned 1 exit status
make[5]: *** [Makefile:602: afpd] Error 1
make[5]: Leaving directory '/<<PKGBUILDDIR>>/etc/afpd'
make[4]: *** [Makefile:517: all] Error 2
make[4]: Leaving directory '/<<PKGBUILDDIR>>/etc/afpd'
make[3]: *** [Makefile:476: all-recursive] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/etc'
make[2]: *** [Makefile:527: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:459: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [/usr/share/cdbs/1/class/makefile.mk:77: debian/stamp-makefile-build] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the pkg-netatalk-devel mailing list