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

Bug 130441

Summary: mplayer-1.0.20060415 fails to compile
Product: Gentoo Linux Reporter: Jakob Schiotz <schiotz>
Component: Current packagesAssignee: Gentoo Media-video project <media-video>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jakob Schiotz 2006-04-19 02:09:46 UTC
I cannot compile the latest stable mplayer (mplayer-1.0.20060415).  It does not seem to be the same problem as bug 130225.

Here is the last part of the emerge output:

Config files successfully generated by ./configure !

  Install prefix: /usr
  Data directory: /usr/share/mplayer
  Config direct.: /usr/share/mplayer

  Byte order: little-endian
  Optimizing for: pentium4 mmx mmx2 sse sse2 mtrr

  Languages:
    Messages/GUI: dk
    Manual pages:  en

  Enabled optional drivers:
    Input: ftp network tv cdda mpdvdkit2 vcd
    Codecs: qtx xvid libavcodec real xanim dshow/dmo win32 libmpeg2 liba52 mp3lib tremor(internal) libmad gif
    Audio output: alsa oss sdl mpegpes(file)
    Video output: sdl gif89a md5sum pnm jpeg png mpegpes(file) opengl dga xv x11 xover
    Audio filters:
  Disabled optional drivers:
    Input: vstream tv-v4l2 tv-v4l tv-bsdbt848 edl live555 matroska cdda dvdread dvb smb
    Codecs: opendivx x264 libdv amr_wb amr_nb faad2 faac musepack libdts libtheora speex twolame toolame liblzo
    Audio output: sgi sun openal jack polyp esd arts dxr2 nas dsound win32
    Video output: xvidix winvidix cvidix bl zr zr2 dxr3 dxr2 directx vesa fbdev svga caca aa ggi xmga mga xvmc directfb tga tdfx_vid tdfxfb 3dfx
    Audio filters: ladspa

'config.h' and 'config.mak' contain your configuration options.
Note: If you alter theses files (for instance CFLAGS) MPlayer may no longer
      compile *** DO NOT REPORT BUGS if you tweak these files ***

'make' will now compile MPlayer and 'make install' will install it.
Note: On non-Linux systems you might need to use 'gmake' instead of 'make'.

Please check mtrr settings at /proc/mtrr (see DOCS/HTML/en/video.html#mtrr)


Check configure.log if you wonder why an autodetection failed (check whether
the development headers/packages are installed).
Do not report compilation errors if you used any of the --enable-* options
(except --enable-gui and maybe --enable-debug).

If you suspect a bug, please read DOCS/HTML/en/bugreports.html.

You've disabled VIDIX. Although it would be better to PORT it instead.
Have a look at the documentation for supported cards!

 * Make
./version.sh `cc -dumpversion`
iconv -f `cat help/help_mp-dk.h.charset` -t UTF-8 "help/help_mp-dk.h" >> help_mp.h
cat: help/help_mp-dk.h.charset: No such file or directory
iconv: conversion from `-t' is not supported
make: *** [help_mp.h] Error 1

!!! ERROR: media-video/mplayer-1.0.20060415 failed.
!!! Function src_compile, Line 492, Exitcode 2
!!! Failed to build MPlayer!
!!! If you need support, post the topmost build error, NOT this status message.



The source flags I have enabled for this:

# emerge -pv mplayer

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild     U ] media-video/mplayer-1.0.20060415 [1.0.20060217] -3dfx -3dnow -3dnowext +X -aac -aalib +alsa (-altivec) -arts -bidi -bindist -bl -cdparanoia -cpudetection -custom-cflags -debug +dga -directfb -doc -dts -dv -dvb +dvd -dvdread -edl +encode -esd -fbcon -ggi +gif +gtk -i8x0 -ipv6 -jack -joystick +jpeg -libcaca -lirc -live -livecd -lzo +mad -matroska -matrox -mmx -mmxext -musepack -nas -nvidia -openal +opengl +oss +png +real -rtc -samba +sdl +sse +sse2 -svga -tga -theora +truetype -unicode -v4l -v4l2 +vorbis +win32codecs -x264 -xanim -xinerama +xmms +xv +xvid -xvmc 0 kB

Total size of downloads: 0 kB
Comment 1 Jakob Schiotz 2006-04-19 02:10:18 UTC
# emerge --info
Portage 2.0.54 (default-linux/x86/2005.0, gcc-3.4.5, glibc-2.3.5-r3, 2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 2.00GHz
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -pipe"
DISTDIR="/var/portage/distfiles"
FEATURES="autoconfig distlocks fixpackages sandbox sfperms strict"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/ ftp://trumpetti.atm.tut.fi/gentoo/ ftp://ftp.rhnet.is/pub/gentoo/ ftp://gd.tuwien.ac.at/opsys/linux/gentoo/"
LINGUAS="dk"
PKGDIR="/var/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/home/schiotz/development/CamposEbuilds/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X Xaw3d acpi alsa atlas audiofile avi berkdb bitmap-fonts bzip2 cdr crypt cups curl dga dri dvd eds emacs emboss encode exif expat fam ffmpeg flac font-server foomaticdb fortran gcj gd gdbm gif glut gpm gstreamer gtk gtk2 idn imagemagick imap imlib isdnlog java jpeg kde kdeenablefinal kdexdeltas lcms libg++ libwww mad maildir mbox mikmod mime mng motif mozilla mp3 mpeg mule ncurses netcdf nls nptl ogg oggvorbis opengl oss pam pcmcia pcre pdflib perl png pnp ppds pppd python qt quicktime readline real scanner sdl smime spell sse sse2 ssl tcltk tcpd tetex tiff truetype truetype-fonts trusted type1-fonts udev usb vorbis win32codecs wxwindows xine xml2 xmms xv xvid zlib linguas_dk userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS

Comment 2 Luca Barbato gentoo-dev 2006-04-19 06:32:11 UTC
looks like that the locale transition isn't complete yet, hopefully later I'll update the snapshot with improved (and working) support, for now please unset your language specific options.
Comment 3 Jakob Schiotz 2006-04-19 07:24:23 UTC
Thanks!

Removing the LINGUAS variable from make.conf solved the problem.  I only intended that variable to affect KDE builds anyway...

Jakob
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-04-19 07:28:19 UTC
Please, search...

*** This bug has been marked as a duplicate of 129838 ***
Comment 5 Jakob Schiotz 2006-04-19 07:37:53 UTC
(In reply to comment #4)
> Please, search...
> 
> *** This bug has been marked as a duplicate of 129838 ***
> 

Which I did not find because I did not realise that the problem was with character set files (after all, there are 101 open bugs on mplayer, so since the bug only appeared with this version number, I seached on mplayer and 20060415).

I realise that duplicate bugs are annoying, but the search system is not impressive either.  It is difficult to narrow a search, but more often it misses bugs even if you only search on the package name.  If you search on the bug submission page (as recommended) you find a different set of bugs than if you search on the search page.

Anyway, thanks to all of you maintainers for keeping up the good work on Gentoo!


/Jakob