FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo Embedded

 
 
LinkBack Thread Tools
 
Old 01-10-2008, 02:42 PM
Christopher Friedt
 
Default Strange epatch failures

Hi everyone,

I ran into this really strange epatch failure recently with an
arm-softfloat-linux-gnu system. I originally cross-compiled/emerged the
baselayout, libc, gcc, etc, and now I'm natively compiling / emerging
other packages with qemu.


The strange thing, is that for generally any ebuild that uses epatch,
the patch fails.


I tried applying the patch manually, and it seems like it's just
attempting to apply the patch in the wrong working directory.


I'm using the 2007.0 embedded profile for arm.

Any ideas?

Cheers,

Chris

Here's an example of the failed epatch output:

***** sandbox-1.2.18.1-open-normal-fail.patch *****

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

PATCH COMMAND: patch -p0 -g0 -E --no-backup-if-mismatch <
/usr/portage/sys-apps/sandbox/files/sandbox-1.2.18.1-open-normal-fail.patch


================================================== =
patching file src/libsandbox.c
================================================== =

PATCH COMMAND: patch -p1 -g0 -E --no-backup-if-mismatch <
/usr/portage/sys-apps/sandbox/files/sandbox-1.2.18.1-open-normal-fail.patch


================================================== =
can't find file to patch at input line 14
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Patch from Kevin F. Quinn at https://bugs.gentoo.org/show_bug.cgi?id=135745
|Already applied in sandbox svn
|
|Makes sandboxed open() calls return the normal error conditions if the
|file in question does not exist, without causing a sandbox violation.
|This allows programs to use open() to test for file existance, regardless
|of read-write flags. This is not revealing any further information about
|the backing system because this data was already available through stat().
|
|Index: src/libsandbox.c
|================================================= ==================
|--- src/libsandbox.c.orig
|+++ src/libsandbox.c
--------------------------
No file to patch. Skipping patch.
5 out of 5 hunks ignored
================================================== =

PATCH COMMAND: patch -p2 -g0 -E --no-backup-if-mismatch <
/usr/portage/sys-apps/sandbox/files/sandbox-1.2.18.1-open-normal-fail.patch


================================================== =
missing header for unified diff at line 14 of patch
can't find file to patch at input line 14
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Patch from Kevin F. Quinn at https://bugs.gentoo.org/show_bug.cgi?id=135745
|Already applied in sandbox svn
|
|Makes sandboxed open() calls return the normal error conditions if the
|file in question does not exist, without causing a sandbox violation.
|This allows programs to use open() to test for file existance, regardless
|of read-write flags. This is not revealing any further information about
|the backing system because this data was already available through stat().
|
|Index: src/libsandbox.c
|================================================= ==================
|--- src/libsandbox.c.orig
|+++ src/libsandbox.c
--------------------------
No file to patch. Skipping patch.
5 out of 5 hunks ignored
================================================== =

PATCH COMMAND: patch -p3 -g0 -E --no-backup-if-mismatch <
/usr/portage/sys-apps/sandbox/files/sandbox-1.2.18.1-open-normal-fail.patch


================================================== =
missing header for unified diff at line 14 of patch
can't find file to patch at input line 14
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Patch from Kevin F. Quinn at https://bugs.gentoo.org/show_bug.cgi?id=135745
|Already applied in sandbox svn
|
|Makes sandboxed open() calls return the normal error conditions if the
|file in question does not exist, without causing a sandbox violation.
|This allows programs to use open() to test for file existance, regardless
|of read-write flags. This is not revealing any further information about
|the backing system because this data was already available through stat().
|
|Index: src/libsandbox.c
|================================================= ==================
|--- src/libsandbox.c.orig
|+++ src/libsandbox.c
--------------------------
No file to patch. Skipping patch.
5 out of 5 hunks ignored
================================================== =

PATCH COMMAND: patch -p4 -g0 -E --no-backup-if-mismatch <
/usr/portage/sys-apps/sandbox/files/sandbox-1.2.18.1-open-normal-fail.patch


================================================== =
missing header for unified diff at line 14 of patch
can't find file to patch at input line 14
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Patch from Kevin F. Quinn at https://bugs.gentoo.org/show_bug.cgi?id=135745
|Already applied in sandbox svn
|
|Makes sandboxed open() calls return the normal error conditions if the
|file in question does not exist, without causing a sandbox violation.
|This allows programs to use open() to test for file existance, regardless
|of read-write flags. This is not revealing any further information about
|the backing system because this data was already available through stat().
|
|Index: src/libsandbox.c
|================================================= ==================
|--- src/libsandbox.c.orig
|+++ src/libsandbox.c
--------------------------
No file to patch. Skipping patch.
5 out of 5 hunks ignored
--
gentoo-embedded@lists.gentoo.org mailing list
 

Thread Tools




All times are GMT. The time now is 05:43 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org