Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 35786 - emerge gentoo-sources-2.4.19-r10.ebuild failed
Summary: emerge gentoo-sources-2.4.19-r10.ebuild failed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: x86-kernel@gentoo.org (DEPRECATED)
URL:
Whiteboard:
Keywords:
: 739616 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-12-14 01:51 UTC by SUZUKI Youji
Modified: 2020-09-02 15:05 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SUZUKI Youji 2003-12-14 01:51:56 UTC
I'm trying to build gentoo-2.4.19-r10 kernel.
I did "emerge /usr/portage/sys-kernel/gentoo-sources/gentoo-sources-2.4.19-r10.ebuild"
then, error "Failed Patch: do_brk_fix.patch!" and emerge failed.


Reproducible: Always
Steps to Reproduce:
1.emerge /usr/portage/sys-kernel/gentoo-sources/gentoo-sources-2.4.19-r10.ebuild
2.
3.

Actual Results:  
console log:

centralpark root # emerge 
/usr/portage/sys-kernel/gentoo-sources/gentoo-sources-2.4.19-r10.ebuild 
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-kernel/gentoo-sources-2.4.19-r10 to /
>>> md5 src_uri ;-) linux-2.4.19.tar.bz2
>>> md5 src_uri ;-) patches-2.4.19-gentoo-r10.tar.bz2
>>> Unpacking source...
>>> Unpacking linux-2.4.19.tar.bz2 to
/var/tmp/portage/gentoo-sources-2.4.19-r10/work
>>> Unpacking patches-2.4.19-gentoo-r10.tar.bz2 to
/var/tmp/portage/gentoo-sources-2.4.19-r10/work
patching file arch/i386/kernel/entry.S
patching file drivers/char/drm/i810_dma.c
patching file drivers/char/drm-4.0/i810_dma.c
 * Applying do_brk_fix.patch...

 * Failed Patch: do_brk_fix.patch!
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/gentoo-sources-2.4.19-r10/temp/do_brk_fix.patch-1995.out


!!! ERROR: sys-kernel/gentoo-sources-2.4.19-r10 failed.
!!! Function epatch, Line 354, Exitcode 0
!!! Failed Patch: do_brk_fix.patch!

centralpark root # 


Expected Results:  
I want that the same emerge succeed.

Error message says "Include in your bugreport the contents of
/var/tmp/portage/gentoo-sources-2.4.19-r10/temp/do_brk_fix.patch-2144.out"
That is:
-----------------------------------------------------------from here
***** do_brk_fix.patch *****

============================

PATCH COMMAND:  patch  -p0 < /usr/portage/sys-kernel/gentoo-sources/files/do_brk
_fix.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:
--------------------------
|--- a/mm/mmap.c Fri Sep 12 06:44:06 2003
|+++ b/mm/mmap.c Thu Oct  2 01:18:19 2003
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
============================

PATCH COMMAND:  patch  -p1 < /usr/portage/sys-kernel/gentoo-sources/files/do_brk
_fix.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:
--------------------------
|--- a/mm/mmap.c Fri Sep 12 06:44:06 2003
|+++ b/mm/mmap.c Thu Oct  2 01:18:19 2003
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
============================

PATCH COMMAND:  patch  -p2 < /usr/portage/sys-kernel/gentoo-sources/files/do_brk
_fix.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:
--------------------------
|--- a/mm/mmap.c Fri Sep 12 06:44:06 2003
|+++ b/mm/mmap.c Thu Oct  2 01:18:19 2003
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
============================

PATCH COMMAND:  patch  -p3 < /usr/portage/sys-kernel/gentoo-sources/files/do_brk
_fix.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:
--------------------------
|--- a/mm/mmap.c Fri Sep 12 06:44:06 2003
|+++ b/mm/mmap.c Thu Oct  2 01:18:19 2003
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
============================

PATCH COMMAND:  patch  -p4 < /usr/portage/sys-kernel/gentoo-sources/files/do_brk
_fix.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:
--------------------------
|--- a/mm/mmap.c Fri Sep 12 06:44:06 2003
|+++ b/mm/mmap.c Thu Oct  2 01:18:19 2003
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored

-----------------------------------------------------------till here
Comment 1 Tim Yamin (RETIRED) gentoo-dev 2003-12-14 09:19:40 UTC
Fixed in CVS; Thanks!
Comment 2 Toralf Förster gentoo-dev 2020-09-02 15:05:55 UTC
*** Bug 739616 has been marked as a duplicate of this bug. ***