Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 174187 - app-editors/emacs-cvs:-23.0.0-r1 fails when applying emacs-cvs-darwin-fsf-gcc.patch
Summary: app-editors/emacs-cvs:-23.0.0-r1 fails when applying emacs-cvs-darwin-fsf-gcc...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Emacs project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-11 18:18 UTC by John
Modified: 2007-04-11 20:58 UTC (History)
0 users

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 John 2007-04-11 18:18:21 UTC
The patch operation fails when emacs-cvs-darwin-fsf-gcc.patch is being applied.

Here are the contents of emacs-cvs-darwin-fsf-gcc.patch-13406.out

***** emacs-cvs-darwin-fsf-gcc.patch *****

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

PATCH COMMAND:	 patch -p0 -g0 -E --no-backup-if-mismatch < /usr/portage/app-editors/emacs-cvs/files/emacs-cvs-darwin-fsf-gcc.patch

==========================================
patching file src/s/darwin.h
Hunk #1 FAILED at 264.
1 out of 1 hunk FAILED -- saving rejects to file src/s/darwin.h.rej
patching file configure
Hunk #1 succeeded at 2391 (offset 8 lines).
==========================================

PATCH COMMAND:	 patch -p1 -g0 -E --no-backup-if-mismatch < /usr/portage/app-editors/emacs-cvs/files/emacs-cvs-darwin-fsf-gcc.patch

==========================================
can't find file to patch at input line 6
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|* Fabian Groffen <grobian@gentoo.org>
|  Remove gcc-apple specific flags, such that we can compile with FSF GCC
|
|--- src/s/darwin.h
|+++ src/s/darwin.h
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
missing header for unified diff at line 17 of patch
can't find file to patch at input line 17
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- configure
|+++ configure
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
==========================================

PATCH COMMAND:	 patch -p2 -g0 -E --no-backup-if-mismatch < /usr/portage/app-editors/emacs-cvs/files/emacs-cvs-darwin-fsf-gcc.patch

==========================================
can't find file to patch at input line 6
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|* Fabian Groffen <grobian@gentoo.org>
|  Remove gcc-apple specific flags, such that we can compile with FSF GCC
|
|--- src/s/darwin.h
|+++ src/s/darwin.h
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
missing header for unified diff at line 17 of patch
can't find file to patch at input line 17
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- configure
|+++ configure
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
==========================================

PATCH COMMAND:	 patch -p3 -g0 -E --no-backup-if-mismatch < /usr/portage/app-editors/emacs-cvs/files/emacs-cvs-darwin-fsf-gcc.patch

==========================================
missing header for unified diff at line 6 of patch
can't find file to patch at input line 6
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|* Fabian Groffen <grobian@gentoo.org>
|  Remove gcc-apple specific flags, such that we can compile with FSF GCC
|
|--- src/s/darwin.h
|+++ src/s/darwin.h
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
missing header for unified diff at line 17 of patch
can't find file to patch at input line 17
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- configure
|+++ configure
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
==========================================

PATCH COMMAND:	 patch -p4 -g0 -E --no-backup-if-mismatch < /usr/portage/app-editors/emacs-cvs/files/emacs-cvs-darwin-fsf-gcc.patch

==========================================
missing header for unified diff at line 6 of patch
can't find file to patch at input line 6
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|* Fabian Groffen <grobian@gentoo.org>
|  Remove gcc-apple specific flags, such that we can compile with FSF GCC
|
|--- src/s/darwin.h
|+++ src/s/darwin.h
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
missing header for unified diff at line 17 of patch
can't find file to patch at input line 17
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- configure
|+++ configure
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored

Reproducible: Always

Steps to Reproduce:
1.Try to install emacs-cvs-23.0.0.1-r1
2.Wait for patch to fail
3.




Commenting out the epatch line seems to fix that error its probably advisable to have a conditional determine whether one is running on darwin or not so as to avoid this issue.
Comment 1 Olivier Crete (RETIRED) gentoo-dev 2007-04-11 20:58:03 UTC
I've commented it out.