Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 110039 - emerge openssh failed
Summary: emerge openssh failed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Daniel Ahlberg (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-21 08:02 UTC by Ralf Schreg
Modified: 2005-10-21 17:02 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 Ralf Schreg 2005-10-21 08:02:59 UTC
>>> Unpacking source...
>>> Unpacking openssh-4.2p1.tar.gz to /var/tmp/portage/openssh-4.2_p1/work
 * Applying openssh-4.2_p1-kerberos-detection.patch ...                   [ ok ]
 * Applying openssh-4.2p1+x509-5.2.diff.gz ...                            [ ok ]
 * Applying openssh-3.9_p1-selinux.diff.bz2 ...

 * Failed Patch: openssh-3.9_p1-selinux.diff.bz2 !
 *  ( /var/tmp/portage/openssh-4.2_p1/temp/15850.patch )


Reproducible: Always
Steps to Reproduce:
1. using selinux
2. running "emerge -uD openssh"


Actual Results:  
cat /var/tmp/portage/openssh-4.2_p1/temp/openssh-3.9_p1-selinux.diff.bz2-15850.out
***** openssh-3.9_p1-selinux.diff.bz2 *****

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

PIPE_COMMAND:  bzip2 -dc
/usr/portage/net-misc/openssh/files/openssh-3.9_p1-selinux.diff.bz2 >
/var/tmp/portage/openssh-4.2_p1/temp/15850.patch
PATCH COMMAND:  patch -p0 -g0 --no-backup-if-mismatch <
/var/tmp/portage/openssh-4.2_p1/temp/15850.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 openssh-3.7.1p1.orig/Makefile.in openssh-3.7.1p1/Makefile.in
|--- openssh-3.7.1p1.orig/Makefile.in   2003-09-13 20:40:36.000000000 -0500
|+++ openssh-3.7.1p1/Makefile.in        2003-09-19 19:08:04.000000000 -0500
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
can't find file to patch at input line 25
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN openssh-3.7.1p1.orig/session.c openssh-3.7.1p1/session.c
|--- openssh-3.7.1p1.orig/session.c     2003-09-15 20:52:19.000000000 -0500
|+++ openssh-3.7.1p1/session.c  2003-09-19 19:08:36.000000000 -0500
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
can't find file to patch at input line 60
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN openssh-3.7.1p1.orig/sshpty.c openssh-3.7.1p1/sshpty.c
|--- openssh-3.7.1p1.orig/sshpty.c      2003-08-24 20:16:21.000000000 -0500
|+++ openssh-3.7.1p1/sshpty.c   2003-09-19 19:08:04.000000000 -0500
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
===========================================

PIPE_COMMAND:  bzip2 -dc
/usr/portage/net-misc/openssh/files/openssh-3.9_p1-selinux.diff.bz2 >
/var/tmp/portage/openssh-4.2_p1/temp/15850.patch
PATCH COMMAND:  patch -p1 -g0 --no-backup-if-mismatch <
/var/tmp/portage/openssh-4.2_p1/temp/15850.patch

===========================================
patching file Makefile.in
Hunk #1 FAILED at 40.
Hunk #2 succeeded at 57 (offset 4 lines).
1 out of 2 hunks FAILED -- saving rejects to file Makefile.in.rej
patching file session.c
Hunk #1 succeeded at 67 (offset 1 line).
Hunk #2 succeeded at 1354 (offset 45 lines).
patching file sshpty.c
===========================================

PIPE_COMMAND:  bzip2 -dc
/usr/portage/net-misc/openssh/files/openssh-3.9_p1-selinux.diff.bz2 >
/var/tmp/portage/openssh-4.2_p1/temp/15850.patch
PATCH COMMAND:  patch -p2 -g0 --no-backup-if-mismatch <
/var/tmp/portage/openssh-4.2_p1/temp/15850.patch

===========================================
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 openssh-3.7.1p1.orig/Makefile.in openssh-3.7.1p1/Makefile.in
|--- openssh-3.7.1p1.orig/Makefile.in   2003-09-13 20:40:36.000000000 -0500
|+++ openssh-3.7.1p1/Makefile.in        2003-09-19 19:08:04.000000000 -0500
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
missing header for unified diff at line 25 of patch
can't find file to patch at input line 25
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN openssh-3.7.1p1.orig/session.c openssh-3.7.1p1/session.c
|--- openssh-3.7.1p1.orig/session.c     2003-09-15 20:52:19.000000000 -0500
|+++ openssh-3.7.1p1/session.c  2003-09-19 19:08:36.000000000 -0500
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
missing header for unified diff at line 60 of patch
can't find file to patch at input line 60
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN openssh-3.7.1p1.orig/sshpty.c openssh-3.7.1p1/sshpty.c
|--- openssh-3.7.1p1.orig/sshpty.c      2003-08-24 20:16:21.000000000 -0500
|+++ openssh-3.7.1p1/sshpty.c   2003-09-19 19:08:04.000000000 -0500
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
===========================================

PIPE_COMMAND:  bzip2 -dc
/usr/portage/net-misc/openssh/files/openssh-3.9_p1-selinux.diff.bz2 >
/var/tmp/portage/openssh-4.2_p1/temp/15850.patch
PATCH COMMAND:  patch -p3 -g0 --no-backup-if-mismatch <
/var/tmp/portage/openssh-4.2_p1/temp/15850.patch

===========================================
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 openssh-3.7.1p1.orig/Makefile.in openssh-3.7.1p1/Makefile.in
|--- openssh-3.7.1p1.orig/Makefile.in   2003-09-13 20:40:36.000000000 -0500
|+++ openssh-3.7.1p1/Makefile.in        2003-09-19 19:08:04.000000000 -0500
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
missing header for unified diff at line 25 of patch
can't find file to patch at input line 25
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN openssh-3.7.1p1.orig/session.c openssh-3.7.1p1/session.c
|--- openssh-3.7.1p1.orig/session.c     2003-09-15 20:52:19.000000000 -0500
|+++ openssh-3.7.1p1/session.c  2003-09-19 19:08:36.000000000 -0500
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
missing header for unified diff at line 60 of patch
can't find file to patch at input line 60
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN openssh-3.7.1p1.orig/sshpty.c openssh-3.7.1p1/sshpty.c
|--- openssh-3.7.1p1.orig/sshpty.c      2003-08-24 20:16:21.000000000 -0500
|+++ openssh-3.7.1p1/sshpty.c   2003-09-19 19:08:04.000000000 -0500
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
===========================================

PIPE_COMMAND:  bzip2 -dc
/usr/portage/net-misc/openssh/files/openssh-3.9_p1-selinux.diff.bz2 >
/var/tmp/portage/openssh-4.2_p1/temp/15850.patch
PATCH COMMAND:  patch -p4 -g0 --no-backup-if-mismatch <
/var/tmp/portage/openssh-4.2_p1/temp/15850.patch

===========================================
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 openssh-3.7.1p1.orig/Makefile.in openssh-3.7.1p1/Makefile.in
|--- openssh-3.7.1p1.orig/Makefile.in   2003-09-13 20:40:36.000000000 -0500
|+++ openssh-3.7.1p1/Makefile.in        2003-09-19 19:08:04.000000000 -0500
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
missing header for unified diff at line 25 of patch
can't find file to patch at input line 25
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN openssh-3.7.1p1.orig/session.c openssh-3.7.1p1/session.c
|--- openssh-3.7.1p1.orig/session.c     2003-09-15 20:52:19.000000000 -0500
|+++ openssh-3.7.1p1/session.c  2003-09-19 19:08:36.000000000 -0500
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
missing header for unified diff at line 60 of patch
can't find file to patch at input line 60
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN openssh-3.7.1p1.orig/sshpty.c openssh-3.7.1p1/sshpty.c
|--- openssh-3.7.1p1.orig/sshpty.c      2003-08-24 20:16:21.000000000 -0500
|+++ openssh-3.7.1p1/sshpty.c   2003-09-19 19:08:04.000000000 -0500
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored



emerge info:

Portage 2.0.51.22-r3 (selinux/2004.1/x86, gcc-3.3.6, glibc-2.3.5-r2,
2.6.11-hardened-r15 i686)
=================================================================
System uname: 2.6.11-hardened-r15 i686 AMD Athlon(tm) XP 2000+
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks loadpolicy selinux sfperms strict"
GENTOO_MIRRORS="http://192.168.17.211"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://192.168.17.211/gentoo-portage"
USE="X509 acpi acpi4linux activefilter berkdb crypt gd gdbm hardened kerberos
krb4 ldap md5sum ncurses pam perl readline samba selinux socks5 sse ssl udev
userlocales x86 zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
Comment 1 SpanKY gentoo-dev 2005-10-21 17:02:45 UTC
fixed in cvs