Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
patch failure in util-linux-2.11z-r7
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
herring
Apprentice
Apprentice


Joined: 22 Jul 2002
Posts: 187
Location: Norway

PostPosted: Sun Jul 20, 2003 8:57 pm    Post subject: patch failure in util-linux-2.11z-r7 Reply with quote

Hi, probably not the only one with this one
This does'nt look like a missing USEflag:

Code:

>>> emerge (3 of 6) sys-apps/util-linux-2.11z-r7 to /
>>> md5 src_uri ;-) util-linux-2.11z.tar.bz2
>>> md5 src_uri ;-) util-linux-2.11z-crypt-gentoo.patch.bz2
>>> Unpacking source...
>>> Unpacking util-linux-2.11z.tar.bz2 to /var/tmp/portage/util-linux-2.11z-r7/work
>>> Unpacking util-linux-2.11z-crypt-gentoo.patch.bz2 to /var/tmp/portage/util-linux-2.11z-r7/work
 * Applying util-linux-2.11z-crypt-gentoo.patch.bz2...                    [ ok ]
 * Applying util-linux-2.11z-parallel-make.patch...                       [ ok ]
 * Applying no-symlink-resolve.patch...                                   [ ok ]
 * Applying util-linux-2.11z-script.patch...                              [ ok ]
 * Applying util-linux-2.11z-agetty-domainname-option.patch...            [ ok ]
 * Applying util-linux-2.11z-01-nfsv4.dif...

 * Failed Patch: util-linux-2.11z-01-nfsv4.dif!
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/util-linux-2.11z-r7/temp/util-linux-2.11z-01-nfsv4.dif-12711.out

Well here it is
Code:

***** util-linux-2.11z-01-nfsv4.dif *****

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

PATCH COMMAND:  patch  -p0 < /usr/portage/sys-apps/util-linux/files/util-linux-2.11z-01-nfsv4.dif

=========================================
can't find file to patch at input line 15
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|
|Add support for nfsv4 to mount
|
|
| mount/Makefile     |    4
| mount/mount.c      |   13 ++
| mount/nfs4_mount.h |   82 +++++++++++++
| mount/nfs4mount.c  |  323 +++++++++++++++++++++++++++++++++++++++++++++++++++++
| mount/sundries.h   |    2
| 5 files changed, 422 insertions(+), 2 deletions(-)
|
|diff -puN mount/Makefile~nfsv4 mount/Makefile
|--- util-linux-2.11z/mount/Makefile~nfsv4   2003-04-23 16:40:57.000000000 -0400
|+++ util-linux-2.11z-bfields/mount/Makefile   2003-04-23 16:40:57.000000000 -0400
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 29
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -puN mount/mount.c~nfsv4 mount/mount.c
|--- util-linux-2.11z/mount/mount.c~nfsv4   2003-04-23 16:40:57.000000000 -0400
|+++ util-linux-2.11z-bfields/mount/mount.c   2003-04-23 16:40:57.000000000 -0400
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
patching file util-linux-2.11z-bfields/mount/nfs4_mount.h
patching file util-linux-2.11z-bfields/mount/nfs4mount.c
can't find file to patch at input line 465
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -puN mount/sundries.h~nfsv4 mount/sundries.h
|--- util-linux-2.11z/mount/sundries.h~nfsv4   2003-04-23 16:40:57.000000000 -0400
|+++ util-linux-2.11z-bfields/mount/sundries.h   2003-04-23 16:40:57.000000000 -0400
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
=========================================

PATCH COMMAND:  patch  -p1 < /usr/portage/sys-apps/util-linux/files/util-linux-2.11z-01-nfsv4.dif

=========================================
patching file mount/Makefile
Hunk #1 FAILED at 25.
1 out of 1 hunk FAILED -- saving rejects to file mount/Makefile.rej
patching file mount/mount.c
Hunk #1 succeeded at 811 (offset 8 lines).
patching file mount/nfs4_mount.h
patching file mount/nfs4mount.c
patching file mount/sundries.h
=========================================

PATCH COMMAND:  patch  -p2 < /usr/portage/sys-apps/util-linux/files/util-linux-2.11z-01-nfsv4.dif

=========================================
patching file Makefile
Hunk #1 FAILED at 25.
1 out of 1 hunk FAILED -- saving rejects to file Makefile.rej
can't find file to patch at input line 29
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -puN mount/mount.c~nfsv4 mount/mount.c
|--- util-linux-2.11z/mount/mount.c~nfsv4   2003-04-23 16:40:57.000000000 -0400
|+++ util-linux-2.11z-bfields/mount/mount.c   2003-04-23 16:40:57.000000000 -0400
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
patching file nfs4_mount.h
patching file nfs4mount.c
can't find file to patch at input line 465
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -puN mount/sundries.h~nfsv4 mount/sundries.h
|--- util-linux-2.11z/mount/sundries.h~nfsv4   2003-04-23 16:40:57.000000000 -0400
|+++ util-linux-2.11z-bfields/mount/sundries.h   2003-04-23 16:40:57.000000000 -0400
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
=========================================

PATCH COMMAND:  patch  -p3 < /usr/portage/sys-apps/util-linux/files/util-linux-2.11z-01-nfsv4.dif

