Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 4270 - Unable to emerge sawfish 2.0
Summary: Unable to emerge sawfish 2.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Spider (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-28 01:05 UTC by Trond Arve Nordheim
Modified: 2003-02-04 19:42 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Trond Arve Nordheim 2002-06-28 01:05:53 UTC
Hi!

I was just doing a "emerge -u world", and were having problems with the sawfish
2 package. This is what happens;

--

make[1]: Entering directory `/var/tmp/portage/sawfish-2.0/work/sawfish-2.0/src'
/bin/sh -ec 'gcc -MM -DHAVE_CONFIG_H -DSAWFISH -I. -I..  -mcpu=i386 -O3 -pipe
-I/usr/include -I/usr/lib/rep/i386-pc-linux-gnu -I/usr/include/gtk-2.0
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/X11R6/include 
play-sample.c \
| sed '\''s/play-sample\.o/& play-sample.lo .play-sample\.d/g'\'' > .play-sample.d'
In file included from /usr/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf.h:29,
                 from /usr/include/gtk-2.0/gdk-pixbuf-xlib/gdk-pixbuf-xlib.h:24,
                 from play-sample.c:10:
/usr/include/glib.h:164: warning: `G_STRUCT_OFFSET' redefined
/usr/include/glib-2.0/glib/gmacros.h:160: warning: this is the location of the
previous definition
/usr/include/glib.h:166: warning: `G_STRUCT_MEMBER_P' redefined

(..."this is the location of the previous definition" and `VARIABLE' redefined
just keeps coming)

/usr/include/glib-2.0/gobject/gvaluearray.h:66: parse error before
`GCompareDataFunc'
In file included from /usr/include/gtk-2.0/gdk-pixbuf-xlib/gdk-pixbuf-xlib.h:24,
                 from sawmill.h:40,
                 from colors.c:22:
/usr/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf.h:133: parse error before `GError'
/usr/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf.h:148: parse error before `GError'
/usr/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf.h:159: parse error before `GError'
/usr/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf.h:167: parse error before `GError'
/usr/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf.h:263: parse error before `GError'
In file included from /usr/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf.h:294,
                 from /usr/include/gtk-2.0/gdk-pixbuf-xlib/gdk-pixbuf-xlib.h:24,
                 from sawmill.h:40,
                 from colors.c:22:
/usr/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf-loader.h:69: parse error before `GError'
/usr/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf-loader.h:73: parse error before `GError'
/usr/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf-loader.h:77: parse error before `GError'
make[1]: *** [colors.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/sawfish-2.0/work/sawfish-2.0/src'
make: *** [all] Error 1

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 52, Exitcode 2
!!! (no error message)

!!! emerge aborting on  /usr/portage/x11-wm/sawfish/sawfish-2.0.ebuild .

--

Any conflicts that might be causing this? Or is it a bug in gtk/glib?
I tried remerging gtk2 and glib2, but the same thing still happens.
Comment 1 Spider (RETIRED) gentoo-dev 2002-06-28 02:48:31 UTC
this seems to be a conflict of colliding gdk-pixbuf headers, try to remove the
gdk-pixbuf-1.0 headers from usr/include, then emerge  gdk-pixbuf again (those
shouldnt be touched anyhow).

Comment 2 Trond Arve Nordheim 2002-06-28 04:04:15 UTC
No effect what so ever.. still the same error :\
Comment 3 Artur Brodowski 2002-06-28 04:22:00 UTC
i couldn't reproduce this - sawfish emerged just fine (though i use
metacity anyways)
glib.2.0.4
gdk-pixbuf.0.18.0-r1
maybe duplicated headers? 
see what qpkg --dups -vv | grep gdk-pixbuf shows
Comment 4 Trond Arve Nordheim 2002-06-28 04:33:24 UTC
No output from "qpkg --dups -vv | grep gdk-pixbuf"...

I don't really -need- sawfish either, thinking about trying metacity myself.. 
but it'd be nice knowing what's broken on my system ;)
Comment 5 Trond Arve Nordheim 2002-06-28 05:06:10 UTC
I uninstalled sawfish so emerge wouldn't try to upgrade it, and the world 
upgrade continued... until it was about to compile gconf-editor-0.2... same 
error happened here, complaints about parse errors in gtk-2.0 and 
/usr/include/gconf/2/gconf header files...
Comment 6 Spider (RETIRED) gentoo-dev 2002-06-28 05:36:35 UTC
try this then if you feel you have the time:
emerge -C gtk+ gtk-pixbuf rep-gtk
check out /usr/include for any and all references to gtk / gtk-pixbuf and remove
them

emerge gtk+ sawfish rep-gtk
and preferrably gtk+ 1.2.x as well :)
Comment 7 Trond Arve Nordheim 2002-06-28 06:07:34 UTC
No change, compile still crashes.
Comment 8 Spider (RETIRED) gentoo-dev 2002-07-25 18:03:09 UTC
is this still an issue? *out of ideas since long ago*
Comment 9 Trond Arve Nordheim 2002-08-01 07:34:53 UTC
Well, I had to reinstall gentoo anyway (some partition fuckups and stuff), so I
never got as far as to fix the problem... ;)
Comment 10 Spider (RETIRED) gentoo-dev 2002-08-01 15:51:34 UTC
ah, okay.
"worksforme" then :)