Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 467334

Summary: x11-wm/mutter-3.8.1 requires Glib 2.36 while dependency is 2.25
Product: Gentoo Linux Reporter: Pim Vullers <gentoo.org>
Component: [OLD] GNOMEAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://bugzilla.gnome.org/show_bug.cgi?id=698995
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 463242    
Attachments: full build log

Description Pim Vullers 2013-04-26 11:30:37 UTC
Created attachment 346634 [details]
full build log

When building Mutter 3.8.1 I got the following error (with Glib 2.34 installed):

libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DCLUTTER_ENABLE_EXPERIMENTAL_API -DCOGL_ENABLE_EXPERIMENTAL_API -DCOGL_ENABLE_EXPERIMENTA
L_2_0_API -D_REENTRANT -pthread -I/usr/include/clutter-1.0 -I/usr/include/cogl -I/usr/include/json-glib-1.0 -I/usr/include/cogl -I/usr/include/startup-notific
ation-1.0 -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -
I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include
/libpng16 -I/usr/include/gobject-introspection-1.0 -I/usr/lib64/libffi-3.0.13/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gse
ttings-desktop-schemas -I. -I./core -I./ui -I./compositor -DMUTTER_LIBEXECDIR=\"/usr/libexec\" -DHOST_ALIAS=\"x86_64-pc-linux-gnu\" -DMUTTER_LOCALEDIR=\"/usr/
share/locale\" -DMUTTER_PKGDATADIR=\"/usr/share/mutter\" -DMUTTER_DATADIR=\"/usr/share\" -DG_LOG_DOMAIN=\"mutter\" -DSN_API_NOT_YET_FROZEN=1 -DMUTTER_MAJOR_VE
RSION=3 -DMUTTER_MINOR_VERSION=8 -DMUTTER_MICRO_VERSION=1 -DMUTTER_PLUGIN_API_VERSION=3 -DMUTTER_PKGLIBDIR=\"/usr/lib64/mutter\" -DMUTTER_PLUGIN_DIR=\"/usr/li
b64/mutter/plugins\" -DGETTEXT_PACKAGE=\"mutter\" -march=native -mtune=native -O3 -pipe -fomit-frame-pointer -ggdb -g -O -Wall -Wchar-subscripts -Wmissing-dec
larations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -c compositor/meta-background-group.c  -fPIC -DPIC -o .libs/meta-b
ackground-group.o
compositor/meta-background.c:955:12: error: unknown type name 'GTask'
compositor/meta-background.c: In function 'meta_background_load_file_async':
compositor/meta-background.c:995:5: error: unknown type name 'GTask'
compositor/meta-background.c:997:5: warning: implicit declaration of function 'g_task_new' [-Wimplicit-function-declaration]
compositor/meta-background.c:997:5: warning: nested extern declaration of 'g_task_new' [-Wnested-externs]
compositor/meta-background.c:997:10: warning: assignment makes pointer from integer without a cast [enabled by default]
compositor/meta-background.c:1000:5: warning: implicit declaration of function 'g_task_set_task_data' [-Wimplicit-function-declaration]
compositor/meta-background.c:1000:5: warning: nested extern declaration of 'g_task_set_task_data' [-Wnested-externs]
compositor/meta-background.c:1002:5: warning: implicit declaration of function 'g_task_run_in_thread' [-Wimplicit-function-declaration]
compositor/meta-background.c:1002:5: warning: nested extern declaration of 'g_task_run_in_thread' [-Wnested-externs]
compositor/meta-background.c:1002:34: error: 'GTaskThreadFunc' undeclared (first use in this function)
compositor/meta-background.c:1002:34: note: each undeclared identifier is reported only once for each function it appears in
compositor/meta-background.c:1002:51: error: expected ')' before 'load_file'
compositor/meta-background.c: In function 'meta_background_load_file_finish':
compositor/meta-background.c:1023:3: error: unknown type name 'GTask'
compositor/meta-background.c:1032:3: warning: implicit declaration of function 'g_task_is_valid' [-Wimplicit-function-declaration]
compositor/meta-background.c:1032:3: warning: nested extern declaration of 'g_task_is_valid' [-Wnested-externs]
compositor/meta-background.c:1034:3: warning: implicit declaration of function 'G_TASK' [-Wimplicit-function-declaration]
compositor/meta-background.c:1034:3: warning: nested extern declaration of 'G_TASK' [-Wnested-externs]
compositor/meta-background.c:1034:8: warning: assignment makes pointer from integer without a cast [enabled by default]
compositor/meta-background.c:1036:3: warning: implicit declaration of function 'g_task_propagate_pointer' [-Wimplicit-function-declaration]
compositor/meta-background.c:1036:3: warning: nested extern declaration of 'g_task_propagate_pointer' [-Wnested-externs]
compositor/meta-background.c:1036:10: warning: assignment makes pointer from integer without a cast [enabled by default]
compositor/meta-background.c:1041:3: warning: implicit declaration of function 'g_task_get_task_data' [-Wimplicit-function-declaration]
compositor/meta-background.c:1041:3: warning: nested extern declaration of 'g_task_get_task_data' [-Wnested-externs]
compositor/meta-background.c:1041:13: warning: assignment makes pointer from integer without a cast [enabled by default]
make[4]: *** [meta-background.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory `/tmp/portage/x11-wm/mutter-3.8.1/work/mutter-3.8.1/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/portage/x11-wm/mutter-3.8.1/work/mutter-3.8.1/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/tmp/portage/x11-wm/mutter-3.8.1/work/mutter-3.8.1/src'

Looking up GTaskTreadFunc showed me that it was introduced in GLib 2.35, hence the dependency of Mutter should be updated. BUilding it against glib-2.36.1 works fine.
Comment 1 Pacho Ramos gentoo-dev 2013-04-26 19:36:09 UTC
+  26 Apr 2013; Pacho Ramos <pacho@gentoo.org>
+  -files/mutter-3.4.1-meta_window_move_frame-crash.patch,
+  -files/mutter-3.8.0-build-redefine.patch,
+  -files/mutter-3.8.0-font-crash.patch, -mutter-3.8.0.ebuild,
+  mutter-3.8.1.ebuild:
+  Fix glib dependency, bug #467334 by Pim Vullers; drop old.
+