Mailing List Archive

Amarok, openoffice, transcode & xine-lib emerge failures.
Hi all,
Yesterday I tried an update world but amarok was blocking the update of mysql.
Messages said to remove amarok, do the world update and then emerge amarok.
I now have a system that is running well except amarok keeps failing with the
error at the end of this message. Also listed is emerge info and attached build
log and environment.
I also have failures with openoffice, transcode and xine-lib
Thanks in advance for any help
Paul

/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/../../../../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

Emerge info
~/ > emerge --info =media-sound/amarok-2.2.2.90
Portage 2.1.7.17 (default/linux/amd64/10.0/desktop, gcc-4.3.4, glibc-2.11-r1,
2.6.32-gentoo-r1 x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-2.6.32-gentoo-r1-x86_64-AMD_Athlon-tm-
_64_X2_Dual_Core_Processor_4600+-with-gentoo-2.0.1
Timestamp of tree: Mon, 22 Feb 2010 10:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash: 4.1_p2
dev-java/java-config: 2.1.10
dev-lang/python: 2.6.4-r1, 3.1.1-r1
dev-util/ccache: 2.4-r8
dev-util/cmake: 2.8.0-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc: 0.6.0-r1
sys-apps/sandbox: 2.2
sys-devel/autoconf: 2.13, 2.65
sys-devel/automake: 1.7.9-r2, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils: 2.20
sys-devel/gcc: 4.3.4, 4.4.3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool: 2.2.6b
virtual/os-headers: 2.6.32
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-Os -march=k8 -mno-tls-direct-seg-refs -mmmx -msse3 -pipe -fomit-frame-
pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/
/etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/java-config/vms/
/etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo
/etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d
/etc/texmf/web2c"
CXXFLAGS="-Os -march=k8 -mno-tls-direct-seg-refs -mmmx -msse3 -pipe -fomit-
frame-pointer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="assume-digests ccache distlocks fixpackages metadata-transfer news
parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-
orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://www.ibiblio.org/pub/Linux/distributions/gentoo
http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
ftp://mirror.qubenet.net/mirror/gentoo/ ftp://sunsite.informatik.rwth-
aachen.de/pub/Linux/gentoo http://pandemonium.tiscali.de/pub/gentoo/"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,--as-needed,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s"
LINGUAS="en_GB"
MAKEOPTS="-j5 -s"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 avi bash-completion berkdb
bluetooth branding bzip2 cairo cdparanoia cdr clamav cli consolekit cracklib
crypt cups cxx dbus divx divx4linux dri dts dv dvb dvd dvdr dvdread eds
embedded emboss encode evo examples fam ffmpeg flac fortran gdbm gif gphoto2
gpm gstreamer hal iconv imagemagick ipv6 jack java java6 javascript jpeg kde
kerberos lame ldap libnotify lm_sensors mad mikmod mjpeg mmx mng modules mp3
mp4 mpeg mplayer mudflap multilib mysql ncurses nls nptl nptlonly nsplugin
nvidia ogg opengl openmp pam pascal pcre pdf perl png ppds pppd python
qt3support qt4 quicktime readline reflection ruby samba scanner sdl session
spell spl sql sqlite sse sse2 ssl startup-notification svg sysfs tcpd theora
thunar tiff tk truetype unicode usb v4l vorbis webkit x264 xcomposite xine
xinerama xml xml2 xorg xulrunner xv xvid zlib" 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" ELIBC="glibc" INPUT_DEVICES="evdev wacom" KERNEL="linux"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses
text" LINGUAS="en_GB" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset: CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS,
PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

--
This message has been sent using kmail on gentoo.
Re: Amarok, openoffice, transcode & xine-lib emerge failures. [ In reply to ]
Paul,

Try emerging amarok with USE=-embedded - I believe there's a bug open
on b.g.o for this - but at work and no time to search it out.

Cheers,
malc.
Re: Amarok, openoffice, transcode & xine-lib emerge failures. [ In reply to ]
On 02/23/10 14:36, Paul Stear wrote:
> Hi all,
> Yesterday I tried an update world but amarok was blocking the update of mysql.
> Messages said to remove amarok, do the world update and then emerge amarok.
> I now have a system that is running well except amarok keeps failing with the
> error at the end of this message. Also listed is emerge info and attached build
> log and environment.
> I also have failures with openoffice, transcode and xine-lib
> Thanks in advance for any help
> Paul
>
> /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/../../../../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
>

try to create a mysql file in /etc/portage/env/dev-db dir (mkdir -p
/etc/portage/env/dev-db) with the following content :

CFLAGS="${CFLAGS} -DPIC -fPIC"
CXXFLAGS="${CXXFLAGS} -DPIC -fPIC"

You have to use these C(XX)FLAGS to create the embedded mysql server.

HTH

Cedric
Re: Amarok, openoffice, transcode & xine-lib emerge failures. [ In reply to ]
On 02/23/2010 05:34 PM, malc wrote:
> Paul,
>
> Try emerging amarok with USE=-embedded - I believe there's a bug open
> on b.g.o for this - but at work and no time to search it out.

If you do that, you should know what you're getting yourself into. You
will need to run a MySQL server on your machine with a dedicated SQL
user account and database. That is total overkill for just a music player.

So before doing that, think about if this is really what you want.