Upgrading openssh from 4.7_p1-r3 to 4.7_p1-r4 I get a failed patch. I will
include the .out file as an attachment.
Portage 2.1.4.1 (default-linux/amd64/2007.0/desktop, gcc-4.2.2, glibc-2.7-r1,
2.6.24-gentoo x86_64)
=================================================================
System uname: 2.6.24-gentoo x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor
6000+
Timestamp of tree: Sat, 09 Feb 2008 23:30:01 +0000
ccache version 2.4 [enabled]
app-shells/bash: 3.2_p33
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python: 2.5.1-r5
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache: 2.4-r7
sys-apps/baselayout: 2.0.0_rc6-r1
sys-apps/sandbox: 1.2.18.1-r2
sys-devel/autoconf: 2.13, 2.61-r1
sys-devel/automake: 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils: 2.18.50.0.3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool: 1.5.26
virtual/os-headers: 2.6.24
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe -ggdb -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf
/etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo
/etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=k8 -O2 -pipe -ggdb -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch sandbox sfperms
splitdebug strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org/
http://distro.ibiblio.org/pub/linux/distributions/gentoo/"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LINGUAS="en"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --stats --timeout=180 --exclude=/distfiles
--exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/paludis-extras /usr/local/overlays/sunrise
/usr/local/overlays/gnome /usr/local/overlays/desktop-effects
/usr/local/overlays/vmware /usr/local/overlays/berkano
/usr/local/overlays/mozilla /usr/local/overlays/myoverlay"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 amr bash-completion berkdb bitmap-fonts
bluetooth bzip2 cairo cdda cdr cli cracklib crypt css cups dbus dri dts dvd
dvdr dvdread eds emboss encode esd evo fam ffmpeg flac fortran gdbm gif glitz
gnome gpm gstreamer gtk hal iconv ipv6 isdnlog java jpeg kde
kdehiddenvisibility kerberos ldap libnotify mad midi mikmod mmx mono mp3 mpeg
mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl pic png
pppd python qt3support qt4 quicktime readline reflection ruby samba sdl session
spell spl sqlite sse sse2 ssl svg tcpd theora tiff truetype truetype-fonts
type1-fonts unicode usb userlocales vcd vorbis x264 xml xorg xulrunner xv xvid
zlib" ALSA_CARDS="cmipci hdaintel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix
dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter
mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions
alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file
authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user
autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires
ext_filter file_cache filter headers include info log_config logio mem_cache
mime mime_magic negotiation rewrite setenvif speling status unique_id userdir
usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev"
KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001
mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS,
PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
This is with paludis, so I'm not sure exactly what you are looking for. Here's
the build output:
These packages will be installed:
* net-misc/openssh [U 4.7_p1-r3 -> 4.7_p1-r4] <world>
X X509 -chroot hpn kerberos -ldap libedit pam (-selinux) -skey -smartcard
-static tcpd
Total: 1 package (1 upgrade)
(1 of 1) Installing net-misc/openssh-4.7_p1-r4:0::gentoo
paludis@1202654016: [WARNING] In program paludis -i world:
... When performing install action from command line:
... When executing install task:
... When fetching 'net-misc/openssh-4.7_p1-r4:0::gentoo':
... When checking permissions on '/usr/portage/distfiles' for userpriv:
... Directory '/usr/portage/distfiles' owned by group 'portage', not
'paludisbuild', so cannot enable userpriv
Checking 'openssh-4.7p1.tar.gz'... ok
Checking 'openssh-4.7p1+x509-6.1.diff.gz'... ok
Checking 'openssh-4.7p1-hpn13v1.diff.gz'... ok
paludis@1202654016: [WARNING] In program paludis -i world:
... When performing install action from command line:
... When executing install task:
... When installing 'net-misc/openssh-4.7_p1-r4:0::gentoo':
... When checking permissions on '/var/tmp/paludis' for userpriv:
... Directory '/var/tmp/paludis' does not group write permission,cannot
enable userpriv
>>> Running ebuild phase prepare as root:root...
>>> Starting builtin_prepare
>>> Done builtin_prepare
>>> Completed ebuild phase prepare
>>> Running ebuild phases init saveenv as root:root...
>>> Starting builtin_init
>>> Done builtin_init
>>> Starting builtin_saveenv
>>> Done builtin_saveenv
>>> Completed ebuild phases init saveenv
>>> Running ebuild phases loadenv setup saveenv as root:root...
>>> Starting builtin_loadenv
>>> Done builtin_loadenv
>>> Starting pkg_setup
>>> Done pkg_setup
>>> Starting builtin_saveenv
>>> Done builtin_saveenv
>>> Completed ebuild phases loadenv setup saveenv
>>> Running ebuild phases loadenv unpack compile saveenv as root:root...
>>> Starting builtin_loadenv
>>> Done builtin_loadenv
>>> Starting src_unpack
>>> Unpacking openssh-4.7p1.tar.gz to /var/tmp/paludis/net-misc/openssh-4.7_p1-r4/work
tar zxf /usr/portage/distfiles/openssh-4.7p1.tar.gz --no-same-owner
* Applying openssh-4.7p1+x509-6.1.diff.gz ... [ ok ]
* Applying openssh-4.4_p1-x509-hpn-glue.patch ... [ ok ]
* Applying openssh-4.7p1-hpn13v1.diff.gz ...
* Failed Patch: openssh-4.7p1-hpn13v1.diff.gz !
* ( /var/tmp/paludis/net-misc/openssh-4.7_p1-r4/temp//12794.patch )
*
* Include in your bugreport the contents of:
*
*
/var/tmp/paludis/net-misc/openssh-4.7_p1-r4/temp//openssh-4.7p1-hpn13v1.diff.gz-12794.out
!!! ERROR in net-misc/openssh-4.7_p1-r4:
!!! In epatch at line 2681
!!! Failed Patch: openssh-4.7p1-hpn13v1.diff.gz!
!!! Call stack:
!!! * epatch
(/var/tmp/paludis/net-misc/openssh-4.7_p1-r4/temp/loadsaveenv:2681)
!!! * src_unpack
(/var/tmp/paludis/net-misc/openssh-4.7_p1-r4/temp/loadsaveenv:4348)
!!! * ebuild_f_unpack (/usr/libexec/paludis/0/src_unpack.bash:44)
!!! * ebuild_main (/usr/libexec/paludis/ebuild.bash:457)
!!! * main (/usr/libexec/paludis/ebuild.bash:475)
diefunc: making ebuild PID 12794 exit with error
die trap: exiting with error.
Install error:
* In program paludis -i world:
* When performing install action from command line:
* When executing install task:
* When installing 'net-misc/openssh-4.7_p1-r4:0::gentoo':
* Install error: Install failed for 'net-misc/openssh-4.7_p1-r4:0::gentoo'