Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 84515 - usermode-sources-2.6.8.1-r9 ebuild fails applying usermode-sources-2.6.77666.patch
Summary: usermode-sources-2.6.8.1-r9 ebuild fails applying usermode-sources-2.6.77666....
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-08 06:36 UTC by tar
Modified: 2005-03-16 07:19 UTC (History)
3 users (show)

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


Attachments
Output of failed patch (usermode-sources-2.6.77666.patch,4.00 KB, text/plain)
2005-03-08 06:41 UTC, tar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tar 2005-03-08 06:36:55 UTC
emerge usermode-sources-2.6.8.1-r9 fails during the patch phase

>>> Preparing to unpack ...
>>> Unpacking source...
>>> Unpacking linux-2.6.8.1.tar.bz2 to /var/tmp/portage/usermode-sources-2.6.8.1-r9/work
* Applying linux-2.6.8.1-CAN-2004-0814.patch (-p0+)...                   [ ok ] * Applying uml-patch-2.6.8.1-1.patch (-p0+)...                           [ ok ] * Applying usermode-sources-2.4.78363.patch (-p0+)...                    [ ok ] * Applying usermode-sources-2.6.74070.patch (-p0+)...                    [ ok ] * Applying usermode-sources-2.6.75963.patch (-p0+)...                    [ ok ] * Applying usermode-sources-2.6.77094.patch (-p0+)...                    [ ok ] * Applying usermode-sources-2.6.77666.patch (-p0+)...                    [ !! ]

Reproducible: Always
Steps to Reproduce:
1. echo sys-kernel/usermode-sources >> /etc/portage/package.keywords
2. emerge sync
3. emerge sys-kernel/usermode-sources-2.6.8.1-r9

Actual Results:  
The ebuild failed while applying patch usermode-sources-2.6.77666.patch

Expected Results:  
Successful emerge of usermode-sources-2.6.8.1-r9

snafu root # emerge info
Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20040808-r1,
2.6.10-gentoo-r6-skas3-v7 i686)
=================================================================
System uname: 2.6.10-gentoo-r6-skas3-v7 i686 Intel(R) Xeon(TM) CPU 2.80GHz
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb  7 2005, 08:45:12)]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r1, 2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O2 -pipe -mfpmath=sse -msse2"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref
/usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O2 -pipe -mfpmath=sse -msse2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks fixpackages sandbox sfperms
userpriv"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/
ftp://ftp.ussg.iu.edu/pub/linux/gentoo/ http://cudlug.cudenver.edu/gentoo/
http://mirrors.tds.net/gentoo/ http://csociety-ftp.ecn.purdue.edu/pub/gentoo/"
MAKEOPTS="-j4"
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="x86 X acpi alsa arts avi berkdb bitmap-fonts cdr crypt cups curl dga doc
dvd dvdr emboss encode esd evo f77 fam flac font-server foomaticdb fortran gdbm
gif gnome gpm gstreamer gtk gtk2 imagemagick imap imlib ipv6 jpeg kde
kdeenablefinal ldap libg++ libwww mad mikmod mmx mmx2 motif mozilla mp3 mpeg
ncurses nls nptl offensive oggvorbis opengl oss pam pda pdflib perl png ppds
python qt quicktime readline samba sasl sdl slang slp spell sse ssl svga symlink
tcltk tcpd tiff truetype truetype-fonts type1-fonts usb xface xinerama xml2 xmms
xprint xv xvid zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 tar 2005-03-08 06:41:34 UTC
Created attachment 52938 [details]
Output of failed patch

 * Applying usermode-sources-2.6.77666.patch (-p0+)...			  [ !!
]
 * Please attach
/var/tmp/portage/usermode-sources-2.6.8.1-r9/temp/usermode-sources-2.6.77666.err
to any bug you may post.
Comment 2 tar 2005-03-08 06:45:37 UTC
Comment on attachment 52938 [details]
Output of failed patch

Attempting Dry-run:
cmd: patch -p0 --dry-run -f <
/var/tmp/portage/usermode-sources-2.6.8.1-r9/work/patches/usermode-sources-2.6.
77666.patch
=======================================================
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- linux-2.6.8.1/mm/mmap.c	2005-03-07 22:00:32.000000000 +0000
|+++ linux-2.6.8.1-plasmaroo/mm/mmap.c	2005-03-07 22:30:33.985127376 +0000
--------------------------
No file to patch.  Skipping patch.
4 out of 4 hunks ignored
Attempting Dry-run:
cmd: patch -p1 --dry-run -f <
/var/tmp/portage/usermode-sources-2.6.8.1-r9/work/patches/usermode-sources-2.6.
77666.patch
=======================================================
patching file mm/mmap.c
Hunk #2 FAILED at 1252.
Hunk #3 succeeded at 1302 (offset 7 lines).
Hunk #4 FAILED at 1318.
2 out of 4 hunks FAILED -- saving rejects to file mm/mmap.c.rej
Attempting Dry-run:
cmd: patch -p2 --dry-run -f <
/var/tmp/portage/usermode-sources-2.6.8.1-r9/work/patches/usermode-sources-2.6.
77666.patch
=======================================================
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- linux-2.6.8.1/mm/mmap.c	2005-03-07 22:00:32.000000000 +0000
|+++ linux-2.6.8.1-plasmaroo/mm/mmap.c	2005-03-07 22:30:33.985127376 +0000
--------------------------
No file to patch.  Skipping patch.
4 out of 4 hunks ignored
Attempting Dry-run:
cmd: patch -p3 --dry-run -f <
/var/tmp/portage/usermode-sources-2.6.8.1-r9/work/patches/usermode-sources-2.6.
77666.patch
=======================================================
missing header for unified diff at line 3 of patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- linux-2.6.8.1/mm/mmap.c	2005-03-07 22:00:32.000000000 +0000
|+++ linux-2.6.8.1-plasmaroo/mm/mmap.c	2005-03-07 22:30:33.985127376 +0000
--------------------------
No file to patch.  Skipping patch.
4 out of 4 hunks ignored
Attempting Dry-run:
cmd: patch -p4 --dry-run -f <
/var/tmp/portage/usermode-sources-2.6.8.1-r9/work/patches/usermode-sources-2.6.
77666.patch
=======================================================
missing header for unified diff at line 3 of patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- linux-2.6.8.1/mm/mmap.c	2005-03-07 22:00:32.000000000 +0000
|+++ linux-2.6.8.1-plasmaroo/mm/mmap.c	2005-03-07 22:30:33.985127376 +0000
--------------------------
No file to patch.  Skipping patch.
4 out of 4 hunks ignored
Comment 3 Nir Dremer 2005-03-10 11:51:53 UTC
Simple temporary solution is to remove the patch from the ebuild.
i removed the patch and the uml works just fine.
Comment 4 Daniel Drake (RETIRED) gentoo-dev 2005-03-16 07:19:45 UTC
Fixed, thanks for reporting.