Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] emerge kde: compile-Fehler
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
markusk21
Apprentice
Apprentice


Joined: 07 Oct 2004
Posts: 216
Location: Hannover

PostPosted: Wed Sep 27, 2006 3:30 pm    Post subject: [solved] emerge kde: compile-Fehler Reply with quote

Hallo zusammen,
emerge kde macht mal wieder Probleme. Ich hatte einen QTPATH gesetzt auf qt4 zum eigenen Programmieren. Damit meckerte .config es wolle qt >3.irgendwas und <4.0. Oder mein QT lag sogar in dem Bereich, wurde aber nicht erkannt.

Wie auch immer. Ich habe es Rückgängig gemacht (solange ich nicht selbst programmiere).
Dummerweise hatte ich eine KDE-Pakete gelöscht (emerge --depclean :oops: ) und folgende Progs gehen nicht mehr (trotz emerge DNu kde und revdep-rebuild):

kdemultimedia:
Quote:
emerge kdemultimedia -pv

[ebuild R ] kde-base/kdemultimedia-3.5.2-r2 USE="alsa arts audiofile encode flac mp3 vorbis xine -akode -debug -gstreamer -kdeenablefinal -theora -xinerama (-kdehiddenvisibility%) (-musicbrainz%)" 0 kB

Quote:
make[3]: Entering directory `/var/tmp/portage/kdemultimedia-3.5.2-r2/work/kdemultimedia-3.5.2/kfile-plugins/mp3'
/usr/qt/3/bin/moc ./kfile_mp3.h -o kfile_mp3.moc
/bin/sh ../../libtool --silent --tag=CXX --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/kde/3.5/include -I/usr/qt/3/include -I. -I/usr/include/taglib -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -march=athlon-xp -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -c -o kfile_mp3.lo kfile_mp3.cpp
/bin/sh ../../libtool --silent --tag=CXX --mode=link i686-pc-linux-gnu-g++ -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -march=athlon-xp -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -o kfile_mp3.la -rpath /usr/kde/3.5/lib/kde3 -L/usr/kde/3.5/lib -L/usr/qt/3/lib -L/usr/lib -L/usr/lib -ltag -module -avoid-version -module -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -R /usr/kde/3.5/lib -R /usr/kde/3.5/lib -R /usr/qt/3/lib -R /usr/lib kfile_mp3.lo -lkio
.libs/kfile_mp3.o: In function `TagLib::List<TagLib::String>::detach()':
kfile_mp3.cpp:(.text._ZN6TagLib4ListINS_6StringEE6detachEv[TagLib::List<TagLib::String>::detach()]+0xa2): undefined reference to `std::_List_node_base::hook(std::_List_node_base*)'
collect2: ld returned 1 exit status
make[3]: *** [kfile_mp3.la] Fehler 1
make[3]: Leaving directory `/var/tmp/portage/kdemultimedia-3.5.2-r2/work/kdemultimedia-3.5.2/kfile-plugins/mp3'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/var/tmp/portage/kdemultimedia-3.5.2-r2/work/kdemultimedia-3.5.2/kfile-plugins'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/kdemultimedia-3.5.2-r2/work/kdemultimedia-3.5.2'
make: *** [all] Fehler 2

!!! ERROR: kde-base/kdemultimedia-3.5.2-r2 failed.
Call stack:
ebuild.sh, line 1546: Called dyn_compile
ebuild.sh, line 937: Called src_compile
kdemultimedia-3.5.2-r2.ebuild, line 85: Called kde_src_compile
kde.eclass, line 164: Called kde_src_compile 'all'
kde.eclass, line 331: Called kde_src_compile 'myconf' 'configure' 'make'
kde.eclass, line 327: Called die

!!! died running emake, kde_src_compile:make
!!! If you need support, post the topmost build error, and the call stack if relevant.


kdeaddons:
Quote:
emerge -pv kdeaddons

[ebuild N ] kde-base/kdeaddons-3.5.2-r1 USE="arts sdl xmms -berkdb -debug -kdeenablefinal -kdehiddenvisibility -xinerama" 0 kB

