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

Bug 130544

Summary: mplayer-1.0.20060415 ebuild fails during iconv
Product: Gentoo Linux Reporter: Tomas <tomas.creemers>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal CC: hiyuh.root
Priority: High    
Version: 2005.1   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Tomas 2006-04-19 20:30:23 UTC
NoCTuRNaL tomas # emerge -av 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


[...]


 * Make
./version.sh `cc -dumpversion`
iconv -f `cat help/help_mp-nl.h.charset` -t UTF-8 "help/help_mp-nl.h" >> help_mp.h
cat: help/help_mp-nl.h.charset: Onbekend bestand of map
iconv: conversie van `-t' wordt niet ondersteund
make: *** [help_mp.h] Fout 1

!!! ERROR: media-video/mplayer-1.0.20060415 failed.
!!! Function src_compile, Line 492, Exitcode 2



The previous stable version (1.0.20060217) does not hang on this (haven't actually let it recompile completely, but it got past the iconv call). I have changed useflags, but setting them as they were doesn't seem to prevent this. I have not had this before.

emerge info:
Portage 2.0.54 (default-linux/x86/2005.1, gcc-3.4.5, glibc-2.3.5-r3, 2.6.14-gentoo-r5 i686)
=================================================================
System uname: 2.6.14-gentoo-r5 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.6.14
ccache version 2.3 [enabled]
dev-lang/python:     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="-Os -mtune=pentium4 -march=pentium4 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /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="-Os -mtune=pentium4 -march=pentium4 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks fixpackages sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo/"
LANG="nl_BE@euro"
LC_ALL="nl_BE@euro"
LINGUAS="nl"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.nl.gentoo.org/gentoo-portage"
USE="x86 a52 aac alsa apm audiofile avi bitmap-fonts bzip2 cli curl divx4linux dri dvd dvdread emboss exif expat fam foomaticdb gif glut gnome gstreamer gtk gtk2 gtkhtml hal idn isdnlog jpeg kdeenablefinal lesstif libg++ libwww mad minimal mmap mmx mng mp3 mpeg ncurses nls nomac nomalloccheck nptl nptlonly nsplugin offensive oggvorbis opengl pam pcre pdflib png pppd quicktime readline recode reflection samba session sftplogging spell spl sse symlink threads tiff truetype truetype-fonts type1-fonts udev usb userlocales win32codecs xml xmms xv xvid zlib linguas_nl userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LDFLAGS

ask if you need any more info or if i can do something :)
Comment 1 hiyuh 2006-04-19 21:32:56 UTC
IMHO, its work-aroud way is not so difficult.
Its problem is ${S}/help/help_mp-${LINGUAS}.h.charset doesn't exist.
So,
1) *if ${S}/help/help_mp-${LINGUAS}.h exists*,
   create ${S}/help/help_mp-${LINGUAS}.h.charset in src_unpack() like:
    echo FILE_CHARSET > ${S}/help/help_mp-${LINGUAS}.h.charset
   where FILE_CHARSET is the charset of ${S}/help/help_mp-${LINGUAS}.h
2) if not, unset unicode USE flag or so.
   Because of it's required to avoid iconv command is mess.

Anyway, it's just work-around way, not fixing.
IMHO, to include all help headers' charset file in upstream tarball is good.
Otherwise, patching or tweaking it inside ebuild like above for work-around.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-04-20 00:37:39 UTC
Use search feature before reporting bugs, please...

*** This bug has been marked as a duplicate of 129838 ***