Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 270508 - net-misc/openssh-5.2_p1-r2 fails patching when USE="X509 hpn"
Summary: net-misc/openssh-5.2_p1-r2 fails patching when USE="X509 hpn"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-20 00:06 UTC by BedOS_Gui
Modified: 2009-09-01 21:53 UTC (History)
13 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
openssh-5.2p1-hpn13v6.diff.gz-9504.out (openssh-5.2p1-hpn13v6.diff.gz-9504.out,72.88 KB, text/plain)
2009-05-20 15:39 UTC, Tony Vroon (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description BedOS_Gui 2009-05-20 00:06:11 UTC
When compiling openssh-5.2_p1-r2 this error occurs, with openssh-5.2p1-hpn13v6.diff.gz patch out error :

>>> Starting src_unpack
>>> Unpacking openssh-5.2p1.tar.gz to /var/tmp/paludis/net-misc-openssh-5.2_p1-r2/work
tar zxf /usr/portage/distfiles/openssh-5.2p1.tar.gz --no-same-owner
 * Applying openssh-5.2p1+x509-6.2.diff.gz ...                           [ ok ]
 * Applying openssh-4.7_p1-GSSAPI-dns.patch ...                          [ ok ]
 * Applying openssh-5.2p1-hpn13v6.diff.gz ...

 * Failed Patch: openssh-5.2p1-hpn13v6.diff.gz !
 *  ( /var/tmp/paludis/net-misc-openssh-5.2_p1-r2/temp//4975.patch )
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/paludis/net-misc-openssh-5.2_p1-r2/temp//openssh-5.2p1-hpn13v6.diff.gz-4975.out


!!! ERROR in net-misc/openssh-5.2_p1-r2:
!!! In epatch at line 2712
!!! Failed Patch: openssh-5.2p1-hpn13v6.diff.gz!

Reproducible: Always
Comment 1 Sebastian Luther (few) 2009-05-20 11:02:43 UTC
* Include in your bugreport the contents of:
 * 
 *  
/var/tmp/paludis/net-misc-openssh-5.2_p1-r2/temp//openssh-5.2p1-hpn13v6.diff.gz-4975.out

and paludis --info please.
Comment 2 Tony Vroon (RETIRED) gentoo-dev 2009-05-20 15:38:55 UTC
[ebuild     U ] net-misc/openssh-5.2_p1-r2 [5.2_p1-r1] USE="X X509 hpn ldap pam smartcard tcpd -kerberos -libedit -pkcs11 (-selinux) -skey -static" 0 kB

amalthea ~ # emerge openssh
Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) net-misc/openssh-5.2_p1-r2
 * openssh-5.0p1-gsskex-20080404.patch RMD160 SHA1 SHA256 size ;-) ...                                                                                                                                                                [ ok ]
 * openssh-5.2p1.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                                                                                                                               [ ok ]
 * openssh-5.2p1-hpn13v6.diff.gz RMD160 SHA1 SHA256 size ;-) ...                                                                                                                                                                      [ ok ]
 * openssh-lpk-5.2p1-0.3.11.patch.gz RMD160 SHA1 SHA256 size ;-) ...                                                                                                                                                                  [ ok ]
 * openssh-5.2p1+x509-6.2.diff.gz RMD160 SHA1 SHA256 size ;-) ...                                                                                                                                                                     [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                                                                                                  [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                                                                                                 [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                                                                                                [ ok ]
>>> Unpacking source...
>>> Unpacking openssh-5.2p1.tar.gz to /var/tmp/portage/net-misc/openssh-5.2_p1-r2/work
 * Applying openssh-5.2p1+x509-6.2.diff.gz ...                                                                                                                                                                                         [ ok ]
 * Applying openssh-3.9_p1-opensc.patch ...                                                                                                                                                                                            [ ok ]
 * Sorry, X509 and ldap don't get along, disabling ldap
 * Applying openssh-4.7_p1-GSSAPI-dns.patch ...                                                                                                                                                                                        [ ok ]
 * Applying openssh-5.2p1-hpn13v6.diff.gz ...

 * Failed Patch: openssh-5.2p1-hpn13v6.diff.gz !
 *  ( /var/tmp/portage/net-misc/openssh-5.2_p1-r2/temp/9504.patch )


amalthea ~ # emerge --info
Portage 2.1.6.13 (default/linux/amd64/2008.0/no-multilib, gcc-4.3.3, glibc-2.10.1-r0, 2.6.30-rc6-00072-g279e677 x86_64)
=================================================================
System uname: Linux-2.6.30-rc6-00072-g279e677-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T9400_@_2.53GHz-with-gentoo-2.0.0
Timestamp of tree: Unknown
app-shells/bash:     4.0_p24
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python:     2.4.4-r6, 2.5.4-r2, 2.6.2
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake:      2.6.4
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r2
sys-apps/sandbox:    1.9
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.29
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -march=native -mtune=native -pipe -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O3 -march=native -mtune=native -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms sign strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.virginmedia.com"
LANG="en_GB.UTF-8"
LC_ALL="en_GB.UTF-8"
LDFLAGS="-Wl,--as-needed"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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="/cvs/gentoo-x86"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="cvs://chainsaw@cvs.gentoo.org:/var/cvsroot"
USE="16bit 16bit-indices 7zip S3TC X X509 a52 aac aalib ace acpi adns adplug alac alsa amd64 amr amrnb amrwb animgif aotuv applet archive aspell async asyncns audacious audiofile autoipd avahi bash-completion berkdb binary-drivers binfilter bluetooth bonjour bzip2 cairo calendar canberra cardbus cdaudio cdda cddb cdparanoia cdr cdrkit cdrom chardet chipcard chm cleartype cli consolekit cpio cracklib crypt css cups curl dbus device-mapper dhcp dhcpcd dirac disk-partition diskio divx djvu dmi dri drm dts dv dvd dvdr dvi ecc eds elf enca encode epiphany erandom exif exiv2 expat fam fat fbcon fbcondecor ffmpeg fftw flac fortran ftp fuse g15 galago gconf gd gdbm gdl gdm gedit gif gimp glib glitz glut gmedia gnome gnome-keyring gnutls gpg gphoto2 gs gsf gsm gstreamer gtk gzip hal hddtemp hdri hfs howl-compat hpn ical icons iconv id3 id3tag idle idn ieee1394 imagemagick imap imlib inkjar inotify ipod ipv6 irda isdnlog jabber java jbig jce john jpeg jpeg2k juju keyring lame laptop lcms ldap libburn libcaca libgcrypt libnotify libsamplerate libsexy libssh2 libwww lilo logrotate lzma lzo mad magic md5sum mdnsresponder-compat midi mikmod mime mjpeg mmap mmx mmxext mng modplug moonlight mp2 mp3 mp4 mpeg mplayer mudflap musepack music nano-syntax nautilus ncurses nemesi neon network-cron networkmanager nls nptl nptlonly nsplugin nss nuv nvidia ogg opengl openmp openssl otr ots pam pango pccts pcmcia pcre pdf perl physfs pidgin plotutils png pnm policykit posix postscript ppds pppd pulseaudio python rar rdesktop readline reflection replytolist resolvconf rss rtc samba scenarios schroedinger screenshot scrobbler sdl session sftp shorten sid smartcard smp sms sndfile snmp soup sourceview sox span speex spell spl sqlite srt srv sse sse2 sse3 ssl ssse3 startup-notification subtitles svg svgz sysfs syslog szip t1lib taglib tagwriting tcpd theora thesaurus threads tiff timidity tk tls tordns totem tracker trayicon truetype tta twolame unicode urandom usb v4l2 vcd vnc vorbis vorbis-psy vte wav wavpack webkit wifi wma wmf wmp xcb xcomposite xface xhtml xinerama xml xmp xorg xpm xscreensaver xsettings xslt xulrunner xv xvid xvmc yv12 zeroconf zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul 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" USERLAND="GNU" VIDEO_CARDS="intel"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Tony Vroon (RETIRED) gentoo-dev 2009-05-20 15:39:16 UTC
Created attachment 191906 [details]
openssh-5.2p1-hpn13v6.diff.gz-9504.out
Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2009-05-21 05:30:48 UTC
vapier:
looks like we need to write a new glue patch for x509+hpn together. I'll try to work on it tomorrow.
Comment 5 Alois Hammer 2009-06-11 18:41:52 UTC
(In reply to comment #4)
> vapier:
> looks like we need to write a new glue patch for x509+hpn together. I'll try to
> work on it tomorrow.
> 

I depend on working HPN.  Any progress?
Comment 6 Matt 2009-07-05 13:32:57 UTC
any news on this ?

downgrading to openssh-5.2_p1-r1 is a temporary solution ...

I however still get the same error:

 * Messages for package net-misc/openssh-5.2_p1-r2:

 * Sorry, X509 and ldap don't get along, disabling ldap
 * Failed Patch: openssh-5.2p1-hpn13v6.diff.gz !
 *  ( /var/tmp/portage/net-misc/openssh-5.2_p1-r2/temp/14068.patch )
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/net-misc/openssh-5.2_p1-r2/temp/openssh-5.2p1-hpn13v6.diff.gz-14068.out
 * 
 * ERROR: net-misc/openssh-5.2_p1-r2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_unpack
 *             environment, line 3228:  Called epatch '/var/tmp/portage/net-misc/openssh-5.2_p1-r2/distdir/openssh-5.2p1-hpn13v6.diff.gz'
 *             environment, line 1797:  Called die
 * The specific snippet of code:
 *                   die "Failed Patch: ${patchname}!";
 *  The die message:
 *   Failed Patch: openssh-5.2p1-hpn13v6.diff.gz!
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/log/portage/net-misc:openssh-5.2_p1-r2:20090705-132421.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-misc/openssh-5.2_p1-r2/temp/environment'.
Comment 7 walt 2009-07-09 18:09:16 UTC
Meanwhile, how about masking this package until it gets fixed?
Comment 8 SpanKY gentoo-dev 2009-07-09 19:19:32 UTC
no
Comment 9 Thomas S. Howard 2009-07-13 03:29:49 UTC
(In reply to comment #8)
> no
> 

Well, what's the point of having it sit there in the tree when it won't compile?
Just curious.
Comment 10 Alois Hammer 2009-07-16 15:44:22 UTC
I think it's an incentive for me to get an HPN PPA for Ubuntu up and working. :P
Comment 11 SpanKY gentoo-dev 2009-08-23 10:36:54 UTC
no one really cares what distro you choose to use, so please refrain from posting such noise

updated the x509-hpn glue patch for 5.2_p1-r3
Comment 12 Nikolay Orlyuk 2009-09-01 16:09:39 UTC
still getting this issue for net-misc/openssh-5.2_p1-r3 on amd64

sequence of patches:

>>> Unpacking openssh-5.2pkcs11-0.26.tar.bz2 to /var/tmp/paludis/net-misc-openssh-5.2_p1-r3/work
tar jxf /.gentoo09/.distfiles/openssh-5.2pkcs11-0.26.tar.bz2 --no-same-owner 
 * Applying 1000_all_log.patch ...                                       [ ok ]
 * Applying 1001_all_ssh-agent-log-level.patch ...                       [ ok ]
 * Applying 2000_all_pkcs11-docs.patch ...                               [ ok ]
 * Applying 2001_all_pkcs11-core.patch ...                               [ ok ]
 * Applying 2003_all_pkcs11-scp.patch ...                                [ ok ]
 * Applying 2004_all_pkcs11-scp-man.patch ...                            [ ok ]
 * Applying 2005_all_pkcs11-ssh.patch ...                                [ ok ]
 * Applying 2006_all_pkcs11-ssh-man.patch ...                            [ ok ]
 * Applying 2007_all_pkcs11-ssh-keygen.patch ...                         [ ok ]
 * Applying 2008_all_pkcs11-ssh-keygen-man.patch ...                     [ ok ]
 * Applying 2009_all_pkcs11-agent.patch ...                              [ ok ]
 * Applying 2010_all_pkcs11-agent-man.patch ...                          [ ok ]
 * Applying 4000_possh_pkcs11.patch ...                                  [ ok ]
 * Applying 4001_possh_pkcs11-x509.patch ...                             [ ok ]
 * Applying 4100_possh_pkcs11-autoconf.patch ...                         [ ok ]
 * Applying 4101_possh_pkcs11-x509-autoconf.patch ...                    [ ok ]
 * Applying 1000_all_log.patch ...                                       [ ok ]
 * Applying openssh-5.2p1+x509-6.2.1.diff.gz ...                         [ ok ]
 * Applying openssh-5.2_p1-x509-hpn-glue.patch ...                       [ ok ]
 * Applying openssh-5.2p1-hpn13v6.diff.gz ...

 * Failed Patch: openssh-5.2p1-hpn13v6.diff.gz !
 *  ( /var/tmp/paludis/net-misc-openssh-5.2_p1-r3/temp//23738.patch )
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/paludis/net-misc-openssh-5.2_p1-r3/temp//openssh-5.2p1-hpn13v6.diff.gz-23738.out
Comment 13 SpanKY gentoo-dev 2009-09-01 21:53:21 UTC
no, you have a different bug, so open a new one