Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 82644

Summary: sys-kernel/gentoo-sources-2.4.28-r7 failed on 04-01.GRSecurity-2.0.2.patch
Product: Gentoo Linux Reporter: gentoo
Component: [OLD] Core systemAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: gentoo-sources-2.4.28-r7/temp/04-01.GRSecurity-2.0.2.err

Description gentoo 2005-02-19 22:15:57 UTC
While doing a massive emerge --update world on a system that had been idle for several months, I get a repeatable abort. The message is "patch: pch.c:614: intuit_diff_type: Assertion `i0 != NONE' failed. " As per the message, attaching error log.

Reproducible: Always
Steps to Reproduce:
1. emerge --update world
2.
3.

Actual Results:  
See error message above.

Expected Results:  
Made the patch and updated.

>>> Emerge info <<<

Portage 2.0.51-r15 (default-linux/x86/2004.0, gcc-3.3.5,
glibc-2.3.4.20040808-r1, 2.4.25-gentoo-r4 i686)
=================================================================
System uname: 2.4.25-gentoo-r4 i686 Intel(R) Celeron(R) CPU 2.40GHz
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 18 2005, 19:54:36)]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.8.5-r3, 1.5, 1.6.3, 1.7.9-r1, 1.4_p6, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.4.21-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer"
CHOST="i386-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /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="-O2 -mcpu=i686 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg ccache distlocks fixpackages sandbox
sfperms"
GENTOO_MIRRORS="ftp://gentoo.risq.qc.ca"
LANG="en_US.UTF-8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X apm arts avi berkdb bitmap-fonts crypt cups emboss encode esd f77
font-server foomaticdb fortran gdbm gif gnome gpm gtk gtk2 imlib ipv6 jpeg kde
libg++ libwww mad mikmod motif mpeg mysql ncurses nls odbc oggvorbis opengl oss
pam pdflib perl png python qt quicktime readline samba sdl slang spell ssl svga
tcpd tiff truetype truetype-fonts type1-fonts xml2 xmms xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS, PORTDIR_OVERLAY

>>> Last entry in 300K+ error log <<<

