This forum has been archived. All content is frozen. Please use KDE Discuss instead.

git: cannot compile amarok-utils (xine-lib was broken)

Tags: None
(comma "," separated)
User avatar
StAn666
Registered Member
Posts
15
Karma
0
OS
I'm unable to compile amarok-utils because of some strange "file not found" errors and I have no idea what might go wrong here: :((

build.log
Code: Select all
 * Applying custom environment from '/etc/portage/env/media-sound/amarok-utils'
 * ebuild phase: setup
 * ebuild phase: unpack
 * GIT update -->
 *    repository:       git://gitorious.org/amarok/amarok.git
 * git fetch -f -u origin master:master
 *    at the commit:       ec077232c20fa106df7c965fcb1f46817809ab9a
 *    branch:          master
 *    storage directory:    "/media/linux_data/portage-distfiles/git-src/amarok"
Initialized empty Git repository in /var/tmp/portage/media-sound/amarok-utils-9999/work/amarok-9999/.git/
Switched to a new branch 'branch-master'
>>> Unpacked to /var/tmp/portage/media-sound/amarok-utils-9999/work/amarok-9999
 * ebuild phase: prepare
 * ebuild phase: configure
>>> Working in BUILD_DIR: "/var/tmp/portage/media-sound/amarok-utils-9999/work/amarok-9999_build"
cmake -C /var/tmp/portage/media-sound/amarok-utils-9999/temp/gentoo_common_config.cmake -DCMAKE_INSTALL_PREFIX=/usr -DWITH_PLAYER=OFF -DWITH_UTILITIES=ON -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_INSTALL_DO_STRIP=OFF -DCMAKE_USER_MAKE_RULES_OVERRIDE=/var/tmp/portage/media-sound/amarok-utils-9999/temp/gentoo_rules.cmake /var/tmp/portage/media-sound/amarok-utils-9999/work/amarok-9999
loading initial cache file /var/tmp/portage/media-sound/amarok-utils-9999/temp/gentoo_common_config.cmake
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/lib/ccache/bin/x86_64-pc-linux-gnu-gcc
-- Check for working C compiler: /usr/lib/ccache/bin/x86_64-pc-linux-gnu-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/lib/ccache/bin/x86_64-pc-linux-gnu-g++
-- Check for working CXX compiler: /usr/lib/ccache/bin/x86_64-pc-linux-gnu-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for dlopen in dl
-- Looking for dlopen in dl - found
-- Taglib found: -L/usr/lib64 -ltag
-- Performing Test TAGLIB_ASF_FOUND
-- Performing Test TAGLIB_ASF_FOUND - Success
-- Performing Test TAGLIB_MP4_FOUND
-- Performing Test TAGLIB_MP4_FOUND - Success
-- Taglib-Extras found: -L/usr/lib64 -ltag-extras
-- Performing Test COMPLEX_TAGLIB_FILENAME
-- Performing Test COMPLEX_TAGLIB_FILENAME - Failed
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found.
-- Found Qt-Version 4.5.2
-- Found OpenSSL: /usr/lib64/libssl.so
-- Looking for _POSIX_TIMERS
-- Looking for _POSIX_TIMERS - found
-- <<< Gentoo configuration >>>
Build type: Gentoo
Install path: /usr

-- Configuring done
-- Generating done
-- Build files have been written to: /var/tmp/portage/media-sound/amarok-utils-9999/work/amarok-9999_build
 * ebuild phase: compile
