Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 435164 - 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'
Summary: media-libs/clutter-gtk-0.10.8 ./gtk-clutter-embed.c: In function 'gtk_clutter...
Status: RESOLVED WONTFIX
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: Pending Removal: 2013-01-05
Keywords: PMASKED
Depends on: 431820
Blocks: 438888
  Show dependency tree
 
Reported: 2012-09-15 20:27 UTC by Anton Kochkov
Modified: 2013-02-10 08:32 UTC (History)
4 users (show)

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


Attachments
full build log (clutter-gtk.log,11.60 KB, text/plain)
2012-09-15 20:27 UTC, Anton Kochkov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Kochkov 2012-09-15 20:27:01 UTC
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
Comment 1 Rafał Mużyło 2012-09-15 23:51:46 UTC
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
Comment 2 Frank Ridderbusch 2012-09-17 18:50:30 UTC
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.
Comment 3 Gary E. Miller 2012-09-21 17:42:56 UTC
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.
Comment 4 Pacho Ramos gentoo-dev 2012-09-22 12:47:53 UTC
I see that debian already removed it:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=657803
Comment 5 Pacho Ramos gentoo-dev 2012-09-22 12:52:30 UTC
To lastrite this we need a sci-geosciences/gpxviewer bump and drop map support for empathy-2.34.x
Comment 6 Vicente Olivert Riera (RETIRED) gentoo-dev 2012-10-12 23:36:47 UTC
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
Comment 7 Rafał Mużyło 2012-10-19 16:39:19 UTC
(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)
Comment 8 Dale Pontius 2012-10-31 01:18:25 UTC
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.
Comment 9 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-10-31 01:49:48 UTC
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?
Comment 10 Gilles Dartiguelongue (RETIRED) gentoo-dev 2012-10-31 16:00:04 UTC
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.
Comment 11 Gilles Dartiguelongue (RETIRED) gentoo-dev 2012-10-31 16:02:56 UTC
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.
Comment 12 Christian Faulhammer (RETIRED) gentoo-dev 2012-11-04 16:29:27 UTC
(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.
Comment 13 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-12-05 22:46:16 UTC
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
Comment 14 Pacho Ramos gentoo-dev 2013-02-10 08:32:08 UTC
dropped