error received: make[1]: Leaving directory `/var/tmp/portage/mplayer-1.0_pre20060810/work/mplayer/libmenu' cc -I../libvo -I../../libvo -fno-PIC -O4 -D__STDC_LIMIT_MACROS -march=pentium-m -mtune=pentium-m -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/X11R6/include -I/usr/src/DVB/ost/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/dxr2 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I. -I./libavutil -I./libavcodec -o mplayer mplayer.o m_property.o mp_msg.o asxparser.o codec-cfg.o cpudetect.o edl.o find_sub.o m_config.o m_option.o m_struct.o parser-cfg.o playtree.o playtreeparser.o spudec.o sub_cc.o subreader.o vobsub.o unrarlib.o mixer.o parser-mpcmd.o subopt-helper.o libvo/libvo.a libao2/libao2.a input/libinput.a libmenu/libmenu.a Gui/libgui.a -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lglib-2.0 libmpcodecs/libmpcodecs.a loader/libloader.a loader/dshow/libDS_Filter.a loader/dmo/libDMO_Filter.a libaf/libaf.a libmpdemux/libmpdemux.a stream/stream.a libswscale/libswscale.a osdep/libosdep.a -ldvdread libavformat/libavformat.a libavcodec/libavcodec.a libavutil/libavutil.a libpostproc/libpostproc.a -lmad -ltheora -logg -lmp3lame -lxvidcore -lpng -lz -lz -ljpeg -lasound -ldl -lpthread -lmpcdec -lfaac -lncurses -lnsl -lgif -lsmbclient libfaad2/libfaad2.a mp3lib/libMP3.a liba52/liba52.a libmpeg2/libmpeg2.a tremor/libvorbisidec.a -lGL -ldl -lXv -lXxf86vm -L/usr/X11R6/lib -lXext -lX11 -lnsl -lpthread -lnsl -lSDL -lpthread -Wl,-z,noexecstack -lpthread -ldl -rdynamic -lm /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld: libfaad2/libfaad2.a(decoder.o): Relocations in generic ELF (EM: 20) /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld: libfaad2/libfaad2.a(decoder.o): Relocations in generic ELF (EM: 20) libfaad2/libfaad2.a: could not read symbols: File in wrong format collect2: ld returned 1 exit status make: *** [mplayer] Error 1 !!! ERROR: media-video/mplayer-1.0_pre20060810 failed. Call stack: ebuild.sh, line 1543: Called dyn_compile ebuild.sh, line 938: Called src_compile mplayer-1.0_pre20060810.ebuild, line 483: Called die !!! Failed to build MPlayer! !!! If you need support, post the topmost build error, and the call stack if relevant. emerge --info Portage 2.1.1_pre4-r4 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.17-gentoo-r4 i686) ================================================================= System uname: 2.6.17-gentoo-r4 i686 Intel(R) Pentium(R) 4 CPU 2.00GHz Gentoo Base System version 1.12.4 Last Sync: Thu, 10 Aug 2006 16:30:01 +0000 ccache version 2.4 [enabled] app-admin/eselect-compiler: 2.0.0_rc2-r1 dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r2 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.17 sys-devel/gcc-config: 2.0.0_rc1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -mtune=pentium4 -march=pentium4 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo" CXXFLAGS="-O3 -mtune=pentium4 -march=pentium4 -pipe -fomit-frame-pointer" DISTDIR="/var/tmp/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://gentoo.intergenia.de http://ftp.snt.utwente.nl/pub/os/linux/gentoo/ http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://distfiles.gentoo.org" LANG="nl_BE@euro" LC_ALL="nl_BE@euro" LDFLAGS="-Wl,-O1 -Wl,--sort-common -s" LINGUAS="nl en" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --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="x86 X a52 aac acpi alsa amr apache2 apm applet asf avi bash-completion bitmap-fonts browserplugin bzip2 cddb cdparanoia cdr cli crypt cups custom-cflags dbus dga dio directfb dlloader dmi dts dvd dvdr dvdread eds elibc_glibc emboss encode esd evolution exif fam fat ffmpeg fftw firefox flac font-server foomaticdb fortran ftp gdbm gif gimp gmail gnome gnome-print gpm gstreamer gtk gtk2 hal hddtemp httpd icc imagemagick imap imlib input_devices_joystick input_devices_keyboard input_devices_mouse isdnlog java joystick jpeg jpeg2k kernel_linux libg++ libwww linguas_en linguas_nl lm_sensors logrotate lzo lzw mad mikmod mime mjpeg mmap mmx mng motif mozilla moznocompose moznomail mp3 mpeg mpeg2 mplayer nautilus ncurses network nls no-old-linux noflagstrip nomac nptl nptlonly nsplugin ntfs nvidia offensive ogg openal opengl oss pam pcre pdflib perl pic png posix ppds pppd python qt3 qt4 quicktime rar readline real reflection reiserfs rtc rtsp sasl sblive sdl seamonkey sensord session skins smtp speex spell spl sse sse-filters sse2 ssl stream subtitles svga tcpd theora threads tiff transcode truetype truetype-fonts type1-fonts udev unicode usb userland_GNU userlocales video_cards_nvidia vidix vorbis wifi win32codecs wmf wxwindows x264 xanim xine xml xmms xorg xosd xscreensaver xv xvid xvmc zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_OPTS
Why is this assigned to amd64 if it happends on x86 hardware?
I'm on amd64, same error.
emerge --sync and refetch the source, now it is fixed.