Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 292815 - media-video/kmplayer-0.11.1b emerge fails
Summary: media-video/kmplayer-0.11.1b emerge fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-11 17:40 UTC by D Nelson
Modified: 2010-01-05 13:55 UTC (History)
2 users (show)

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


Attachments
Build log for failed kmplayer-0.11.1b emerge (build.log,27.40 KB, text/plain)
2009-11-12 22:33 UTC, D Nelson
Details
output from emerge --info media-video/kmplayer (emerge_info,3.76 KB, text/plain)
2009-11-12 22:41 UTC, D Nelson
Details
build log for this failed kmplayer-0.11.1b emerge (build.log,23.17 KB, text/plain)
2009-11-22 20:16 UTC, D Nelson
Details
Screen output from failed emerge (failed_kmplayer_build.txt,36.37 KB, text/plain)
2009-11-22 20:25 UTC, D Nelson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description D Nelson 2009-11-11 17:40:00 UTC
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!
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2009-11-11 21:02:43 UTC
Please attach the full build log and post the output of `emerge --info media-video/kmplayer' in a comment.
Comment 2 D Nelson 2009-11-12 22:33:34 UTC
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
Comment 3 D Nelson 2009-11-12 22:41:05 UTC
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.
Comment 4 Tomáš Chvátal (RETIRED) gentoo-dev 2009-11-22 11:26:18 UTC
Hello,
could you try to run as  root this:

MAKEOPTS="-j1" emerge -1 kmplayer
Comment 5 D Nelson 2009-11-22 20:16:21 UTC
Created attachment 210916 [details]
build log for this failed kmplayer-0.11.1b emerge
Comment 6 D Nelson 2009-11-22 20:25:18 UTC
Created attachment 210919 [details]
Screen output from failed emerge

largely redundant with the build log, but it shows the input command line.
Comment 7 G. Náray 2009-12-19 14:18:10 UTC
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.
Comment 8 Samuli Suominen (RETIRED) gentoo-dev 2009-12-19 14:29:11 UTC
Is this with sys-devel/binutils built with USE gold? If so, I see Debian has a patch for that.
Comment 9 Romain Perier (RETIRED) gentoo-dev 2009-12-19 14:43:40 UTC
(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>
Comment 10 G. Náray 2009-12-20 08:31:41 UTC
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
Comment 11 D Nelson 2009-12-21 16:01:31 UTC
(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
Comment 12 Samuli Suominen (RETIRED) gentoo-dev 2009-12-21 16:04:05 UTC
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.
Comment 13 G. Náray 2009-12-26 20:59:57 UTC
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.
Comment 14 D Nelson 2010-01-05 13:55:30 UTC
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.