[Pkg-xmpp-devel] Bug#957523: mcabber: ftbfs with GCC-10

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


Package: src:mcabber
Version: 1.1.0-1.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/mcabber_1.1.0-1.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

[...]
mv -f $depbase.Tpo $depbase.Po
depbase=`echo xmpp_muc.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include  -I.. -I.. -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/loudmouth-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include     -Wdate-time -D_FORTIFY_SOURCE=2  -O2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -Wall -D_GNU_SOURCE -MT xmpp_muc.o -MD -MP -MF $depbase.Tpo -c -o xmpp_muc.o xmpp_muc.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo xmpp_s10n.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include  -I.. -I.. -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/loudmouth-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include     -Wdate-time -D_FORTIFY_SOURCE=2  -O2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -Wall -D_GNU_SOURCE -MT xmpp_s10n.o -MD -MP -MF $depbase.Tpo -c -o xmpp_s10n.o xmpp_s10n.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo caps.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include  -I.. -I.. -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/loudmouth-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include     -Wdate-time -D_FORTIFY_SOURCE=2  -O2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -Wall -D_GNU_SOURCE -MT caps.o -MD -MP -MF $depbase.Tpo -c -o caps.o caps.c &&\
mv -f $depbase.Tpo $depbase.Po
caps.c: In function ‘caps_copy_to_persistent’:
caps.c:552:5: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  552 |     write (fd, data, length);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~
depbase=`echo help.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include  -I.. -I.. -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/loudmouth-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include     -Wdate-time -D_FORTIFY_SOURCE=2  -O2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -Wall -D_GNU_SOURCE -MT help.o -MD -MP -MF $depbase.Tpo -c -o help.o help.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo carbons.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include  -I.. -I.. -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/loudmouth-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include     -Wdate-time -D_FORTIFY_SOURCE=2  -O2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -Wall -D_GNU_SOURCE -MT carbons.o -MD -MP -MF $depbase.Tpo -c -o carbons.o carbons.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo otr.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include  -I.. -I.. -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/loudmouth-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include     -Wdate-time -D_FORTIFY_SOURCE=2  -O2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -Wall -D_GNU_SOURCE -MT otr.o -MD -MP -MF $depbase.Tpo -c -o otr.o otr.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo nohtml.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include  -I.. -I.. -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/loudmouth-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include     -Wdate-time -D_FORTIFY_SOURCE=2  -O2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -Wall -D_GNU_SOURCE -MT nohtml.o -MD -MP -MF $depbase.Tpo -c -o nohtml.o nohtml.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo modules.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include  -I.. -I.. -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/loudmouth-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include     -Wdate-time -D_FORTIFY_SOURCE=2  -O2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -Wall -D_GNU_SOURCE -MT modules.o -MD -MP -MF $depbase.Tpo -c -o modules.o modules.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool  --tag=CC   --mode=link x86_64-linux-gnu-gcc  -O2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -Wall -D_GNU_SOURCE  -Wl,-z,relro -o mcabber main.o roster.o events.o commands.o compl.o hbuf.o screen.o settings.o hooks.o utf8.o histolog.o utils.o pgp.o xmpp.o xmpp_helper.o xmpp_iq.o xmpp_iqrequest.o xmpp_muc.o xmpp_s10n.o caps.o help.o carbons.o otr.o nohtml.o modules.o  -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lloudmouth-1 -lglib-2.0 -L/usr/lib/x86_64-linux-gnu -lgpgme -lassuan -lgpg-error -lotr  -lidn -lpanelw  -lncursesw -ltinfo -laspell
libtool: link: x86_64-linux-gnu-gcc -O2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -Wall -D_GNU_SOURCE -Wl,-z -Wl,relro -o mcabber main.o roster.o events.o commands.o compl.o hbuf.o screen.o settings.o hooks.o utf8.o histolog.o utils.o pgp.o xmpp.o xmpp_helper.o xmpp_iq.o xmpp_iqrequest.o xmpp_muc.o xmpp_s10n.o caps.o help.o carbons.o otr.o nohtml.o modules.o -Wl,--export-dynamic -pthread  -lgmodule-2.0 -lloudmouth-1 -lglib-2.0 -L/usr/lib/x86_64-linux-gnu -lgpgme -lassuan /usr/lib/x86_64-linux-gnu/libgpg-error.so -lotr -lidn -lpanelw -lncursesw -ltinfo /usr/lib/x86_64-linux-gnu/libaspell.so -pthread
/usr/bin/ld: events.o:./mcabber/screen.h:60: multiple definition of `COLOR_ATTRIB'; main.o:./mcabber/screen.h:60: first defined here
/usr/bin/ld: events.o:./mcabber/screen.h:19: multiple definition of `vi_mode'; main.o:./mcabber/screen.h:19: first defined here
/usr/bin/ld: commands.o:./mcabber/screen.h:19: multiple definition of `vi_mode'; main.o:./mcabber/screen.h:19: first defined here
/usr/bin/ld: commands.o:./mcabber/screen.h:60: multiple definition of `COLOR_ATTRIB'; main.o:./mcabber/screen.h:60: first defined here
/usr/bin/ld: hbuf.o:./mcabber/screen.h:60: multiple definition of `COLOR_ATTRIB'; main.o:./mcabber/screen.h:60: first defined here
/usr/bin/ld: hbuf.o:./mcabber/screen.h:19: multiple definition of `vi_mode'; main.o:./mcabber/screen.h:19: first defined here
/usr/bin/ld: screen.o:./mcabber/screen.h:19: multiple definition of `vi_mode'; main.o:./mcabber/screen.h:19: first defined here
/usr/bin/ld: screen.o:./mcabber/screen.h:60: multiple definition of `COLOR_ATTRIB'; main.o:./mcabber/screen.h:60: first defined here
/usr/bin/ld: hooks.o:./mcabber/screen.h:60: multiple definition of `COLOR_ATTRIB'; main.o:./mcabber/screen.h:60: first defined here
/usr/bin/ld: hooks.o:./mcabber/screen.h:19: multiple definition of `vi_mode'; main.o:./mcabber/screen.h:19: first defined here
/usr/bin/ld: histolog.o:./mcabber/screen.h:60: multiple definition of `COLOR_ATTRIB'; main.o:./mcabber/screen.h:60: first defined here
/usr/bin/ld: histolog.o:./mcabber/screen.h:19: multiple definition of `vi_mode'; main.o:./mcabber/screen.h:19: first defined here
/usr/bin/ld: utils.o:(.bss+0x40): multiple definition of `vi_mode'; main.o:./mcabber/screen.h:19: first defined here
/usr/bin/ld: utils.o:./mcabber/screen.h:60: multiple definition of `COLOR_ATTRIB'; main.o:./mcabber/screen.h:60: first defined here
/usr/bin/ld: xmpp.o:./mcabber/screen.h:60: multiple definition of `COLOR_ATTRIB'; main.o:./mcabber/screen.h:60: first defined here
/usr/bin/ld: xmpp.o:./mcabber/screen.h:19: multiple definition of `vi_mode'; main.o:./mcabber/screen.h:19: first defined here
/usr/bin/ld: xmpp_iq.o:./mcabber/screen.h:60: multiple definition of `COLOR_ATTRIB'; main.o:./mcabber/screen.h:60: first defined here
/usr/bin/ld: xmpp_iq.o:./mcabber/screen.h:19: multiple definition of `vi_mode'; main.o:./mcabber/screen.h:19: first defined here
/usr/bin/ld: xmpp_iqrequest.o:./mcabber/screen.h:60: multiple definition of `COLOR_ATTRIB'; main.o:./mcabber/screen.h:60: first defined here
/usr/bin/ld: xmpp_iqrequest.o:./mcabber/screen.h:19: multiple definition of `vi_mode'; main.o:./mcabber/screen.h:19: first defined here
/usr/bin/ld: xmpp_muc.o:./mcabber/screen.h:60: multiple definition of `COLOR_ATTRIB'; main.o:./mcabber/screen.h:60: first defined here
/usr/bin/ld: xmpp_muc.o:./mcabber/screen.h:19: multiple definition of `vi_mode'; main.o:./mcabber/screen.h:19: first defined here
/usr/bin/ld: xmpp_s10n.o:./mcabber/screen.h:60: multiple definition of `COLOR_ATTRIB'; main.o:./mcabber/screen.h:60: first defined here
/usr/bin/ld: xmpp_s10n.o:./mcabber/screen.h:19: multiple definition of `vi_mode'; main.o:./mcabber/screen.h:19: first defined here
/usr/bin/ld: help.o:./mcabber/screen.h:60: multiple definition of `COLOR_ATTRIB'; main.o:./mcabber/screen.h:60: first defined here
/usr/bin/ld: help.o:./mcabber/screen.h:19: multiple definition of `vi_mode'; main.o:./mcabber/screen.h:19: first defined here
/usr/bin/ld: otr.o:./mcabber/screen.h:60: multiple definition of `COLOR_ATTRIB'; main.o:./mcabber/screen.h:60: first defined here
/usr/bin/ld: otr.o:./mcabber/screen.h:19: multiple definition of `vi_mode'; main.o:./mcabber/screen.h:19: first defined here
/usr/bin/ld: modules.o:./mcabber/screen.h:60: multiple definition of `COLOR_ATTRIB'; main.o:./mcabber/screen.h:60: first defined here
/usr/bin/ld: modules.o:(.bss+0x60): multiple definition of `vi_mode'; main.o:./mcabber/screen.h:19: first defined here
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:511: mcabber] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/mcabber'
make[2]: *** [Makefile:410: all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/mcabber'
make[1]: *** [Makefile:466: all-recursive] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:32: build-stamp] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the Pkg-xmpp-devel mailing list