Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 579408 - kde-apps/khelpcenter fails to compile
Summary: kde-apps/khelpcenter fails to compile
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-09 08:08 UTC by ta2002
Modified: 2016-06-03 17:41 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ta2002 2016-04-09 08:08:12 UTC
# emerge kde-plasma/khelpcenter

[...]

[100%] Linking CXX executable khelpcenter
/usr/bin/cmake -E cmake_link_script CMakeFiles/khelpcenter.dir/link.txt --verbose=1
/usr/bin/x86_64-pc-linux-gnu-g++   -O2 -fomit-frame-pointer -pipe -march=core2 -mcx16 -msahf -msse4.1 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=2048 -mfpmath=sse  -std=c++0x -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type  -Wl,--enable-new-dtags  -Wl,-O1 -Wl,--as-needed CMakeFiles/khelpcenter.dir/khelpcenter_dummy.cpp.o CMakeFiles/khelpcenter.dir/khelpcenter_automoc.cpp.o  -o khelpcenter -rdynamic libkdeinit5_khelpcenter.so /usr/lib64/libKF5KHtml.so.5.18.0 /usr/lib64/libKF5JS.so.5.18.0 /usr/lib64/libKF5KCMUtils.so.5.18.0 /usr/lib64/libKF5KDELibs4Support.so.5.18.0 /usr/lib64/libKF5Parts.so.5.18.0 /usr/lib64/libKF5Crash.so.5.18.0 /usr/lib64/libKF5KIOFileWidgets.so.5.18.0 /usr/lib64/libKF5KIOWidgets.so.5.18.0 /usr/lib64/libKF5KIOCore.so.5.18.0 /usr/lib64/libKF5JobWidgets.so.5.18.0 /usr/lib64/libKF5Bookmarks.so.5.18.0 /usr/lib64/libKF5XmlGui.so.5.18.0 /usr/lib64/libKF5TextWidgets.so.5.18.0 /usr/lib64/libKF5Service.so.5.18.0 /usr/lib64/libKF5DBusAddons.so.5.18.0 /usr/lib64/libKF5SonnetUi.so.5.18.0 /usr/lib64/libQt5PrintSupport.so.5.5.1 /usr/lib64/libKF5Solid.so.5.18.0 /usr/lib64/libKF5Completion.so.5.18.0 /usr/lib64/libKF5Notifications.so.5.18.0 /usr/lib64/libKF5IconThemes.so.5.18.0 /usr/lib64/libKF5ConfigWidgets.so.5.18.0 /usr/lib64/libKF5Codecs.so.5.18.0 /usr/lib64/libKF5ConfigGui.so.5.18.0 /usr/lib64/libKF5ConfigCore.so.5.18.0 /usr/lib64/libKF5Auth.so.5.18.0 /usr/lib64/libKF5CoreAddons.so.5.18.0 /usr/lib64/libQt5DBus.so.5.5.1 /usr/lib64/libKF5WidgetsAddons.so.5.18.0 /usr/lib64/libKF5ItemViews.so.5.18.0 /usr/lib64/libKF5WindowSystem.so.5.18.0 /usr/lib64/libQt5Widgets.so.5.5.1 /usr/lib64/libKF5GuiAddons.so.5.18.0 /usr/lib64/libQt5Gui.so.5.5.1 /usr/lib64/libKF5UnitConversion.so.5.18.0 /usr/lib64/libKF5I18n.so.5.18.0 /usr/lib64/libQt5Network.so.5.5.1 /usr/lib64/libQt5Xml.so.5.5.1 /usr/lib64/libQt5Core.so.5.5.1 -Wl,-rpath,/var/tmp/portage/kde-plasma/khelpcenter-5.5.5/work/khelpcenter-5.5.5_build: 
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ld: warning: libphonon4qt5.so.4, needed by /usr/lib64/libKF5KHtml.so.5.18.0, not found (try using -rpath or -rpath-link)
/usr/lib64/libKF5KHtml.so.5.18.0: undefined reference to `Phonon::VideoPlayer::totalTime() const'
/usr/lib64/libKF5KHtml.so.5.18.0: undefined reference to `Phonon::VideoPlayer::staticMetaObject'
/usr/lib64/libKF5KHtml.so.5.18.0: undefined reference to `Phonon::MediaSource::MediaSource(QUrl const&)'
/usr/lib64/libKF5KHtml.so.5.18.0: undefined reference to `Phonon::VideoPlayer::load(Phonon::MediaSource const&)'
/usr/lib64/libKF5KHtml.so.5.18.0: undefined reference to `typeinfo for Phonon::VideoPlayer'
/usr/lib64/libKF5KHtml.so.5.18.0: undefined reference to `Phonon::VideoPlayer::isPaused() const'
/usr/lib64/libKF5KHtml.so.5.18.0: undefined reference to `Phonon::VideoWidget::exitFullScreen()'
/usr/lib64/libKF5KHtml.so.5.18.0: undefined reference to `Phonon::VideoPlayer::mediaObject() const'
/usr/lib64/libKF5KHtml.so.5.18.0: undefined reference to `Phonon::VideoPlayer::play()'
/usr/lib64/libKF5Notifications.so.5.18.0: undefined reference to `Phonon::AudioOutput::AudioOutput(Phonon::Category, QObject*)'
/usr/lib64/libKF5KHtml.so.5.18.0: undefined reference to `Phonon::VideoPlayer::play(Phonon::MediaSource const&)'
/usr/lib64/libKF5KHtml.so.5.18.0: undefined reference to `Phonon::VideoPlayer::qt_metacast(char const*)'
/usr/lib64/libKF5KHtml.so.5.18.0: undefined reference to `Phonon::VideoPlayer::event(QEvent*)'
/usr/lib64/libKF5KHtml.so.5.18.0: undefined reference to `Phonon::VideoPlayer::setVolume(float)'
/usr/lib64/libKF5Notifications.so.5.18.0: undefined reference to `Phonon::operator<<(QDebug, Phonon::State const&)'
/usr/lib64/libKF5KHtml.so.5.18.0: undefined reference to `Phonon::VideoWidget::enterFullScreen()'
/usr/lib64/libKF5KHtml.so.5.18.0: undefined reference to `Phonon::BackendCapabilities::isMimeTypeAvailable(QString const&)'
/usr/lib64/libKF5Notifications.so.5.18.0: undefined reference to `Phonon::MediaObject::stop()'
/usr/lib64/libKF5KHtml.so.5.18.0: undefined reference to `Phonon::VideoPlayer::currentTime() const'
/usr/lib64/libKF5KHtml.so.5.18.0: undefined reference to `Phonon::SeekSlider::SeekSlider(Phonon::MediaObject*, QWidget*)'
/usr/lib64/libKF5KHtml.so.5.18.0: undefined reference to `Phonon::MediaObject::remainingTime() const'
/usr/lib64/libKF5Notifications.so.5.18.0: undefined reference to `Phonon::MediaObject::enqueue(Phonon::MediaSource const&)'
/usr/lib64/libKF5KHtml.so.5.18.0: undefined reference to `Phonon::VideoPlayer::VideoPlayer(QWidget*)'
/usr/lib64/libKF5KHtml.so.5.18.0: undefined reference to `Phonon::MediaObject::state() const'
/usr/lib64/libKF5Notifications.so.5.18.0: undefined reference to `Phonon::createPath(Phonon::MediaNode*, Phonon::MediaNode*)'
/usr/lib64/libKF5KHtml.so.5.18.0: undefined reference to `Phonon::MediaObject::hasVideo() const'
/usr/lib64/libKF5Notifications.so.5.18.0: undefined reference to `Phonon::MediaObject::setCurrentSource(Phonon::MediaSource const&)'
/usr/lib64/libKF5KHtml.so.5.18.0: undefined reference to `Phonon::VideoPlayer::~VideoPlayer()'
/usr/lib64/libKF5Notifications.so.5.18.0: undefined reference to `Phonon::MediaObject::staticMetaObject'
/usr/lib64/libKF5KHtml.so.5.18.0: undefined reference to `Phonon::VideoPlayer::videoWidget() const'
/usr/lib64/libKF5Notifications.so.5.18.0: undefined reference to `Phonon::MediaObject::play()'
/usr/lib64/libKF5KHtml.so.5.18.0: undefined reference to `Phonon::VideoPlayer::isPlaying() const'
/usr/lib64/libKF5KHtml.so.5.18.0: undefined reference to `Phonon::VideoPlayer::qt_metacall(QMetaObject::Call, int, void**)'
/usr/lib64/libKF5KHtml.so.5.18.0: undefined reference to `Phonon::VideoPlayer::pause()'
/usr/lib64/libKF5Notifications.so.5.18.0: undefined reference to `Phonon::Path::~Path()'
/usr/lib64/libKF5KHtml.so.5.18.0: undefined reference to `Phonon::MediaSource::~MediaSource()'
/usr/lib64/libKF5Notifications.so.5.18.0: undefined reference to `Phonon::MediaObject::MediaObject(QObject*)'
collect2: error: ld returned 1 exit status
CMakeFiles/khelpcenter.dir/build.make:120: recipe for target 'khelpcenter' failed
make[2]: *** [khelpcenter] Error 1
make[2]: Leaving directory '/var/tmp/portage/kde-plasma/khelpcenter-5.5.5/work/khelpcenter-5.5.5_build'
CMakeFiles/Makefile2:238: recipe for target 'CMakeFiles/khelpcenter.dir/all' failed
make[1]: *** [CMakeFiles/khelpcenter.dir/all] Error 2
make[1]: Leaving directory '/var/tmp/portage/kde-plasma/khelpcenter-5.5.5/work/khelpcenter-5.5.5_build'
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
 * ERROR: kde-plasma/khelpcenter-5.5.5::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=kde-plasma/khelpcenter-5.5.5::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=kde-plasma/khelpcenter-5.5.5::gentoo'`.
 * The complete build log is located at '/var/log/portage/kde-plasma:khelpcenter-5.5.5:20160409-075800.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/kde-plasma/khelpcenter-5.5.5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/kde-plasma/khelpcenter-5.5.5/temp/environment'.
 * Working directory: '/var/tmp/portage/kde-plasma/khelpcenter-5.5.5/work/khelpcenter-5.5.5_build'
 * S: '/var/tmp/portage/kde-plasma/khelpcenter-5.5.5/work/khelpcenter-5.5.5'

