When I try to emerge fbdesk I get multiple Resource.hh errors. Reproducible: Always Steps to Reproduce: 1.emerge fbdesk 2. 3. Actual Results: g++ -DHAVE_CONFIG_H -I. -I. -I.. -IFbTk -march=pentium3 -mtune=i686 -O2 -funroll-loops -pipe -fno-unit-at-a-time -I/usr/X11R6/include -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/libpng12 -c -o fbdesk-FbDesk.o `test -f FbDesk.cc || echo './'`FbDesk.cc source='Icon.cc' object='fbdesk-Icon.o' libtool=no \ depfile='.deps/fbdesk-Icon.Po' tmpdepfile='.deps/fbdesk-Icon.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I.. -IFbTk -march=pentium3 -mtune=i686 -O2 -funroll-loops -pipe -fno-unit-at-a-time -I/usr/X11R6/include -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/libpng12 -c -o fbdesk-Icon.o `test -f Icon.cc || echo './'`Icon.cc In file included from FbDesk.hh:34, from FbDesk.cc:24: Resource.hh: In constructor `Resource<T>::Resource(ResourceManager&, T, const std::string&, const std::string&)': Resource.hh:74: error: invalid use of undefined type `struct ResourceManager' Resource.hh:59: error: forward declaration of `struct ResourceManager' Resource.hh: In destructor `virtual Resource<T>::~Resource()': Resource.hh:77: error: invalid use of undefined type `struct ResourceManager' Resource.hh:59: error: forward declaration of `struct ResourceManager' make[3]: *** [fbdesk-FbDesk.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory `/var/tmp/portage/fbdesk-1.1.5/work/fbdesk-1.1.5/src'make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/fbdesk-1.1.5/work/fbdesk-1.1.5/src'make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/fbdesk-1.1.5/work/fbdesk-1.1.5' make: *** [all] Error 2 !!! ERROR: x11-misc/fbdesk-1.1.5 failed. !!! Function src_compile, Line 18, Exitcode 2 !!! (no error message) Expected Results: I expected it to emerge so I could use it. Portage 2.0.50-r8 (default-x86-1.4, gcc-3.4.0, glibc-2.3.4.20040605-r1, 2.6.6-love4) ================================================================= System uname: 2.6.6-love4 i686 Pentium III (Coppermine) Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -mtune=i686 -O2 -funroll-loops -pipe -fno-unit-at-a-time" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium3 -mtune=i686 -O2 -funroll-loops -pipe -fno-unit-at-a-time" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://mirror.clarkson.edu/pub/distributions/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/local/bmg-main /usr/local/bmg-gnome-current" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X alsa apm avi berkdb cdr crypt cups doc encode esd foomaticdb gdbm gif gimp gimp-print gnome gtk gtk2 imlib java jpeg libg++ libwww mad mikmod motif mozilla mpeg ncurses nls nptl oggvorbis opengl oss pam pdflib perl png python quicktime readline samba sdl slang spell ssl svga tcltk tcpd tetex truetype x86 xml2 xmms xv zlib"
Created attachment 35627 [details, diff] patch on fbdesk-1.1.5 to work with gcc-3.4*
Created attachment 35628 [details, diff] Patch on ebuild
Commited to portage.