=========================================
missing header for unified diff at line 15 of patch
can't find file to patch at input line 15
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|
|Add support for nfsv4 to mount
|
|
| mount/Makefile     |    4
| mount/mount.c      |   13 ++
| mount/nfs4_mount.h |   82 +++++++++++++
| mount/nfs4mount.c  |  323 +++++++++++++++++++++++++++++++++++++++++++++++++++++
| mount/sundries.h   |    2
| 5 files changed, 422 insertions(+), 2 deletions(-)
|
|diff -puN mount/Makefile~nfsv4 mount/Makefile
|--- util-linux-2.11z/mount/Makefile~nfsv4   2003-04-23 16:40:57.000000000 -0400
|+++ util-linux-2.11z-bfields/mount/Makefile   2003-04-23 16:40:57.000000000 -0400
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
missing header for unified diff at line 29 of patch
can't find file to patch at input line 29
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -puN mount/mount.c~nfsv4 mount/mount.c
|--- util-linux-2.11z/mount/mount.c~nfsv4   2003-04-23 16:40:57.000000000 -0400
|+++ util-linux-2.11z-bfields/mount/mount.c   2003-04-23 16:40:57.000000000 -0400
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
missing header for unified diff at line 52 of patch
can't find file to patch at input line 52
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -puN /dev/null mount/nfs4_mount.h
|--- /dev/null   2003-01-08 17:56:04.000000000 -0500
|+++ util-linux-2.11z-bfields/mount/nfs4_mount.h   2003-04-23 16:40:57.000000000 -0400
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
missing header for unified diff at line 138 of patch
can't find file to patch at input line 138
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -puN /dev/null mount/nfs4mount.c
|--- /dev/null   2003-01-08 17:56:04.000000000 -0500
|+++ util-linux-2.11z-bfields/mount/nfs4mount.c   2003-04-23 17:28:54.000000000 -0400
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
missing header for unified diff at line 465 of patch
can't find file to patch at input line 465
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -puN mount/sundries.h~nfsv4 mount/sundries.h
|--- util-linux-2.11z/mount/sundries.h~nfsv4   2003-04-23 16:40:57.000000000 -0400
|+++ util-linux-2.11z-bfields/mount/sundries.h   2003-04-23 16:40:57.000000000 -0400
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
=========================================

PATCH COMMAND:  patch  -p4 < /usr/portage/sys-apps/util-linux/files/util-linux-2.11z-01-nfsv4.dif

=========================================
missing header for unified diff at line 15 of patch
can't find file to patch at input line 15
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|
|Add support for nfsv4 to mount
|
|
| mount/Makefile     |    4
| mount/mount.c      |   13 ++
| mount/nfs4_mount.h |   82 +++++++++++++
| mount/nfs4mount.c  |  323 +++++++++++++++++++++++++++++++++++++++++++++++++++++
| mount/sundries.h   |    2
| 5 files changed, 422 insertions(+), 2 deletions(-)
|
|diff -puN mount/Makefile~nfsv4 mount/Makefile
|--- util-linux-2.11z/mount/Makefile~nfsv4   2003-04-23 16:40:57.000000000 -0400
|+++ util-linux-2.11z-bfields/mount/Makefile   2003-04-23 16:40:57.000000000 -0400
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
missing header for unified diff at line 29 of patch
can't find file to patch at input line 29
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -puN mount/mount.c~nfsv4 mount/mount.c
|--- util-linux-2.11z/mount/mount.c~nfsv4   2003-04-23 16:40:57.000000000 -0400
|+++ util-linux-2.11z-bfields/mount/mount.c   2003-04-23 16:40:57.000000000 -0400
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
missing header for unified diff at line 52 of patch
can't find file to patch at input line 52
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -puN /dev/null mount/nfs4_mount.h
|--- /dev/null   2003-01-08 17:56:04.000000000 -0500
|+++ util-linux-2.11z-bfields/mount/nfs4_mount.h   2003-04-23 16:40:57.000000000 -0400
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
missing header for unified diff at line 138 of patch
can't find file to patch at input line 138
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -puN /dev/null mount/nfs4mount.c
|--- /dev/null   2003-01-08 17:56:04.000000000 -0500
|+++ util-linux-2.11z-bfields/mount/nfs4mount.c   2003-04-23 17:28:54.000000000 -0400
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
missing header for unified diff at line 465 of patch
can't find file to patch at input line 465
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -puN mount/sundries.h~nfsv4 mount/sundries.h
|--- util-linux-2.11z/mount/sundries.h~nfsv4   2003-04-23 16:40:57.000000000 -0400
|+++ util-linux-2.11z-bfields/mount/sundries.h   2003-04-23 16:40:57.000000000 -0400
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
Back to top
View user's profile Send private message
linux_weenie
Guru
Guru


Joined: 25 Jun 2003
Posts: 365

PostPosted: Mon Jul 21, 2003 12:00 am    Post subject: Reply with quote

yeah i'm getting that error as well. do we just need to wait on the newer less buggy patch?

-Will
Back to top
View user's profile Send private message
linux_weenie
Guru
Guru


Joined: 25 Jun 2003
Posts: 365

PostPosted: Mon Jul 21, 2003 12:44 am    Post subject: Reply with quote

actually scratch that after i recompiled my kernel it restored some of the files i needed and it emerges fine now. you might try recompiling your kernel and see if that fixes it.

-Will
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum