Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 271558

Summary: media-sound/mpg123-1.7.3 -fPIC build failure
Product: Gentoo Linux Reporter: Josh Sled <jsled>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: 2008.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build log

Description Josh Sled 2009-05-28 17:34:18 UTC
/bin/sh ../../libtool --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc  -march=k8 -O2 -pipe -ggdb -no-undefined -version-info 14:4:14 -export-symbols libmpg123.sym -Wl,-O1 -o libmpg123.la -rpath /usr/lib64 compat.lo parse.lo frame.lo format.lo dct64.lo equalizer.lo id3.lo optimize.lo readers.lo tabinit.lo libmpg123.lo index.lo stringbuf.lo icy.lo icy2utf8.lo ntom.lo synth.lo synth_8bit.lo layer1.lo layer2.lo layer3.lo synth_s32.lo synth_real.lo -lm 
libtool: link: echo "{ global:" > .libs/libmpg123.ver
libtool: link:  cat libmpg123.sym | sed -e "s/\(.*\)/\1;/" >> .libs/libmpg123.ver
libtool: link:  echo "local: *; };" >> .libs/libmpg123.ver
libtool: link:  x86_64-pc-linux-gnu-gcc -shared  .libs/compat.o .libs/parse.o .libs/frame.o .libs/format.o .libs/dct64.o .libs/equalizer.o .libs/id3.o .libs/optimize.o .libs/readers.o .libs/tabinit.o .libs/libmpg123.o .libs/index.o .libs/stringbuf.o .libs/icy.o .libs/icy2utf8.o .libs/ntom.o .libs/synth.o .libs/synth_8bit.o .libs/layer1.o .libs/layer2.o .libs/layer3.o .libs/synth_s32.o .libs/synth_real.o   -lm  -march=k8 -Wl,-O1   -Wl,-soname -Wl,libmpg123.so.0 -Wl,-version-script -Wl,.libs/libmpg123.ver -o .libs/libmpg123.so.0.14.4
/data/usr/x86_64-pc-linux-gnu/gcc-bin/4.3.2/../../../lib/gcc/x86_64-pc-linux-gnu/4.3.2/../../../../x86_64-pc-linux-gnu/bin/ld: /data/usr/x86_64-pc-linux-gnu/gcc-bin/4.3.2/../../../lib/gcc/x86_64-pc-linux-gnu/4.3.2/../../../../lib64/libm.a(s_sin.o): relocation R_X86_64_32S against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/data/usr/x86_64-pc-linux-gnu/gcc-bin/4.3.2/../../../lib/gcc/x86_64-pc-linux-gnu/4.3.2/../../../../lib64/libm.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[3]: *** [libmpg123.la] Error 1
make[3]: Leaving directory `/dev/shm/portage/media-sound/mpg123-1.7.3/work/mpg123-1.7.3/src/libmpg123'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/dev/shm/portage/media-sound/mpg123-1.7.3/work/mpg123-1.7.3/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/dev/shm/portage/media-sound/mpg123-1.7.3/work/mpg123-1.7.3/src'
make: *** [all-recursive] Error 1
 * 
 * ERROR: media-sound/mpg123-1.7.3 failed.
 * Call stack:
 *               ebuild.sh, line   48:  Called src_compile
 *             environment, line  183:  Called _eapi2_src_compile
 *               ebuild.sh, line  625:  Called die
 * The specific snippet of code:
 *              emake || die "emake failed"
 *  The die message:
 *   emake failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/log/portage/media-sound:mpg123-1.7.3:20090528-172538.log'.
 * The ebuild environment file is located at '/dev/shm/portage/media-sound/mpg123-1.7.3/temp/environment'.
 * 

phoenix ~ # emerge --info
Portage 2.1.6.11 (default/linux/amd64/2008.0, gcc-4.3.2, glibc-2.8_p20080602-r1, 2.6.28-gentoo-r5 x86_64)
=================================================================
System uname: Linux-2.6.28-gentoo-r5-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4400+-with-glibc2.2.5
Timestamp of tree: Thu, 28 May 2009 01:45:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.7
dev-lang/python:     2.5.4-r2
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=k8 -O2 -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms splitdebug strict unmerge-orphans userfetch userpriv"
GENTOO_MIRRORS="http://mirror.mcs.anl.gov/pub/gentoo/ http://gentoo.mirrors.easynews.com/linux/gentoo/ http://gentoo.cites.uiuc.edu/pub/gentoo/ "
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
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="/dev/shm"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac aalib acl alsa amd64 apache2 audiofile avahi bash-completion berkdb branding bzip2 cairo cdr cli cracklib crypt cscope cups curl daap dbus dga dlna doc dri dvd dvdr emacs encode ethereal exif faad fam fbcon ffmpeg firefox flac fortran gd gdbm glut gmp gnome gnome-keyring gpm gstreamer gtk gtk2 gtkhtml hal iconv icq idn imagemagick imap imlib ipv6 isdnlog jabber java java5 joystick jpeg jpeg2k junit lcms libnotify mad maildir mbox midi ming mmx mng mp3 mpeg msn mudflap multilib mysql ncurses nls nptl nptlonly nsplugin nvidia offensive ogg oggvorbis openal opengl openmp oscar pam pcre perl plotutil png powermate pppd python quicktime readline reflection ruby samba sdl session slang speex spell spl sqlite sse sse2 ssl startup-notification svg sysfs tcpd theora threads truetype udev unicode usb vorbis xinerama xml xml2 xorg xosd xvid yahoo zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CAMERAS="canon" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia fbdev vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

I built this last night on x86 without problem, as is probably expected.
Comment 1 Josh Sled 2009-05-28 17:34:38 UTC
Created attachment 192733 [details]
build log
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2009-05-28 17:41:26 UTC

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