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

ERROR: media-sound/amarok-2.0.1.1 failed

Tags: None
(comma "," separated)
imake
Registered Member
Posts
2
Karma
0
I have already compiled mysql with -fPIC
But I still cannot install amarok2 in my Gentoo AMD64.

Here is the error report:
>>> Unpacking source...
>>> Unpacking amarok-2.0.1.1.tar.bz2 to /var/tmp/portage/media-sound/amarok-2.0.1.1/work
>>> Source unpacked in /var/tmp/portage/media-sound/amarok-2.0.1.1/work
>>> Configuring source in /var/tmp/portage/media-sound/amarok-2.0.1.1/work/amarok-2.0.1.1 ...
loading initial cache file /var/tmp/portage/media-sound/amarok-2.0.1.1/temp/gentoo_common_config.cmake
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc
-- Check for working C compiler: /usr/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/bin/x86_64-pc-linux-gnu-g++
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- 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.4.2 (using /usr/bin/qmake)
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so;/usr/lib64/libXft.so;/usr/lib64/libXau.so;/usr/lib64/libXdmcp.so;/usr/lib64/libXpm.so
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so;/usr/lib64/libXft.so;/usr/lib64/libXau.so;/usr/lib64/libXdmcp.so;/usr/lib64/libXpm.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib64/libX11.so
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_PTHREAD_H - found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found Automoc4: /usr/bin/automoc4
-- Found Perl: /usr/bin/perl
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- Performing Test HAVE_FPIE_SUPPORT
-- Performing Test HAVE_FPIE_SUPPORT - Success
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL - Success
-- Performing Test __KDE_HAVE_GCC_VISIBILITY
-- Performing Test __KDE_HAVE_GCC_VISIBILITY - Success
-- Found Phonon: /usr/lib64/libphonon.so
-- Found Phonon Includes: /usr/include/KDE;/usr/include
-- Found KDE 4.1 include dir: /usr/kde/4.1/include
-- Found KDE 4.1 library dir: /usr/kde/4.1/lib64
-- Found KDE4 kconfig_compiler preprocessor: /usr/kde/4.1/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4
Qt QTNSPLUGIN library not found.
-- Looking for dlopen in dl
-- Looking for dlopen in dl - found
-- Found taglib: -L/usr/lib64 -ltag
-- Taglib found: -L/usr/lib64 -ltag
-- Found Strigi
-- Found Strigi: /usr/lib64/libstreams.so
-- Performing Test STRIGI_NEEDS_SIGNED_CHAR
-- Performing Test STRIGI_NEEDS_SIGNED_CHAR - Failed
-- Performing Test STRIGI_NEEDS_CHAR
-- Performing Test STRIGI_NEEDS_CHAR - Success
-- Strigi API is pre-screwup check, need 'char'
-- Performing Test HAVE_MYSQL_OPT_EMBEDDED_CONNECTION
-- Performing Test HAVE_MYSQL_OPT_EMBEDDED_CONNECTION - Success
-- Found MySQL: /usr/include/mysql, /usr/lib64/mysql/libmysqlclient.a
-- Found MySQL Embedded: /usr/include/mysql, /usr/lib64/mysql/libmysqld.a
-- Found ZLIB: /lib64/libz.so
-- Found GLIB2: /usr/lib64/libglib-2.0.so
-- Found Gdk: /usr/include/gtk-2.0
-- Found MP4V2: /usr/lib64/libmp4v2.so
-- Found CURL: /usr/lib64/libcurl.so
-- Found LibXml2: /usr/lib64/libxml2.so
-- Found OpenSSL: /usr/lib64/libssl.so
-- Looking for include files HAVE_GCRYPT_H
-- Looking for include files HAVE_GCRYPT_H - found
-- Libgcrypt found: /usr/lib64/libgcrypt.so
-- Found GObject libraries: /usr/lib64/libgobject-2.0.so;/usr/lib64/libgmodule-2.0.so;/usr/lib64/libgthread-2.0.so;/usr/lib64/libglib-2.0.so
-- Found GObject includes : /usr/include/glib-2.0/gobject
-- Found Loudmouth: /usr/include/loudmouth-1.0
-- Found Soprano: /usr/lib64/libsoprano.so
-- Found Soprano includes: /usr/include
-- Found Soprano Index: /usr/lib64/libsopranoindex.so
-- Found Soprano Client: /usr/lib64/libsopranoclient.so
-- Found NEPOMUK: /usr/kde/4.1/lib64/libnepomuk.so
-- Performing Test QT4_GLIB_SUPPORT
-- Performing Test QT4_GLIB_SUPPORT - Success
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of int
-- Check size of int - done
-- Check size of long
-- Check size of long - done
-- Performing Test COMPLEX_TAGLIB_FILENAME
-- Performing Test COMPLEX_TAGLIB_FILENAME - Failed
--
-----------------------------------------------------------------------------
-- The following external packages were located on your system.
-- This installation will have the extra features provided by these packages.
+ kdelibs
+ taglib
+ strigi
+ mysqld
+ zlib
+ glib2
+ Gdk
+ libmp4v2
+ curl
+ libxml2
+ openssl or libgcrypt
+ gobject
+ loudmouth
+ soprano
+ nepomuk
+ Qt4 Glib support
-----------------------------------------------------------------------------
-- The following OPTIONAL packages could NOT be located on your system.
-- Consider installing them to enable more features from this software.
+ libgpod, 0.6.0: Support Apple iPod audio devices
+ libmtp, 0.3.0: Enable Support for portable media devices that use the media transfer protocol
-----------------------------------------------------------------------------

