Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 262332 - media-video/mplayer-20090226.28734 fails to compile
Summary: media-video/mplayer-20090226.28734 fails to compile
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-13 00:34 UTC by Petteri Räty (RETIRED)
Modified: 2009-08-03 18:28 UTC (History)
0 users

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


Attachments
build.log (build.log,29.08 KB, text/plain)
2009-03-13 00:34 UTC, Petteri Räty (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petteri Räty (RETIRED) gentoo-dev 2009-03-13 00:34:00 UTC
mplayer.c:3692: error: 'MSGTR_NotInitializeVOPorVO' undeclared (first use in this function)                                                                                                                                                  
mplayer.c:3692: warning: passing argument 3 of 'mp_msg' from incompatible pointer type                                                                                                                                                       
mplayer.c:3692: warning: format not a string literal and no format arguments                                                                                                                                                                 
mplayer.c:3333: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result                                                                                                                                       
mplayer.c:3334: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result                                                                                                                                       
mplayer.c:3727: warning: ignoring return value of 'system', declared with attribute warn_unused_result                                                                                                                                       
make: *** [mplayer.o] Error 1                                                                                                                                                                                                                
 *                                                                                                                                                                                                                                           
 * ERROR: media-video/mplayer-20090226.28734 failed.                                                                                                                                                                                         
 * Call stack:                                                                                                                                                                                                                               
 *               ebuild.sh, line   49:  Called src_compile                                                                                                                                                                                   
 *             environment, line 2738:  Called die                                                                                                                                                                                           
 * The specific snippet of code:                                                                                                                                                                                                             
 *       emake || die "Failed to build MPlayer!";                                                                                                                                                                                            
 *  The die message:                                                                                                                                                                                                                         
 *   Failed to build MPlayer!  

[ebuild  N    ] media-video/mplayer-20090226.28734  USE="encode mmx mmxext sse sse2 ssse3 -3dnow -3dnowext -X -a52 -aac -aalib -alsa (-altivec) -amrnb -amrwb -arts -ass -bidi -bindist -bl -cddb -cdio -cdparanoia -cpudetection -custom-cflags -custom-cpuopts -debug -dga -dirac -directfb -doc -dts -dv -dvb -dvd -dvdnav -dxr3 -enca -esd -faac -faad -fbcon -ftp -ggi -gif -gtk -iconv -ipv6 -jack -joystick -jpeg -ladspa -libcaca -lirc -live -lzo -mad -md5sum -mng -mp2 -mp3 -musepack -nas -nemesi -network -openal -opengl -oss -png -pnm -pulseaudio -pvr -quicktime -radio -rar -real (-realcodecs) -rtc -samba -schroedinger -sdl -speex -svga -teletext -tga -theora -tremor -truetype -unicode -v4l -v4l2 -vdpau -vidix -vorbis -win32codecs -x264 -xanim -xinerama -xscreensaver -xv -xvid -xvmc -zoran" VIDEO_CARDS="-mga -nvidia -s3virge -tdfx -vesa" 0 kB
Portage 2.2_rc25 (default/linux/x86/2008.0/desktop, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.29-rc6 i686)
=================================================================
System uname: Linux-2.6.29-rc6-i686-Intel-R-_Core-TM-2_CPU_6600_@_2.40GHz-with-glibc2.0
Timestamp of tree: Unknown
distcc 3.1 i686-pc-linux-gnu [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p10
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python:     2.4.4-r15, 2.5.4-r2, 2.6.1
dev-python/pycrypto: 2.0.1-r7
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.3
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r1
sys-apps/sandbox:    1.6
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19.1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
DISTDIR="/var/distfiles"
FEATURES="ccache collision-protect distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms sign strict unmerge-orphans userfetch userpriv usersandbox verify-rdepend"
GENTOO_MIRRORS=" http://trumpetti.atm.tut.fi/gentoo"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LDFLAGS="-Wl,--as-needed -Wl,-O1"
LINGUAS="fi en"
PKGDIR="/home/pkg/"
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="/mnt/checkouts/overlays/flameeyes-overlay /mnt/checkouts/overlays/openrc /mnt/checkouts/overlays/sunrise /mnt/checkouts/overlays/wschlich-testing /mnt/checkouts/overlays/jokey /mnt/checkouts/overlays/finnish"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="a52 aac acl acpi alsa audiofile bash-completion bluetooth branding bzip2 cairo caps cdb cddb cdparanoia cdr cli cracklib crypt cups custom-cxxflags dbus dri dts dvd dvdr dvdread emboss evo fam ffmpeg firefox gif glib hal iconv ipv6isdnlog java jpeg kde kdeenablefinal kdehiddenvisibility libnotify logitech-mouse mad mikmod mjpeg mmx mp3 mp4 mpeg mudflap ncurses network nptl nptlonly nsplugin nvidia offensive ogg opengl openmp pam pcre pdf png ppds pppd pulseaudio qt3 qt3support quicktime readline reflection rtc samba session spell spl sse sse2 ssl ssse3 startup-notification subversion svg symlink sysfs theora threads tiff truetype udev unicode usb userlocales vim-syntax vorbis win32codecs x86 xcbxcomposite xinerama xml xorg xulrunner xv xvid xvmc 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 plugrate 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="fi en" USERLAND="GNU" VIDEO_CARDS="none nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Petteri Räty (RETIRED) gentoo-dev 2009-03-13 00:34:41 UTC
Created attachment 184865 [details]
build.log
Comment 2 Siuchung Cheung (Clement) 2009-03-16 03:35:17 UTC
Hi,

I have also been hitting the same problem. Setting USE=iconv seems to fix the problem.

This error (also present in your log) is what starts all the other errors:

make 
help/help_create.sh help/help_mp-en.h 
Error: missing parameters
Usage: help/help_create.sh <messages file> <character set>

Looking at the .configure script, it appears the $CHARSET variable, which they then use to run help_create.sh, could potentially be undefined if somehow they couldn't figure it out from $_charset. That variable, in turn, could potentially be manually set by a --charset configure parameter, which our ebuild doesn't set. When it's not set, they'll automatically guess one. How they guess it and how it suddenly start failing is beyond me...

Curiously enough, the same mplayer compiles on my other computer with the same USE=-iconv. Migrating my non-NULL LC_CTYPE setting to this box does NOT fix the problem. So the real cause remains a mystery.

Not sure if it's related but my other box have iconv coming from glibc 2.8_p20080602 while the broken box have iconv from glibc 2.5-r4.

Have fun debugging. :-)
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2009-08-03 18:28:57 UTC
Please test 20090731 snapshot in tree, reopen if it's still a issue