Bug#1096689: gdm3: ftbfs with GCC-15

Matthias Klose doko at debian.org
Mon Feb 17 17:15:11 GMT 2025


Package: src:gdm3
Version: 48~beta-1
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/gdm3_48~beta-1_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

[...]
    group                    : Debian-gdm
    ipv6                     : true
    lang-file                : /etc/default/locale
    libdir                   : lib/x86_64-linux-gnu
    localstatedir            : /var
    log-dir                  : /var/log/gdm3
    pam-mod-dir              : /usr/lib/x86_64-linux-gnu/security
    pid-file                 : /run/gdm3.pid
    plymouth                 : enabled
    prefix                   : /usr
    python.bytecompile       : -1
    ran-once-marker-dir      : /run/gdm3
    run-dir                  : /run/gdm3
    screenshot-dir           : /run/gdm3/greeter
    selinux                  : enabled
    sysconfdir               : /etc
    sysconfsubdir            : gdm3
    user                     : Debian-gdm
    working-dir              : /var/lib/gdm3
    wrap_mode                : nodownload
    x11-support              : true
    xauth-dir                : /run/gdm3

Found ninja-1.12.1 at /usr/bin/ninja
make[1]: Leaving directory '/build/reproducible-path/gdm3-48~beta'
   debian/rules override_dh_auto_build
make[1]: Entering directory '/build/reproducible-path/gdm3-48~beta'
pod2man --release="GNOME 48~beta-1" --center="Debian GNU/Linux" --section=8 \
	debian/gdm3.8.pod | sed -e 's/debian:://' >debian/gdm3.8
debian/gdm3.8.pod around line 58: Non-ASCII character seen before =encoding in 'Raphaël'. Assuming UTF-8
POD document had syntax errors at /usr/bin/pod2man line 69.
pod2man --release="GNOME 48~beta-1" --center="Debian GNU/Linux" --section=1 \
	debian/gdmflexiserver.1.pod | sed -e 's/debian:://' >debian/gdmflexiserver.1
dh_auto_build
	cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 ninja -j8 -v
[1/296] cc -Icommon/libgdmcommon.a.p -Icommon -I../common -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -D_GNU_SOURCE -g -O2 -Werror=implicit-function-declaration '-ffile-prefix-map=/build/reproducible-path/gdm3-48~beta=.' -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -MD -MQ common/libgdmcommon.a.p/gdm-profile.c.o -MF common/libgdmcommon.a.p/gdm-profile.c.o.d -o common/libgdmcommon.a.p/gdm-profile.c.o -c ../common/gdm-profile.c
[2/296] cc -Icommon/libgdmcommon.a.p -Icommon -I../common -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -D_GNU_SOURCE -g -O2 -Werror=implicit-function-declaration '-ffile-prefix-map=/build/reproducible-path/gdm3-48~beta=.' -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -MD -MQ common/libgdmcommon.a.p/gdm-settings-utils.c.o -MF common/libgdmcommon.a.p/gdm-settings-utils.c.o.d -o common/libgdmcommon.a.p/gdm-settings-utils.c.o -c ../common/gdm-settings-utils.c
FAILED: common/libgdmcommon.a.p/gdm-settings-utils.c.o 
cc -Icommon/libgdmcommon.a.p -Icommon -I../common -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -D_GNU_SOURCE -g -O2 -Werror=implicit-function-declaration '-ffile-prefix-map=/build/reproducible-path/gdm3-48~beta=.' -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -MD -MQ common/libgdmcommon.a.p/gdm-settings-utils.c.o -MF common/libgdmcommon.a.p/gdm-settings-utils.c.o.d -o common/libgdmcommon.a.p/gdm-settings-utils.c.o -c ../common/gdm-settings-utils.c
In file included from ../common/gdm-settings-utils.c:38:
../common/gdm-settings-utils.h:47:77: error: expected ‘;’, ‘,’ or ‘)’ before ‘bool’
   47 |                                                                 gboolean   *bool);
      |                                                                             ^~~~
../common/gdm-settings-utils.c:290:50: error: expected ‘;’, ‘,’ or ‘)’ before ‘bool’
  290 |                                      gboolean   *bool)
      |                                                  ^~~~
