emerging media-tv/mythtv-0.19-r1 fails with an epatch error, saying: * Failed Patch: mythtv-0.19_8926_9094.patch ! * ( /var/tmp/portage/mythtv-0.19-r1/work/mythtv-0.19_8926_9094.patch ) * * Include in your bugreport the contents of: * * /var/tmp/portage/mythtv-0.19-r1/temp/mythtv-0.19_8926_9094.patch-16744.out emerge info Portage 2.0.54 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.15-gentoo-r5 x86_64) ================================================================= System uname: 2.6.15-gentoo-r5 x86_64 AMD Opteron(tm) Processor 246 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-r6 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="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=opteron -mtune=opteron -fomit-frame-pointer -Os -pipe" CHOST="x86_64-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/lib64/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/gconf /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-march=opteron -mtune=opteron -fomit-frame-pointer -Os -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://mirror.phy.olemiss.edu/mirror/gentoo http://gentoo.cites.uiuc.edu/pub/gentoo http://mirrors.tds.net/gentoo ftp://gentoo.ccccom.com http://www.ibiblio.org/pub/Linux/distributions/gentoo http://gentoo.osuosl.org" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="amd64 3xnowex X a52 aac acpi alsa apache2 audiofile avi bash-completion berkdb bitmap-fonts browserplugin bzip2 cairo canvas cdr crypt cups curl dga directfb divx4linux dts dvd dvdr dvdread effects emboss encode esd ethereal exif expat extensions f77 fam fbcon ffmpeg fftw flac foomaticdb fortran gb gd gdbm gif glut gmp gnutls gpm gtk gtk2 gtkhtml h323 hdf i8x0 idn imagemagick imlib inkjar insecure-savers ithreads java jce jpeg jpg junit kqemu lcms libgda libwww lirc live logitech-mouse logrotate lzw lzw-tiff mad maildir mjpeg mng motif mozcalendar mozilla moznocompose moznoirc moznomail mozsvg mp3 mpeg mpi mpqc mysql mythtv ncurses netcdf network new-login nls no_wxgtk1 nptl nsplugin nvidia offensive ogg oggvorbis openal opengl pam pcre pdflib perl plotutils plugin png pnp pop ppds python quicktime readline recode rtc samba sasl sdl smp spell ssl startup-notification svg tcltk tcpd tetex threads tiff toolbar truetype truetype-fonts type1-fonts udev usb userlocales v4l v4l2 vorbis wmf xchattext xinetd xml xml2 xpm xprint xv xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Created attachment 80463 [details] mythtv-0.19_8926_9094.patch-16744.out here's the file it said to attach...
Works for me....
Patch doesn't apply for me either. mythtv-0.19_8926_9094.patch-25312.out is identical. Here is emerge info: Portage 2.0.54 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r2, 2.6.15-gentoo-r1-flick i686) ================================================================= System uname: 2.6.15-gentoo-r1-flick i686 VIA Samuel 2 Gentoo Base System version 1.6.14 distcc 2.18.3 i386-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] dev-lang/python: 2.3.5-r2, 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 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="i386-pc-linux-gnu" CFLAGS="-Os -march=i586 -mmmx -m3dnow -pipe" CHOST="i386-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-Os -march=i586 -mmmx -m3dnow -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distcc distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow X a52 aac alsa apache2 apm audiofile avi berkdb bitmap-fonts bzip2 cdb cdr crypt cups dio dvb dvd dvdr dvdread eds emboss encode exif expat ffmeg ffmpeg flac foomaticdb fortran gdbm gif gpm gstreamer gtk gtk2 ieee1394 imagemagick imlib ipv6 java jpeg lcms libg++ libwww lirc mad mhash mikmod mmx mng motif mp3 mpeg mplayer mysql mythtv ncurses nls ogg oggvorbis opengl oss pam pdflib perl php png python quicktime readline sdl spell ssl tcpd theora tiff truetype truetype-fonts type1-fonts udev v4l vorbis wifi xml2 xmms xv xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Well basically I can confirm the issue on Portage 2.0.54 and confirm it's not an issue on Portage 2.1. The issue is with the eutils.eclass epatch call. But since both version of Portage use the same eclass, this leads me to believe the issue is with Portage itself. CCing the Portage alias since #gentoo-portage people are currently unavailable.
no ... what you confirmed is that the unstable version of patch behaves a little differently from the stable version of patch the patch you're using, mythtv-0.19_8926_9094.patch.bz2, sucks ... you need to scrub all the ^M gremlins out of it
(In reply to comment #5) > the patch you're using, mythtv-0.19_8926_9094.patch.bz2, sucks ... you need to > scrub all the ^M gremlins out of it Whether mythtv-0.19_8926_9094.patch.bz2 sucks I don't know. However, there don't appear to be any ^M s hanging out in the patch. Michael
grutz@beezlebubba /var/tmp $ bzcat /usr/portage/distfiles/mythtv-0.19_8926_9094.patch.bz2 > mythtv-0.19_8926_9094.patch grutz@beezlebubba /var/tmp $ file mythtv-0.19_8926_9094.patch mythtv-0.19_8926_9094.patch: ASCII C program text, with CRLF line terminators Removed the CRLFs, re-bzipped and updated the digest file and patch worked fine. Compiling now so we'll see if it still works.
I had this same issue with the patch error (on a AMD x86 box - don't have emerge info output handy). I tried manually applying the patch and only a few hunks succeeded. I didn't have time to dig through this though, I ended up doing the rest of the steps manually through ebuild (as noted here http://forums.gentoo.org/viewtopic.php?t=5378) and that seemed to work OK. I noticed a few warnings during the compile, but no more than usual. A very cursory glance after restarting myth seems to show things working and I see some of the new features up and running (love that popup keyboard). (although I see from the comments that got added since I started typing this that the patch has been updated, so I'll probably re-compile again in a bit to get whatever changes were in the patch).
emerge sync && emerge -u world .............................. !!! Digest verification Failed: !!! /usr/portage/distfiles/mythtv-0.19_8926_9094.patch.bz2 !!! Reason: Filesize does not match recorded size Bwaahaahaa!
Patch now applies. Thanks.
yeah this is done. Turns out to be something in the development version of Trac that screwed up the patch. Which was handled fine by newer version of the patch program.
well it's still broken here...are you saying I should go beyond patch-2.5.9?
I too have/had problems with the patch. The emerge sync did not properly update the patch/ebuild. I tried removing all mythtv packages from /usr/portage/distfiles and re-emerging, but portage complained about the file already existing, even though it did not. Since I had not emerged 0.19 on my second system, I emerged it on my second system and the patch worked. I then copied the mythtv packages over to the system that did not patch correctly. It is now patching/compiling properly.
Yup! Removing the mythtv patch file from /usr/portage/distfiles did the trick....it's compiling right now... Thanks!