Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 689698 - media-sound/elisa-0.4.2 should depend on kde-frameworks/kfilemetadata[taglib] - ld: src/CMakeFiles/elisaLib.dir/abstractfile/abstractfilelisting.cpp.o: undefined reference to `KFileMetaData::EmbeddedImageData::~EmbeddedImageData()'
Summary: media-sound/elisa-0.4.2 should depend on kde-frameworks/kfilemetadata[taglib]...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-11 23:27 UTC by Awad Mackie
Modified: 2019-07-15 16:01 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 Awad Mackie 2019-07-11 23:27:46 UTC
Building media-sound/elisa-0.4.2 on a system with kfilemetadata[-taglib] fails with: 

/usr/bin/x86_64-pc-linux-gnu-g++ -fPIC -march=native -O2 -pipe -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 -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -fdiagnostics-color=always -pedantic -Wzero-as-null-pointer-constant  -Wl,--no-undefined -Wl,--enable-new-dtags -Wl,-O1 -Wl,--as-needed -shared -Wl,-soname,libelisaLib.so.0 -o bin/libelisaLib.so.0.1 src/CMakeFiles/elisaLib.dir/elisaLib_autogen/mocs_compilation.cpp.o src/CMakeFiles/elisaLib.dir/mediaplaylist.cpp.o src/CMakeFiles/elisaLib.dir/musicaudiotrack.cpp.o src/CMakeFiles/elisaLib.dir/progressindicator.cpp.o src/CMakeFiles/elisaLib.dir/databaseinterface.cpp.o src/CMakeFiles/elisaLib.dir/musiclistenersmanager.cpp.o src/CMakeFiles/elisaLib.dir/managemediaplayercontrol.cpp.o src/CMakeFiles/elisaLib.dir/manageheaderbar.cpp.o src/CMakeFiles/elisaLib.dir/manageaudioplayer.cpp.o src/CMakeFiles/elisaLib.dir/trackslistener.cpp.o src/CMakeFiles/elisaLib.dir/elisaapplication.cpp.o src/CMakeFiles/elisaLib.dir/modeldataloader.cpp.o src/CMakeFiles/elisaLib.dir/notificationitem.cpp.o src/CMakeFiles/elisaLib.dir/topnotificationmanager.cpp.o src/CMakeFiles/elisaLib.dir/elisautils.cpp.o src/CMakeFiles/elisaLib.dir/datatype.cpp.o src/CMakeFiles/elisaLib.dir/abstractfile/abstractfilelistener.cpp.o src/CMakeFiles/elisaLib.dir/abstractfile/abstractfilelisting.cpp.o src/CMakeFiles/elisaLib.dir/filescanner.cpp.o src/CMakeFiles/elisaLib.dir/viewmanager.cpp.o src/CMakeFiles/elisaLib.dir/powermanagementinterface.cpp.o src/CMakeFiles/elisaLib.dir/file/filelistener.cpp.o src/CMakeFiles/elisaLib.dir/file/localfilelisting.cpp.o src/CMakeFiles/elisaLib.dir/models/datamodel.cpp.o src/CMakeFiles/elisaLib.dir/models/abstractmediaproxymodel.cpp.o src/CMakeFiles/elisaLib.dir/models/gridviewproxymodel.cpp.o src/CMakeFiles/elisaLib.dir/models/alltracksproxymodel.cpp.o src/CMakeFiles/elisaLib.dir/models/singlealbumproxymodel.cpp.o src/CMakeFiles/elisaLib.dir/models/trackmetadatamodel.cpp.o src/CMakeFiles/elisaLib.dir/models/trackcontextmetadatamodel.cpp.o src/CMakeFiles/elisaLib.dir/models/viewsmodel.cpp.o src/CMakeFiles/elisaLib.dir/indexersManager.cpp.o src/CMakeFiles/elisaLib.dir/databaseLogging.cpp.o src/CMakeFiles/elisaLib.dir/abstractfile/indexercommon.cpp.o src/CMakeFiles/elisaLib.dir/qtMultimediaLogging.cpp.o src/CMakeFiles/elisaLib.dir/audiowrapper_qtmultimedia.cpp.o src/CMakeFiles/elisaLib.dir/models/filebrowsermodel.cpp.o src/CMakeFiles/elisaLib.dir/models/filebrowserproxymodel.cpp.o src/CMakeFiles/elisaLib.dir/mpris2/mpris2.cpp.o src/CMakeFiles/elisaLib.dir/mpris2/mediaplayer2.cpp.o src/CMakeFiles/elisaLib.dir/mpris2/mediaplayer2player.cpp.o src/CMakeFiles/elisaLib.dir/elisa_settings.cpp.o  /usr/lib64/libQt5Multimedia.so.5.12.3 /usr/lib64/libQt5Sql.so.5.12.3 /usr/lib64/libKF5FileMetaData.so.5.57.0 /usr/lib64/libKF5KIOFileWidgets.so.5.57.0 /usr/lib64/libKF5KCMUtils.so.5.57.0 /usr/lib64/libKF5Bookmarks.so.5.57.0 /usr/lib64/libKF5Solid.so.5.57.0 /usr/lib64/libKF5XmlGui.so.5.57.0 /usr/lib64/libKF5ItemViews.so.5.57.0 /usr/lib64/libKF5KIOWidgets.so.5.57.0 /usr/lib64/libKF5KIOCore.so.5.57.0 /usr/lib64/libQt5Concurrent.so.5.12.3 /usr/lib64/libKF5ConfigWidgets.so.5.57.0 /usr/lib64/libKF5Codecs.so.5.57.0 /usr/lib64/libKF5Auth.so.5.57.0 /usr/lib64/libKF5AuthCore.so.5.57.0 /usr/lib64/libKF5Service.so.5.57.0 /usr/lib64/libKF5JobWidgets.so.5.57.0 /usr/lib64/libKF5Completion.so.5.57.0 /usr/lib64/libKF5ConfigGui.so.5.57.0 /usr/lib64/libKF5ConfigCore.so.5.57.0 /usr/lib64/libQt5Xml.so.5.12.3 /usr/lib64/libKF5WidgetsAddons.so.5.57.0 /usr/lib64/libQt5Widgets.so.5.12.3 /usr/lib64/libQt5Qml.so.5.12.3 /usr/lib64/libQt5Network.so.5.12.3 /usr/lib64/libQt5Gui.so.5.12.3 /usr/lib64/libKF5I18n.so.5.57.0 /usr/lib64/libKF5CoreAddons.so.5.57.0 /usr/lib64/libQt5DBus.so.5.12.3 /usr/lib64/libQt5Core.so.5.12.3 && :
FAILED: bin/libelisaLib.so.0.1 
: && /usr/bin/x86_64-pc-linux-gnu-g++ -fPIC -march=native -O2 -pipe -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 -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -fdiagnostics-color=always -pedantic -Wzero-as-null-pointer-constant  -Wl,--no-undefined -Wl,--enable-new-dtags -Wl,-O1 -Wl,--as-needed -shared -Wl,-soname,libelisaLib.so.0 -o bin/libelisaLib.so.0.1 src/CMakeFiles/elisaLib.dir/elisaLib_autogen/mocs_compilation.cpp.o src/CMakeFiles/elisaLib.dir/mediaplaylist.cpp.o src/CMakeFiles/elisaLib.dir/musicaudiotrack.cpp.o src/CMakeFiles/elisaLib.dir/progressindicator.cpp.o src/CMakeFiles/elisaLib.dir/databaseinterface.cpp.o src/CMakeFiles/elisaLib.dir/musiclistenersmanager.cpp.o src/CMakeFiles/elisaLib.dir/managemediaplayercontrol.cpp.o src/CMakeFiles/elisaLib.dir/manageheaderbar.cpp.o src/CMakeFiles/elisaLib.dir/manageaudioplayer.cpp.o src/CMakeFiles/elisaLib.dir/trackslistener.cpp.o src/CMakeFiles/elisaLib.dir/elisaapplication.cpp.o src/CMakeFiles/elisaLib.dir/modeldataloader.cpp.o src/CMakeFiles/elisaLib.dir/notificationitem.cpp.o src/CMakeFiles/elisaLib.dir/topnotificationmanager.cpp.o src/CMakeFiles/elisaLib.dir/elisautils.cpp.o src/CMakeFiles/elisaLib.dir/datatype.cpp.o src/CMakeFiles/elisaLib.dir/abstractfile/abstractfilelistener.cpp.o src/CMakeFiles/elisaLib.dir/abstractfile/abstractfilelisting.cpp.o src/CMakeFiles/elisaLib.dir/filescanner.cpp.o src/CMakeFiles/elisaLib.dir/viewmanager.cpp.o src/CMakeFiles/elisaLib.dir/powermanagementinterface.cpp.o src/CMakeFiles/elisaLib.dir/file/filelistener.cpp.o src/CMakeFiles/elisaLib.dir/file/localfilelisting.cpp.o src/CMakeFiles/elisaLib.dir/models/datamodel.cpp.o src/CMakeFiles/elisaLib.dir/models/abstractmediaproxymodel.cpp.o src/CMakeFiles/elisaLib.dir/models/gridviewproxymodel.cpp.o src/CMakeFiles/elisaLib.dir/models/alltracksproxymodel.cpp.o src/CMakeFiles/elisaLib.dir/models/singlealbumproxymodel.cpp.o src/CMakeFiles/elisaLib.dir/models/trackmetadatamodel.cpp.o src/CMakeFiles/elisaLib.dir/models/trackcontextmetadatamodel.cpp.o src/CMakeFiles/elisaLib.dir/models/viewsmodel.cpp.o src/CMakeFiles/elisaLib.dir/indexersManager.cpp.o src/CMakeFiles/elisaLib.dir/databaseLogging.cpp.o src/CMakeFiles/elisaLib.dir/abstractfile/indexercommon.cpp.o src/CMakeFiles/elisaLib.dir/qtMultimediaLogging.cpp.o src/CMakeFiles/elisaLib.dir/audiowrapper_qtmultimedia.cpp.o src/CMakeFiles/elisaLib.dir/models/filebrowsermodel.cpp.o src/CMakeFiles/elisaLib.dir/models/filebrowserproxymodel.cpp.o src/CMakeFiles/elisaLib.dir/mpris2/mpris2.cpp.o src/CMakeFiles/elisaLib.dir/mpris2/mediaplayer2.cpp.o src/CMakeFiles/elisaLib.dir/mpris2/mediaplayer2player.cpp.o src/CMakeFiles/elisaLib.dir/elisa_settings.cpp.o  /usr/lib64/libQt5Multimedia.so.5.12.3 /usr/lib64/libQt5Sql.so.5.12.3 /usr/lib64/libKF5FileMetaData.so.5.57.0 /usr/lib64/libKF5KIOFileWidgets.so.5.57.0 /usr/lib64/libKF5KCMUtils.so.5.57.0 /usr/lib64/libKF5Bookmarks.so.5.57.0 /usr/lib64/libKF5Solid.so.5.57.0 /usr/lib64/libKF5XmlGui.so.5.57.0 /usr/lib64/libKF5ItemViews.so.5.57.0 /usr/lib64/libKF5KIOWidgets.so.5.57.0 /usr/lib64/libKF5KIOCore.so.5.57.0 /usr/lib64/libQt5Concurrent.so.5.12.3 /usr/lib64/libKF5ConfigWidgets.so.5.57.0 /usr/lib64/libKF5Codecs.so.5.57.0 /usr/lib64/libKF5Auth.so.5.57.0 /usr/lib64/libKF5AuthCore.so.5.57.0 /usr/lib64/libKF5Service.so.5.57.0 /usr/lib64/libKF5JobWidgets.so.5.57.0 /usr/lib64/libKF5Completion.so.5.57.0 /usr/lib64/libKF5ConfigGui.so.5.57.0 /usr/lib64/libKF5ConfigCore.so.5.57.0 /usr/lib64/libQt5Xml.so.5.12.3 /usr/lib64/libKF5WidgetsAddons.so.5.57.0 /usr/lib64/libQt5Widgets.so.5.12.3 /usr/lib64/libQt5Qml.so.5.12.3 /usr/lib64/libQt5Network.so.5.12.3 /usr/lib64/libQt5Gui.so.5.12.3 /usr/lib64/libKF5I18n.so.5.57.0 /usr/lib64/libKF5CoreAddons.so.5.57.0 /usr/lib64/libQt5DBus.so.5.12.3 /usr/lib64/libQt5Core.so.5.12.3 && :
/usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/CMakeFiles/elisaLib.dir/abstractfile/abstractfilelisting.cpp.o: in function `AbstractFileListing::AbstractFileListing(QObject*)':
abstractfilelisting.cpp:(.text+0x719): undefined reference to `KFileMetaData::EmbeddedImageData::EmbeddedImageData()'
/usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/CMakeFiles/elisaLib.dir/abstractfile/abstractfilelisting.cpp.o: in function `AbstractFileListing::checkEmbeddedCoverImage(QString const&)':
abstractfilelisting.cpp:(.text+0x41d4): undefined reference to `KFileMetaData::EmbeddedImageData::imageData(QString const&, QFlags<KFileMetaData::EmbeddedImageData::ImageType>) const'
/usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/CMakeFiles/elisaLib.dir/abstractfile/abstractfilelisting.cpp.o: in function `AbstractFileListing::~AbstractFileListing()':
abstractfilelisting.cpp:(.text+0x494a): undefined reference to `KFileMetaData::EmbeddedImageData::~EmbeddedImageData()'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
 * ERROR: media-sound/elisa-0.4.2::gentoo failed (compile phase):
 *   ninja -v -j13 -l0 failed
 * 
 * Call stack:
 *     ebuild.sh, line  124:  Called src_compile
 *   environment, line 2631:  Called kde5_src_compile
 *   environment, line 2042:  Called cmake-utils_src_compile
 *   environment, line 1004:  Called cmake-utils_src_make
 *   environment, line 1185:  Called _cmake_ninja_src_make
 *   environment, line  660:  Called eninja
 *   environment, line 1484:  Called die
 * The specific snippet of code:
 *       "$@" || die "${nonfatal_args[@]}" "${*} failed"
 * 
 * If you need support, post the output of `emerge --info '=media-sound/elisa-0.4.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-sound/elisa-0.4.2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-sound/elisa-0.4.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-sound/elisa-0.4.2/temp/environment'.
 * Working directory: '/var/tmp/portage/media-sound/elisa-0.4.2/work/elisa-0.4.2_build'
 * S: '/var/tmp/portage/media-sound/elisa-0.4.2/work/elisa-0.4.2'

