[Pkg-xmpp-devel] Bug#1097371: mcabber: ftbfs with GCC-15

Matthias Klose doko at debian.org
Mon Feb 17 17:36:58 GMT 2025


Package: src:mcabber
Version: 1.1.2-2
Severity: important
Tags: sid forky
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-15

[This bug is NOT targeted to the upcoming trixie release]

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-15/g++-15, but succeeds to build with gcc-14/g++-14. The
severity of this report will be raised before the forky release.

The full build log can be found at:
http://qa-logs.debian.net/2025/02/16/amd64exp/mcabber_1.1.2-2_unstable_gccexp.log.gz
The last lines of the build log are at the end of this report.

To build with GCC 15, either set CC=gcc-15 CXX=g++-15 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++ 

GCC 15 now defaults to the C23/C++23 standards, exposing many FTBFS.
Other 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-15/porting_to.html

[...]
config.status: creating modules/xttitle/Makefile
config.status: creating modules/fifo/Makefile
config.status: creating modules/urlregex/Makefile
config.status: creating doc/Makefile
config.status: creating doc/guide/Makefile
config.status: creating doc/help/Makefile
config.status: creating mcabber.pc
config.status: creating Makefile
config.status: creating mcabber/config.h
config.status: creating include/config.h
config.status: executing depfiles commands
config.status: executing libtool commands
make[1]: Leaving directory '/build/reproducible-path/mcabber-1.1.2'
   debian/rules override_dh_auto_build
make[1]: Entering directory '/build/reproducible-path/mcabber-1.1.2'
dh_auto_build
	make -j8
make[2]: Entering directory '/build/reproducible-path/mcabber-1.1.2'
Making all in mcabber
make[3]: Entering directory '/build/reproducible-path/mcabber-1.1.2/mcabber'
../hgcset.sh "../mcabber" "../mcabber"
make  all-am
make[4]: Entering directory '/build/reproducible-path/mcabber-1.1.2/mcabber'
gcc -DHAVE_CONFIG_H -I. -I../include  -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread  -I/usr/include/loudmouth-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread      -Wdate-time -D_FORTIFY_SOURCE=2  -O2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mcabber-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -D_GNU_SOURCE -c -o main.o main.c
gcc -DHAVE_CONFIG_H -I. -I../include  -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread  -I/usr/include/loudmouth-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread      -Wdate-time -D_FORTIFY_SOURCE=2  -O2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mcabber-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -D_GNU_SOURCE -c -o roster.o roster.c
gcc -DHAVE_CONFIG_H -I. -I../include  -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread  -I/usr/include/loudmouth-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread      -Wdate-time -D_FORTIFY_SOURCE=2  -O2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mcabber-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -D_GNU_SOURCE -c -o events.o events.c
gcc -DHAVE_CONFIG_H -I. -I../include  -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread  -I/usr/include/loudmouth-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread      -Wdate-time -D_FORTIFY_SOURCE=2  -O2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mcabber-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -D_GNU_SOURCE -c -o commands.o commands.c
gcc -DHAVE_CONFIG_H -I. -I../include  -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread  -I/usr/include/loudmouth-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread      -Wdate-time -D_FORTIFY_SOURCE=2  -O2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mcabber-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -D_GNU_SOURCE -c -o compl.o compl.c
gcc -DHAVE_CONFIG_H -I. -I../include  -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread  -I/usr/include/loudmouth-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread      -Wdate-time -D_FORTIFY_SOURCE=2  -O2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mcabber-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -D_GNU_SOURCE -c -o hbuf.o hbuf.c
gcc -DHAVE_CONFIG_H -I. -I../include  -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread  -I/usr/include/loudmouth-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread      -Wdate-time -D_FORTIFY_SOURCE=2  -O2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mcabber-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -D_GNU_SOURCE -c -o screen.o screen.c
gcc -DHAVE_CONFIG_H -I. -I../include  -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread  -I/usr/include/loudmouth-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread      -Wdate-time -D_FORTIFY_SOURCE=2  -O2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mcabber-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -D_GNU_SOURCE -c -o settings.o settings.c
screen.c: In function ‘scr_draw_roster’:
screen.c:2260:13: warning: ‘g_pattern_match_string’ is deprecated: Use 'g_pattern_spec_match_string' instead [-Wdeprecated-declarations]
 2260 |             if (g_pattern_match_string(rc->compiled, bjid) &&
      |             ^~
In file included from /usr/include/glib-2.0/glib.h:68,
                 from screen.h:4,
                 from screen.c:50:
/usr/include/glib-2.0/glib/gpattern.h:57:15: note: declared here
   57 | gboolean      g_pattern_match_string   (GPatternSpec *pspec,
      |               ^~~~~~~~~~~~~~~~~~~~~~
screen.c: In function ‘set_chatstate’:
screen.c:2471:56: error: passing argument 2 of ‘g_timeout_add_seconds’ from incompatible pointer type [-Wincompatible-pointer-types]
 2471 |                                                        scr_chatstates_timeout,
      |                                                        ^~~~~~~~~~~~~~~~~~~~~~
      |                                                        |
      |                                                        gboolean (*)(void) {aka int (*)(void)}
In file included from /usr/include/glib-2.0/glib/giochannel.h:35,
                 from /usr/include/glib-2.0/glib.h:56:
/usr/include/glib-2.0/glib/gmain.h:946:54: note: expected ‘GSourceFunc’ {aka ‘int (*)(void *)’} but argument is of type ‘gboolean (*)(void)’ {aka ‘int (*)(void)’}
  946 |                                      GSourceFunc     function,
      |                                      ~~~~~~~~~~~~~~~~^~~~~~~~
screen.c:93:17: note: ‘scr_chatstates_timeout’ declared here
   93 | static gboolean scr_chatstates_timeout();
      |                 ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmain.h:199:20: note: ‘GSourceFunc’ declared here
  199 | typedef gboolean (*GSourceFunc)       (gpointer user_data);
      |                    ^~~~~~~~~~~
make[4]: *** [Makefile:582: screen.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory '/build/reproducible-path/mcabber-1.1.2/mcabber'
make[3]: *** [Makefile:440: all] Error 2
make[3]: Leaving directory '/build/reproducible-path/mcabber-1.1.2/mcabber'
make[2]: *** [Makefile:484: all-recursive] Error 1
make[2]: Leaving directory '/build/reproducible-path/mcabber-1.1.2'
dh_auto_build: error: make -j8 returned exit code 2
make[1]: *** [debian/rules:12: override_dh_auto_build] Error 25
make[1]: Leaving directory '/build/reproducible-path/mcabber-1.1.2'
make: *** [debian/rules:6: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the Pkg-xmpp-devel mailing list