Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 80600

Summary: Failed console-reset patch for emerge of pam-0.77-r5
Product: Gentoo Linux Reporter: Adam Howell <adam.s.howell>
Component: New packagesAssignee: PAM Gentoo Team (OBSOLETE) <pam-bugs+disabled>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Adam Howell 2005-02-03 09:19:46 UTC
I tried to update pam, and during the patch phase of the ebuild I received the following error message:

* Applying pam-0.77-console-reset.patch ...

* Failed Patch: pam-0.77-console-reset.patch!
*
* Include in your bugreport the contents of:
*
*   /var/tmp/portage/pam-0.77-r5/temp/pam-0.77-console-reset.patch-11935.out

The contents of the requested file are as follows:

***** pam-0.77-console-reset.patch *****

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

PATCH COMMAND:  patch -p0 -g0 < /var/tmp/portage/pam-0.77-r5/work/pam-0.77-patc
hes/gentoo-patches/pam-0.77-console-reset.patch

========================================
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- Linux-PAM-0.77/modules/pam_console/pam_console_apply.c.console-reset
 2003-07-08 05:16:28.000000000 +0200
|+++ Linux-PAM-0.77/modules/pam_console/pam_console_apply.c     2003-07-10 22:5
0:26.000000000 +0200
--------------------------
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:
--------------------------
|--- Linux-PAM-0.77/modules/pam_console/config.y.az     2004-10-31 14:39:41.519
539120 +0200
|+++ Linux-PAM-0.77/modules/pam_console/config.y        2004-10-31 14:42:44.110
781032 +0200
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
========================================

PATCH COMMAND:  patch -p1 -g0 < /var/tmp/portage/pam-0.77-r5/work/pam-0.77-patc
hes/gentoo-patches/pam-0.77-console-reset.patch

========================================
patching file modules/pam_console/pam_console_apply.c
patching file modules/pam_console/config.y
Hunk #1 succeeded at 301 (offset -124 lines).
Hunk #2 FAILED at 317.
1 out of 2 hunks FAILED -- saving rejects to file modules/pam_console/config.y.
rej
========================================

PATCH COMMAND:  patch -p2 -g0 < /var/tmp/portage/pam-0.77-r5/work/pam-0.77-patc
hes/gentoo-patches/pam-0.77-console-reset.patch

========================================
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- Linux-PAM-0.77/modules/pam_console/pam_console_apply.c.console-reset      
 2003-07-08 05:16:28.000000000 +0200
|+++ Linux-PAM-0.77/modules/pam_console/pam_console_apply.c     2003-07-10 22:5
0:26.000000000 +0200
--------------------------
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:
--------------------------
|--- Linux-PAM-0.77/modules/pam_console/config.y.az     2004-10-31 14:39:41.519
539120 +0200
|+++ Linux-PAM-0.77/modules/pam_console/config.y        2004-10-31 14:42:44.110
781032 +0200
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
========================================

PATCH COMMAND:  patch -p3 -g0 < /var/tmp/portage/pam-0.77-r5/work/pam-0.77-patc
hes/gentoo-patches/pam-0.77-console-reset.patch

========================================
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- Linux-PAM-0.77/modules/pam_console/pam_console_apply.c.console-reset      
 2003-07-08 05:16:28.000000000 +0200
|+++ Linux-PAM-0.77/modules/pam_console/pam_console_apply.c     2003-07-10 22:5
0:26.000000000 +0200
--------------------------
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:
--------------------------
|--- Linux-PAM-0.77/modules/pam_console/config.y.az     2004-10-31 14:39:41.519
539120 +0200
|+++ Linux-PAM-0.77/modules/pam_console/config.y        2004-10-31 14:42:44.110
781032 +0200
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
========================================

PATCH COMMAND:  patch -p4 -g0 < /var/tmp/portage/pam-0.77-r5/work/pam-0.77-patc
hes/gentoo-patches/pam-0.77-console-reset.patch

========================================
missing header for unified diff at line 3 of patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- Linux-PAM-0.77/modules/pam_console/pam_console_apply.c.console-reset
 2003-07-08 05:16:28.000000000 +0200
|+++ Linux-PAM-0.77/modules/pam_console/pam_console_apply.c     2003-07-10 22:5
0:26.000000000 +0200
--------------------------
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:
--------------------------
|--- Linux-PAM-0.77/modules/pam_console/config.y.az     2004-10-31 14:39:41.519
539120 +0200
|+++ Linux-PAM-0.77/modules/pam_console/config.y        2004-10-31 14:42:44.110
781032 +0200
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored



Reproducible: Always
Steps to Reproduce:
1. emerge -u pam
2.
3.

Actual Results:  
The emerge continued and finished without any further problems.


Portage 2.0.51-r15 (default-linux/x86/2004.0, gcc-3.3.5,
glibc-2.3.4.20040808-r1, 2.6.10-gentoo-r6 i686)
=================================================================
System uname: 2.6.10-gentoo-r6 i686 Intel(R) Pentium(R) M processor 1.70GHz
Gentoo Base System version 1.6.9
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Jan  8 2005, 02:50:23)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.4.3-r4, 1.5.10-r4
virtual/os-headers:  2.4.21-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks noinfo sandbox sfperms"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X acpi alsa avi bash-completion berkdb bitmap-fonts bonobo cdr cdrw
crypt cups dvd encode esd f77 fam fbcon font-server foomaticdb fortran gdbm gif
gnome gpm gtk gtk2 imagemagick imlib ipv6 java jpeg libg++ libwww mad mikmod mmx
mmx2 motif mozilla moznocompose moznoirc mozsvg mpeg ncurses nls oggvorbis
opengl oss pam pcmcia pdflib perl png pnp python quicktime readline sdl slang
spell sse sse2 ssl svga tcpd tiff truetype truetype-fonts type1-fonts
userlocales xml2 xmms xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2005-02-03 11:04:15 UTC
please search

*** This bug has been marked as a duplicate of 80529 ***