[3/296] cc -Icommon/libgdmcommon.a.p -Icommon -I../common -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -D_GNU_SOURCE -g -O2 -Werror=implicit-function-declaration '-ffile-prefix-map=/build/reproducible-path/gdm3-48~beta=.' -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -MD -MQ common/libgdmcommon.a.p/gdm-settings-direct.c.o -MF common/libgdmcommon.a.p/gdm-settings-direct.c.o.d -o common/libgdmcommon.a.p/gdm-settings-direct.c.o -c ../common/gdm-settings-direct.c
FAILED: common/libgdmcommon.a.p/gdm-settings-direct.c.o 
cc -Icommon/libgdmcommon.a.p -Icommon -I../common -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -D_GNU_SOURCE -g -O2 -Werror=implicit-function-declaration '-ffile-prefix-map=/build/reproducible-path/gdm3-48~beta=.' -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -MD -MQ common/libgdmcommon.a.p/gdm-settings-direct.c.o -MF common/libgdmcommon.a.p/gdm-settings-direct.c.o.d -o common/libgdmcommon.a.p/gdm-settings-direct.c.o -c ../common/gdm-settings-direct.c
In file included from ../common/gdm-settings-direct.c:38:
../common/gdm-settings-utils.h:47:77: error: expected ‘;’, ‘,’ or ‘)’ before ‘bool’
   47 |                                                                 gboolean   *bool);
      |                                                                             ^~~~
../common/gdm-settings-direct.c: In function ‘gdm_settings_direct_get_boolean’:
../common/gdm-settings-direct.c:159:15: error: implicit declaration of function ‘gdm_settings_parse_value_as_boolean’; did you mean ‘gdm_settings_parse_value_as_double’? [-Wimplicit-function-declaration]
  159 |         ret = gdm_settings_parse_value_as_boolean  (str, value);
      |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |               gdm_settings_parse_value_as_double
[4/296] cc -Icommon/libgdmcommon.a.p -Icommon -I../common -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -D_GNU_SOURCE -g -O2 -Werror=implicit-function-declaration '-ffile-prefix-map=/build/reproducible-path/gdm3-48~beta=.' -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -MD -MQ common/libgdmcommon.a.p/gdm-log.c.o -MF common/libgdmcommon.a.p/gdm-log.c.o.d -o common/libgdmcommon.a.p/gdm-log.c.o -c ../common/gdm-log.c
[5/296] cc -Icommon/libgdmcommon.a.p -Icommon -I../common -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -D_GNU_SOURCE -g -O2 -Werror=implicit-function-declaration '-ffile-prefix-map=/build/reproducible-path/gdm3-48~beta=.' -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -MD -MQ common/libgdmcommon.a.p/gdm-settings-backend.c.o -MF common/libgdmcommon.a.p/gdm-settings-backend.c.o.d -o common/libgdmcommon.a.p/gdm-settings-backend.c.o -c ../common/gdm-settings-backend.c
[6/296] cc -Icommon/libgdmcommon.a.p -Icommon -I../common -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -D_GNU_SOURCE -g -O2 -Werror=implicit-function-declaration '-ffile-prefix-map=/build/reproducible-path/gdm3-48~beta=.' -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -MD -MQ common/libgdmcommon.a.p/gdm-settings-desktop-backend.c.o -MF common/libgdmcommon.a.p/gdm-settings-desktop-backend.c.o.d -o common/libgdmcommon.a.p/gdm-settings-desktop-backend.c.o -c ../common/gdm-settings-desktop-backend.c
[7/296] cc -Icommon/libgdmcommon.a.p -Icommon -I../common -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -D_GNU_SOURCE -g -O2 -Werror=implicit-function-declaration '-ffile-prefix-map=/build/reproducible-path/gdm3-48~beta=.' -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -MD -MQ common/libgdmcommon.a.p/gdm-address.c.o -MF common/libgdmcommon.a.p/gdm-address.c.o.d -o common/libgdmcommon.a.p/gdm-address.c.o -c ../common/gdm-address.c
[8/296] cc -Icommon/libgdmcommon.a.p -Icommon -I../common -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -D_GNU_SOURCE -g -O2 -Werror=implicit-function-declaration '-ffile-prefix-map=/build/reproducible-path/gdm3-48~beta=.' -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -MD -MQ common/libgdmcommon.a.p/gdm-settings.c.o -MF common/libgdmcommon.a.p/gdm-settings.c.o.d -o common/libgdmcommon.a.p/gdm-settings.c.o -c ../common/gdm-settings.c
[9/296] cc -Icommon/libgdmcommon.a.p -Icommon -I../common -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -D_GNU_SOURCE -g -O2 -Werror=implicit-function-declaration '-ffile-prefix-map=/build/reproducible-path/gdm3-48~beta=.' -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -MD -MQ common/libgdmcommon.a.p/gdm-common.c.o -MF common/libgdmcommon.a.p/gdm-common.c.o.d -o common/libgdmcommon.a.p/gdm-common.c.o -c ../common/gdm-common.c
ninja: build stopped: subcommand failed.
dh_auto_build: error: cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 ninja -j8 -v returned exit code 1
make[1]: *** [debian/rules:69: override_dh_auto_build] Error 25
make[1]: Leaving directory '/build/reproducible-path/gdm3-48~beta'
make: *** [debian/rules:39: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the pkg-gnome-maintainers mailing list