First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 34050
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: SpanKY <vapier@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: G.K.MacGregor <bugreport@gkmac.co.uk>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 34050 depends on: Show dependency tree
Show dependency graph
Bug 34050 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2003-11-21 12:05 0000
fuse-0.6.1.1 fails to compile when the GTK use flag is set. It seems to 
compile correctly when the GTK use flag is not set, but then I cannot have the 
GTK interface version of fuse at all! 

Reproducible: Always
Steps to Reproduce:
USE="gtk" emerge fuse 
Actual Results:  
Making all in gtk 
make[3]: Entering directory 
`/var/tmp/portage/fuse-0.6.1.1/work/fuse-0.6.1.1/ui/gtk' 
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/gtk-1.2 
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include   
-I/usr/include  -march=athlon-xp -O2 -pipe -fomit-frame-pointer -Wall -c 
binary.c 
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/gtk-1.2 
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include   
-I/usr/include  -march=athlon-xp -O2 -pipe -fomit-frame-pointer -Wall -c 
browse.c 
In file included from ../../fuse.h:30, 
                 from browse.c:37: 
/usr/include/libspectrum.h:63: redefinition of `struct _GSList' 
make[3]: *** [browse.o] Error 1 
make[3]: *** Waiting for unfinished jobs.... 
In file included from binary.c:34: 
/usr/include/libspectrum.h:63: redefinition of `struct _GSList' 
make[3]: *** [binary.o] Error 1 
make[3]: Leaving directory 
`/var/tmp/portage/fuse-0.6.1.1/work/fuse-0.6.1.1/ui/gtk' 
make[2]: *** [all-recursive] Error 1 
make[2]: Leaving directory 
`/var/tmp/portage/fuse-0.6.1.1/work/fuse-0.6.1.1/ui' 
make[1]: *** [all-recursive] Error 1 
make[1]: Leaving directory `/var/tmp/portage/fuse-0.6.1.1/work/fuse-0.6.1.1' 
make: *** [all-recursive-am] Error 2 
 
!!! ERROR: app-emulation/fuse-0.6.1.1 failed. 
!!! Function src_compile, Line 58, Exitcode 2 
!!! (no error message)

------- Comment #1 From SpanKY 2003-11-21 13:29:33 0000 -------
you forgot to include `emerge info`

------- Comment #2 From G.K.MacGregor 2003-11-21 14:40:14 0000 -------
Oops! Sorry, rather new to this bug reporting business, here goes!
Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.4.20-gentoo-r7)
=================================================================
System uname: 2.4.20-gentoo-r7 i686 AMD Athlon(tm) XP 2000+
Gentoo Base System version 1.4.3.10p1
distcc 2.11.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache autoaddcvs sandbox userpriv usersandbox fixpackages"
GENTOO_MIRRORS="http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/ ftp://gentoo.linux.no/pub/gentoo http://gentoo.oregonstate.edu/ http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 oss apm avi crypt cups foomaticdb gif gpm jpeg mad mikmod mpeg ncurses nls png quicktime spell truetype xml2 xmms xv zlib gdbm berkdb slang readline tetex bonobo tcltk java guile sdl tcpd pam libwww ssl perl python imlib oggvorbis motif 3dnow alsa -arts cdr cjk dga dvd encode -esd gd -gtkhtml -libg++ joystick mmx -mozilla mysql opengl pdflib samba sse -svga X kde qt -gnome -gtk -gtkhtml"

I usually have -gtk (as you'll see above) but since I need a clickable menu frontend I need to enable the gtk USE flag on this particular occasion (which causes the compile to fail).

------- Comment #3 From SpanKY 2003-11-24 08:31:15 0000 -------
this bug crops up if you do -gnome with libspectrum and +gtk with fuse

i'll see if i cant patch the libspectrum.h

------- Comment #4 From SpanKY 2003-11-24 09:24:59 0000 -------
please try out libspectrum-0.2.0.1-r1

------- Comment #5 From G.K.MacGregor 2003-11-24 13:06:35 0000 -------
Tried the new libspectrum-0.2.0.1-r1, but Fuse still fails to compile...

make[3]: Entering directory `/var/tmp/portage/fuse-0.6.1.1/work/fuse-0.6.1.1/ui/gtk'
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include   -I/usr/include  -march=athlon-xp -O2 -pipe -fomit-frame-pointer -Wall -c binary.c
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include   -I/usr/include  -march=athlon-xp -O2 -pipe -fomit-frame-pointer -Wall -c browse.c
In file included from ../../fuse.h:30,
                 from browse.c:37:
/usr/include/libspectrum.h:64: redefinition of `struct _GSList'
In file included from binary.c:34:
/usr/include/libspectrum.h:64: redefinition of `struct _GSList'
make[3]: *** [browse.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [binary.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/fuse-0.6.1.1/work/fuse-0.6.1.1/ui/gtk'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/fuse-0.6.1.1/work/fuse-0.6.1.1/ui'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/fuse-0.6.1.1/work/fuse-0.6.1.1'
make: *** [all-recursive-am] Error 2

!!! ERROR: app-emulation/fuse-0.6.1.1 failed.
!!! Function src_compile, Line 59, Exitcode 2
!!! (no error message)

Although libspectrum seemed to compile successfully, this warning seemed to appear tens of times...

libspectrum.h:101:8: warning: extra tokens at end of #endif directive

------- Comment #6 From SpanKY 2003-11-24 14:40:11 0000 -------
alright, i just went ahead and made glib a requirement
to fix your problem:
env USE="gnome" emerge libspectrum
emerge fuse

------- Comment #7 From G.K.MacGregor 2003-11-25 08:58:07 0000 -------
Yippee! It works now! I noticed that the "gnome" use flag has been dropped
from the libspectrum ebuild, but after recompiling that fuse now builds and
run correctly.

First Last Prev Next    No search results available      Search page      Enter new bug