Summary: | media-libs/clutter-gtk-0.10.8 ./gtk-clutter-embed.c: In function 'gtk_clutter_embed_realize': ./gtk-clutter-embed.c:184:5: error: unknown type name 'GdkColormap' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Anton Kochkov <anton.kochkov> |
Component: | [OLD] GNOME | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | fauli, mehmet, net-mail+disabled, treecleaner |
Priority: | Normal | Keywords: | PMASKED |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | Pending Removal: 2013-01-05 | ||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 431820 | ||
Bug Blocks: | 438888 | ||
Attachments: | full build log |
The error is quite obvious: it gets gtk3, while that version of clutter still needs gtk2. ...so, a couple questions: - what do you need this old version for ? all the later still in tree use gtk3 - ebuild does pull gtk2 in, so something odd happens during configure, attach config.log Well, I experienced the same recompilation problems with clutter-gtk and pyclutter. Turns out, that gpxviewer is dependend on the stuff. # emerge -pv --depclean =media-libs/clutter-gtk-0.10.8 =media-libs/libchamplain-0.6.0 =dev-python/pyclutter-gtk-0.10.0-r1 Calculating dependencies... done! dev-python/pyclutter-gtk-0.10.0-r1 pulled in by: media-libs/libchamplain-0.6.0 media-libs/clutter-gtk-0.10.8 pulled in by: dev-python/pyclutter-gtk-0.10.0-r1 media-libs/libchamplain-0.6.0 media-libs/libchamplain-0.6.0 pulled in by: sci-geosciences/gpxviewer-0.2.0 >>> No packages selected for removal by depclean Packages installed: 2558 Packages in world: 1634 Packages in system: 42 Required packages: 2558 Number to remove: 0 gpxviewer is kind of redundant, since I think, that viking and qlandkartegt pretty much provide the same functionality. Therefore I removed all the above packages: # emerge -v --depclean =media-libs/clutter-gtk-0.10.8 =media-libs/libchamplain-0.6.0 =dev-python/pyclutter-gtk-0.10.0-r1 =sci-geosciences/gpxviewer-0.2.0 However, there's still the compilation problem in https://bugs.gentoo.org/show_bug.cgi?id=435166 After another "emerge -pv --depclean dev-python/pyclutter" I removed pyclutter as well, since I had no other packages installed depending on it. I've found this quote on the clutter Python bindings page: WARNING: PyClutter only covers the 1.0 API, and it is going to be deprecated in favour of introspection-based bindings using PyGObject That's it I guess. media-libs/clutter-gtk-0.10.8 is also needed by mail-client/claws-mail-geolocation-0.0.8 But easier than fixing this bug is unmerging that package. I see that debian already removed it: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=657803 To lastrite this we need a sci-geosciences/gpxviewer bump and drop map support for empathy-2.34.x For me =media-libs/clutter-gtk-0.10.8 fails to compile with this error: CCLD gtk-clutter-viewport gtk-clutter-viewport.o: In function `main': gtk-clutter-viewport.c:(.text+0xb1): undefined reference to `g_thread_init' collect2: ld returned 1 exit status (In reply to comment #6) > For me =media-libs/clutter-gtk-0.10.8 fails to compile with this error: > > CCLD gtk-clutter-viewport > gtk-clutter-viewport.o: In function `main': > gtk-clutter-viewport.c:(.text+0xb1): undefined reference to `g_thread_init' > collect2: ld returned 1 exit status Actually, the solution is most likely #if !GLIB_CHECK_VERSION(2, 32, 0) g_thread_init(NULL); #endif (well, if the original line looked like this) I'm getting the same error as everyone else. In my case, this version of clutter-gtk is needed by media-gfx/gthumb-2.14.4. (with the "slideshow" USE flag) Newer versions of gthumb are ~arch, though they do use a newer version of clutter-gtk. We will need to clean out the following packages: mail-client/claws-mail-geolocation (all versions) =media-libs/clutter-gtk-0.10.8 =media-libs/libchamplain-0.8.3 and remove the following flags: USE=map for =net-im/empathy-2.34.0-r2 USE=slideshow for =media-gfx/gthumb-2.14.4 Christian, is removing claws-mail-geolocation acceptable for you? The problem could be easily fixed but there's also the little issue that clutter is now built against gtk:3 (at least in ~arch) and mixing is not possible since they are not slotted. The use of subslots (EAPI 5) would probably come in handy but it's not authorized for stable yet afaik. As for the users of this library, gthumb[slideshow] was pretty unstable in 2.14 iirc empathy[map] is mostly a toy libchamplain:0.8 is an old slot that's a good candidate for cleanup. The python bindings are also unused and candidates for lastrite maybe. (In reply to comment #9) > We will need to clean out the following packages: > > mail-client/claws-mail-geolocation (all versions) > =media-libs/clutter-gtk-0.10.8 > =media-libs/libchamplain-0.8.3 > > and remove the following flags: > > USE=map for =net-im/empathy-2.34.0-r2 > USE=slideshow for =media-gfx/gthumb-2.14.4 > > > Christian, is removing claws-mail-geolocation acceptable for you? For me personally, yes. Do not know about users, but please go on. I've removed the relevant USE flags, and masked claws-mail-geolocation, libchamplain:0.8, clutter-gtk:0.10 for removal. # Alexandre Rostovtsev <tetromino@gentoo.org> (05 Dec 2012) # Masked for removal in 30 days. # Incompatible with recent cogl and clutter versions (bug #435164) mail-client/claws-mail-geolocation <media-libs/libchamplain-0.9 <media-libs/clutter-gtk-1.0 dropped |
Created attachment 323946 [details] full build log Making all in clutter-gtk make[2]: Entering directory `/var/tmp/portage/media-libs/clutter-gtk-0.10.8/work/clutter-gtk-0.10.8/clutter-gtk' CC libclutter_gtk_0.10_la-gtk-clutter-embed.lo CC libclutter_gtk_0.10_la-gtk-clutter-scrollable.lo CC libclutter_gtk_0.10_la-gtk-clutter-util.lo CC libclutter_gtk_0.10_la-gtk-clutter-viewport.lo ./gtk-clutter-embed.c: In function 'gtk_clutter_embed_realize': ./gtk-clutter-embed.c:184:5: error: unknown type name 'GdkColormap' ./gtk-clutter-embed.c:196:14: warning: assignment makes pointer from integer without a cast [enabled by default] ./gtk-clutter-embed.c:213:13: error: 'GdkWindowAttr' has no member named 'colormap' ./gtk-clutter-embed.c:228:59: error: 'GDK_WA_COLORMAP' undeclared (first use in this function) ./gtk-clutter-embed.c:228:59: note: each undeclared identifier is reported only once for each function it appears in ./gtk-clutter-embed.c:241:3: warning: 'gtk_style_set_background' is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkstyle.h:380): Use 'GtkStyleContext' instead [-Wdeprecated-declarations] ./gtk-clutter-embed.c: In function 'gtk_clutter_embed_class_init': ./gtk-clutter-embed.c:534:15: error: 'GtkWidgetClass' has no member named 'expose_event' make[2]: *** [libclutter_gtk_0.10_la-gtk-clutter-embed.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/media-libs/clutter-gtk-0.10.8/work/clutter-gtk-0.10.8/clutter-gtk' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/media-libs/clutter-gtk-0.10.8/work/clutter-gtk-0.10.8' make: *** [all] Error 2 emake failed [31;01m*[0m ERROR: media-libs/clutter-gtk-0.10.8 failed (compile phase): [31;01m*[0m compile failure [31;01m*[0m