When attempting to emerge mm-sources version 2.6.5-rc3-mm1 it fails several seconds after attempting to apply the patch `patch-2.6.5-rc3.patch` with the following error: patch: pch.c:614: intuit_diff_type: Assertion `i0 != NONE' failed. patch: pch.c:614: intuit_diff_type: Assertion `i0 != NONE' failed. [ !! ] It looks like there is an error within the patch itself according to the patch error file I have attached via the link. Reproducible: Always Steps to Reproduce: 1. emerge mm-sources 2. 3. Actual Results: * Applying patch-2.6.5-rc3.patch... patch: pch.c:614: intuit_diff_type: Assertion `i0 != NONE' failed. patch: pch.c:614: intuit_diff_type: Assertion `i0 != NONE' failed. [ !! ] Expected Results: mm-sources succesfully merged. Portage 2.0.50-r1 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.3_pre20040207- r0,2.3.2-r9, 2.6.5-rc2-mm3) ================================================================= System uname: 2.6.5-rc2-mm3 i686 Pentium III (Coppermine) Gentoo Base System version 1.4.3.13 Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.7.7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -O2 -mfpmath=sse -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/ config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium3 -O2 -mfpmath=sse -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache digest sandbox" GENTOO_MIRRORS="ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://gentoo.mirrors.pair.com/ http://open-systems.ufl.edu/mirrors/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" USE="aalib acl acpi apache2 berkdb cdr crypt curl dedicated gd gdbm ggi gif guile imagemagick innodb lcms libwww maildir mcal memlimit mmx mysql ncurses nls nocardbus nocd nptl pam pdflib perl png pwdb python readline ruby spell sse ssl tcpd tetex tiff truetype unicode x86 xml xml2 zlib"
Created attachment 28430 [details] patch-2.6.5-rc3 error file.
Bug result of a nasty symlink error from dirty unmerge of previous version.
I don't understand the resolution to this. Can you explain the symlink error? I have the same problem.
*** Bug 46355 has been marked as a duplicate of this bug. ***
I get this error too, didn't do any dirty unmerging, what was the fix?
sames bug and all mm-sources are unmerge
I am getting the same error with 2.6.5-r1 unmerging my mm-sources and clearing out /var/tmp/portage and /usr/portage/distfiles did nothing to fix this. When I try to merge I get * Applying 2.6.5-mm1.patch... patch: pch.c:614: intuit_diff_type: Assertion `i0 != NONE' failed. patch: pch.c:614: intuit_diff_type: Assertion `i0 != NONE' failed. [ !! ] * Please attach /var/tmp/portage/mm-sources-2.6.5-r1/temp/2.6.5-mm1.err to any bug you may post. !!! ERROR: sys-kernel/mm-sources-2.6.5-r1 failed. !!! Function unipatch, Line 443, Exitcode 0 !!! Unable to dry-run patch. My emerge info----------------------------------------------------------- Portage 2.0.50-r3 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.5-rc2-mm3) ================================================================= System uname: 2.6.5-rc2-mm3 i686 Intel(R) Pentium(R) 4 CPU 2.53GHz Gentoo Base System version 1.4.3.13p1 Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://128.213.5.34/gentoo/ http://gentoo.mirrors.pair.com/ http://gentoo.chem.wisc.edu/gentoo/" MAKEOPTS="-j2" 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="X alsa apache2 apm avi cdr crypt cups dvd encode flash foomaticdb gdbm gif gpm gtk2 imlib java jpeg kde libg++ libwww mad mikmod mmx motif mpeg mysql ncurses nls oggvorbis opengl oss pam pda pdflib perl png ppds python qt quicktime readline samba sdl slang spell sse ssl svga tcpd truetype usb x86 xml2 xmms xv zlib"
Created attachment 28765 [details] 2.6.5-mm1.err