Quote:
/usr/qt/3/bin/moc ./controls.h -o controls.moc
/bin/sh ../../../libtool --silent --tag=CXX --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/kde/3.5/include/kio -I/usr/kde/3.5/include/arts -I/usr/kde/3.5/include -I/usr/qt/3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -march=athlon-xp -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -c -o controls.lo controls.cpp
/usr/qt/3/bin/moc mediawidget_skel.h -o mediawidget_skel.moc
rm -f mediawidget_skel.cpp
echo '#include <kdialog.h>' > mediawidget_skel.cpp
echo '#include <klocale.h>' >> mediawidget_skel.cpp
/usr/qt/3/bin/uic -L /usr/kde/3.5/lib/kde3/plugins/designer -nounload -tr tr2i18n -i mediawidget_skel.h ./mediawidget_skel.ui > mediawidget_skel.cpp.temp ; ret=$?; \
/usr/bin/perl -pe "s,tr2i18n( \"\" ),QString::null,g" mediawidget_skel.cpp.temp | /usr/bin/perl -pe "s,tr2i18n( \"\"\, \"\" ),QString::null,g" | /usr/bin/perl -pe "s,image([0-9][0-9]*)_data,img\$1_mediawidget_skel,g" | /usr/bin/perl -pe "s,: QWizard\(,: KWizard(,g" >> mediawidget_skel.cpp ;\
rm -f mediawidget_skel.cpp.temp ;\
if test "$ret" = 0; then echo '#include "mediawidget_skel.moc"' >> mediawidget_skel.cpp; else rm -f mediawidget_skel.cpp ; exit $ret ; fi
/bin/sh ../../../libtool --silent --tag=CXX --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/kde/3.5/include/kio -I/usr/kde/3.5/include/arts -I/usr/kde/3.5/include -I/usr/qt/3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -march=athlon-xp -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -c -o mediawidget_skel.lo mediawidget_skel.cpp
/bin/sh ../../../libtool --silent --tag=CXX --mode=link i686-pc-linux-gnu-g++ -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -march=athlon-xp -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -o konqsidebar_mediaplayer.la -rpath /usr/kde/3.5/lib/kde3 -module -avoid-version -module -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -R /usr/kde/3.5/lib -R /usr/kde/3.5/lib -R /usr/qt/3/lib -R /usr/lib -L/usr/kde/3.5/lib -L/usr/qt/3/lib -L/usr/lib engine.lo player.lo mediawidget.lo mediaplayer.lo controls.lo mediawidget_skel.lo -lkparts -lkio -lkonqsidebarplugin -lqtmcop -lkmedia2_idl -lsoundserver_idl -lartskde
.libs/engine.o: In function `Engine::length()':
engine.cpp:(.text+0xa3a): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage'
engine.cpp:(.text+0xa75): undefined reference to `__gnu_cxx::__exchange_and_add(int volatile*, int)'
.libs/engine.o: In function `Engine::position()':
engine.cpp:(.text+0xb1a): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage'
engine.cpp:(.text+0xb55): undefined reference to `__gnu_cxx::__exchange_and_add(int volatile*, int)'
.libs/engine.o: In function `Engine::seek(unsigned long)':
engine.cpp:(.text+0xbff): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage'
engine.cpp:(.text+0xc79): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage'
engine.cpp:(.text+0xcab): undefined reference to `__gnu_cxx::__exchange_and_add(int volatile*, int)'
engine.cpp:(.text+0xcdb): undefined reference to `__gnu_cxx::__exchange_and_add(int volatile*, int)'
collect2: ld returned 1 exit status
make[5]: *** [konqsidebar_mediaplayer.la] Fehler 1
make[5]: Leaving directory `/var/tmp/portage/kdeaddons-3.5.2-r1/work/kdeaddons-3.5.2/konq-plugins/sidebar/mediaplayer'
make[4]: *** [all-recursive] Fehler 1
make[4]: Leaving directory `/var/tmp/portage/kdeaddons-3.5.2-r1/work/kdeaddons-3.5.2/konq-plugins/sidebar/mediaplayer'
make[3]: *** [all-recursive] Fehler 1
make[3]: Leaving directory `/var/tmp/portage/kdeaddons-3.5.2-r1/work/kdeaddons-3.5.2/konq-plugins/sidebar'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/var/tmp/portage/kdeaddons-3.5.2-r1/work/kdeaddons-3.5.2/konq-plugins'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/kdeaddons-3.5.2-r1/work/kdeaddons-3.5.2'
make: *** [all] Fehler 2

!!! ERROR: kde-base/kdeaddons-3.5.2-r1 failed.
Call stack:
ebuild.sh, line 1546: Called dyn_compile
ebuild.sh, line 937: Called src_compile
kdeaddons-3.5.2-r1.ebuild, line 39: Called kde_src_compile
kde.eclass, line 164: Called kde_src_compile 'all'
kde.eclass, line 331: Called kde_src_compile 'myconf' 'configure' 'make'
kde.eclass, line 327: Called die

