These are the packages that would be merged, in reverse order: Calculating dependencies... done! [ebuild U ] media-video/mplayer-1.0_rc2_p20090731 [1.0_rc2_p20090530] USE="X a52 aac alsa ass cddb cdio cdparanoia dirac dts dv dvd dvdnav enca encode faac faad gif iconv jpeg lirc live mad mmx mmxext mng mp2 mp3 nemesi network opengl osdmenu png quicktime rar rtc schroedinger sdl shm speex sse sse2 ssse3 theora tremor truetype unicode vdpau vorbis x264 xscreensaver xv xvid -3dnow -3dnowext -aalib (-altivec) -bidi -bindist -bl -cpudetection -custom-cflags -custom-cpuopts -debug -dga -directfb -doc -dvb -dxr3 -esd -fbcon -ftp -ggi -gmplayer -ipv6 -jack -joystick -ladspa -libcaca -lzo -md5sum -nas -nut -openal -oss -pnm -pulseaudio -pvr -radio (-real) -samba* (-svga) -teletext -tga -v4l -v4l2 (-vidix) (-win32codecs) -xanim -xinerama -xvmc -zoran (-amrnb%*) (-amrwb%*) (-musepack%)" VIDEO_CARDS="nvidia -mga -s3virge -tdfx -vesa" 0 kB Total: 1 package (1 upgrade), Size of downloads: 0 kB Would you like to merge these packages? [Yes/No] y >>> Verifying ebuild manifests >>> Emerging (1 of 1) media-video/mplayer-1.0_rc2_p20090731 **snip** >>> Source configured. >>> Compiling source in /var/tmp/portage/media-video/mplayer-1.0_rc2_p20090731/work/mplayer-1.0_rc2_p20090731 ... make -j5 * * ERROR: media-video/mplayer-1.0_rc2_p20090731 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2605: Called die * The specific snippet of code: * emake || die "Failed to build MPlayer!"; * The die message: * Failed to build MPlayer! * * 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-video/mplayer-1.0_rc2_p20090731/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-video/mplayer-1.0_rc2_p20090731/temp/environment'. * # emerge --info Portage 2.2_rc33 (default/linux/amd64/2008.0/no-multilib, gcc-4.3.3, glibc-2.10.1-r0, 2.6.29-gentoo-r5 x86_64) ================================================================= System uname: Linux-2.6.29-gentoo-r5-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-gentoo-2.0.1 Timestamp of tree: Sat, 01 Aug 2009 02:45:04 +0000 app-shells/bash: 4.0_p28 dev-java/java-config: 2.1.8-r1 dev-lang/python: 2.6.2-r1 dev-util/cmake: 2.6.4-r2 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.4.3-r3 sys-apps/sandbox: 2.0 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.7.9-r1, 1.9.6-r2, 1.10.2, 1.11 sys-devel/binutils: 2.19.1-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O3 -ggdb -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dbus-1 /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/init.d /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=native -O3 -ggdb -pipe" DISTDIR="/usr/local/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo http://open-systems.ufl.edu/mirrors/gentoo" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="en_US en" MAKEOPTS="-j5" PKGDIR="/usr/local/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/layman/java-overlay /usr/local/portage/layman/lcd-filtering /usr/local/portage/layman/sunrise /usr/local/portage/layman/kde-testing /usr/local/portage/overlay" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac acpi alsa amd64 berkdb bzip2 cairo cdparanoia cli consolekit cracklib crypt cups curl dbus dri dvd dvdr dvdread encode fam ffmpeg flac gdbm geoip gif gstreamer gtk hal iconv isdnlog java java5 java6 jpeg kde lame lirc mad matroska midi mjpeg mmx mmxext mng mp3 mpeg mudflap mysql ncurses nptl nptlonly nsplugin ogg opengl openmp pcre pdf perl phonon php png ppds pppd python qt4 quicktime rdesktop readline reflection sdl session spell spl sse sse2 ssl ssse3 startup-notification subversion svg sysfs theora threads tiff truetype unicode usb vdpau vnc vorbis webkit x264 xcb xcomposite xml xorg xv xvid yahoo 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US en" LIRC_DEVICES="mceusb2" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 199774 [details] build.log
Created attachment 199776 [details] configure.log
I *think* the problem might be with the LINGUAS setting. If I comment out the LINGUAS variable in make.conf mplayer compiles fine. If I use LINGUAS="en_US en", it fails as already described, and if I use LINGUAS="de en_US es fr", the emerge already fails at the configure step , complaining that "es" is an unknown parameter... >>> Emerging (1 of 1) media-video/mplayer-1.0_rc2_p20090731 * mplayer-1.0_rc2_p20090731.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking mplayer-1.0_rc2_p20090731.tar.bz2 to /tmp/portage/media-video/mplayer-1.0_rc2_p20090731/work >>> Source unpacked in /tmp/portage/media-video/mplayer-1.0_rc2_p20090731/work >>> Preparing source in /tmp/portage/media-video/mplayer-1.0_rc2_p20090731/work/mplayer-1.0_rc2_p20090731 ... >>> Source prepared. >>> Configuring source in /tmp/portage/media-video/mplayer-1.0_rc2_p20090731/work/mplayer-1.0_rc2_p20090731 ... Unknown parameter: es * * ERROR: media-video/mplayer-1.0_rc2_p20090731 failed. * Call stack: * ebuild.sh, line 49: Called src_configure * environment, line 2805: Called die * The specific snippet of code: * CFLAGS="${CFLAGS}" ./configure ${myconf} || die "configure died" * The die message: * configure died * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/tmp/portage/media-video/mplayer-1.0_rc2_p20090731/temp/build.log'. * The ebuild environment file is located at '/tmp/portage/media-video/mplayer-1.0_rc2_p20090731/temp/environment'. *
Looks like the ebuild should check for valid LINGUAS's and only use those..
It fails for me with a valid LINGUAS of en_GB, on two quite different systems.
It looks like there are 2 different types of failure here, confusing the issue -- 1. original report, crashing in compile without any error message 2. unsupported language in LINGUAS caused failure in configure with an "Unknown parameter" error message Oliver: probably you should file a separate build report with your system info, regarding failure due to unsupported LINGUAS setting Matt/Neil: what happens if you try to run 'make' manually from the mplayer working directory left by portage (i.e. build dir under /var/tmp/portage/media-video/mplayer-1.0_rc2_p20090731/work/)?
Created attachment 199847 [details] output of ''make -d'' I also have this issue. I changed to the work directory and ran make and it exited with status 2. Here is some debug output from make.
Same problem here. Only disabling LINGUAS helps.
It's definitely a problem with the way LINGUAS is used in the ebuild. Maybe myconf_linguas and available_linguas have been inadvertently switched around?
I'm also running into the original poster's problem. LINGUAS="en_US"
Reverted the LINGUAS stuff to the way it was in previous mplayer ebuild. Seems to work now.
(In reply to comment #11) > Reverted the LINGUAS stuff to the way it was in previous mplayer ebuild. Seems > to work now. > Scratch that. It's even more broken than in versions before; "fixed" differently.