A new version of lastfmplayer was released. When trying to emerge the new version it always aborts with /usr/lib/gcc/i686-pc-linux-gnu/4.4.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lMoose Reproducible: Always Steps to Reproduce: 1.emerge -quv1 =media-sound/lastfmplayer-1.5.4.26862-r1 2. 3. Actual Results: emerge aborts with error message "/usr/lib/gcc/i686-pc-linux-gnu/4.4.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lMoose" Expected Results: lastfmplayer is emerged without problems. Output of emerge -pqv =media-sound/lastfmplayer-1.5.4.26862-r1 [ebuild U ] media-sound/lastfmplayer-1.5.4.26862-r1 [1.5.1.31879-r3] USE="-ipod"
Created attachment 238915 [details] Complete build log
Created attachment 238917 [details] ebuild environment file
Probably too high MAKEOPTS, see if it works with '-j1'.
(In reply to comment #3) > Probably too high MAKEOPTS, see if it works with '-j1'. This is a Quad Core CPU and I'm using -j5 for nearly 3 years now without any problems. Nevertheless I tried -j1 and it aborts with the same message (just takes a little longer).
I need an emerge --info output please I can't reproduce it here
Created attachment 239211 [details] emerge --info =media-sound/lastfmplayer-1.5.4.26862-r1 Sorry, I thought I already attached it.
Can you try to remove -fno-delete-null-pointer-checks -fwrapv from your C{XX}FLAGS and try again?
(In reply to comment #7) > Can you try to remove > -fno-delete-null-pointer-checks -fwrapv from your C{XX}FLAGS and try again? Yes, I can: CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer" Didn't help, though: i686-pc-linux-gnu-g++ -Wl,-O1 -Wl,-rpath,/usr/lib/qt4 -o ../bin/last.fm_debug ../build/last.fm/debug/main.o ../build/last.fm/debug/container.o ../build/last.fm/debug/settingsdialog.o ../build/last.fm/debug/aboutdialog.o ../build/last.fm/debug/Scrobbler-1.2.o ../build/last.fm/debug/simplewizard.o ../build/last.fm/debug/configwizard.o ../build/last.fm/debug/wizardinfopage.o ../build/last.fm/debug/WizardBootstrapSelectorPage.o ../build/last.fm/debug/wizardmediadeviceconfirmpage.o ../build/last.fm/debug/wizardloginpage.o ../build/last.fm/debug/wizardprogresspage.o ../build/last.fm/debug/wizardselectpluginpage.o ../build/last.fm/debug/wizardbootstrappage.o ../build/last.fm/debug/addplayerdialog.o ../build/last.fm/debug/loginwidget.o ../build/last.fm/debug/updateinfogetter.o ../build/last.fm/debug/componentinfo.o ../build/last.fm/debug/plugininfo.o ../build/last.fm/debug/appinfo.o ../build/last.fm/debug/versionnumber.o ../build/last.fm/debug/FileVersionInfo.o ../build/last.fm/debug/autoupdater.o ../build/last.fm/debug/updatewizard.o ../build/last.fm/debug/wizardselectupdatespage.o ../build/last.fm/debug/playerlistener.o ../build/last.fm/debug/playercommandparser.o ../build/last.fm/debug/playerconnection.o ../build/last.fm/debug/iconshack.o ../build/last.fm/debug/systray.o ../build/last.fm/debug/progressframe.o ../build/last.fm/debug/checkdirtree.o ../build/last.fm/debug/deleteuserdialog.o ../build/last.fm/debug/failedlogindialog.o ../build/last.fm/debug/toolbarvolumeslider.o ../build/last.fm/debug/tagdialog.o ../build/last.fm/debug/ShareDialog.o ../build/last.fm/debug/lastfmapplication.o ../build/last.fm/debug/AudioController.o ../build/last.fm/debug/Radio.o ../build/last.fm/debug/RadioPlaylist.o ../build/last.fm/debug/XspfResolver.o ../build/last.fm/debug/MediaDeviceScrobbler.o ../build/last.fm/debug/SideBarView.o ../build/last.fm/debug/SideBarModel.o ../build/last.fm/debug/SideBarDelegate.o ../build/last.fm/debug/SideBarTreeStyle.o ../build/last.fm/debug/SideBarToolTipLabel.o ../build/last.fm/debug/SideBarRevealPopup.o ../build/last.fm/debug/MetaDataWidget.o ../build/last.fm/debug/TagListWidget.o ../build/last.fm/debug/TrackProgressFrame.o ../build/last.fm/debug/RestStateWidget.o ../build/last.fm/debug/DiagnosticsDialog.o ../build/last.fm/debug/User.o ../build/last.fm/debug/RestStateMessage.o ../build/last.fm/debug/ProxyOutput.o ../build/last.fm/debug/AbstractBootstrapper.o ../build/last.fm/debug/AbstractFileBootstrapper.o ../build/last.fm/debug/WizardTwiddlyBootstrapPage.o ../build/last.fm/debug/simplewizard_mac.o ../build/last.fm/debug/winstyleoverrides.o ../build/last.fm/debug/moc_container.o ../build/last.fm/debug/moc_settingsdialog.o ../build/last.fm/debug/moc_aboutdialog.o ../build/last.fm/debug/moc_Scrobbler-1.2.o ../build/last.fm/debug/moc_simplewizard.o ../build/last.fm/debug/moc_configwizard.o ../build/last.fm/debug/moc_wizardinfopage.o ../build/last.fm/debug/moc_WizardBootstrapSelectorPage.o ../build/last.fm/debug/moc_wizardmediadeviceconfirmpage.o ../build/last.fm/debug/moc_wizardloginpage.o ../build/last.fm/debug/moc_wizardprogresspage.o ../build/last.fm/debug/moc_wizardselectpluginpage.o ../build/last.fm/debug/moc_wizardbootstrappage.o ../build/last.fm/debug/moc_addplayerdialog.o ../build/last.fm/debug/moc_loginwidget.o ../build/last.fm/debug/moc_updateinfogetter.o ../build/last.fm/debug/moc_autoupdater.o ../build/last.fm/debug/moc_updatewizard.o ../build/last.fm/debug/moc_wizardselectupdatespage.o ../build/last.fm/debug/moc_playerlistener.o ../build/last.fm/debug/moc_playerconnection.o ../build/last.fm/debug/moc_systray.o ../build/last.fm/debug/moc_progressframe.o ../build/last.fm/debug/moc_checkdirtree.o ../build/last.fm/debug/moc_deleteuserdialog.o ../build/last.fm/debug/moc_failedlogindialog.o ../build/last.fm/debug/moc_toolbarvolumeslider.o ../build/last.fm/debug/moc_tagdialog.o ../build/last.fm/debug/moc_ShareDialog.o ../build/last.fm/debug/moc_lastfmapplication.o ../build/last.fm/debug/moc_AudioController.o ../build/last.fm/debug/moc_Radio.o ../build/last.fm/debug/moc_RadioPlaylist.o ../build/last.fm/debug/moc_MediaDeviceScrobbler.o ../build/last.fm/debug/moc_SideBarView.o ../build/last.fm/debug/moc_SideBarModel.o ../build/last.fm/debug/moc_SideBarDelegate.o ../build/last.fm/debug/moc_MetaDataWidget.o ../build/last.fm/debug/moc_TagListWidget.o ../build/last.fm/debug/moc_TrackProgressFrame.o ../build/last.fm/debug/moc_DiagnosticsDialog.o ../build/last.fm/debug/moc_User.o ../build/last.fm/debug/moc_RestStateWidget.o ../build/last.fm/debug/moc_RestStateMessage.o ../build/last.fm/debug/moc_ProxyOutput.o ../build/last.fm/debug/moc_AbstractBootstrapper.o ../build/last.fm/debug/moc_AbstractFileBootstrapper.o ../build/last.fm/debug/moc_itunesdevice.o ../build/last.fm/debug/moc_WizardTwiddlyBootstrapPage.o ../build/last.fm/debug/moc_simplewizard_mac.o ../build/last.fm/debug/qrc_last.fm.o -L/var/tmp/portage/media-sound/lastfmplayer-1.5.4.26862-r1/work/lastfm-1.5.4.26862+dfsg/bin -L/usr/lib/qt4 -lMoose -lLastFmTools_debug -L/var/tmp/portage/media-sound/lastfmplayer-1.5.4.26862-r1/work/lastfm-1.5.4.26862+dfsg/bin -lX11 -lz -lQtXml -L/usr/lib/qt4 -lQtGui -L/usr/X11R6/lib -lQtNetwork -lQtCore -lgthread-2.0 -lrt -lglib-2.0 -lpthread /usr/lib/gcc/i686-pc-linux-gnu/4.4.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lMoose collect2: ld returned 1 exit status make[1]: *** [../bin/last.fm_debug] Error 1 make[1]: Leaving directory `/var/tmp/portage/media-sound/lastfmplayer-1.5.4.26862-r1/work/lastfm-1.5.4.26862+dfsg/src' make: *** [sub-src-make_default-ordered] Error 2
Seems like your system uses debug and not release mode to build lastfmplayer. Can you please update the LastFm.pro and the Makefile please? Can you please try to use -march=core2 instead of -march=native? Thanks
(In reply to comment #9) > Seems like your system uses debug and not release mode to build lastfmplayer. > Can you please update the LastFm.pro and the Makefile please? Not sure what you mean here. I don't have debug USE flag enabled for lastfmplayer. I have debug enabled for some KDE and QT packages, though (mainly for Amarok backtraces). What do you mean with "update the LastFm.pro and the Makefile"? > Can you please try to use -march=core2 instead of -march=native? Tried with CFLAGS="-O2 -march=core2 -pipe -fomit-frame-pointer" Same result.
Sorry I meant upload these files as attachments here :) (after the build failure)
Created attachment 239583 [details] Makefile As requested
Created attachment 239585 [details] LastFM.pro
I am gonna need the help of the rest of the @Qt herd here since it seems like the build system uses the debug mode instead of the release one. I can't figure out what is wrong
(In reply to comment #10) > Not sure what you mean here. I don't have debug USE flag enabled for > lastfmplayer. I have debug enabled for some KDE and QT packages, though (mainly > for Amarok backtraces). BTW, the 'debug' USE flag has nothing to do with backtraces.
That build system is a *complete mess*... Try adding the following to the ebuild: src_configure() { eqmake4 LastFM.pro -config release }
(In reply to comment #16) > That build system is a *complete mess*... > Try adding the following to the ebuild: > > src_configure() { > eqmake4 LastFM.pro -config release > } Hello Davide, adding src_configure() to the ebuild solved the problem. lastfmplayer-1.5.4.26862-r1 was emerged without problems now.
Ok, thanks Oliver! @Markos: we could change eqmake4 to always append -config release or -config debug, to avoid this sort of issues in the future. Should I prepare a patch?
Well that makes sense to me. Yes please attach a patch as I am quite busy atm :/ Many thanks
Created attachment 240639 [details, diff] patch for eqmake4
Fixed Thank you very much Davide