Gentoo Archives: gentoo-user

From: covici@××××××××××.com
To: gentoo-user@l.g.o
Subject: [gentoo-user] having problems emerging x11-wm/clutter-3.14.2
Date: Thu, 11 Dec 2014 15:13:01
Message-Id: 26844.1418310771@ccs.covici.com
1 Hi. In my usual world update portage asked me to emerge
2 x11-wm/clutter-3.14.2 as I am using the gnome overlay. However it is
3 failing and I can't find either a gentoo bug or anything on google.
4 Here is the relevant output from the compile
5
6 Any assistance would be appreciated.
7 /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DCLUTTER_ENABLE_COMPOSITOR_API -DCLUTTER_ENABLE_EXPERIMENTAL_API -DCOGL_ENABLE_EXPERIMENTAL_API -DCOGL_ENABLE_EXPERIMENTAL_2_0_API -DCLUTTER_DISABLE_DEPRECATION_WARNINGS -DCOGL_DISABLE_DEPRECATION_WARNINGS -pthread -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/libupower-glib -I/usr/include/gnome-desktop-3.0 -I/usr/include/startup-notification-1.0 -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -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.1/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gsettings-desktop-schemas -pthread -I/usr/include/clutter-1.0 -I/usr/include/cogl -I/usr/include/atk-1.0 -I/usr/include/cogl -I/usr/include/json-glib-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/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libdrm -I. -I. -I./backends -I./core -I./ui -I./compositor -DMUTTER_LIBEXECDIR=\"/usr/libexec\" -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_PKGLIBDIR=\"/usr/lib64/mutter\" -DMUTTER_PLUGIN_DIR=\"/usr/lib64/mutter/plugins\" -DGETTEXT_PACKAGE=\"mutter\" -DXWAYLAND_PATH=\"/usr/bin/Xwayland\" -O2 -mtune=core2 -pipe -ggdb -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -c -o backends/native/meta-monitor-manager-kms.lo backends/native/meta-monitor-manager-kms.c
8 libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DCLUTTER_ENABLE_COMPOSITOR_API -DCLUTTER_ENABLE_EXPERIMENTAL_API -DCOGL_ENABLE_EXPERIMENTAL_API -DCOGL_ENABLE_EXPERIMENTAL_2_0_API -DCLUTTER_DISABLE_DEPRECATION_WARNINGS -DCOGL_DISABLE_DEPRECATION_WARNINGS -pthread -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/libupower-glib -I/usr/include/gnome-desktop-3.0 -I/usr/include/startup-notification-1.0 -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -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.1/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gsettings-desktop-schemas -pthread -I/usr/include/clutter-1.0 -I/usr/include/cogl -I/usr/include/atk-1.0 -I/usr/include/cogl -I/usr/include/json-glib-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/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libdrm -I. -I. -I./backends -I./core -I./ui -I./compositor -DMUTTER_LIBEXECDIR=\"/usr/libexec\" -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_PKGLIBDIR=\"/usr/lib64/mutter\" -DMUTTER_PLUGIN_DIR=\"/usr/lib64/mutter/plugins\" -DGETTEXT_PACKAGE=\"mutter\" -DXWAYLAND_PATH=\"/usr/bin/Xwayland\" -O2 -mtune=core2 -pipe -ggdb -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -c backends/native/meta-monitor-manager-kms.c -fPIC -DPIC -o backends/native/.libs/meta-monitor-manager-kms.o
9 backends/native/meta-monitor-manager-kms.c:679:12: error: unknown type name 'CoglKmsCrtc'
10 crtc_free (CoglKmsCrtc *crtc)
11 ^
12 backends/native/meta-monitor-manager-kms.c: In function 'meta_monitor_manager_kms_apply_configuration':
13 backends/native/meta-monitor-manager-kms.c:701:72: error: 'crtc_free' undeclared (first use in this function)
14 cogl_crtcs = g_ptr_array_new_full (manager->n_crtcs, (GDestroyNotify)crtc_free);
15 ^
16 backends/native/meta-monitor-manager-kms.c:701:72: note: each undeclared identifier is reported only once for each function it appears in
17 backends/native/meta-monitor-manager-kms.c:707:7: error: unknown type name 'CoglKmsCrtc'
18 CoglKmsCrtc *cogl_crtc;
19 ^
20 In file included from /usr/include/glib-2.0/glib.h:76:0,
21 from /usr/include/glib-2.0/gobject/gbinding.h:28,
22 from /usr/include/glib-2.0/glib-object.h:23,
23 from /usr/include/cogl/cogl/cogl-types.h:44,
24 from /usr/include/cogl/cogl/cogl-error.h:36,
25 from /usr/include/cogl/cogl/cogl.h:64,
26 from ./backends/meta-monitor-manager.h:38,
27 from backends/native/meta-monitor-manager-kms.h:26,
28 from backends/native/meta-monitor-manager-kms.c:26:
29 backends/native/meta-monitor-manager-kms.c:711:33: error: 'CoglKmsCrtc' undeclared (first use in this function)
30 cogl_crtc = g_slice_new0 (CoglKmsCrtc);
31 ^
32 /usr/include/glib-2.0/glib/gslice.h:46:35: note: in definition of macro 'g_slice_new0'
33 #define g_slice_new0(type) ((type*) g_slice_alloc0 (sizeof (type)))
34 ^
35 /usr/include/glib-2.0/glib/gslice.h:46:40: error: expected expression before ')' token
36 #define g_slice_new0(type) ((type*) g_slice_alloc0 (sizeof (type)))
37 ^
38 backends/native/meta-monitor-manager-kms.c:711:19: note: in expansion of macro 'g_slice_new0'
39 cogl_crtc = g_slice_new0 (CoglKmsCrtc);
40 ^
41 backends/native/meta-monitor-manager-kms.c:716:20: error: request for member 'id' in something not a structure or union
42 cogl_crtc->id = crtc->crtc_id;
43 ^
44 backends/native/meta-monitor-manager-kms.c:717:20: error: request for member 'x' in something not a structure or union
45 cogl_crtc->x = 0;
46 ^
47 backends/native/meta-monitor-manager-kms.c:718:20: error: request for member 'y' in something not a structure or union
48 cogl_crtc->y = 0;
49 ^
50 backends/native/meta-monitor-manager-kms.c:719:20: error: request for member 'count' in something not a structure or union
51 cogl_crtc->count = 0;
52 ^
53 backends/native/meta-monitor-manager-kms.c:720:29: error: request for member 'mode' in something not a structure or union
54 memset (&cogl_crtc->mode, 0, sizeof (drmModeModeInfo));
55 ^
56 backends/native/meta-monitor-manager-kms.c:721:20: error: request for member 'connectors' in something not a structure or union
57 cogl_crtc->connectors = NULL;
58 ^
59 backends/native/meta-monitor-manager-kms.c:722:20: error: request for member 'count' in something not a structure or union
60 cogl_crtc->count = 0;
61 ^
62 backends/native/meta-monitor-manager-kms.c:739:20: error: request for member 'id' in something not a structure or union
63 cogl_crtc->id = crtc->crtc_id;
64 ^
65 backends/native/meta-monitor-manager-kms.c:740:20: error: request for member 'x' in something not a structure or union
66 cogl_crtc->x = crtc_info->x;
67 ^
68 backends/native/meta-monitor-manager-kms.c:741:20: error: request for member 'y' in something not a structure or union
69 cogl_crtc->y = crtc_info->y;
70 ^
71 backends/native/meta-monitor-manager-kms.c:742:20: error: request for member 'count' in something not a structure or union
72 cogl_crtc->count = n_connectors = crtc_info->outputs->len;
73 ^
74 backends/native/meta-monitor-manager-kms.c:743:20: error: request for member 'connectors' in something not a structure or union
75 cogl_crtc->connectors = connectors = g_new (uint32_t, n_connectors);
76 ^
77 backends/native/meta-monitor-manager-kms.c:755:29: error: request for member 'mode' in something not a structure or union
78 memcpy (&cogl_crtc->mode, crtc_info->mode->driver_private,
79 ^
80 backends/native/meta-monitor-manager-kms.c:786:20: error: 'cogl_crtc' undeclared (first use in this function)
81 CoglKmsCrtc *cogl_crtc;
82 ^
83 In file included from /usr/include/glib-2.0/glib.h:76:0,
84 from /usr/include/glib-2.0/gobject/gbinding.h:28,
85 from /usr/include/glib-2.0/glib-object.h:23,
86 from /usr/include/cogl/cogl/cogl-types.h:44,
87 from /usr/include/cogl/cogl/cogl-error.h:36,
88 from /usr/include/cogl/cogl/cogl.h:64,
89 from ./backends/meta-monitor-manager.h:38,
90 from backends/native/meta-monitor-manager-kms.h:26,
91 from backends/native/meta-monitor-manager-kms.c:26:
92 /usr/include/glib-2.0/glib/gslice.h:46:40: error: expected expression before ')' token
93 #define g_slice_new0(type) ((type*) g_slice_alloc0 (sizeof (type)))
94 ^
95 backends/native/meta-monitor-manager-kms.c:796:19: note: in expansion of macro 'g_slice_new0'
96 cogl_crtc = g_slice_new0 (CoglKmsCrtc);
97 ^
98 backends/native/meta-monitor-manager-kms.c:819:3: warning: implicit declaration of function 'cogl_kms_display_set_layout' [-Wimplicit-function-declaration]
99 ok = cogl_kms_display_set_layout (cogl_display, screen_width, screen_height,
100 ^
101 backends/native/meta-monitor-manager-kms.c:819:3: warning: nested extern declaration of 'cogl_kms_display_set_layout' [-Wnested-externs]
102 backends/native/meta-monitor-manager-kms.c:820:51: error: expected expression before ')' token
103 (CoglKmsCrtc**)cogl_crtcs->pdata, cogl_crtcs->len, &error);
104 ^
105 backends/native/meta-monitor-manager-kms.c: In function 'meta_monitor_manager_kms_init':
106 backends/native/meta-monitor-manager-kms.c:909:3: warning: implicit declaration of function 'cogl_kms_renderer_get_kms_fd' [-Wimplicit-function-declaration]
107 manager_kms->fd = cogl_kms_renderer_get_kms_fd (cogl_renderer);
108 ^
109 backends/native/meta-monitor-manager-kms.c:909:3: warning: nested extern declaration of 'cogl_kms_renderer_get_kms_fd' [-Wnested-externs]
110 Makefile:1637: recipe for target 'backends/native/meta-monitor-manager-kms.lo' failed
111
112 --
113 Your life is like a penny. You're going to lose it. The question is:
114 How do
115 you spend it?
116
117 John Covici
118 covici@××××××××××.com

Replies

Subject Author
[gentoo-user] Re: having problems emerging x11-wm/clutter-3.14.2 walt <w41ter@×××××.com>