!!! died running emake, kde_src_compile:make
!!! If you need support, post the topmost build error, and the call stack if relevant.



System:
Quote:
gcc -v
Es werden eingebaute Spezifikationen verwendet.
Ziel: i686-pc-linux-gnu
Konfiguriert mit: /var/tmp/portage/gcc-4.1.1/work/gcc-4.1.1/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/4.1.1 --includedir=/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.1 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.1/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.1/info --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4 --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --disable-libunwind-exceptions --disable-multilib --disable-libmudflap --disable-libssp --enable-java-awt=gtk --enable-languages=c,c++,java --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
Thread-Modell: posix
gcc-Version 4.1.1 (Gentoo 4.1.1)


/etc/profile
Quote:
## QTDIR="/usr/qt/3:${QTDIR}"
## QTDIR="${QTDIR}:/usr/lib/qt4"

## PATH=$QTDIR/bin:$PATH
## LD_LIBRARY_PATH=$QTDIR:$LD_LIBRARY_PATH

## export QTDIR PATH

export LANG="de_DE"


KDE Version:
Quote:
emerge kde -pv

[ebuild N ] kde-base/kdeaddons-3.5.2-r1 USE="arts sdl xmms -berkdb -debug -kdeenablefinal -kdehiddenvisibility -xinerama" 0 kB
[ebuild R ] kde-base/kde-3.5.2 USE="-accessibility" 0 kB


Fehlen noch Infos, die weiterhelfen können?
Kann bitte jemand sagen, wie ich das zum Laufen krieg?
Gruß
Markus


Last edited by markusk21 on Tue Oct 03, 2006 11:23 am; edited 1 time in total
Back to top
View user's profile Send private message
markusk21
Apprentice
Apprentice


Joined: 07 Oct 2004
Posts: 216
Location: Hannover

PostPosted: Fri Sep 29, 2006 12:25 pm    Post subject: Reply with quote

Ach ja, das hängt vielleicht zusammen:
revdep-rebuild will immer wieder dies:
Quote:
emerge --oneshot =media-video/avifile-0.7.41.20041001 =sys-devel/gcc-3.4.6-r1 =sys-devel/gcc-4.1.1


Genau wie revdep-rebuild -X

Woran kann das liegen?
Back to top
View user's profile Send private message
slick
Bodhisattva
Bodhisattva


Joined: 20 Apr 2003
Posts: 3495

PostPosted: Mon Oct 02, 2006 10:38 am    Post subject: Reply with quote

Verschoben von Diskussionsforum nach ("Supportforum") Deutsches Forum

Falls Du den 3.* gcc nicht unbedingt brauchst würde ich den erstmal los werden und das system/world mit dem 4er neu bauen. Könnte mir durchaus vorstellen (weiß es aber nicht) das mehrere gcc's, wenn sie denn ab und an gewechselt werden, für das rebuild-Problem verantwortlich sind.
Back to top
View user's profile Send private message
markusk21
Apprentice
Apprentice


Joined: 07 Oct 2004
Posts: 216
Location: Hannover

PostPosted: Mon Oct 02, 2006 2:48 pm    Post subject: Reply with quote

Mach ich,
Danke, ich melde mich wieder.
Back to top
View user's profile Send private message
firefly
Watchman
Watchman


Joined: 31 Oct 2002
Posts: 5335

PostPosted: Mon Oct 02, 2006 3:11 pm    Post subject: Reply with quote

das der gcc immer wieder von revdep-rebuild re-emerget werden soll ist ein bug und zwar wegen gcj

siehe:
https://forums.gentoo.org/viewtopic-t-500360-highlight-revdeprebuild+gcj.html
Bugeintrag: https://bugs.gentoo.org/show_bug.cgi?id=135840 Comment #3
_________________
Ein Ring, sie zu knechten, sie alle zu finden,
Ins Dunkel zu treiben und ewig zu binden
Im Lande Mordor, wo die Schatten drohn.
Back to top
View user's profile Send private message
markusk21
Apprentice
Apprentice


Joined: 07 Oct 2004
Posts: 216
Location: Hannover

PostPosted: Tue Oct 03, 2006 11:22 am    Post subject: Reply with quote

Danke für den Hinweis, Firefly.
@slick
Es schein zu funktionieren. jedenfalls ist Kde jetzt komplett.
Es lief jetzt ein anderes paket nicht, aber das wird schon.

Vielen Dank!
gruß
Markus
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum