this is the error I have when I try to emerge the Arts 1.1.0 ebuild: g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../mcop -I/usr/kde/3.1/include -I/usr/qt/3/include -I/usr/X11R6/include -I../libltdl -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -fno-exceptions -fno-check-new -ftemplate-depth-99 -O0 -c -o namespace.o `test -f 'namespace.cc' || echo './'`namespace.cc /bin/sh ../libtool --silent --mode=link --tag=CXX g++ -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -fno-exceptions -fno-check-new -ftemplate-depth-99 -O0 -o mcopidl -L/usr/X11R6/lib -L/usr/qt/3/lib -L/usr/kde/3.1/lib mcopidl.o yacc.o scanner.o namespace.o ../mcop/libmcop.la ../mcop/.libs/libmcop.so: undefined reference to `std::__default_alloc_template<(bool)1, (int)0>::_S_force_new' collect2: ld returned 1 exit status make[2]: *** [mcopidl] Error 1 make[2]: Leaving directory `/var/tmp/portage/arts-1.1.0/work/arts-1.1/mcopidl' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/arts-1.1.0/work/arts-1.1' make: *** [all] Error 2 !!! ERROR: kde-base/arts-1.1.0 failed. !!! Function kde_src_compile, Line 115, Exitcode 2 !!! died running emake, kde_src_compile:make and here is my "emerge info" : # emerge info Portage 2.0.46-r9 (default-x86-1.4, gcc-3.2.1, glibc-2.3.1-r2) ================================================================= System uname: 2.4.19-gentoo-r10 i686 Celeron (Coppermine) GENTOO_MIRRORS="http://www.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="oss apm crypt cups encode gif libg++ mikmod mmx mpeg ncurses nls pdflib qtmt quicktime spell xml2 zlib gdbm berkdb slang readline arts tetex bonobo tcltk java guile tcpd pam libwww ssl python esd imlib motif X sse gtk gnome -3dnow kde avi directfb fbcon gpm jpeg mozilla mysql oggvorbis opengl pcmcia perl png qt samba sdl svga truetype xmms xv x86" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-O2 -mcpu=i686 -pipe" CXXFLAGS="" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache" Reproducible: Always Steps to Reproduce: 1. emerge arts 2. wont compile... Actual Results: I get the compilation error. Expected Results: compile Portage 2.0.46-r9 (default-x86-1.4, gcc-3.2.1, glibc-2.3.1-r2) ================================================================= System uname: 2.4.19-gentoo-r10 i686 Celeron (Coppermine) GENTOO_MIRRORS="http://www.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="oss apm crypt cups encode gif libg++ mikmod mmx mpeg ncurses nls pdflib qtmt quicktime spell xml2 zlib gdbm berkdb slang readline arts tetex bonobo tcltk java guile tcpd pam libwww ssl python esd imlib motif X sse gtk gnome -3dnow kde avi directfb fbcon gpm jpeg mozilla mysql oggvorbis opengl pcmcia perl png qt samba sdl svga truetype xmms xv x86" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-O2 -mcpu=i686 -pipe" CXXFLAGS="" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache"
try upgrading re-emerging gcc, maybe upgrading it, seem a problem with libstdc++, are you still having this problem?
I just rebuilded gcc and there is no changes, I still have the same error.
mmh try disabling ccache, "FETURES=-ccache emerge arts"
Maybe upgrading glibc to 2.3.2, etc...
Still not working, I tryed both solutions disabling the CCACH and upgrading to GLIBC 2.3.2. I still have the same error.
what about arts 1.1.1?
1.1.1 did not compiled... But after changing my CFLAGS to "-O3 -mcpu=pentium3 -pipe -mfpmath=sse" arts compiled correctly...