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)
you forgot to include `emerge info`
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).
this bug crops up if you do -gnome with libspectrum and +gtk with fuse i'll see if i cant patch the libspectrum.h
please try out libspectrum-0.2.0.1-r1
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
alright, i just went ahead and made glib a requirement to fix your problem: env USE="gnome" emerge libspectrum emerge fuse
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.