The ebuild does not force taglib USE flag on kfilemetadata, but rebuilding kfilemetadata manually with it allows compilation to finish. The relevant upstream check is here: https://github.com/KDE/kfilemetadata/blob/1e9705162343c9c5d5e2d0b82eebafef0aac05e1/src/CMakeLists.txt#L22
Comment 1 Awad Mackie 2019-07-11 23:44:51 UTC
Unsure if this is related or how it's meant to be brought in but I had to install media-plugins/gst-plugins-mpg123, media-plugins/gst-plugins-pulse & media-plugins/gst-plugins-taglib by hand to get playback working after install.
Comment 2 Agostino Sarubbo gentoo-dev 2019-07-12 08:37:20 UTC
Confirmed here.
Comment 3 Larry the Git Cow gentoo-dev 2019-07-15 15:59:58 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/proj/kde.git/commit/?id=e424535634877b6c38b499035b191ce8360666ee

commit e424535634877b6c38b499035b191ce8360666ee
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2019-07-15 15:33:09 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2019-07-15 15:33:09 +0000

    media-sound/elisa: Fix dependencies
    
    Reported-by: Awad Mackie <firesock.serwalek@gmail.com>
    Reported-by: Agostino Sarubbo <ago@gentoo.org>
    Closes: https://bugs.gentoo.org/689698
    Closes: https://bugs.gentoo.org/689722
    Package-Manager: Portage-2.3.69, Repoman-2.3.16
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 media-sound/elisa/elisa-9999.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
Comment 4 Larry the Git Cow gentoo-dev 2019-07-15 16:01:35 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=710103789c894f45ea88c413a154c6c67f0d2426

commit 710103789c894f45ea88c413a154c6c67f0d2426
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2019-07-15 15:34:03 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2019-07-15 16:01:26 +0000

    media-sound/elisa: Fix dependencies
    
    Reported-by: Awad Mackie <firesock.serwalek@gmail.com>
    Reported-by: Agostino Sarubbo <ago@gentoo.org>
    Closes: https://bugs.gentoo.org/689698
    Closes: https://bugs.gentoo.org/689722
    Package-Manager: Portage-2.3.69, Repoman-2.3.16
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 media-sound/elisa/{elisa-0.4.2.ebuild => elisa-0.4.2-r1.ebuild} | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)