If I emerge xmms-1.2.8-r2 and I hace cjk flag in make.conf USEs the ebuild fails: bash-2.05b# ACCEPT_KEYWORDS="~x86" emerge xmms Calculating dependencies ...done! >>> emerge (1 of 1) media-sound/xmms-1.2.8-r2 to / >>> md5 src_uri ;-) xmms-1.2.8.tar.bz2 >>> md5 src_uri ;-) gentoo_ice.zip >>> Unpacking source... >>> Unpacking xmms-1.2.8.tar.bz2 to /var/tmp/portage/xmms-1.2.8-r2/work * Applying xmms-1.2.8-jump.patch... [ ok ] * Applying xmms-1.2.8-sigterm.patch... [ ok ] * Applying xmms-1.2.8-mpg123j.patch... [ ok ] * Applying xmms-1.2.8-dtd.patch... * Failed Patch: xmms-1.2.8-dtd.patch! * * Include in your bugreport the contents of: * * /var/tmp/portage/xmms-1.2.8-r2/temp/xmms-1.2.8-dtd.patch-7994.out !!! ERROR: media-sound/xmms-1.2.8-r2 failed. !!! Function epatch, Line 321, Exitcode 0 !!! Failed Patch: xmms-1.2.8-dtd.patch! Reproducible: Always Steps to Reproduce: 1. Add cjk to USEs in /etc/make.conf or USE="cjk" ACCEPT_KEYWORDS="~x86" emerge xmms 2. ACCEPT_KEYWORDS="~x86" emerge xmms Actual Results: The ebuild fails. Expected Results: The ebuild finish succesfuly. Portage 2.0.49-r3 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.22) ================================================================= System uname: 2.4.22 i686 AMD Athlon(tm) XP 2400+ ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O2 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=athlon-xp -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache autoaddcvs" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 oss apm avi cups encode foomaticdb libg++ libwww mad mikmod motif mpeg ncurses pdflib quicktime slang spell truetype xml2 xmms xv gdbm berkdb readline svga java sdl gpm perl python oggvorbis 3dnow X acpi alsa cdr cjk crypt curl dvd esd gif gtk imlib ipv6 jpeg mmx nls opengl pam png samba sse ssl tcpd usb zlib -arts -kde -qt -gnome"
Confirmed. 'USE="-cjk" emerge xmms' applies the DTD-patch correctly.
I fixed the dtd patch to apply with cjk in USE now. Please test.
Created attachment 17754 [details, diff] This is a fix for xmms-1.2.8-mpg123j.patch, use with patch -p1. This is a fix for the mpg123j patch which is provided already. The current patch creates a minor bug that causes xmms 1.2.8-r2 not to compile. This patch when applied to the current mpg123j patch fixes this issue. example usage: cd /usr/portage/media-sound/xmms/files && patch -p1 < /patch/to/xmms-1.2.8-mpg123j-fix.patch
Tested, now the ebuild work perfect with USE="cjk", thanks.
ok, checking your patch
confirmed fixed
*** Bug 28759 has been marked as a duplicate of this bug. ***
Yep. Thanks for fixing this!