Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 14944 - Arts 1.1.0 failed to compile
Summary: Arts 1.1.0 failed to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-01 22:25 UTC by M-A Loyer
Modified: 2003-05-20 21:44 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description M-A Loyer 2003-02-01 22:25:18 UTC
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"
Comment 1 Michele Balistreri (RETIRED) gentoo-dev 2003-04-13 09:35:20 UTC
try upgrading re-emerging gcc, maybe upgrading it, seem a problem with libstdc++, are 
you still having this problem? 
Comment 2 M-A Loyer 2003-04-16 17:44:59 UTC
I just rebuilded gcc and there is no changes, I still have the same error.
Comment 3 Michele Balistreri (RETIRED) gentoo-dev 2003-04-17 03:26:02 UTC
mmh try disabling ccache, "FETURES=-ccache emerge arts" 
Comment 4 Dan Armak (RETIRED) gentoo-dev 2003-04-20 07:00:09 UTC
Maybe upgrading glibc to 2.3.2, etc... 
Comment 5 M-A Loyer 2003-05-05 13:19:13 UTC
Still not working, I tryed both solutions disabling the CCACH and upgrading to GLIBC 2.3.2.  I still have the same error.
Comment 6 Michele Balistreri (RETIRED) gentoo-dev 2003-05-06 06:25:14 UTC
what about arts 1.1.1? 
Comment 7 M-A Loyer 2003-05-20 21:44:38 UTC
1.1.1 did not compiled...

But after changing my CFLAGS to "-O3 -mcpu=pentium3 -pipe -mfpmath=sse"
arts compiled correctly...