Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 37630 - do_brk_fix.patch failed when emerging the 2.4.22 version of the hardened-sources ebuild
Summary: do_brk_fix.patch failed when emerging the 2.4.22 version of the hardened-sour...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: The Gentoo Linux Hardened Team
URL:
Whiteboard:
Keywords:
: 39056 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-01-08 11:49 UTC by Zumo Zumoton
Modified: 2004-03-03 22:34 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 Zumo Zumoton 2004-01-08 11:49:23 UTC
* Did not find "selinux" in use, building with GRSec2 support.
 * Dropping *lsm*...
 * Dropping 20_selinux-newapi-2.4.22.patch...
 * Dropping 24_selinux-pax-linux-2.4.22-200309012325.patch...
 * Dropping 26_selinux-pax+obs-linux-2.4.22-200308302223.patch...
 * Dropping 30_selinux-dm1-2.4.22.patch...
 * Dropping 32_selinux-evms-2.1.1.patch...
 * Dropping 40_selinux-systrace-v1.4-2.4.22.patch...
 * Dropping 50_selinux-superfreeswan-1.99.8-v2.4.22.patch...
 * Dropping 60_selinux-propolice.patch...
 * Applying do_brk_fix.patch...

 * Failed Patch: do_brk_fix.patch!
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/hardened-sources-2.4.22/temp/do_brk_fix.patch-8543.out


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



Reproducible: Always
Steps to Reproduce:
1.cd /usr/portage/sys-kernel
2.emerge hardened-sources-2.4.22.ebuild
3.
Comment 1 REdOG 2004-01-22 10:38:09 UTC
ditto, me to, patch fails, emerge fails...
I checked the file mm/mmap.c and it certianly has not had the patch applied.
Comment 2 REdOG 2004-01-22 11:16:10 UTC
If I add cd ${S} before the epatch line in the ebuild the emerge works

doing emerge sync erases the changes to the ebuild tho.
Comment 3 Heinrich Wendel (RETIRED) gentoo-dev 2004-01-22 11:36:21 UTC
*** Bug 39056 has been marked as a duplicate of this bug. ***
Comment 4 Alexander Gabert (RETIRED) gentoo-dev 2004-03-01 06:39:29 UTC
can you add a diff what you did to the hardened-sources?  thanks in advance.

also be sure to look at the patch which failed, because the error message is kind of problematic: it says "Failed Patch: xxx" but the real failed patch causing this can be one of the patches before that one mentioned to have failed.

sincerely,

Alex
Comment 5 Andrea Luzzardi 2004-03-03 22:34:33 UTC
Please upgrade to hardened-sources-2.4.24-r1