Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#55938 - [dbus-glib] doesn't build with glib2 2.54, breaks build of other packages

Attached to Project: Arch Linux
Opened by Antonio Rojas (arojas) - Monday, 09 October 2017, 22:36 GMT
Last edited by Jan de Groot (JGC) - Wednesday, 11 October 2017, 07:57 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


Packages that use dbus-binding-tool to generate headers at build time (including dbus-glib itself) don't build anymore with glib2 2.54:

In file included from example-service.c:59:0:
example-service-glue.h:5:42: error: ‘dbus_glib_marshal_some_object_BOOLEAN__STRING_POINTER_POINTER’ undeclared here (not in a function)
{ (GCallback) some_object_hello_world, dbus_glib_marshal_some_object_BOOLEAN__STRING_POINTER_POINTER, 0 },
example-service-glue.h:6:40: error: ‘dbus_glib_marshal_some_object_BOOLEAN__POINTER_POINTER’ undeclared here (not in a function); did you mean ‘dbus_glib_marshal_some_object_BOOLEAN__STRING_POINTER_POINTER’?
{ (GCallback) some_object_get_tuple, dbus_glib_marshal_some_object_BOOLEAN__POINTER_POINTER, 66 },

This task depends upon

Closed by  Jan de Groot (JGC)
Wednesday, 11 October 2017, 07:57 GMT
Reason for closing:  Fixed
Additional comments about closing:  python is added to makedepends for dbus-glib.
Comment by Jan de Groot (JGC) - Wednesday, 11 October 2017, 07:57 GMT
This is because glib 2.54 ported glib-genmarshall to python. dbus-glib builds fine when adding python to makedepends, probably other software that fails like this needs the same fix. File bugs for packages that fail to build because of this.