emerge of kmplayer-0.11.1b fails repeatedly on up-to-date system (eix-sync, emerge -uDNav world.) Looking at other bug reports, this (maybe?) looks like a repeat of bug 258995 with kmplayer-0.11.1a. Log report includes: Linking CXX shared module ../lib/libkmplayerpart.so CMakeFiles/kmplayerpart.dir/kmplayer_part.o: In function `.L1562': kmplayer_part.cpp:(.text+0x6ea1): undefined reference to `KMPlayer::PartBase::getStatus()' CMakeFiles/kmplayerpart.dir/kmplayer_part.o:(.data.rel.ro._ZTC12KMPlayerPart0_N8KMPlayer8PartBaseE[vtable for KMPlayerPart]+0xac): undefined reference to `KMPlayer::PartBase::doEvaluate(QString const&)' collect2: ld returned 1 exit status make[2]: *** [lib/libkmplayerpart.so] Error 1 make[1]: *** [src/CMakeFiles/kmplayerpart.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... Linking CXX shared library ../lib/libkdeinit4_kmplayer.so CMakeFiles/kdeinit_kmplayer.dir/kmplayerapp.o: In function `KMPlayerApp::menuMoveDownNode()': kmplayerapp.cpp:(.text+0x1e79): undefined reference to `KMPlayer::TreeNode<KMPlayer::Node>::insertBefore(KMPlayer::Node*, KMPlayer::Node*)' CMakeFiles/kdeinit_kmplayer.dir/kmplayerapp.o: In function `KMPlayerApp::menuMoveUpNode()': kmplayerapp.cpp:(.text+0x2095): undefined reference to `KMPlayer::TreeNode<KMPlayer::Node>::insertBefore(KMPlayer::Node*, KMPlayer::Node*)' CMakeFiles/kdeinit_kmplayer.dir/kmplayerapp.o: In function `KMPlayerApp::menuCopyDrop()': kmplayerapp.cpp:(.text+0x24ca): undefined reference to `KMPlayer::TreeNode<KMPlayer::Node>::insertBefore(KMPlayer::Node*, KMPlayer::Node*)' kmplayerapp.cpp:(.text+0x25fe): undefined reference to `KMPlayer::TreeNode<KMPlayer::Node>::insertBefore(KMPlayer::Node*, KMPlayer::Node*)' CMakeFiles/kdeinit_kmplayer.dir/kmplayerapp.o: In function `KMPlayerApp::menuDropInList()': kmplayerapp.cpp:(.text+0x420a): undefined reference to `KMPlayer::TreeNode<KMPlayer::Node>::insertBefore(KMPlayer::Node*, KMPlayer::Node*)' CMakeFiles/kdeinit_kmplayer.dir/kmplayerapp.o:kmplayerapp.cpp:(.text+0x4349): more undefined references to `KMPlayer::TreeNode<KMPlayer::Node>::insertBefore(KMPlayer::Node*, KMPlayer::Node*)' follow CMakeFiles/kdeinit_kmplayer.dir/kmplayer_lists.o: In function `Generator::activate()': kmplayer_lists.cpp:(.text+0x4521): undefined reference to `KMPlayer::MediaInfo::wget(QString const&)' collect2: ld returned 1 exit status make[2]: *** [lib/libkdeinit4_kmplayer.so] Error 1 make[1]: *** [src/CMakeFiles/kdeinit_kmplayer.dir/all] Error 2 make: *** [all] Error 2 * * ERROR: media-video/kmplayer-0.11.1b failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3669: Called kde4-base_src_compile * environment, line 2815: Called cmake-utils_src_compile * environment, line 1023: Called _execute_optionaly 'src_compile' * environment, line 406: Called enable_cmake-utils_src_compile * environment, line 1392: Called cmake-utils_src_make * environment, line 1042: Called die * The specific snippet of code: * emake "$@" || die "Make failed!"; * The die message: * Make failed!
Please attach the full build log and post the output of `emerge --info media-video/kmplayer' in a comment.
Created attachment 210085 [details] Build log for failed kmplayer-0.11.1b emerge Included are your requested emerge --info (in comments) and the build.log. These are from a new emerge today after again doing eix-sync and emerge -uDNav world. Thanks and good luck. I hope the solution is simple, maybe just something that I did wrong. (But I have been hacking linux for a bunch of years.) David Nelson
Created attachment 210088 [details] output from emerge --info media-video/kmplayer I put this output into an attachment. I had put it into the "comments" feild of the original bug report, but it disappeared. Looks like that wasn't the right place for it. Hope this is OK.
Hello, could you try to run as root this: MAKEOPTS="-j1" emerge -1 kmplayer
Created attachment 210916 [details] build log for this failed kmplayer-0.11.1b emerge
Created attachment 210919 [details] Screen output from failed emerge largely redundant with the build log, but it shows the input command line.
I have exactly the same problem. I did not emerge kde, and i have a quite fresh system, since i had to install everything from scratch.
Is this with sys-devel/binutils built with USE gold? If so, I see Debian has a patch for that.
(In reply to comment #8) > Is this with sys-devel/binutils built with USE gold? If so, I see Debian has a > patch for that. > D Nelson, in other words, please past the output of emerge -pv binutils . and consider the following comment too (if you built binutils with gold USE-flag) : $ egrep gold $(portageq portdir)/sys-devel/binutils/metadata.xml <flag name='gold'>Use the new gold linker (written in C++) rather than the standard linker (this _will_ break things)</flag>
I do not use gold linker. emerge binutils -pv ebuild R ] sys-devel/binutils-2.18-r3 USE="nls -gold -multislot -multitarget -test -vanilla" 0 kB
(In reply to comment #9) > (In reply to comment #8) > > Is this with sys-devel/binutils built with USE gold? If so, I see Debian has a > > patch for that. > > > D Nelson, in other words, please past the output of emerge -pv binutils . > and consider the following comment too (if you built binutils with gold > USE-flag) : > > $ egrep gold $(portageq portdir)/sys-devel/binutils/metadata.xml > <flag name='gold'>Use the new gold linker (written in C++) rather than the > standard linker (this _will_ break things)</flag> > I also don't use gold linker: emerge binutils -pv [ebuild R ] sys-devel/binutils-2.18-r3 USE="nls -gold -multislot -multitarget -test -vanilla" 0 kB Sorry. It would have been a easy fix. I am glad I am not alone in having this problem. Maybe working together we can fix it. David nelson
I'd try a simple 'emerge -e kmplayer' to rebuild all of it's deps. I know it sounds stupid, but I'm totally unable to reproduce this.
I tried "emerge -e kmplayer". It reinstalled 444 (ehh) ebuilds, and installed the kmplayer (yes!). The reinstalling stopped at 370, the older gcc (4.1.2) could not compile the newer gcc (4.3.4), so i switched to newer gcc which was already installed (gcc-config). I also had to collect the remaining ebuilds for compiling, because i did not want to reinstall 370 ebuilds again. Why i say this? Because i tried to compile kmplayer at 370, it failed, then i tried at 394, and it worked! It means that reinstalling one of the 25 ebuilds solved this problem. Probably reinstalling gcc helped, but if not that, then one of these ebuilds: sys-libs/pam sys-auth/consolekit sys-libs/libcap net-libs/c-client sys-fs/cryptsetup sys-auth/policykit dev-db/mysql x11-libs/qt-sql dev-perl/DBD-mysql sys-apps/hal app-misc/hal-info x11-libs/gtk+ gnome-base/libglade x11-libs/libwnck x11-libs/libnotify x11-libs/qt-gui x11-libs/qt-svg x11-libs/qt-qt3support x11-libs/qt-opengl net-wireless/wpa_supplicant dev-util/cmake kde-base/automoc kde-base/qimageblitz I can not filter the list better, because now kmplayer compiles and i can not reproduce the bug. However, D Nelson could find out, which ebuild is required to rebuild for kmplayer. To D Nelson: please reinstall gcc, and try to install kmplayer. If does not work, then check which ebuilds from the list mentioned above you have installed, and go one by one. Reinstall first ebuild (emerge -1 sys-libs/pam), then install kmplayer (emerge kmplayer). If does not work, reinstall next ebuild (emerge -1 sys-auth/consolekit), and install kmplayer, etc. That way you will find out, which ebuild must be reinstalled to solve the problem, and please post the result.
I think g_naray has found the answer, and thanks. I did exactly what he did: gcc-config to update to gcc-4.3.4 emerge -e kmplayer I let it run all night (no idea how long it took, but there were several hundred ebuilds) and this morning kmplayer works again. I don't know what the critical ebuild was, because the emerge just ran to completion. So it appears that the bug was really a compiler issue. I had not updated from gcc-4.1.2 to gcc-4.3.4. So until something bad happens, let's call this bug resolved.