Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 177353

Summary: gnome-base/nautilus-2.16.3 compilation err's on redefinition of typdef GSequence
Product: Gentoo Linux Reporter: Morten Sigsgaard <mschr>
Component: [OLD] GNOMEAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED NEEDINFO    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Morten Sigsgaard 2007-05-06 17:19:35 UTC
Calls stack upon hitting a redifinition of GSequence structure in gsequence.c:22

Here's the gcc output and backtrace:

In file included from gsequence.c:22:
gsequence.h:25: error: redefinition of typedef 'GSequence'
/usr/include/glib-2.0/glib/gsequence.h:26: error: previous declaration of 'GSequence' was here
gsequence.h:26: error: redefinition of typedef 'GSequenceIter'
/usr/include/glib-2.0/glib/gsequence.h:27: error: previous declaration of 'GSequenceIter' was here
gsequence.h:31: error: redefinition of typedef 'GSequenceIterCompareFunc'
/usr/include/glib-2.0/glib/gsequence.h:31: error: previous declaration of 'GSequenceIterCompareFunc' was here
make[3]: *** [gsequence.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/gnome-base/nautilus-2.16.3/work/nautilus-2.16.3/cut-n-paste-code/gsequence'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gnome-base/nautilus-2.16.3/work/nautilus-2.16.3/cut-n-paste-code'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gnome-base/nautilus-2.16.3/work/nautilus-2.16.3'
make: *** [all] Error 2

!!! ERROR: gnome-base/nautilus-2.16.3 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 3628:   Called src_compile
  ebuild.sh, line 1304:   Called gnome2_src_compile
  gnome2.eclass, line 71:   Called die
Comment 1 Gilles Dartiguelongue (RETIRED) gentoo-dev 2007-09-12 22:46:14 UTC
please provide emerge --info.
This sounds very much like mixing unstable glib with stable applications or something like this. Can you actually reproduce this with nautilus-2.18 ?
Comment 2 Jaques Strap 2007-11-22 14:21:42 UTC
I observed this problem also - http://forums.gentoo.org/viewtopic-t-619682.html
I wasn't able to reproduce this with nautilus-2.18.