Attempting Dry-run:
cmd: patch -p4 --dry-run -f <
/var/tmp/portage/gentoo-sources-2.4.28-r7/work/patches/1/2.4.28-gentoo-r4/04-01.GRSecurity-2.0.2.patch
=======================================================
missing header for unified diff at line 4 of patch
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN linux-2.4.28/Documentation/Configure.help
linux-2.4.28/Documentation/Configure.help
|--- linux-2.4.28/Documentation/Configure.help	2004-11-17 06:54:20.000000000 -0500
|+++ linux-2.4.28/Documentation/Configure.help	2004-11-22 17:13:30.000000000 -0500
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
missing header for unified diff at line 972 of patch
can't find file to patch at input line 972
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN linux-2.4.28/Makefile linux-2.4.28/Makefile
|--- linux-2.4.28/Makefile	2004-11-17 06:54:22.000000000 -0500
|+++ linux-2.4.28/Makefile	2004-11-22 17:13:30.000000000 -0500
--------------------------
No file to patch.  Skipping patch.
4 out of 4 hunks ignored
missing header for unified diff at line 1013 of patch
can't find file to patch at input line 1013
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN linux-2.4.28/arch/alpha/config.in linux-2.4.28/arch/alpha/config.in
|--- linux-2.4.28/arch/alpha/config.in	2004-11-17 06:54:21.000000000 -0500
|+++ linux-2.4.28/arch/alpha/config.in	2004-11-22 17:13:30.000000000 -0500
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 1029
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN linux-2.4.28/arch/alpha/kernel/osf_sys.c
linux-2.4.28/arch/alpha/kernel/osf_sys.c
|--- linux-2.4.28/arch/alpha/kernel/osf_sys.c	2003-06-13 10:51:29.000000000 -0400
|+++ linux-2.4.28/arch/alpha/kernel/osf_sys.c	2004-11-22 17:13:30.000000000 -0500
--------------------------
No file to patch.  Skipping patch.
5 out of 5 hunks ignored
can't find file to patch at input line 1095
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN linux-2.4.28/arch/alpha/kernel/ptrace.c
linux-2.4.28/arch/alpha/kernel/ptrace.c
|--- linux-2.4.28/arch/alpha/kernel/ptrace.c	2003-06-13 10:51:29.000000000 -0400
|+++ linux-2.4.28/arch/alpha/kernel/ptrace.c	2004-11-22 17:13:30.000000000 -0500
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
can't find file to patch at input line 1117
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN linux-2.4.28/arch/alpha/mm/fault.c linux-2.4.28/arch/alpha/mm/fault.c
|--- linux-2.4.28/arch/alpha/mm/fault.c	2002-11-28 18:53:08.000000000 -0500
|+++ linux-2.4.28/arch/alpha/mm/fault.c	2004-11-22 17:13:30.000000000 -0500
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
missing header for unified diff at line 1294 of patch
can't find file to patch at input line 1294
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN linux-2.4.28/arch/arm/config.in linux-2.4.28/arch/arm/config.in
|--- linux-2.4.28/arch/arm/config.in	2004-11-17 06:54:21.000000000 -0500
|+++ linux-2.4.28/arch/arm/config.in	2004-11-22 17:13:31.000000000 -0500
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
missing header for unified diff at line 1309 of patch
can't find file to patch at input line 1309
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN linux-2.4.28/arch/cris/config.in linux-2.4.28/arch/cris/config.in
|--- linux-2.4.28/arch/cris/config.in	2004-11-17 06:54:21.000000000 -0500
|+++ linux-2.4.28/arch/cris/config.in	2004-11-22 17:13:31.000000000 -0500
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
missing header for unified diff at line 1325 of patch
can't find file to patch at input line 1325
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN linux-2.4.28/arch/i386/Makefile linux-2.4.28/arch/i386/Makefile
|--- linux-2.4.28/arch/i386/Makefile	2004-11-17 06:54:21.000000000 -0500
|+++ linux-2.4.28/arch/i386/Makefile	2004-11-22 17:13:31.000000000 -0500
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
can't find file to patch at input line 1346
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN linux-2.4.28/arch/i386/boot/bootsect.S
linux-2.4.28/arch/i386/boot/bootsect.S
|--- linux-2.4.28/arch/i386/boot/bootsect.S	2003-08-25 07:44:39.000000000 -0400
|+++ linux-2.4.28/arch/i386/boot/bootsect.S	2004-11-22 17:13:31.000000000 -0500
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 1358
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN linux-2.4.28/arch/i386/boot/setup.S linux-2.4.28/arch/i386/boot/setup.S
|--- linux-2.4.28/arch/i386/boot/setup.S	2004-02-18 08:36:30.000000000 -0500
|+++ linux-2.4.28/arch/i386/boot/setup.S	2004-11-22 17:13:31.000000000 -0500
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
missing header for unified diff at line 1370 of patch
can't find file to patch at input line 1370
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN linux-2.4.28/arch/i386/config.in linux-2.4.28/arch/i386/config.in
|--- linux-2.4.28/arch/i386/config.in	2004-11-17 06:54:21.000000000 -0500
|+++ linux-2.4.28/arch/i386/config.in	2004-11-22 17:13:31.000000000 -0500
--------------------------
No file to patch.  Skipping patch.
5 out of 5 hunks ignored
can't find file to patch at input line 1417
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN linux-2.4.28/arch/i386/kernel/apm.c linux-2.4.28/arch/i386/kernel/apm.c
|--- linux-2.4.28/arch/i386/kernel/apm.c	2003-08-25 07:44:39.000000000 -0400
|+++ linux-2.4.28/arch/i386/kernel/apm.c	2004-11-22 17:13:31.000000000 -0500
--------------------------
No file to patch.  Skipping patch.
6 out of 6 hunks ignored
can't find file to patch at input line 1499
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN linux-2.4.28/arch/i386/kernel/entry.S
linux-2.4.28/arch/i386/kernel/entry.S
|--- linux-2.4.28/arch/i386/kernel/entry.S	2003-06-13 10:51:29.000000000 -0400
|+++ linux-2.4.28/arch/i386/kernel/entry.S	2004-11-22 17:13:31.000000000 -0500
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks ignored
can't find file to patch at input line 1586
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN linux-2.4.28/arch/i386/kernel/head.S linux-2.4.28/arch/i386/kernel/head.S
|--- linux-2.4.28/arch/i386/kernel/head.S	2003-11-28 13:26:19.000000000 -0500
|+++ linux-2.4.28/arch/i386/kernel/head.S	2004-11-22 17:13:31.000000000 -0500
--------------------------
No file to patch.  Skipping patch.
10 out of 10 hunks ignored
can't find file to patch at input line 1981
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN linux-2.4.28/arch/i386/kernel/i386_ksyms.c
linux-2.4.28/arch/i386/kernel/i386_ksyms.c
|--- linux-2.4.28/arch/i386/kernel/i386_ksyms.c	2004-04-14 09:05:25.000000000 -0400
|+++ linux-2.4.28/arch/i386/kernel/i386_ksyms.c	2004-11-22 17:13:31.000000000 -0500
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 1994
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN linux-2.4.28/arch/i386/kernel/init_task.c
linux-2.4.28/arch/i386/kernel/init_task.c
|--- linux-2.4.28/arch/i386/kernel/init_task.c	2001-09-17 18:29:09.000000000 -0400
|+++ linux-2.4.28/arch/i386/kernel/init_task.c	2004-11-22 17:13:31.000000000 -0500
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 2008
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN linux-2.4.28/arch/i386/kernel/ioport.c
linux-2.4.28/arch/i386/kernel/ioport.c
|--- linux-2.4.28/arch/i386/kernel/ioport.c	2003-06-13 10:51:29.000000000 -0400
|+++ linux-2.4.28/arch/i386/kernel/ioport.c	2004-11-22 17:13:31.000000000 -0500
--------------------------
No file to patch.  Skipping patch.
5 out of 5 hunks ignored
can't find file to patch at input line 2080
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN linux-2.4.28/arch/i386/kernel/ldt.c linux-2.4.28/arch/i386/kernel/ldt.c
|--- linux-2.4.28/arch/i386/kernel/ldt.c	2004-02-18 08:36:30.000000000 -0500
|+++ linux-2.4.28/arch/i386/kernel/ldt.c	2004-11-22 17:13:31.000000000 -0500
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks ignored
can't find file to patch at input line 2115
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN linux-2.4.28/arch/i386/kernel/pci-pc.c
linux-2.4.28/arch/i386/kernel/pci-pc.c
|--- linux-2.4.28/arch/i386/kernel/pci-pc.c	2004-11-17 06:54:21.000000000 -0500
|+++ linux-2.4.28/arch/i386/kernel/pci-pc.c	2004-11-22 17:13:31.000000000 -0500
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks ignored
can't find file to patch at input line 2142
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN linux-2.4.28/arch/i386/kernel/process.c
linux-2.4.28/arch/i386/kernel/process.c
|--- linux-2.4.28/arch/i386/kernel/process.c	2004-11-17 06:54:21.000000000 -0500
|+++ linux-2.4.28/arch/i386/kernel/process.c	2004-11-22 17:13:31.000000000 -0500
--------------------------
No file to patch.  Skipping patch.
7 out of 7 hunks ignored
can't find file to patch at input line 2286
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN linux-2.4.28/arch/i386/kernel/ptrace.c
linux-2.4.28/arch/i386/kernel/ptrace.c
|--- linux-2.4.28/arch/i386/kernel/ptrace.c	2002-08-02 20:39:42.000000000 -0400
|+++ linux-2.4.28/arch/i386/kernel/ptrace.c	2004-11-22 17:13:31.000000000 -0500
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks ignored
can't find file to patch at input line 2325
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN linux-2.4.28/arch/i386/kernel/setup.c
linux-2.4.28/arch/i386/kernel/setup.c
|--- linux-2.4.28/arch/i386/kernel/setup.c	2004-08-07 19:26:04.000000000 -0400
|+++ linux-2.4.28/arch/i386/kernel/setup.c	2004-11-22 17:13:31.000000000 -0500
--------------------------
No file to patch.  Skipping patch.
5 out of 5 hunks ignored
can't find file to patch at input line 2385
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN linux-2.4.28/arch/i386/kernel/sys_i386.c
linux-2.4.28/arch/i386/kernel/sys_i386.c
|--- linux-2.4.28/arch/i386/kernel/sys_i386.c	2003-08-25 07:44:39.000000000 -0400
|+++ linux-2.4.28/arch/i386/kernel/sys_i386.c	2004-11-22 17:13:31.000000000 -0500
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks ignored
can't find file to patch at input line 2421
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN linux-2.4.28/arch/i386/kernel/trampoline.S
linux-2.4.28/arch/i386/kernel/trampoline.S
|--- linux-2.4.28/arch/i386/kernel/trampoline.S	2002-11-28 18:53:09.000000000 -0500
|+++ linux-2.4.28/arch/i386/kernel/trampoline.S	2004-11-22 17:13:31.000000000 -0500
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 2433
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN linux-2.4.28/arch/i386/kernel/traps.c
linux-2.4.28/arch/i386/kernel/traps.c
|--- linux-2.4.28/arch/i386/kernel/traps.c	2002-11-28 18:53:09.000000000 -0500
|+++ linux-2.4.28/arch/i386/kernel/traps.c	2004-11-22 17:13:31.000000000 -0500
--------------------------
No file to patch.  Skipping patch.
7 out of 7 hunks ignored
can't find file to patch at input line 2565
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN linux-2.4.28/arch/i386/kernel/vm86.c linux-2.4.28/arch/i386/kernel/vm86.c
|--- linux-2.4.28/arch/i386/kernel/vm86.c	2004-11-17 06:54:21.000000000 -0500
|+++ linux-2.4.28/arch/i386/kernel/vm86.c	2004-11-22 17:13:31.000000000 -0500
--------------------------
No file to patch.  Skipping patch.
5 out of 5 hunks ignored
can't find file to patch at input line 2635
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN linux-2.4.28/arch/i386/mm/fault.c linux-2.4.28/arch/i386/mm/fault.c
|--- linux-2.4.28/arch/i386/mm/fault.c	2004-08-07 19:26:04.000000000 -0400
|+++ linux-2.4.28/arch/i386/mm/fault.c	2004-11-22 17:13:31.000000000 -0500
--------------------------
No file to patch.  Skipping patch.
11 out of 11 hunks ignored
can't find file to patch at input line 3291
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN linux-2.4.28/arch/i386/mm/init.c linux-2.4.28/arch/i386/mm/init.c
|--- linux-2.4.28/arch/i386/mm/init.c	2004-04-14 09:05:25.000000000 -0400
|+++ linux-2.4.28/arch/i386/mm/init.c	2004-11-22 17:13:31.000000000 -0500
--------------------------
No file to patch.  Skipping patch.
11 out of 11 hunks ignored
can't find file to patch at input line 3502
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN linux-2.4.28/arch/i386/mm/ioremap.c linux-2.4.28/arch/i386/mm/ioremap.c
|--- linux-2.4.28/arch/i386/mm/ioremap.c	2003-11-28 13:26:19.000000000 -0500
|+++ linux-2.4.28/arch/i386/mm/ioremap.c	2004-11-22 17:13:31.000000000 -0500
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
missing header for unified diff at line 3514 of patch
Comment 1 Sergei Polonski 2005-02-23 04:45:08 UTC
Created attachment 51935 [details]
gentoo-sources-2.4.28-r7/temp/04-01.GRSecurity-2.0.2.err
Comment 2 Carsten Lohrke (RETIRED) gentoo-dev 2005-02-23 10:18:05 UTC

*** This bug has been marked as a duplicate of 77190 ***