Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 46322 - mm-sources-2.6.5-rc3-mm1 fails to patch correctly
Summary: mm-sources-2.6.5-rc3-mm1 fails to patch correctly
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major
Assignee: x86-kernel@gentoo.org (DEPRECATED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-30 21:42 UTC by Alan LeVee
Modified: 2004-04-05 17:46 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch-2.6.5-rc3 error file. (patch-2.6.5-rc3.err,17.09 KB, text/plain)
2004-03-30 21:43 UTC, Alan LeVee
Details
2.6.5-mm1.err (2.6.5-mm1.err,393.76 KB, text/plain)
2004-04-05 17:46 UTC, Matthew
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alan LeVee 2004-03-30 21:42:23 UTC
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"
Comment 1 Alan LeVee 2004-03-30 21:43:53 UTC
Created attachment 28430 [details]
patch-2.6.5-rc3 error file.
Comment 2 Alan LeVee 2004-03-30 22:00:25 UTC
Bug result of a nasty symlink error from dirty unmerge of previous version.
Comment 3 Miles Cowan 2004-03-31 06:14:09 UTC
I don't understand the resolution to this.  Can you explain the symlink error?  I have the same problem.
Comment 4 Miles Cowan 2004-03-31 06:15:10 UTC
*** Bug 46355 has been marked as a duplicate of this bug. ***
Comment 5 quannum 2004-03-31 16:09:39 UTC
I get this error too, didn't do any dirty unmerging, what was the fix?
Comment 6 einstein14 2004-04-04 11:10:10 UTC
sames bug and all mm-sources are unmerge
Comment 7 Matthew 2004-04-05 17:43:45 UTC
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"
Comment 8 Matthew 2004-04-05 17:46:02 UTC
Created attachment 28765 [details]
2.6.5-mm1.err