>>> Working in BUILD_DIR: "/var/tmp/portage/media-sound/amarok-utils-9999/work/amarok-9999_build"
[  2%] [34m[1mGenerating CollectionScanner.moc
[0m[35m[1mScanning dependencies of target amarok_afttagger
[35m[1mScanning dependencies of target amarokcollectionscanner
[0m[  5%] [32mBuilding CXX object utilities/afttagger/CMakeFiles/amarok_afttagger.dir/SafeFileSaver.cpp.o
[0m[  8%] [32mBuilding CXX object utilities/afttagger/CMakeFiles/amarok_afttagger.dir/AFTTagger.cpp.o
[0m[0m[ 11%] [32mBuilding CXX object utilities/collectionscanner/CMakeFiles/amarokcollectionscanner.dir/CollectionScanner.cpp.o
[0m[31m[1mLinking CXX executable amarok_afttagger
[0m[ 11%] Built target amarok_afttagger
[ 14%] [32mBuilding CXX object utilities/collectionscanner/CMakeFiles/amarokcollectionscanner.dir/AFTUtility.cpp.o
[0m/var/tmp/portage/media-sound/amarok-utils-9999/work/amarok-9999/utilities/collectionscanner/CollectionScanner.cpp:64:37: error: audiblefiletyperesolver.h: No such file or directory
/var/tmp/portage/media-sound/amarok-utils-9999/work/amarok-9999/utilities/collectionscanner/CollectionScanner.cpp:65:39: error: realmediafiletyperesolver.h: No such file or directory
In file included from /var/tmp/portage/media-sound/amarok-utils-9999/work/amarok-9999/utilities/collectionscanner/CollectionScanner.cpp:66:
/var/tmp/portage/media-sound/amarok-utils-9999/work/amarok-9999/shared/taglib_filetype_resolvers/asffiletyperesolver.h:27:26: error: tfile_helper.h: No such file or directory
/var/tmp/portage/media-sound/amarok-utils-9999/work/amarok-9999/utilities/collectionscanner/CollectionScanner.cpp: In constructor 'CollectionScanner::CollectionScanner(int&, char**)':
/var/tmp/portage/media-sound/amarok-utils-9999/work/amarok-9999/utilities/collectionscanner/CollectionScanner.cpp:101: error: expected type-specifier before 'RealMediaFileTypeResolver'
/var/tmp/portage/media-sound/amarok-utils-9999/work/amarok-9999/utilities/collectionscanner/CollectionScanner.cpp:101: error: expected ')' before 'RealMediaFileTypeResolver'
/var/tmp/portage/media-sound/amarok-utils-9999/work/amarok-9999/utilities/collectionscanner/CollectionScanner.cpp:101: error: no matching function for call to 'TagLib::FileRef::addFileTypeResolver(int*)'
/usr/include/taglib/fileref.h:196: note: candidates are: static const TagLib::FileRef::FileTypeResolver* TagLib::FileRef::addFileTypeResolver(const TagLib::FileRef::FileTypeResolver*)
/var/tmp/portage/media-sound/amarok-utils-9999/work/amarok-9999/utilities/collectionscanner/CollectionScanner.cpp:102: error: expected type-specifier before 'AudibleFileTypeResolver'
/var/tmp/portage/media-sound/amarok-utils-9999/work/amarok-9999/utilities/collectionscanner/CollectionScanner.cpp:102: error: expected ')' before 'AudibleFileTypeResolver'
/var/tmp/portage/media-sound/amarok-utils-9999/work/amarok-9999/utilities/collectionscanner/CollectionScanner.cpp:102: error: no matching function for call to 'TagLib::FileRef::addFileTypeResolver(int*)'
/usr/include/taglib/fileref.h:196: note: candidates are: static const TagLib::FileRef::FileTypeResolver* TagLib::FileRef::addFileTypeResolver(const TagLib::FileRef::FileTypeResolver*)
make[2]: *** [utilities/collectionscanner/CMakeFiles/amarokcollectionscanner.dir/CollectionScanner.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [utilities/collectionscanner/CMakeFiles/amarokcollectionscanner.dir/all] Error 2
make: *** [all] Error 2
 *
 * ERROR: media-sound/amarok-utils-9999 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3201:  Called cmake-utils_src_compile
 *             environment, line  867:  Called cmake-utils_src_make
 *             environment, line  947:  Called die
 * The specific snippet of code:
 *           emake "$@" || die "Make failed!";
 *  The die message:
 *   Make failed!
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/media-sound/amarok-utils-9999/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-sound/amarok-utils-9999/temp/environment'.
 * This ebuild used the following eclasses from overlays:
 *   /usr/local/overlay/kde-testing/eclass/cmake-utils.eclass
 * This ebuild is from an overlay named 'kde': '/usr/local/overlay/kde-testing/'
 *

even though the "missing" files are present

Code: Select all
# locate audiblefiletyperesolver.h
/usr/include/taglib-extras/audiblefiletyperesolver.h

# locate realmediafiletyperesolver.h
/usr/include/taglib-extras/realmediafiletyperesolver.h

# locate tfile_helper.h
/usr/include/taglib-extras/tfile_helper.h


I use the following taglib* versions:

media-libs/taglib-1.6
Code: Select all
# emerge -pv taglib
[ebuild   R   ] media-libs/taglib-1.6  USE="-debug -examples -static-libs -test"

media-libs/taglib-extras-9999 (live ebuild, directly fetched from git)
Code: Select all
# emerge -pv taglib-extras
[ebuild   R   ] media-libs/taglib-extras-9999  USE="kde (-aqua) -debug"


amarok-utils (live ebuild, directly fetched from git) has these use flags:
Code: Select all
# emerge -pv amarok-utils
[ebuild  N    ] media-sound/amarok-utils-9999  USE="debug"


I was wondering if my taglib lacks of mp4 or asf support (I read that this might be a problem somewhere in this forum) but the build.log says

Code: Select all
-- Performing Test TAGLIB_ASF_FOUND
-- Performing Test TAGLIB_ASF_FOUND - Success
-- Performing Test TAGLIB_MP4_FOUND
-- Performing Test TAGLIB_MP4_FOUND - Success


and there are no useflags for mp4 or asf in the taglibs ebuilds.
Any ideas?
User avatar
StAn666
Registered Member
Posts
15
Karma
0
OS
just ignore me, it was only the usual gentoo madness: :z

Code: Select all
# emerge xine-lib phonon
>>> Verifying ebuild manifests
>>> Starting parallel fetch
>>> Emerging (1 of 2) media-libs/xine-lib-1.1.16.3-r1
>>> Installing (1 of 2) media-libs/xine-lib-1.1.16.3-r1
>>> Emerging (2 of 2) media-sound/phonon-4.4_pre20090520
>>> Installing (2 of 2) media-sound/phonon-4.4_pre20090520
 * GNU info directory index is up-to-date.

zerberus stan # emerge amarok-utils
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) media-sound/amarok-utils-9999 from kde
>>> Installing (1 of 1) media-sound/amarok-utils-9999
>>> Recording media-sound/amarok-utils in "world" favorites file...
 * GNU info directory index is up-to-date.

xD


Bookmarks



Who is online

Registered users: Baidu [Spider], Bing [Bot], Google [Bot]