>>> Failed to emerge kde-plasma/khelpcenter-5.5.5, Log file:

>>>  '/var/log/portage/kde-plasma:khelpcenter-5.5.5:20160409-075800.log'


I do have USE=-phonon. I suspect that may be a required dependency in this case.
Comment 1 Michael Palimaka (kensington) gentoo-dev 2016-04-10 16:50:01 UTC
I suspect your system is broken - khtml unconditionally requires phonon but that library appears to be missing.
Comment 2 ta2002 2016-04-11 18:14:02 UTC
This is actually more interesting (and puzzling) than I suspected when I did a very cursory look at this.

Phonon is installed.

$ equery uses phonon
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for media-libs/phonon-4.7.2:
 U I
 - - debug      : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see
                  https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces
 - - designer   : Install plugin for dev-qt/designer
 + + gstreamer  : Add support for media-libs/gstreamer (Streaming media)
 - - pulseaudio : Add support for PulseAudio sound server
 + + qt4        : Add support for the Qt GUI/Application Toolkit version 4.x
 + + qt5        : Add support for the Qt 5 application and UI framework
 + + vlc        : Install VLC Phonon backend

Required files exist:

$ qlist phonon | grep libphonon4qt5.so.4
/usr/lib64/libphonon4qt5.so.4.7.2
/usr/lib64/libphonon4qt5.so.4

