[Pkg-utopia-maintainers] Bug#1096507: dbus-glib: ftbfs with GCC-15
Matthias Klose
doko at debian.org
Mon Feb 17 17:09:25 GMT 2025
Package: src:dbus-glib
Version: 0.112-4
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/dbus-glib_0.112-4_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
[...]
142 | #define GOBJECT_DEPRECATED_MACRO_IN_2_32_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gobject/gvaluearray.h:40:56: note: in expansion of macro 'GOBJECT_DEPRECATED_MACRO_IN_2_32_FOR'
40 | #define G_TYPE_VALUE_ARRAY (g_value_array_get_type ()) GOBJECT_DEPRECATED_MACRO_IN_2_32_FOR(G_TYPE_ARRAY)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dbus-gvalue.c:1849:30: note: in expansion of macro 'G_TYPE_VALUE_ARRAY'
1849 | if (g_type_is_a (type, G_TYPE_VALUE_ARRAY))
| ^~~~~~~~~~~~~~~~~~
dbus-gvalue.c:1849:7: warning: 'g_value_array_get_type' is deprecated: Use 'GArray' instead [-Wdeprecated-declarations]
1849 | if (g_type_is_a (type, G_TYPE_VALUE_ARRAY))
| ^~
/usr/include/glib-2.0/gobject/gvaluearray.h:55:17: note: declared here
55 | GType g_value_array_get_type (void) G_GNUC_CONST;
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:1301:33: warning: Deprecated pre-processor symbol: replace with "(g_array_get_type ())"
1301 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x))
| ^~~~~~~
/usr/include/glib-2.0/gobject/gtype.h:760:62: note: in definition of macro 'g_type_is_a'
760 | #define g_type_is_a(a,b) ((a) == (b) || (g_type_is_a) ((a), (b)))
| ^
/usr/include/glib-2.0/glib/gmacros.h:1304:3: note: in expansion of macro '_GLIB_GNUC_DO_PRAGMA'
1304 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f))
| ^~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gobject/gobject-visibility.h:142:49: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_FOR'
142 | #define GOBJECT_DEPRECATED_MACRO_IN_2_32_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gobject/gvaluearray.h:40:56: note: in expansion of macro 'GOBJECT_DEPRECATED_MACRO_IN_2_32_FOR'
40 | #define G_TYPE_VALUE_ARRAY (g_value_array_get_type ()) GOBJECT_DEPRECATED_MACRO_IN_2_32_FOR(G_TYPE_ARRAY)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dbus-gvalue.c:1849:30: note: in expansion of macro 'G_TYPE_VALUE_ARRAY'
1849 | if (g_type_is_a (type, G_TYPE_VALUE_ARRAY))
| ^~~~~~~~~~~~~~~~~~
make[4]: *** [Makefile:1004: dbus-gvalue.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
dbus-gvalue-parse-variant.c: In function 'dbus_g_value_tuple_parse_variant':
dbus-gvalue-parse-variant.c:267:3: warning: 'g_value_array_new' is deprecated: Use 'GArray' instead [-Wdeprecated-declarations]
267 | GValueArray *va = g_value_array_new (n);
| ^~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib-object.h:38,
from ../dbus/dbus-gvalue-parse-variant.h:33,
from dbus-gvalue-parse-variant.c:32:
/usr/include/glib-2.0/gobject/gvaluearray.h:62:17: note: declared here
62 | GValueArray* g_value_array_new (guint n_prealloced);
| ^~~~~~~~~~~~~~~~~
dbus-gvalue-parse-variant.c:283:7: warning: 'g_value_array_append' is deprecated: Use 'GArray' instead [-Wdeprecated-declarations]
283 | g_value_array_append (va, NULL);
| ^~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gobject/gvaluearray.h:75:17: note: declared here
75 | GValueArray* g_value_array_append (GValueArray *value_array,
| ^~~~~~~~~~~~~~~~~~~~
dbus-gvalue-parse-variant.c:295:5: warning: 'g_value_array_free' is deprecated: Use 'GArray' instead [-Wdeprecated-declarations]
295 | g_value_array_free (va);
| ^~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gobject/gvaluearray.h:65:17: note: declared here
65 | void g_value_array_free (GValueArray *value_array);
| ^~~~~~~~~~~~~~~~~~
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -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 -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -DDBUS_COMPILATION=1 -DDBUS_LOCALEDIR=\"/usr/@DATADIRNAME@/locale\" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dbus-glib-0.112=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wfloat-equal -Wsign-compare -fno-strict-aliasing -c dbus-gthread.c -o dbus-gthread.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -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 -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -DDBUS_COMPILATION=1 -DDBUS_LOCALEDIR=\"/usr/@DATADIRNAME@/locale\" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dbus-glib-0.112=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wfloat-equal -Wsign-compare -fno-strict-aliasing -c dbus-gvalue-parse-variant.c -o dbus-gvalue-parse-variant.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -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 -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -DDBUS_COMPILATION=1 -DDBUS_LOCALEDIR=\"/usr/@DATADIRNAME@/locale\" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dbus-glib-0.112=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wfloat-equal -Wsign-compare -fno-strict-aliasing -c dbus-gobject.c -o dbus-gobject.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -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 -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -DDBUS_COMPILATION=1 -DDBUS_LOCALEDIR=\"/usr/@DATADIRNAME@/locale\" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dbus-glib-0.112=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wfloat-equal -Wsign-compare -fno-strict-aliasing -c dbus-gproxy.c -o dbus-gproxy.o >/dev/null 2>&1
make[4]: Leaving directory '/build/reproducible-path/dbus-glib-0.112/dbus'
make[3]: *** [Makefile:1040: all-recursive] Error 1
make[3]: Leaving directory '/build/reproducible-path/dbus-glib-0.112/dbus'
make[2]: *** [Makefile:541: all-recursive] Error 1
make[2]: Leaving directory '/build/reproducible-path/dbus-glib-0.112'
make[1]: *** [Makefile:441: all] Error 2
make[1]: Leaving directory '/build/reproducible-path/dbus-glib-0.112'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:12: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
More information about the Pkg-utopia-maintainers
mailing list