Making all in KSProgress make[3]: Entering directory `/var/tmp/portage/kdenetwork-3.1.4/work/kdenetwork-3 .1.4/ksirc/KSProgress' /usr/qt/3/bin/moc ./ksprogress.h -o ksprogress.moc /usr/qt/3/bin/moc ./ksprogressdata.h -o ksprogressdata.moc /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/kde/3.1/include -I/usr/qt/3/include -I/usr/X11R6/include -D QT_THREAD_SUPPORT -D_REENTRANT -D_FILE_OFFSET_BITS=64 -Wnon-virtual-dtor -Wno- long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XO PEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 - mcpu=ultrasparc -O3 -pipe -fno-exceptions -fno-check-new -DQT_NO_COMPAT -DQT_CLE AN_NAMESPACE -DQT_NO_ASCII_CAST -DKDE_NO_COMPAT -DKDE_NO_COMPAT_H -fexceptions -c -o ksprogress.lo `test -f 'ksprogress.cpp' || echo './'`ksprogress.cpp /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/kde/3.1/include -I/usr/qt/3/include -I/usr/X11R6/include -D QT_THREAD_SUPPORT -D_REENTRANT -D_FILE_OFFSET_BITS=64 -Wnon-virtual-dtor -Wno- long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XO PEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 - mcpu=ultrasparc -O3 -pipe -fno-exceptions -fno-check-new -DQT_NO_COMPAT -DQT_CLE AN_NAMESPACE -DQT_NO_ASCII_CAST -DKDE_NO_COMPAT -DKDE_NO_COMPAT_H -fexceptions -c -o ksprogressdata.lo `test -f 'ksprogressdata.cpp' || echo './'`ksprogressdat a.cpp rm: cannot remove `': Invalid argument rm: cannot remove `': Invalid argument In file included from /usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/include/std io.h:683, from /usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/include/g++ -v3/cstdio:52, from /usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/include/g++ -v3/sparc-unknown-linux-gnu/bits/c++io.h:35, from /usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/include/g++ -v3/bits/fpos.h:44, from /usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/include/g++ -v3/bits/char_traits.h:46, from /usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/include/g++ -v3/string:47, from /usr/qt/3/include/qstring.h:56, from /usr/qt/3/include/qwindowdefs.h:44, from /usr/qt/3/include/qwidget.h:42, from /usr/qt/3/include/qframe.h:42, from ksprogressdata.h:16, from ksprogress.h:13, from ksprogress.cpp:6: /usr/include/bits/stdio.h: In function `int getchar()': /usr/include/bits/stdio.h:42: declaration of `int getchar()' throws different exceptions /usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/include/stdio.h:394: than previous declaration `int getchar() throw ()' /usr/include/bits/stdio.h: In function `int getc_unlocked(FILE*)': /usr/include/bits/stdio.h:51: declaration of `int getc_unlocked(FILE*)' throws different exceptions /usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/include/stdio.h:403: than previous declaration `int getc_unlocked(FILE*) throw ()' /usr/include/bits/stdio.h: In function `int getchar_unlocked()': /usr/include/bits/stdio.h:58: declaration of `int getchar_unlocked()' throws different exceptions /usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/include/stdio.h:404: than previous declaration `int getchar_unlocked() throw ()' /usr/include/bits/stdio.h: In function `int putchar(int)': /usr/include/bits/stdio.h:67: declaration of `int putchar(int)' throws different exceptions /usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/include/stdio.h:419: than previous declaration `int putchar(int) throw ()' /usr/include/bits/stdio.h: In function `int fputc_unlocked(int, FILE*)': /usr/include/bits/stdio.h:76: declaration of `int fputc_unlocked(int, FILE*)' throws different exceptions /usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/include/stdio.h:428: than previous declaration `int fputc_unlocked(int, FILE*) throw ()' /usr/include/bits/stdio.h: In function `int putc_unlocked(int, FILE*)': /usr/include/bits/stdio.h:86: declaration of `int putc_unlocked(int, FILE*)' throws different exceptions /usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/include/stdio.h:433: than previous declaration `int putc_unlocked(int, FILE*) throw ()' /usr/include/bits/stdio.h: In function `int putchar_unlocked(int)': /usr/include/bits/stdio.h:93: declaration of `int putchar_unlocked(int)' throws different exceptions /usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/include/stdio.h:434: than previous declaration `int putchar_unlocked(int) throw ()' /usr/include/bits/stdio.h: In function `__ssize_t getline(char**, size_t*, FILE*)': /usr/include/bits/stdio.h:103: declaration of `__ssize_t getline(char**, size_t*, FILE*)' throws different exceptions /usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/include/stdio.h:480: than previous declaration `__ssize_t getline(char**, size_t*, FILE*) throw ()' In file included from /usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/include/std io.h:683, from /usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/include/g++ -v3/cstdio:52, from /usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/include/g++ -v3/sparc-unknown-linux-gnu/bits/c++io.h:35, from /usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/include/g++ -v3/bits/fpos.h:44, from /usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/include/g++ -v3/bits/char_traits.h:46, from /usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/include/g++ -v3/string:47, from /usr/qt/3/include/qstring.h:56, from /usr/qt/3/include/qwindowdefs.h:44, from /usr/qt/3/include/qwidget.h:42, from /usr/qt/3/include/qframe.h:42, from ksprogressdata.h:16, from ksprogressdata.cpp:13: /usr/include/bits/stdio.h: In function `int getchar()': /usr/include/bits/stdio.h:42: declaration of `int getchar()' throws different exceptions /usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/include/stdio.h:394: than previous declaration `int getchar() throw ()' /usr/include/bits/stdio.h: In function `int getc_unlocked(FILE*)': /usr/include/bits/stdio.h:51: declaration of `int getc_unlocked(FILE*)' throws different exceptions /usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/include/stdio.h:403: than previous declaration `int getc_unlocked(FILE*) throw ()' /usr/include/bits/stdio.h: In function `int getchar_unlocked()': /usr/include/bits/stdio.h:58: declaration of `int getchar_unlocked()' throws different exceptions /usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/include/stdio.h:404: than previous declaration `int getchar_unlocked() throw ()' /usr/include/bits/stdio.h: In function `int putchar(int)': /usr/include/bits/stdio.h:67: declaration of `int putchar(int)' throws different exceptions /usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/include/stdio.h:419: than previous declaration `int putchar(int) throw ()' /usr/include/bits/stdio.h: In function `int fputc_unlocked(int, FILE*)': /usr/include/bits/stdio.h:76: declaration of `int fputc_unlocked(int, FILE*)' throws different exceptions /usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/include/stdio.h:428: than previous declaration `int fputc_unlocked(int, FILE*) throw ()' /usr/include/bits/stdio.h: In function `int putc_unlocked(int, FILE*)': /usr/include/bits/stdio.h:86: declaration of `int putc_unlocked(int, FILE*)' throws different exceptions /usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/include/stdio.h:433: than previous declaration `int putc_unlocked(int, FILE*) throw ()' /usr/include/bits/stdio.h: In function `int putchar_unlocked(int)': /usr/include/bits/stdio.h:93: declaration of `int putchar_unlocked(int)' throws different exceptions /usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/include/stdio.h:434: than previous declaration `int putchar_unlocked(int) throw ()' /usr/include/bits/stdio.h: In function `__ssize_t getline(char**, size_t*, FILE*)': /usr/include/bits/stdio.h:103: declaration of `__ssize_t getline(char**, size_t*, FILE*)' throws different exceptions /usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/include/stdio.h:480: than previous declaration `__ssize_t getline(char**, size_t*, FILE*) throw ()' /usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/include/g++-v3/bits/stl_alloc.h: In static member function `static void* std::__default_alloc_template<__threads, __inst>::_S_refill(unsigned int) [with bool __threads = true, int __inst = 0]': /usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/include/g++-v3/bits/stl_alloc.h:4 24: instantiated from `static void* std::__default_alloc_template<__threads, _ _inst>::allocate(unsigned int) [with bool __threads = true, int __inst = 0]' /usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/include/g++-v3/bits/stl_alloc.h:6 85: instantiated from `_Tp* std::allocator<_Alloc>::allocate(unsigned int, con st void*) [with _Tp = char]' /usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/include/g++-v3/bits/basic_string. tcc:443: instantiated from `static std::basic_string<_CharT, _Traits, _Alloc>: :_Rep* std::basic_string<_CharT, _Traits, _Alloc>::_Rep::_S_create(unsigned int, const _Alloc&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]' /usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/include/g++-v3/bits/basic_string. tcc:468: instantiated from `_CharT* std::basic_string<_CharT, _Traits, _Alloc> ::_Rep::_M_clone(const _Alloc&, _Alloc::size_type) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]' /usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/include/g++-v3/bits/basic_string. h:175: instantiated from `_CharT* std::basic_string<_CharT, _Traits, _Alloc>:: _Rep::_M_grab(const _Alloc&, const _Alloc&) [with _CharT = char, _Traits = std:: char_traits<char>, _Alloc = std::allocator<char>]' /usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/include/g++-v3/bits/basic_string. tcc:194: instantiated from `std::basic_string<_CharT, _Traits, _Alloc>::basic_ string(const std::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char, _ Traits = std::char_traits<char>, _Alloc = std::allocator<char>]' /usr/qt/3/include/qstring.h:667: instantiated from here /usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/include/g++-v3/bits/stl_alloc.h:5 73: warning: cast from `char*' to `std::__default_alloc_template<true, 0>::_Obj*' increases required alignment of target type /usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/include/g++-v3/bits/stl_alloc.h:5 74: warning: cast from `char*' to `std::__default_alloc_template<true, 0>::_Obj*' increases required alignment of target type /usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/include/g++-v3/bits/stl_alloc.h:5 78: warning: cast from `char*' to `std::__default_alloc_template<true, 0>::_Obj*' increases required alignment of target type /usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/include/g++-v3/bits/stl_alloc.h: In static member function `static char* std::__default_alloc_template<__threads, __inst>::_S_chunk_alloc(unsigned int, int&) [with bool __threads = true, int __inst = 0]': /usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/include/g++-v3/bits/stl_alloc.h:5 61: instantiated from `static void* std::__default_alloc_template<__threads, _ _inst>::_S_refill(unsigned int) [with bool __threads = true, int __inst = 0]' /usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/include/g++-v3/bits/stl_alloc.h:4 24: instantiated from `static void* std::__default_alloc_template<__threads, _ _inst>::allocate(unsigned int) [with bool __threads = true, int __inst = 0]' /usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/include/g++-v3/bits/stl_alloc.h:6 85: instantiated from `_Tp* std::allocator<_Alloc>::allocate(unsigned int, con st void*) [with _Tp = char]' /usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/include/g++-v3/bits/basic_string. tcc:443: instantiated from `static std::basic_string<_CharT, _Traits, _Alloc>: :_Rep* std::basic_string<_CharT, _Traits, _Alloc>::_Rep::_S_create(unsigned int, const _Alloc&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]' /usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/include/g++-v3/bits/basic_string. tcc:468: instantiated from `_CharT* std::basic_string<_CharT, _Traits, _Alloc> ::_Rep::_M_clone(const _Alloc&, _Alloc::size_type) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]' /usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/include/g++-v3/bits/basic_string. h:175: instantiated from `_CharT* std::basic_string<_CharT, _Traits, _Alloc>:: _Rep::_M_grab(const _Alloc&, const _Alloc&) [with _CharT = char, _Traits = std:: char_traits<char>, _Alloc = std::allocator<char>]' /usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/include/g++-v3/bits/basic_string. tcc:194: instantiated from `std::basic_string<_CharT, _Traits, _Alloc>::basic_ string(const std::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char, _ Traits = std::char_traits<char>, _Alloc = std::allocator<char>]' /usr/qt/3/include/qstring.h:667: instantiated from here /usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/include/g++-v3/bits/stl_alloc.h:5 14: warning: cast from `char*' to `std::__default_alloc_template<true, 0>::_Obj*' increases required alignment of target type /usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/include/g++-v3/bits/stl_alloc.h:5 15: warning: cast from `char*' to `std::__default_alloc_template<true, 0>::_Obj*' increases required alignment of target type make[3]: *** [ksprogress.lo] Error 1 make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kdenetwork-3.1.4/work/kdenetwork-3. 1.4' make: *** [all] Error 2 !!! ERROR: kde-base/kdenetwork-3.1.4 failed. !!! Function kde_src_compile, Line 137, Exitcode 2 !!! died running emake, kde_src_compile:make alexhome root # emerge info Portage 2.0.49-r18 (default-sparc64-1.4, gcc-3.2.3, glibc-2.3.2-r9, 2.4.23-sparc-r1) ================================================================= System uname: 2.4.23-sparc-r1 sparc64 sun4u Gentoo Base System version 1.4.3.12 ACCEPT_KEYWORDS="sparc ~sparc" AUTOCLEAN="yes" CFLAGS="-mcpu=ultrasparc -O3 -pipe" CHOST="sparc-unknown-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-mcpu=ultrasparc -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="ccache sandbox" GENTOO_MIRRORS="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="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="sparc X amd arts autofs avantgo avi berkdb bonobo cdr clamav crypt cups directfb dvd dvdr encode esd evo fax fbcon fbdev ffmpeg fftw flac foomaticdb freetype fs gd gdbm gif gnome gphoto2 gpm gtk gtk2 imap imlib informix java javascript jpeg kde libgda libwww mad mikmod motif mozcalendar mozilla mpeg msn mysql ncurses nls oggvorbis opengl oss pam pda pdflib perl png ppds python qt quicktime readline rplay samba scanner sdk sdl slang spell ssl tcltk tcpd tiff truetype type1 usb wmf xine xinerama xml2 xmms xv zlib"
After I've emerged GCC 3.3.2 it compiled. However, the attempts to do emerge -u kde lead to restoring 3.2.3 - It's the highest version of GCC on Sparc even if I have "~sparc" in make.conf. May be, it's time to update ebuild for GCC 3.3.2?
not sure i can help you with that decision - you may want to catch one of the sparc folks to nail down the compiler issue. however, this isn't a kde bug so i'm going to close it.
Well, yo can think anything you want, but it's impossible to install KDE on Sparc (or other system with GCC < 3.3) - without telling ACCEPT_KEYWORDS="~x86" for the 'stable' KDE on Sparc! So, you can mark all the KDE packages as "-sparc", or fix the problem in KDE with GCC 3.2.x.
isn't this a duplicate of Bug 30701 ?
I'm not sure. If it's a duplicate of the old bug, does it mean it's fixed? In my attempts to compile KDE 3.1.4 with GCC 3.2.3 it fails every time. I had to emerge GCC 3.3.2 in order to compile it. So, it looks like the problem is still there, till GCC 3.3.2 becomes available on Sparc by : emerge gcc :(
This was a gcc bug and should be fixed now in the 3.3 series and I believe other 3.2 series. The new portage version allows you to install ~sparc packages and tell portage not to downgrade when you emerge world. Look in the help files for that, but I'm reclosing as fixed.