Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 402113 - x11-wm/mutter-3.2.2 compile error with USE -introspection
Summary: x11-wm/mutter-3.2.2 compile error with USE -introspection
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-03 23:38 UTC by Enne Eziarc
Modified: 2012-02-04 20:33 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Enne Eziarc 2012-02-03 23:38:07 UTC
Upstream fix, compile-tested locally: http://git.gnome.org/browse/mutter/commit/src/core/mutter.c?id=41ae760

Compile failure:

  CC     mutter.o
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DGSEAL_ENABLE -pthread -DORBIT2=1 -D_REENTRANT -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/startup-notification-1.0 -I/usr/include/clutter-1.0 -I/usr/include/cogl -I/usr/include/json-glib-1.0   -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_VERSION=3 -DMUTTER_MINOR_VERSION=2 -DMUTTER_MICRO_VERSION=2 -DMUTTER_PLUGIN_API_VERSION=3 -DMUTTER_PKGLIBDIR=\"/usr/lib64/mutter\" -DMUTTER_PLUGIN_DIR=\"/usr/lib64/mutter/plugins\" -DGETTEXT_PACKAGE=\"mutter\"    -O2 -march=amdfam10 -pipe -floop-interchange -floop-strip-mine -floop-block -mcx16 -msahf -mpopcnt --param l1-cache-size=64 --param l1-cache-line-size=64 --param l2-cache-size=512 -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -c -o mutter.o `test -f 'core/mutter.c' || echo './'`core/mutter.c
core/mutter.c: In function 'main':
core/mutter.c:84:7: error: 'MetaPluginManager' undeclared (first use in this function)
core/mutter.c:84:7: note: each undeclared identifier is reported only once for each function it appears in
core/mutter.c:84:26: error: 'mgr' undeclared (first use in this function)
core/mutter.c:88:7: warning: implicit declaration of function 'meta_plugin_manager_get_default'
core/mutter.c:88:7: warning: nested extern declaration of 'meta_plugin_manager_get_default'
core/mutter.c:92:11: warning: implicit declaration of function 'meta_plugin_manager_load'
core/mutter.c:92:11: warning: nested extern declaration of 'meta_plugin_manager_load'
Comment 1 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-02-03 23:55:35 UTC
Out of curiosity, for what purpose do you need mutter with USE=-introspection?
Comment 2 Enne Eziarc 2012-02-04 03:02:08 UTC
(In reply to comment #1)
> Out of curiosity, for what purpose do you need mutter with USE=-introspection?

With Compiz on its last rites I was looking for a suitable equivalent that doesn't come with the baggage of an entire DE. Mutter seemed light on deps compared to Kwin, but it turns out it's pretty unusable without the rest of GNOME 3 installed.
Comment 3 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-02-04 20:33:16 UTC
Fixed, thanks for reporting.

>  04 Feb 2012; Alexandre Rostovtsev <tetromino@gentoo.org> mutter-3.2.2.ebuild,
>  +files/mutter-3.2.2-disable-introspection.patch:
>  Fix building with USE=-introspection (bug #402113, thanks to Anthony
>  Parsons).