Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 7955 - (kde) arts compile fails (all ebuild versions tried) on gcc 3.1.1
Summary: (kde) arts compile fails (all ebuild versions tried) on gcc 3.1.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-09-15 08:35 UTC by Michal Maruska
Modified: 2003-02-04 19:42 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 Michal Maruska 2002-09-15 08:35:04 UTC
i can't compile arts. All ebuilds fail at the same point:

Making all in mcopidl
make[2]: Entering directory `/var/tmp/portage/arts-1.0.3/work/arts-1.0.3/mcopidl'
/bin/sh ../libtool --mode=link --tag=CXX i686-pc-linux-gnu-g++  -DNDEBUG
-DNO_DEBUG -march=i686 -pipe -fno-exceptions -fno-check-new    -L/usr/X11R6/lib
-L/usr/qt/3/lib -L/usr/kde/3/lib  -o mcopidl  mcopidl.o yacc.o scanner.o
namespace.o ../mcop/libmcop.la 
i686-pc-linux-gnu-g++ -DNDEBUG -DNO_DEBUG -march=i686 -pipe -fno-exceptions
-fno-check-new -o .libs/mcopidl mcopidl.o yacc.o scanner.o namespace.o 
-L/usr/X11R6/lib -L/usr/qt/3/lib -L/usr/kde/3/lib ../mcop/.libs/libmcop.so
-L/lib -L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.1.1
-L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.1.1/../../../../i686-pc-linux-gnu/lib
-L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.1.1/../../..
-L/var/tmp/portage/gcc-3.1-r7/work/build/i686-pc-linux-gnu/libstdc++-v3/src
-L/var/tmp/portage/gcc-3.1-r7/work/build/i686-pc-linux-gnu/libstdc++-v3/src/.libs
-L/var/tmp/portage/gcc-3.1-r7/work/build/gcc -L/usr/i686-pc-linux-gnu/bin
-L/usr/i686-pc-linux-gnu/lib
-L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.1/gcc-lib/i686-pc-linux-gnu/3.1
-L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.1/../../../../i686-pc-linux-gnu/lib
-lresolv -ldl /usr/lib/gcc-lib/i686-pc-linux-gnu/3.1/libstdc++.so -lm -lc
-lgcc_s -Wl,--rpath -Wl,/usr/kde/3/lib -Wl,--rpath
-Wl,/usr/lib/gcc-lib/i686-pc-linux-gnu/3.1
mcopidl.o: In function `std::basic_string<char, std::char_traits<char>,
std::allocator<char> >& std::basic_string<char, std::char_traits<char>,
std::allocator<char> >::append<char const*>(char const*, char const*)':
mcopidl.o(.gnu.linkonce.t._ZNSs6appendIPKcEERSsT_S3_+0x53): undefined reference
to `std::basic_string<char, std::char_traits<char>, std::allocator<char>
>::replace(__gnu_cxx::__normal_iterator<char*, std::basic_string<char,
std::char_traits<char>, std::allocator<char> > >,
__gnu_cxx::__normal_iterator<char*, std::basic_string<char,
std::char_traits<char>, std::allocator<char> > >, char const*, char const*)'
collect2: ld returned 1 exit status
make[2]: *** [mcopidl] Error 1
make[2]: Leaving directory `/var/tmp/portage/arts-1.0.3/work/arts-1.0.3/mcopidl'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/arts-1.0.3/work/arts-1.0.3'
make: *** [all] Error 2

!!! ERROR: The ebuild did not complete successfully.
!!! Function kde_src_compile, Line -6658, Exitcode 2
!!! died running emake, kde_src_compile:make


I did compile arts a month ago (probably w/  Gcc 3.1).

ebuild arts-XXXX  help   gives:
.... 
package     : arts-1.0.3
  slot        : 3.0
  category    : kde-base
  description : KDE 3.x Sound Server
  system      : i686-pc-linux-gnu
  c flags     : -march=i686 -O3 -pipe
  c++ flags   : -march=i686 -O3 -pipe
  make flags  : -j2
  build mode  : production (stripped)
  merge to    : /


$ i686-pc-linux-gnu-g++ -v                          
                                                                               
  /s/kde-base/arts
Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.1.1/specs
Configured with: /var/tmp/portage/gcc-3.1.1-r1/work/gcc-3.1.1/configure
--prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared
--host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --target=i686-pc-linux-gnu
--with-system-zlib --enable-languages=c,c++,ada,f77,objc,java
--enable-threads=posix --enable-long-long --disable-checking
--enable-cstdio=stdio --enable-clocale=generic
--enable-version-specific-runtime-libs
--with-gxx-include-dir=/usr/include/g++-v31 --with-local-prefix=/usr/local
--enable-shared --enable-nls --without-included-gettext
Thread model: posix
gcc version 3.1.1
Comment 1 Dan Armak (RETIRED) gentoo-dev 2002-09-15 14:43:26 UTC
Sigh... another gcc 3.1 -> 3.1.1 upgrade problem.   
   
Short version: such upgrades almost never work. You'd best build a clean new  
gcc-3.2 system in a chroot. To try and fix your current sys, see  
www.gentoo.org/~carpaski/system_update/ 
 
This should be closed as a duplicate, only I can't find the right bug to refer 
to... 
Comment 2 Michal Maruska 2002-09-19 03:31:22 UTC
upgraded to gcc 3.2.  now it works.