$ ls -al /usr/lib64/libphonon4qt5.so.4.7.2 /usr/lib64/libphonon4qt5.so.4
lrwxrwxrwx 1 root root     22 2016-04-09 14:00:12 /usr/lib64/libphonon4qt5.so.4 -> libphonon4qt5.so.4.7.2*
-rwxr-xr-x 1 root root 457416 2016-04-09 14:00:13 /usr/lib64/libphonon4qt5.so.4.7.2*

Revdep-rebuild shows nothing broken:

$ revdep-rebuild -p
 * Configuring search environment for revdep-rebuild

 * Checking reverse dependencies
 * Packages containing binaries and libraries broken by a package update
 * will be emerged.

 * Collecting system binaries and libraries
 * Generated new 1_files.rr
 * Collecting complete LD_LIBRARY_PATH
 * Generated new 2_ldpath.rr
 * Checking dynamic linking consistency
[ 100% ]                 

 * Dynamic linking on your system is consistent... All done.
Comment 3 Johannes Huber (RETIRED) gentoo-dev 2016-04-28 15:57:15 UTC
Please attach full build log + paste emerge --info.
Comment 4 Johannes Huber (RETIRED) gentoo-dev 2016-05-18 07:53:51 UTC
(In reply to Johannes Huber from comment #3)
> Please attach full build log + paste emerge --info.
Comment 5 ta2002 2016-06-03 17:41:51 UTC
Working now (after the latest round of KDE updates).