Re: [gnome-love] GTK+-3 Faild to build (JHbuild)



Here is the post from kwalo, which tries to solve the problem:
(but not solves for me)

I had similar problem with building gtk+-3, but it failed because of
gdk-pixbuf gobject stuff. I filed a bug about this [1].
The reason is that, if you build everything from scratch, cairo is built
before gobject, see this output:
$ jhbuild list gtk+-3
intltool
rarian
gnome-doc-utils
gtk-doc
glib
fontconfig
pixman
cairo    <- cairo without gobject introspection
gnome-common
gobject-introspection  <- gi is built
pango
atk
gdk-pixbuf
gtk+-3     <- gtk finds gobject-introspection and expects that every
package contains it

The sollution is to add gobject-introspection as cairo dependency to
moduleset file. As a workaround, try jhbuild build gobject-introspection
and then continue with jhbuild build gtk+-3.

[1] https://bugzilla.gnome.org/show_bug.cgi?id=631354



-------- Message original --------
Sujet: Re: [gnome-love] GTK+-3 Faild to build (JHbuild)
Date : Thu, 07 Oct 2010 20:29:47 +0200
De : kwalo <kwalo o2 pl>
Pour : Ledabe<listes ledabe net>

Dnia 7 października 2010 19:51 Ledabe <listes ledabe net> napisał(a):

Well

I've done a rm -rf * /opt/gnome ~/checkout ~/jhbuild
reinstall all
and retryed

Everythink builded fine until gtk+-3 with the make error:

tkprivate.h:109: Warning: Gtk: symbol='SizeRequest': Unknown namespace
for identifier 'SizeRequest'
gtkprivate.h:118: Warning: Gtk: symbol='SizeRequestCache': Unknown
namespace for identifier 'SizeRequestCache'
g-ir-scanner: compile: gcc -Wall -pthread -I/opt/gnome/include/glib-2.0
-I/opt/gnome/lib/glib-2.0/include -I.. -I../gtk -I.. -I../gdk -I../gdk
-I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include
-I/opt/gnome/include/pango-1.0 -I/opt/gnome/include/cairo
-I/opt/gnome/include/pixman-1 -I/opt/gnome/include/gdk-pixbuf-2.0
-I/opt/gnome/include/atk-1.0 -I/usr/include/freetype2
-I/usr/include/libpng14 -I/opt/gnome/include/glib-2.0
-I/opt/gnome/lib/glib-2.0/include -I/opt/gnome/include/gio-unix-2.0/
-I/opt/gnome/include/atk-1.0 -I/opt/gnome/include/cairo
-I/opt/gnome/include/pixman-1 -I/usr/include/freetype2
-I/usr/include/libpng14 -c -o
/home/simon/checkout/gnome/gtk+-2.91.0/gtk/tmp-introspectQBfuhd/Gtk-3.0.o 
/home/simon/checkout/gnome/gtk+-2.91.0/gtk/tmp-introspectQBfuhd/Gtk-3.0.c
g-ir-scanner: link: /bin/sh ../libtool --mode=link --tag=CC --silent gcc
-o
/home/simon/checkout/gnome/gtk+-2.91.0/gtk/tmp-introspectQBfuhd/Gtk-3.0
-L. libgtk-x11-3.0.la -pthread -L/opt/gnome/lib -lgio-2.0 -lgobject-2.0
-lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0
/home/simon/checkout/gnome/gtk+-2.91.0/gtk/tmp-introspectQBfuhd/Gtk-3.0.o
/home/simon/checkout/gnome/gtk+-2.91.0/gtk/tmp-introspectQBfuhd/.libs/Gtk-3.0:
symbol lookup error: /opt/gnome/lib/libcairo-gobject.so.2: undefined
symbol: cairo_region_destroy
Command
'['/home/simon/checkout/gnome/gtk+-2.91.0/gtk/tmp-introspectQBfuhd/Gtk-3.0',
'--introspect-dump=/home/simon/checkout/gnome/gtk+-2.91.0/gtk/tmp-introspectQBfuhd/types.txt,/home/simon/checkout/gnome/gtk+-2.91.0/gtk/tmp-introspectQBfuhd/dump.xml']'
returned non-zero exit status 127
make[4]: *** [Gtk-3.0.gir] Error 1
make[4]: Leaving directory `/home/simon/checkout/gnome/gtk+-2.91.0/gtk'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/simon/checkout/gnome/gtk+-2.91.0/gtk'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/simon/checkout/gnome/gtk+-2.91.0/gtk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/simon/checkout/gnome/gtk+-2.91.0'
make: *** [all] Error 2
*** Error during phase build of gtk+-3: ########## Error running make
*** [27/235]

Thanks for help


I had similar problem with building gtk+-3, but it failed because of
gdk-pixbuf gobject stuff. I filed a bug about this [1].
The reason is that, if you build everything from scratch, cairo is built
before gobject, see this output:
$ jhbuild list gtk+-3
intltool
rarian
gnome-doc-utils
gtk-doc
glib
fontconfig
pixman
cairo    <- cairo without gobject introspection
gnome-common
gobject-introspection  <- gi is built
pango
atk
gdk-pixbuf
gtk+-3     <- gtk finds gobject-introspection and expects that every
package contains it

The sollution is to add gobject-introspection as cairo dependency to
moduleset file. As a workaround, try jhbuild build gobject-introspection
and then continue with jhbuild build gtk+-3.

[1] https://bugzilla.gnome.org/show_bug.cgi?id=631354




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]