Menu

#384 libfm fail to build with glib 2.27

closed-duplicate
nobody
None
5
2010-11-14
2010-11-09
gilir
No

libfm fail to build on Ubuntu Natty :

make[5]: Entering directory `/tmp/buildd/libfm-0.1.14/src'
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I./base -I./job -I./gtk -I./demo -DPACKAGE_DATA_DIR=\""/usr/share/libfm"\" -DPACKAGE_UI_DIR=\""/usr/share/libfm/ui"\" -DPACKAGE_LIB_DIR=\""/usr/lib/libfm"\" -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -D_LARGEFILE_SOURCE -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS -DG_DISABLE_CAST_CHECKS -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gio-unix-2.0/ -DGIO_MODULE_DIR=\"/usr/lib/gio/modules\" -DGVFS_LOCALEDIR=\""/usr/share/locale"\" -DG_DISABLE_DEPRECATED -g -O2 -c -o libgiofm_la-module.lo `test -f 'gio/module.c' || echo './'`gio/module.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I. -I./base -I./job -I./gtk -I./demo -DPACKAGE_DATA_DIR=\"/usr/share/libfm\" -DPACKAGE_UI_DIR=\"/usr/share/libfm/ui\" -DPACKAGE_LIB_DIR=\"/usr/lib/libfm\" -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\" -D_LARGEFILE_SOURCE -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS -DG_DISABLE_CAST_CHECKS -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gio-unix-2.0/ -DGIO_MODULE_DIR=\"/usr/lib/gio/modules\" -DGVFS_LOCALEDIR=\"/usr/share/locale\" -DG_DISABLE_DEPRECATED -g -O2 -c gio/module.c -fPIC -DPIC -o .libs/libgiofm_la-module.o
gio/module.c: In function 'g_io_module_query':
gio/module.c:48:23: error: 'G_DESKTOP_APP_INFO_LOOKUP_EXTENSION_POINT_NAME' undeclared (first use in this function)
gio/module.c:48:23: note: each undeclared identifier is reported only once for each function it appears in
make[5]: *** [libgiofm_la-module.lo] Error 1
make[5]: Leaving directory `/tmp/buildd/libfm-0.1.14/src'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/tmp/buildd/libfm-0.1.14/src'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/tmp/buildd/libfm-0.1.14/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/buildd/libfm-0.1.14'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/buildd/libfm-0.1.14'
dh_auto_build: make -j1 returned exit code 2
make: *** [build] Error 2

it fails because of glib 2.27, which deprecated G_DESKTOP_APP_INFO_LOOKUP_EXTENSION_POINT_NAME.
This is an extract from the notes of glib 2.27.1 release :
"* The gio-desktop-app-info-lookup extension point has been
removed from GIO. GIO now uses x-scheme-handler mimetypes when
looking for default applications."

Discussion

  • PCMan

    PCMan - 2010-11-14
    • status: open --> closed-duplicate
     
  • PCMan

    PCMan - 2010-11-14

    Duplicated bug, See #3094197 please.
    Thanks.

     

Anonymous
Anonymous

Add attachments
Cancel