-- Looking for include files HAVE_LIBINTL_H
-- Looking for include files HAVE_LIBINTL_H - found
-- Looking for dgettext
-- Looking for dgettext - found
-- Found Gettext: built in libc
-- Configuring done
-- Generating done
-- Build files have been written to: /var/tmp/portage/media-sound/amarok-2.0.1.1/work/amarok_build
>>> Source configured.
.....

[ 90%] Generating ui_OrganizeCollectionDialogBase.h                                                       
[ 90%] Generating SqlCollectionAdaptor.moc                                                                 
Scanning dependencies of target amarok_collection-sqlcollection                                           
[ 90%] Building CXX object src/collection/sqlcollection/CMakeFiles/amarok_collection-sqlcollection.dir/DatabaseUpdater.o                                                                                               
[ 90%] Building CXX object src/collection/sqlcollection/CMakeFiles/amarok_collection-sqlcollection.dir/OrganizeCollectionDialog.o                                                                                     
make[1]: *** [src/collection/daap/CMakeFiles/amarok_collection-daapcollection.dir/all] ERROR 2                                                             
[ 90%] Building CXX object src/collection/sqlcollection/CMakeFiles/amarok_collection-sqlcollection.dir/ScanManager.o                                                                                                   
[ 90%] Building CXX object src/collection/sqlcollection/CMakeFiles/amarok_collection-sqlcollection.dir/ScanResultProcessor.o                                                                                           
[ 90%] Building CXX object src/collection/sqlcollection/CMakeFiles/amarok_collection-sqlcollection.dir/SqlCollection.o                                                                                                 
[ 90%] Building CXX object src/collection/sqlcollection/CMakeFiles/amarok_collection-sqlcollection.dir/SqlCollectionDBusHandler.o                                                                                     
[ 90%] Building CXX object src/collection/sqlcollection/CMakeFiles/amarok_collection-sqlcollection.dir/SqlCollectionLocation.o                                                                                         
[ 90%] Building CXX object src/collection/sqlcollection/CMakeFiles/amarok_collection-sqlcollection.dir/SqlQueryMaker.o                                                                                                 
[ 90%] Building CXX object src/collection/sqlcollection/CMakeFiles/amarok_collection-sqlcollection.dir/SqlRegistry.o                                                                                                   
[ 90%] Building CXX object src/collection/sqlcollection/CMakeFiles/amarok_collection-sqlcollection.dir/SqlMeta.o                                                                                                       
[ 91%] Building CXX object src/collection/sqlcollection/CMakeFiles/amarok_collection-sqlcollection.dir/MySqlEmbeddedCollection.o                                                                                       
[ 91%] Building CXX object src/collection/sqlcollection/CMakeFiles/amarok_collection-sqlcollection.dir/XesamDbus.o                                                                                                     
[ 91%] Building CXX object src/collection/sqlcollection/CMakeFiles/amarok_collection-sqlcollection.dir/XesamCollectionBuilder.o                                                                                       
[ 91%] Building CXX object src/collection/sqlcollection/CMakeFiles/amarok_collection-sqlcollection.dir/SqlCollectionAdaptor.o                                                                                         
[ 91%] Building CXX object src/collection/sqlcollection/CMakeFiles/amarok_collection-sqlcollection.dir/amarok_collection-sqlcollection_automoc.o                                                                       
Linking CXX shared module ../../../lib/libamarok_collection-sqlcollection.so                               
[ 91%] Built target amarok_collection-sqlcollection                                                       
make: *** [all] ERROR 2                                                                                     
*                                                                                                         
* ERROR: media-sound/amarok-2.0.1.1 failed.                                                               
* Call stack:                                                                                             
*              ebuild.sh, line  49:  Called src_compile                                                 
*            environment, line 3133:  Called kde4-base_src_compile                                       
*            environment, line 2262:  Called kde4-base_src_make                                         
*            environment, line 2322:  Called cmake-utils_src_make                                       
*            environment, line  798:  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-2.0.1.1/temp/build.log'.       
* The ebuild environment file is located at '/var/tmp/portage/media-sound/amarok-2.0.1.1/temp/environment'.
*                                                                                                         

>>> Failed to emerge media-sound/amarok-2.0.1.1, Log file:

>>>  '/var/tmp/portage/media-sound/amarok-2.0.1.1/temp/build.log'

* Messages for package media-sound/amarok-2.0.1.1:

*
* Compilation will fail if dev-db/mysql[-community] is built without -fPIC in your CFLAGS!
* Related bug: http://bugs.gentoo.org/show_bug.cgi?id=238487
*
* To fix this, and to avoid using -fPIC globally in your make.conf    (which is not recommended),
* put the following into /etc/portage/env/dev-db/mysql (or    mysql-community, depending on which you use;
* create dirs and the file if they don't exist):
*
* CFLAGS="-march=k8 -O2 -pipe -DPIC -fPIC"
* CXXFLAGS="-march=k8 -O2 -pipe -DPIC -fPIC"
*
*
* ERROR: media-sound/amarok-2.0.1.1 failed.
* Call stack:
*              ebuild.sh, line  49:  Called src_compile
*            environment, line 3133:  Called kde4-base_src_compile
*            environment, line 2262:  Called kde4-base_src_make
*            environment, line 2322:  Called cmake-utils_src_make
*            environment, line  798:  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-2.0.1.1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/media-sound/amarok-2.0.1.1/temp/environment'.
*

* Regenerating GNU info directory index...
* Processed 122 info files.

Last edited by imake on Thu Jan 15, 2009 11:05 am, edited 1 time in total.
mikkoc
Registered Member
Posts
25
Karma
0
the real error is above
imake
Registered Member
Posts
2
Karma
0
mikkoc wrote:the real error is above

How to repair this error?
Laerte
Registered Member
Posts
1
Karma
0
Try to compile Amarok without ipod USE flag. That worked for me.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]