After emerging media-video/mplayer-1.0_pre6-r4 as part of an "emerge -u world" and using dispatch-conf to update /etc/mplayer.conf, the options "cache-min" and "cache-prefill" are changed to "cache_min" and "cache_prefill". When I next used mplayer, I got the error: Warning unknown option cache_min at line 144 Warning unknown option cache_prefill at line 147 Reproducible: Always Steps to Reproduce: 1.emerge mplayer 2.Use dispatch-conf, replace old config file /etc/mplayer.conf with new file 3. Expected Results: The options in the file /etc/mplayer.conf should remain cache-min and cache-prefill. emerge info: Gentoo Base System version 1.4.16 Portage 2.0.51.19 (default-linux/x86/2005.0/2.4, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.4.26-gentoo-r14 i686) ================================================================= System uname: 2.4.26-gentoo-r14 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 8 2005, 15:32:12)] dev-lang/python: 2.3.4-r1 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.5, 1.6.3, 1.7.9-r1, 1.4_p6, 1.8.5-r3, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r7 sys-devel/libtool: 1.5.14 virtual/os-headers: 2.4.22-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/ shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/con fig/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/x dvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://gentoo.chem.wisc.edu/gentoo/ http://gentoo.oregonstate.edu http://www.gtlib.cc.gatech.edu/pub/gentoo http ://www.ibiblio.org/pub/Linux/distributions/gentoo" LINGUAS="en ja" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X acpi alsa apm arts avi berkdb bitmap-fonts bonobo canna cdr cjk crypt cups curl divx4linux dvd dvdr emboss encode es d fam flac foomaticdb fortran freewnn gdbm gif gnome gphoto2 gtk gtk2 gtkhtml guile imagemagick imlib ipv6 java jpeg kde libg++ libwww mad mikmod motif mozilla mp3 mpeg ncurses nls ogg oggvorbis opengl oss pam pdflib perl png python qt quicktime readline scanner sdl slang snmp spell ssl svga tcpd tetex tiff truetype truetype-fonts type1-fonts vorbis xml xml2 xmms xv zlib linguas _en linguas_ja" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
I think if you add this line: dosed -e "s/^cache_/cache-/g" /etc/mplayer.conf Right after these two lines: dosed -e 's/include =/#include =/' /etc/mplayer.conf dosed -e 's/fs=yes/fs=no/' /etc/mplayer.conf Then the ebuild should work as expected. Can't test atm. -Jeff
*** Bug 91874 has been marked as a duplicate of this bug. ***
This is fixed in mplayer-1.0_pre7, as the file located at ${S}/etc/example.conf contains the correct directives.
Could I mark the bug as fixed or there is somebody who needs the pre6?
fixed in pre7