Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 39082 - shadow 4.0.4.1 SELinux patch fails (old?)
Summary: shadow 4.0.4.1 SELinux patch fails (old?)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Chris PeBenito (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-22 16:30 UTC by Alexander Ivanchev
Modified: 2004-01-23 15:27 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 Alexander Ivanchev 2004-01-22 16:30:35 UTC
Compilation fails miserably when applying the SELinux patch, guess needs a re-work... heres the debug info:

***** shadow-4.0.3-selinux.diff *****

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

PATCH COMMAND:  patch -g0 -p0 < /usr/portage/sys-apps/shadow/files/shadow-4.0.3-selinux.diff

=====================================
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN shadow-4.0.3.orig/lib/Makefile.am shadow-4.0.3/lib/Makefile.am
|--- shadow-4.0.3.orig/lib/Makefile.am  2001-10-06 14:53:20.000000000 -0500
|+++ shadow-4.0.3/lib/Makefile.am       2003-08-07 08:38:20.000000000 -0500
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 16
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN shadow-4.0.3.orig/lib/commonio.c shadow-4.0.3/lib/commonio.c
|--- shadow-4.0.3.orig/lib/commonio.c   2001-11-17 07:15:52.000000000 -0600
|+++ shadow-4.0.3/lib/commonio.c        2003-08-07 08:38:20.000000000 -0500
--------------------------
No file to patch.  Skipping patch.
5 out of 5 hunks ignored
can't find file to patch at input line 112
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN shadow-4.0.3.orig/lib/commonio.h shadow-4.0.3/lib/commonio.h
|--- shadow-4.0.3.orig/lib/commonio.h   2001-08-14 16:09:54.000000000 -0500
|+++ shadow-4.0.3/lib/commonio.h        2003-08-07 08:38:20.000000000 -0500
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
can't find file to patch at input line 134
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN shadow-4.0.3.orig/src/Makefile.am shadow-4.0.3/src/Makefile.am
|--- shadow-4.0.3.orig/src/Makefile.am  2002-03-10 01:12:52.000000000 -0600
|+++ shadow-4.0.3/src/Makefile.am       2003-08-07 08:38:20.000000000 -0500
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
can't find file to patch at input line 155
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN shadow-4.0.3.orig/src/Makefile.in shadow-4.0.3/src/Makefile.in
|--- shadow-4.0.3.orig/src/Makefile.in  2002-03-13 13:04:10.000000000 -0600
|+++ shadow-4.0.3/src/Makefile.in       2003-08-07 08:45:13.000000000 -0500
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
=====================================

PATCH COMMAND:  patch -g0 -p1 < /usr/portage/sys-apps/shadow/files/shadow-4.0.3-selinux.diff

=====================================
patching file lib/Makefile.am
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file lib/Makefile.am.rej
patching file lib/commonio.c
Hunk #1 succeeded at 16 (offset 1 line).
Hunk #2 succeeded at 441 (offset 1 line).
Hunk #3 succeeded at 505 (offset 1 line).
Hunk #4 succeeded at 646 (offset 1 line).
Hunk #5 succeeded at 715 (offset 1 line).
patching file lib/commonio.h
Hunk #1 succeeded at 1 with fuzz 2.
patching file src/Makefile.am
Hunk #1 succeeded at 4 with fuzz 2.
Hunk #2 succeeded at 50 (offset 15 lines).
patching file src/Makefile.in
Hunk #1 succeeded at 204 (offset 59 lines).
=====================================

PATCH COMMAND:  patch -g0 -p2 < /usr/portage/sys-apps/shadow/files/shadow-4.0.3-selinux.diff

=====================================
patching file Makefile.am
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file Makefile.am.rej
can't find file to patch at input line 16
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN shadow-4.0.3.orig/lib/commonio.c shadow-4.0.3/lib/commonio.c
|--- shadow-4.0.3.orig/lib/commonio.c   2001-11-17 07:15:52.000000000 -0600
|+++ shadow-4.0.3/lib/commonio.c        2003-08-07 08:38:20.000000000 -0500
--------------------------
No file to patch.  Skipping patch.
5 out of 5 hunks ignored
can't find file to patch at input line 112
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN shadow-4.0.3.orig/lib/commonio.h shadow-4.0.3/lib/commonio.h
|--- shadow-4.0.3.orig/lib/commonio.h   2001-08-14 16:09:54.000000000 -0500
|+++ shadow-4.0.3/lib/commonio.h        2003-08-07 08:38:20.000000000 -0500
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
patching file Makefile.am
Hunk #1 FAILED at 4.
Hunk #2 FAILED at 35.
2 out of 2 hunks FAILED -- saving rejects to file Makefile.am.rej
patching file Makefile.in
Hunk #1 FAILED at 145.
1 out of 1 hunk FAILED -- saving rejects to file Makefile.in.rej
=====================================

PATCH COMMAND:  patch -g0 -p3 < /usr/portage/sys-apps/shadow/files/shadow-4.0.3-selinux.diff

=====================================
missing header for unified diff at line 4 of patch
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN shadow-4.0.3.orig/lib/Makefile.am shadow-4.0.3/lib/Makefile.am
|--- shadow-4.0.3.orig/lib/Makefile.am  2001-10-06 14:53:20.000000000 -0500
|+++ shadow-4.0.3/lib/Makefile.am       2003-08-07 08:38:20.000000000 -0500
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
missing header for unified diff at line 16 of patch
can't find file to patch at input line 16
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN shadow-4.0.3.orig/lib/commonio.c shadow-4.0.3/lib/commonio.c
|--- shadow-4.0.3.orig/lib/commonio.c   2001-11-17 07:15:52.000000000 -0600
|+++ shadow-4.0.3/lib/commonio.c        2003-08-07 08:38:20.000000000 -0500
--------------------------
No file to patch.  Skipping patch.
5 out of 5 hunks ignored
missing header for unified diff at line 112 of patch
can't find file to patch at input line 112
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN shadow-4.0.3.orig/lib/commonio.h shadow-4.0.3/lib/commonio.h
|--- shadow-4.0.3.orig/lib/commonio.h   2001-08-14 16:09:54.000000000 -0500
|+++ shadow-4.0.3/lib/commonio.h        2003-08-07 08:38:20.000000000 -0500
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
missing header for unified diff at line 134 of patch
can't find file to patch at input line 134
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN shadow-4.0.3.orig/src/Makefile.am shadow-4.0.3/src/Makefile.am
|--- shadow-4.0.3.orig/src/Makefile.am  2002-03-10 01:12:52.000000000 -0600
|+++ shadow-4.0.3/src/Makefile.am       2003-08-07 08:38:20.000000000 -0500
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
missing header for unified diff at line 155 of patch
can't find file to patch at input line 155
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN shadow-4.0.3.orig/src/Makefile.in shadow-4.0.3/src/Makefile.in
|--- shadow-4.0.3.orig/src/Makefile.in  2002-03-13 13:04:10.000000000 -0600
|+++ shadow-4.0.3/src/Makefile.in       2003-08-07 08:45:13.000000000 -0500
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
=====================================

PATCH COMMAND:  patch -g0 -p4 < /usr/portage/sys-apps/shadow/files/shadow-4.0.3-selinux.diff

=====================================
missing header for unified diff at line 4 of patch
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN shadow-4.0.3.orig/lib/Makefile.am shadow-4.0.3/lib/Makefile.am
|--- shadow-4.0.3.orig/lib/Makefile.am  2001-10-06 14:53:20.000000000 -0500
|+++ shadow-4.0.3/lib/Makefile.am       2003-08-07 08:38:20.000000000 -0500
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
missing header for unified diff at line 16 of patch
can't find file to patch at input line 16
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN shadow-4.0.3.orig/lib/commonio.c shadow-4.0.3/lib/commonio.c
|--- shadow-4.0.3.orig/lib/commonio.c   2001-11-17 07:15:52.000000000 -0600
|+++ shadow-4.0.3/lib/commonio.c        2003-08-07 08:38:20.000000000 -0500
--------------------------
No file to patch.  Skipping patch.
5 out of 5 hunks ignored
missing header for unified diff at line 112 of patch
can't find file to patch at input line 112
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN shadow-4.0.3.orig/lib/commonio.h shadow-4.0.3/lib/commonio.h
|--- shadow-4.0.3.orig/lib/commonio.h   2001-08-14 16:09:54.000000000 -0500
|+++ shadow-4.0.3/lib/commonio.h        2003-08-07 08:38:20.000000000 -0500
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
missing header for unified diff at line 134 of patch
can't find file to patch at input line 134
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN shadow-4.0.3.orig/src/Makefile.am shadow-4.0.3/src/Makefile.am
|--- shadow-4.0.3.orig/src/Makefile.am  2002-03-10 01:12:52.000000000 -0600
|+++ shadow-4.0.3/src/Makefile.am       2003-08-07 08:38:20.000000000 -0500
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
missing header for unified diff at line 155 of patch
can't find file to patch at input line 155
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN shadow-4.0.3.orig/src/Makefile.in shadow-4.0.3/src/Makefile.in
|--- shadow-4.0.3.orig/src/Makefile.in  2002-03-13 13:04:10.000000000 -0600
|+++ shadow-4.0.3/src/Makefile.in       2003-08-07 08:45:13.000000000 -0500
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2004-01-23 09:19:10 UTC
Sorry Chris, forgot to check selinux.  Feel free to update the patch.

Comment 2 Chris PeBenito (RETIRED) gentoo-dev 2004-01-23 15:27:08 UTC
updated patch in portage