Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 279843 - media-video/mplayer-1.0_rc2_p20090731 build fails (no apparent reason)
Summary: media-video/mplayer-1.0_rc2_p20090731 build fails (no apparent reason)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-01 03:37 UTC by Matt Whitlock
Modified: 2010-10-26 10:38 UTC (History)
7 users (show)

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


Attachments
build.log (build.log,13.22 KB, text/plain)
2009-08-01 03:37 UTC, Matt Whitlock
Details
configure.log (configure.log,163.83 KB, text/plain)
2009-08-01 03:39 UTC, Matt Whitlock
Details
output of ''make -d'' (makelog,1.77 MB, text/plain)
2009-08-01 20:58 UTC, ferret
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Whitlock 2009-08-01 03:37:02 UTC
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
Comment 1 Matt Whitlock 2009-08-01 03:37:57 UTC
Created attachment 199774 [details]
build.log
Comment 2 Matt Whitlock 2009-08-01 03:39:04 UTC
Created attachment 199776 [details]
configure.log
Comment 3 Oliver Putz 2009-08-01 07:26:17 UTC
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'.
 *
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2009-08-01 07:41:36 UTC
Looks like the ebuild should check for valid LINGUAS's and only use those..
Comment 5 Neil Bothwick 2009-08-01 08:08:16 UTC
It fails for me with a valid LINGUAS of en_GB, on two quite different systems.
Comment 6 Wormo (RETIRED) gentoo-dev 2009-08-01 19:40:55 UTC
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/)?
Comment 7 ferret 2009-08-01 20:58:18 UTC
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.
Comment 8 Nikos Chantziaras 2009-08-01 23:25:34 UTC
Same problem here. Only disabling LINGUAS helps.
Comment 9 ferret 2009-08-01 23:31:31 UTC
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?
Comment 10 Jeff Huffman 2009-08-02 10:06:32 UTC
I'm also running into the original poster's problem.
LINGUAS="en_US"
Comment 11 Samuli Suominen (RETIRED) gentoo-dev 2009-08-02 13:16:38 UTC
Reverted the LINGUAS stuff to the way it was in previous mplayer ebuild. Seems to work now.
Comment 12 Samuli Suominen (RETIRED) gentoo-dev 2009-08-02 13:31:20 UTC
(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.