Impossible build Bamf with latest glib-2.30.0

Bug #976127 reported by Pedro
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
BAMF
New
Undecided
Unassigned

Bug Description

Its impossible to build Bamf with latest glib (glib-2.30.0)

Bamf code needs to be updated else will output this:

libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../common -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DG_DISABLE_DEPRECATED -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -lm -MT libgiobamf_la-dbus-module.lo -MD -MP -MF .deps/libgiobamf_la-dbus-module.Tpo -c dbus-module.c -fPIC -DPIC -o .libs/libgiobamf_la-dbus-module.o
gapplaunchhandlerdbus.c:36:40: error: unknown type name ‘GDesktopAppInfoLaunchHandlerIface’
gapplaunchhandlerdbus.c: In function ‘g_app_launch_handler_bamf_register_type’:
gapplaunchhandlerdbus.c:46:1: error: ‘launch_handler_iface_init’ undeclared (first use in this function)
gapplaunchhandlerdbus.c:46:1: note: each undeclared identifier is reported only once for each function it appears in
gapplaunchhandlerdbus.c:46:1: error: ‘G_TYPE_DESKTOP_APP_INFO_LAUNCH_HANDLER’ undeclared (first use in this function)
gapplaunchhandlerdbus.c: At top level:
gapplaunchhandlerdbus.c:99:14: error: unknown type name ‘GDesktopAppInfoLaunchHandler’
gapplaunchhandlerdbus.c:148:28: error: unknown type name ‘GDesktopAppInfoLaunchHandlerIface’
gapplaunchhandlerdbus.c: In function ‘g_app_launch_handler_bamf_register’:
gapplaunchhandlerdbus.c:157:35: error: ‘G_DESKTOP_APP_INFO_LAUNCH_HANDLER_EXTENSION_POINT_NAME’ undeclared (first use in this function)
mv -f .deps/libgiobamf_la-dbus-module.Tpo .deps/libgiobamf_la-dbus-module.Plo
make[2]: *** [libgiobamf_la-gapplaunchhandlerdbus.lo] Error 1
make[2]: *** Waiting for unfinished jobs....

Revision history for this message
Pedro (simplew8) wrote :

I already received a reply from "Mikkel Kamstrup Erlandsen" to my personal email saying:

> Looks like you're building the (legacy) gio module, which requires a
> patched glib adding the GDesktopAppInfoLaunchHandler interface. AFAIK
> this patch has long since been dropped; so you should not be building
> that module.

I dont get why is saying this, did i said that i was building any special or legacy gio module?

I think i was clear enough when i say that BAMF does not build with latest glib version 2.32.0, and to clarify that i do not run Ubuntu since the first person i talked also said that i should use some ubuntu release to etc,etc.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.