Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 239531 - [kde-overlay] media-sound/amarok-1.92 fails to compile
Summary: [kde-overlay] media-sound/amarok-1.92 fails to compile
Status: RESOLVED DUPLICATE of bug 238487
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-04 12:53 UTC by Markos Chandras (RETIRED)
Modified: 2008-10-11 23:47 UTC (History)
3 users (show)

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


Attachments
emerge --info (emerge.txt,3.81 KB, text/plain)
2008-10-05 07:37 UTC, Markos Chandras (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Markos Chandras (RETIRED) gentoo-dev 2008-10-04 12:53:17 UTC
amarok-1.92 from kde-testing overlay fails to compile

Reproducible: Always

Steps to Reproduce:
1.emerge =media-sound/amarok-1.92
2.
3.

Actual Results:  
[ 98%] 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                                                                                     
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.1/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/mysql/libmysqld.a(client.o): relocation R_X86_64_32 against `mysql_server_last_error' can not be used when making a shared object; recompile with -fPIC                                                                                 
/usr/lib64/mysql/libmysqld.a: could not read symbols: Bad value                                                                                                  
collect2: ld returned 1 exit status                                                                                                                              
make[2]: *** [lib/libamarok_collection-sqlcollection.so] Error 1                                                                                                 
make[1]: *** [src/collection/sqlcollection/CMakeFiles/amarok_collection-sqlcollection.dir/all] Error 2                                                           
make[1]: *** Waiting for unfinished jobs....                                                                                                                     
/var/tmp/portage/media-sound/amarok-1.92.2/work/amarok-1.92.2/src/context/applets/lastfmevents/LastFmEvents.cpp:211: warning: unused parameter ‘which’           
[ 98%] Building CXX object src/context/applets/lastfmevents/CMakeFiles/amarok_context_applet_lastfmevents.dir/amarok_context_applet_lastfmevents_automoc.o       
Linking CXX shared module ../../../../lib/amarok_context_applet_lastfmevents.so                                                                                  
[ 98%] Built target amarok_context_applet_lastfmevents                                                                                                           
make: *** [all] Error 2                                                                                                                                          
 *                                                                                                                                                               
 * ERROR: media-sound/amarok-1.92.2 failed.                                                                                                                      
 * Call stack:                                                                                                                                                   
 * ebuild.sh, line   49:  Called src_compile                                                                                                                     
 * environment, line 2713:  Called kde4-base_src_compile                                                                                                         
 * environment, line 2049:  Called kde4-base_src_make                                                                                                            
 * environment, line 2084:  Called cmake-utils_src_make                                                                                                          
 * environment, line  668:  Called die                                                                                                                           
 * The specific snippet of code:                                                                                                                                 
 * emake "$@" || die "Make failed!";                                                                                                                             
 * The die message:                                                                                                                                              
 * Make failed!    

Expected Results:  
Amarok should compile fine
Comment 1 Thomas Sachau gentoo-dev 2008-10-04 22:15:35 UTC
Can you please nopaste your "emerge --info" or attach it?
Comment 2 David Sveningsson 2008-10-04 22:29:20 UTC
emerge --info:
http://rafb.net/p/bk33sd42.html
Comment 3 Thomas Sachau gentoo-dev 2008-10-04 23:05:57 UTC
I copy your emerge --info for now. Sorry, my wording was wrong, should not have been nopaste, but add it here. Please remember for the future: either do a "emerge --info > emerge.info.txt" and attach that file or enter the output directly in this text box. The content of nopaste services tends to disappear (rafb.net within 24 hours), so noone else would be able to read it.



Portage 2.2_rc11 (default/linux/amd64/2008.0, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.26-gentoo x86_64)
=================================================================
System uname: Linux-2.6.26-gentoo-x86_64-AMD_Phenom-tm-_9600_Quad-Core_Processor-with-glibc2.2.5
Timestamp of tree: Sat, 04 Oct 2008 21:30:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.5.2-r8
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r8
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.26
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -Os -pipe -msse3 -g -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/env /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /usr/shutdown"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -Os -pipe -msse3 -g -ggdb"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y"
FEATURES="ccache distlocks installsources parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict stricter unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp.port80.se/gentoo/ "
LC_ALL="sv_SE.utf8"
LDFLAGS="-Wl,--as-needed"
LINGUAS="sv SE sv_SE en"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/mozilla /usr/local/portage/layman/sunrise /usr/local/portage/layman/x11 /usr/local/portage/layman/java-overlay /usr/local/portage/layman/ext-devlibs /usr/local/portage/layman/kde-testing /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X aalib acl alsa amd64 bash-completion berkdb bzip2 cjk cli cracklib crypt cups dbus debug dri emacs exif ffmpeg firefox flac fortran gdbm gif glitz gnutls gpm gtk iconv id3tag ipv6 isdnlog java5 java6 jpeg jpeg2k latex lcms midi mmx mmxext mp3 mplayer mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp pam paste64 pcre perl png pppd python readline reflection session spell spl sse sse2 ssl startup-notification svg sysfs tcpd threads tiff truetype unicode wmf xml xorg xpm xv zeroconf zlib zsh-completion" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias auth_digest ident imagemap log_forensic" CAMERAS="canon ptp2" ELIBC="glibc" INPUT_DEVICES="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="sv SE sv_SE en" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LANG, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 David Sveningsson 2008-10-04 23:10:01 UTC
I thought it was weird but as you requested it, sorry.
Comment 5 Markos Chandras (RETIRED) gentoo-dev 2008-10-05 07:37:54 UTC
Created attachment 167254 [details]
emerge --info

here is my emerge --info
Comment 6 OxO pHz.60 2008-10-05 09:09:08 UTC
This is a temporary fix using this as reference. http://www.gentoo.org/proj/en/base/amd64/howtos/index.xml?part=1&chap=3

As I don't want to have pic executables I just added the CFlag -fPIC on /etc/make.conf and then recompiled mysql. After that that I removed the -fPIC flag and amarok compiled np. Of course this is only a quick fix while someone actually figures how to fix the situation.  

Hope it helps.
Comment 7 Tomáš Chvátal (RETIRED) gentoo-dev 2008-10-11 22:18:51 UTC
I actualy didnt want to close the, bug ijust wnated to add it as it depends on other one. sorry for inconvinience.
Comment 8 Timo Gurr (RETIRED) gentoo-dev 2008-10-11 23:47:09 UTC

*** This bug has been marked as a duplicate of bug 238487 ***