[Pkg-xmpp-devel] Bug#957384: jabber-muc: ftbfs with GCC-10

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


Package: src:jabber-muc
Version: 0.8-7
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/jabber-muc_0.8-7_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

[...]
      |   ^~~
In file included from /usr/include/glib-2.0/glib.h:110,
                 from ../../include/jcomp.h:35,
                 from jcr_main_stream_error.c:23:
/usr/include/glib-2.0/glib/deprecated/gthread.h:100:10: note: declared here
  100 | GThread *g_thread_create       (GThreadFunc       func,
      |          ^~~~~~~~~~~~~~~
jcr_base_connect.c: In function ‘jcr_send_start_stream’:
jcr_base_connect.c:87:48: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘gsize’ {aka ‘long unsigned int’} [-Wformat=]
   87 |     log_debug(JDBG, "Opening XML stream: sent %d bytes", bytes);
      |                                               ~^         ~~~~~
      |                                                |         |
      |                                                int       gsize {aka long unsigned int}
      |                                               %ld
a - jcr_xdb.o
a - jcr_log.o
a - jcr_deliver.o
a - jcr_elements.o
a - jcr_main_stream_error.o
a - jcr_shutdown.o
a - jcr_compatibility.o
a - jcr_base_connect.o
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/jcomp'
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -I../../lib -I../include `pkg-config --cflags glib-2.0` -D_JCOMP -D_REENTRANT -DLIBIDN  -o mu-conference libjcomp.a conference.o conference_room.o conference_user.o utils.o xdata.o admin.o roles.o xdb.o hash.o iq.o main.o mysql.o  -Wl,-z,relro -Wl,-z,now -L.  -ljcomp -lm `pkg-config --libs glib-2.0` `pkg-config --libs gthread-2.0` -lexpat -lidn
/usr/bin/ld: conference_room.o:./src/../include/jcomp-compat.h:69: multiple definition of `deliver__flag'; conference.o:./src/../include/jcomp-compat.h:69: first defined here
/usr/bin/ld: conference_room.o:./src/../include/jcomp.h:101: multiple definition of `jcr'; conference.o:./src/../include/jcomp.h:101: first defined here
/usr/bin/ld: conference_user.o:./src/../include/jcomp-compat.h:69: multiple definition of `deliver__flag'; conference.o:./src/../include/jcomp-compat.h:69: first defined here
/usr/bin/ld: conference_user.o:./src/../include/jcomp.h:101: multiple definition of `jcr'; conference.o:./src/../include/jcomp.h:101: first defined here
/usr/bin/ld: utils.o:./src/../include/jcomp.h:101: multiple definition of `jcr'; conference.o:./src/../include/jcomp.h:101: first defined here
/usr/bin/ld: utils.o:./src/../include/jcomp-compat.h:69: multiple definition of `deliver__flag'; conference.o:./src/../include/jcomp-compat.h:69: first defined here
/usr/bin/ld: xdata.o:./src/../include/jcomp.h:101: multiple definition of `jcr'; conference.o:./src/../include/jcomp.h:101: first defined here
/usr/bin/ld: xdata.o:./src/../include/jcomp-compat.h:69: multiple definition of `deliver__flag'; conference.o:./src/../include/jcomp-compat.h:69: first defined here
/usr/bin/ld: admin.o:./src/../include/jcomp.h:101: multiple definition of `jcr'; conference.o:./src/../include/jcomp.h:101: first defined here
/usr/bin/ld: admin.o:./src/../include/jcomp-compat.h:69: multiple definition of `deliver__flag'; conference.o:./src/../include/jcomp-compat.h:69: first defined here
/usr/bin/ld: roles.o:./src/../include/jcomp.h:101: multiple definition of `jcr'; conference.o:./src/../include/jcomp.h:101: first defined here
/usr/bin/ld: roles.o:./src/../include/jcomp-compat.h:69: multiple definition of `deliver__flag'; conference.o:./src/../include/jcomp-compat.h:69: first defined here
/usr/bin/ld: xdb.o:./src/../include/jcomp.h:101: multiple definition of `jcr'; conference.o:./src/../include/jcomp.h:101: first defined here
/usr/bin/ld: xdb.o:./src/../include/jcomp-compat.h:69: multiple definition of `deliver__flag'; conference.o:./src/../include/jcomp-compat.h:69: first defined here
/usr/bin/ld: hash.o:./src/../include/jcomp.h:101: multiple definition of `jcr'; conference.o:./src/../include/jcomp.h:101: first defined here
/usr/bin/ld: hash.o:./src/../include/jcomp-compat.h:69: multiple definition of `deliver__flag'; conference.o:./src/../include/jcomp-compat.h:69: first defined here
/usr/bin/ld: iq.o:./src/../include/jcomp.h:101: multiple definition of `jcr'; conference.o:./src/../include/jcomp.h:101: first defined here
/usr/bin/ld: iq.o:./src/../include/jcomp-compat.h:69: multiple definition of `deliver__flag'; conference.o:./src/../include/jcomp-compat.h:69: first defined here
/usr/bin/ld: main.o:./src/../include/jcomp.h:101: multiple definition of `jcr'; conference.o:./src/../include/jcomp.h:101: first defined here
/usr/bin/ld: main.o:./src/../include/jcomp-compat.h:69: multiple definition of `deliver__flag'; conference.o:./src/../include/jcomp-compat.h:69: first defined here
/usr/bin/ld: mysql.o:./src/../include/jcomp.h:101: multiple definition of `jcr'; conference.o:./src/../include/jcomp.h:101: first defined here
/usr/bin/ld: mysql.o:./src/../include/jcomp-compat.h:69: multiple definition of `deliver__flag'; conference.o:./src/../include/jcomp-compat.h:69: first defined here
/usr/bin/ld: ./libjcomp.a(jcr_xdb.o):./src/jcomp/../../include/jcomp.h:101: multiple definition of `jcr'; conference.o:./src/../include/jcomp.h:101: first defined here
/usr/bin/ld: ./libjcomp.a(jcr_xdb.o):./src/jcomp/../../include/jcomp-compat.h:69: multiple definition of `deliver__flag'; conference.o:./src/../include/jcomp-compat.h:69: first defined here
/usr/bin/ld: ./libjcomp.a(jcr_log.o):./src/jcomp/../../include/jcomp.h:101: multiple definition of `jcr'; conference.o:./src/../include/jcomp.h:101: first defined here
/usr/bin/ld: ./libjcomp.a(jcr_log.o):./src/jcomp/../../include/jcomp-compat.h:69: multiple definition of `deliver__flag'; conference.o:./src/../include/jcomp-compat.h:69: first defined here
/usr/bin/ld: ./libjcomp.a(jcr_deliver.o):./src/jcomp/../../include/jcomp.h:101: multiple definition of `jcr'; conference.o:./src/../include/jcomp.h:101: first defined here
/usr/bin/ld: ./libjcomp.a(jcr_deliver.o):./src/jcomp/../../include/jcomp-compat.h:69: multiple definition of `deliver__flag'; conference.o:./src/../include/jcomp-compat.h:69: first defined here
/usr/bin/ld: ./libjcomp.a(jcr_main_stream_error.o):./src/jcomp/../../include/jcomp.h:101: multiple definition of `jcr'; conference.o:./src/../include/jcomp.h:101: first defined here
/usr/bin/ld: ./libjcomp.a(jcr_main_stream_error.o):./src/jcomp/../../include/jcomp-compat.h:69: multiple definition of `deliver__flag'; conference.o:./src/../include/jcomp-compat.h:69: first defined here
/usr/bin/ld: ./libjcomp.a(jcr_shutdown.o):./src/jcomp/../../include/jcomp.h:101: multiple definition of `jcr'; conference.o:./src/../include/jcomp.h:101: first defined here
/usr/bin/ld: ./libjcomp.a(jcr_shutdown.o):./src/jcomp/../../include/jcomp-compat.h:69: multiple definition of `deliver__flag'; conference.o:./src/../include/jcomp-compat.h:69: first defined here
/usr/bin/ld: ./libjcomp.a(jcr_compatibility.o):./src/jcomp/../../include/jcomp.h:101: multiple definition of `jcr'; conference.o:./src/../include/jcomp.h:101: first defined here
/usr/bin/ld: ./libjcomp.a(jcr_compatibility.o):./src/jcomp/../../include/jcomp-compat.h:69: multiple definition of `deliver__flag'; conference.o:./src/../include/jcomp-compat.h:69: first defined here
/usr/bin/ld: ./libjcomp.a(jcr_base_connect.o):./src/jcomp/../../include/jcomp.h:101: multiple definition of `jcr'; conference.o:./src/../include/jcomp.h:101: first defined here
/usr/bin/ld: ./libjcomp.a(jcr_base_connect.o):./src/jcomp/../../include/jcomp-compat.h:69: multiple definition of `deliver__flag'; conference.o:./src/../include/jcomp-compat.h:69: first defined here
/usr/bin/ld: ./libjcomp.a(jcr_elements.o):./src/jcomp/../../include/jcomp.h:101: multiple definition of `jcr'; conference.o:./src/../include/jcomp.h:101: first defined here
/usr/bin/ld: ./libjcomp.a(jcr_elements.o):./src/jcomp/../../include/jcomp-compat.h:69: multiple definition of `deliver__flag'; conference.o:./src/../include/jcomp-compat.h:69: first defined here
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:20: mu-conference] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[1]: *** [Makefile:2: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j4 "INSTALL=install --strip-program=true" returned exit code 2
make: *** [debian/rules:16: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2



More information about the Pkg-xmpp-devel mailing list