Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 3329 - libgtkhtml compile failure
Summary: libgtkhtml compile failure
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Spider (RETIRED)
URL:
Whiteboard:
Keywords:
: 4247 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-06-02 11:53 UTC by Simonics Zsolt
Modified: 2003-02-04 19:42 UTC (History)
2 users (show)

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


Attachments
/usr/include/gtk-2.0/gtk/gtkimage.h (gtkimage.h,6.52 KB, text/plain)
2002-06-05 12:07 UTC, Simonics Zsolt
Details
emerge libgtkhtml >/tmp/emerge-libgtkhtml.log 2>&1 (16k) (emerge-libgtkhtml.log,16.04 KB, text/plain)
2002-06-05 12:42 UTC, Simonics Zsolt
Details
emerge libgtkhtml log (emerge-libgtkhtml-nolibtoolfix.log,17.60 KB, text/plain)
2002-06-05 14:37 UTC, Simonics Zsolt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Simonics Zsolt 2002-06-02 11:53:38 UTC
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
Comment 1 Spider (RETIRED) gentoo-dev 2002-06-02 12:51:48 UTC
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?
Comment 2 Spider (RETIRED) gentoo-dev 2002-06-02 12:56:27 UTC
i should have done this last time, reassigning to me, adding stroke as cc 
Comment 3 Simonics Zsolt 2002-06-02 13:55:32 UTC
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.
Comment 4 Spider (RETIRED) gentoo-dev 2002-06-02 19:02:09 UTC
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.
Comment 5 Simonics Zsolt 2002-06-03 18:01:48 UTC
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. 
Comment 6 Spider (RETIRED) gentoo-dev 2002-06-05 11:47:54 UTC
Hmm, really really odd...

Perhaps....  *ponder*  hmm, could you attach said header file here? I'd like to
check and compare.

this is.. strange.
Comment 7 Simonics Zsolt 2002-06-05 12:07:56 UTC
Created attachment 1354 [details]
/usr/include/gtk-2.0/gtk/gtkimage.h

Hope that this is what you asking for.
Comment 8 Spider (RETIRED) gentoo-dev 2002-06-05 12:21:54 UTC
it was... 

this is really annoying..  exactly the same file as I have it.... 
I've released a .9 now, please try??

Comment 9 Simonics Zsolt 2002-06-05 12:42:25 UTC
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.
Comment 10 Spider (RETIRED) gentoo-dev 2002-06-05 14:30:32 UTC
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" 

Comment 11 Simonics Zsolt 2002-06-05 14:37:31 UTC
Created attachment 1356 [details]
emerge libgtkhtml log

Interesting, now it dies somewhere else :)
Comment 12 Spider (RETIRED) gentoo-dev 2002-06-05 16:20:39 UTC
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 ; ) 

Comment 13 Spider (RETIRED) gentoo-dev 2002-06-05 17:45:26 UTC
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.

Comment 14 Simonics Zsolt 2002-06-06 02:20:08 UTC
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...
Comment 15 Spider (RETIRED) gentoo-dev 2002-06-06 06:26:27 UTC
could you check the contents of /usr/include/gtk ?

Comment 16 Simonics Zsolt 2002-06-06 06:40:56 UTC
There is no such directory. Only gtk-2.0/
Comment 17 Spider (RETIRED) gentoo-dev 2002-06-06 11:08:18 UTC
okay.. then check /usr/include/gdk-pixbuf .. could be there.. they are insisting
its a header collision here...
Comment 18 Simonics Zsolt 2002-06-06 11:49:34 UTC
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
Comment 19 Simonics Zsolt 2002-06-06 12:41:00 UTC
Doh, the gdk-pixbuf is a symlink to gdk-pixbuf-1.0/gdk-pixbuf! Maybe this is the
source of the problem?
Comment 20 Spider (RETIRED) gentoo-dev 2002-06-06 13:15:53 UTC
Not sure, try and unmerge it and see...

I'm still fumbling blindly here.
Comment 21 Simonics Zsolt 2002-06-06 13:38:40 UTC
>>> gnome-extra/libgtkhtml-1.99.9 merged.

YESS! :)

So, gdk-pixbuf unmerge solved this "bug". Thank you so much for dont giving up :)
Comment 22 Spider (RETIRED) gentoo-dev 2002-06-06 16:07:31 UTC
yey, great!

thanks go to andersca (ac_*) on irc.gimp.net for this solution :)
Comment 23 Spider (RETIRED) gentoo-dev 2002-06-27 18:31:53 UTC
*** Bug 4247 has been marked as a duplicate of this bug. ***
Comment 24 Spider (RETIRED) gentoo-dev 2002-06-27 18:36:49 UTC
*** Bug 4247 has been marked as a duplicate of this bug. ***