portage 1.9.13, gcc 2.95.3, glibc2.2.5, kernel 2.4.19-r5, gtk 2.0.3, glib 2.0.3. When i try to emerge gnome2 (after unmask that 30-40 packages:)) it's die at libgtkhtml building. The error what i see is: Making all in css make[3]: Entering directory `/var/tmp/portage/libgtkhtml-1.99.8/work/libgtkhtml-1.99.8/libgtkhtml/css' /bin/sh ../../libtool --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../libgtkhtml -I/usr/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -DG_LOG_DOMAIN=\"HtmlCss\" -O2 -mcpu=i686 -march=i686 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -malign-functions=4 -fomit-frame-pointer -g -c cssmatcher.c mkdir .libs i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../libgtkhtml -I/usr/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -DG_LOG_DOMAIN=\"HtmlCss\" -O2 -mcpu=i686 -march=i686 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -malign-functions=4 -fomit-frame-pointer -g -c cssmatcher.c -fPIC -DPIC -o .libs/cssmatcher.lo In file included from /usr/include/gtk-2.0/gtk/gtk.h:82, from ../../libgtkhtml/graphics/htmlimagefactory.h:29, from ../../libgtkhtml/layout/htmlstyle.h:30, from ../../libgtkhtml/dom/core/dom-node.h:8, from ../../libgtkhtml/dom/core/dom-element.h:6, from cssmatcher.c:6: /usr/include/gtk-2.0/gtk/gtkimage.h:85: parse error before `GdkPixbufAnimationIter' /usr/include/gtk-2.0/gtk/gtkimage.h:85: warning: no semicolon at end of struct or union /usr/include/gtk-2.0/gtk/gtkimage.h:87: parse error before `}' /usr/include/gtk-2.0/gtk/gtkimage.h:113: field `anim' has incomplete type make[3]: *** [cssmatcher.lo] Error 1 make[3]: Leaving directory `/var/tmp/portage/libgtkhtml-1.99.8/work/libgtkhtml-1.99.8/libgtkhtml/css' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/libgtkhtml-1.99.8/work/libgtkhtml-1.99.8/libgtkhtml' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/libgtkhtml-1.99.8/work/libgtkhtml-1.99.8' make: *** [all-recursive-am] Error 2 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 7, Exitcode 2 !!! compile failure !!! emerge aborting on /usr/portage/gnome-extra/libgtkhtml/libgtkhtml-1.99.8.ebuild
hmm,I'm really uncertain about this one. it would seem you have a broken include there, but since I'm running the same system (except for the kernel) it seems odd to say the least... but this "works for me" ... can you please reinstall gtk+ (remove -fomit-frame-pointer too, its a horror for debugging and fucks up just about everything ) and then try libgtkhtml again?
i should have done this last time, reassigning to me, adding stroke as cc
Ok, glib, gtk+, libxml2 rebuilded, libgtkhtml build failure remains the same. Maybe tonight i try an emerge --emptytree libgtkhtml to rebuild everything without those evil cflags.
what filesystem are you using on /usr/include?? remove all the gtk+ related files + packages. then sync disks Then re-emerge gtk+ this seems to be corruption in the gtk+ headers.. .and thats bad.
I'm using ext3 everywhere, without any problems so far...unmerge, sync, emerge gtk+ doesn't helped. Now i experimenting with xfs and gcc3.1 on an other partition, but this is a clean gnome2beta-free system :D Thanks for the help, and keep up this great work! When Gnome2 comes out, i will give a try again.
Hmm, really really odd... Perhaps.... *ponder* hmm, could you attach said header file here? I'd like to check and compare. this is.. strange.
Created attachment 1354 [details] /usr/include/gtk-2.0/gtk/gtkimage.h Hope that this is what you asking for.
it was... this is really annoying.. exactly the same file as I have it.... I've released a .9 now, please try??
Created attachment 1355 [details] emerge libgtkhtml >/tmp/emerge-libgtkhtml.log 2>&1 (16k) Same situation. Maybe you find something in this log, i'm not a programmer.
this is still really confusing... could you please try theese two things: in the /usr/portage/gnome-extra/libgtkhtml/libgtkhtml-1.99.9.ebuild change LIBTOOL_FIX="1" into LIBTOOL_FIX="0" and recopmile and in /etc/make.conf add MAKEOPTS="-j1"
Created attachment 1356 [details] emerge libgtkhtml log Interesting, now it dies somewhere else :)
Happy Happy Joy joy!! :) Actually, I'm really stumped for what is causing this... something is wrong and I can't figure out -what- .. I've posted a bug on bugzilla.gnome.org about this, and hope to get some more in-the-know help, though that can be a faint one ; )
aha! got some help from the swedish gnome crowd (wee for nationalism ;) Seems that the conflict is with gtk+ 1.2.x and 2.0.x .. You should remove all instances of gtk+, then install 1.2.10-r8 and 2.0.x after that try again, that should solve it.
Now there's no gtk+-1.2.x on my system, only gtk+2.0.3, but libgtkhtml build dies the same way. Something is really messed up here...
could you check the contents of /usr/include/gtk ?
There is no such directory. Only gtk-2.0/
okay.. then check /usr/include/gdk-pixbuf .. could be there.. they are insisting its a header collision here...
root:~# ls -l /usr/include/gdk-pixbuf/ total 36 -rw-r--r-- 1 root root 332 May 28 21:01 gdk-pixbuf-features.h -rw-r--r-- 1 root root 2956 May 28 21:01 gdk-pixbuf-loader.h -rw-r--r-- 1 root root 2421 May 28 21:01 gdk-pixbuf-xlib.h -rw-r--r-- 1 root root 4883 May 28 21:01 gdk-pixbuf-xlibrgb.h -rw-r--r-- 1 root root 8564 May 28 21:01 gdk-pixbuf.h -rw-r--r-- 1 root root 1983 May 28 21:01 gnome-canvas-pixbuf.h and root:~# ls -l /usr/include/gdk-pixbuf-1.0/gdk-pixbuf/ total 36 -rw-r--r-- 1 root root 332 May 28 21:01 gdk-pixbuf-features.h -rw-r--r-- 1 root root 2956 May 28 21:01 gdk-pixbuf-loader.h -rw-r--r-- 1 root root 2421 May 28 21:01 gdk-pixbuf-xlib.h -rw-r--r-- 1 root root 4883 May 28 21:01 gdk-pixbuf-xlibrgb.h -rw-r--r-- 1 root root 8564 May 28 21:01 gdk-pixbuf.h -rw-r--r-- 1 root root 1983 May 28 21:01 gnome-canvas-pixbuf.h
Doh, the gdk-pixbuf is a symlink to gdk-pixbuf-1.0/gdk-pixbuf! Maybe this is the source of the problem?
Not sure, try and unmerge it and see... I'm still fumbling blindly here.
>>> gnome-extra/libgtkhtml-1.99.9 merged. YESS! :) So, gdk-pixbuf unmerge solved this "bug". Thank you so much for dont giving up :)
yey, great! thanks go to andersca (ac_*) on irc.gimp.net for this solution :)
*** Bug 4247 has been marked as a duplicate of this bug. ***