USE=hpn emerge -pv openssh These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] net-misc/openssh-4.4_p1-r4 USE="X -X509 chroot hpn* -kerberos ldap -libedit pam (-selinux) -skey -smartcard -static tcpd" 0 kB elf:~# USE=hpn emerge openssh Calculating dependencies... done! >>> Emerging (1 of 1) net-misc/openssh-4.4_p1-r4 to / * openssh-lpk-4.4p1-0.3.7.patch MD5 ;-) ... [ ok ] * openssh-lpk-4.4p1-0.3.7.patch RMD160 ;-) ... [ ok ] * openssh-lpk-4.4p1-0.3.7.patch SHA1 ;-) ... [ ok ] * openssh-lpk-4.4p1-0.3.7.patch SHA256 ;-) ... [ ok ] * openssh-lpk-4.4p1-0.3.7.patch size ;-) ... [ ok ] * openssh-4.4p1.tar.gz MD5 ;-) ... [ ok ] * openssh-4.4p1.tar.gz RMD160 ;-) ... [ ok ] * openssh-4.4p1.tar.gz SHA1 ;-) ... [ ok ] * openssh-4.4p1.tar.gz SHA256 ;-) ... [ ok ] * openssh-4.4p1.tar.gz size ;-) ... [ ok ] * openssh-4.4p1-hpn12v11.diff.gz MD5 ;-) ... [ ok ] * openssh-4.4p1-hpn12v11.diff.gz RMD160 ;-) ... [ ok ] * openssh-4.4p1-hpn12v11.diff.gz SHA1 ;-) ... [ ok ] * openssh-4.4p1-hpn12v11.diff.gz SHA256 ;-) ... [ ok ] * openssh-4.4p1-hpn12v11.diff.gz size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking openssh-4.4p1.tar.gz ;-) ... [ ok ] * checking openssh-lpk-4.4p1-0.3.7.patch ;-) ... [ ok ] * checking openssh-4.4p1-hpn12v11.diff.gz ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking openssh-4.4p1.tar.gz to /var/tmp/portage/net-misc/openssh-4.4_p1-r4/work * Applying openssh-4.4p1-selinux-ac.diff ... [ ok ] * Applying openssh-4.3_p1-chroot.patch ... [ ok ] * Applying openssh-lpk-4.4p1-0.3.7.patch ... [ ok ] * Applying openssh-4.4p1-hpn12v11.diff.gz ... * Failed Patch: openssh-4.4p1-hpn12v11.diff.gz ! * ( /var/tmp/portage/net-misc/openssh-4.4_p1-r4/temp/20824.patch ) * * Include in your bugreport the contents of: * * /var/tmp/portage/net-misc/openssh-4.4_p1-r4/temp/openssh-4.4p1-hpn12v11.diff.gz-20824.out !!! ERROR: net-misc/openssh-4.4_p1-r4 failed. Call stack: ebuild.sh, line 1548: Called dyn_unpack ebuild.sh, line 708: Called src_unpack openssh-4.4_p1-r4.ebuild, line 95: Called epatch '/var/tmp/portage/net-misc/openssh-4.4_p1-r4/distdir/openssh-4.4p1-hpn12v11.diff.gz' eutils.eclass, line 341: Called die !!! Failed Patch: openssh-4.4p1-hpn12v11.diff.gz! !!! If you need support, post the topmost build error, and the call stack if relevant.
Created attachment 99640 [details] patch.diff.out
tweaked patch a little to apply with ldap
Created attachment 99891 [details] openssh-4.4p1-hpn12v11-gentoo.patch.bz2-32716.out Sync'ed today: net-misc/openssh-4.4_p1-r4 USE="X X509 chroot hpn* ldap pam tcpd -kerberos -libedit (-selinux) -skey -smartcard -static" * Applying openssh-4.4p1-hpn12v11-gentoo.patch.bz2 ... * Failed Patch: openssh-4.4p1-hpn12v11-gentoo.patch.bz2 ! * ( /var/tmp/portage/net-misc/openssh-4.4_p1-r4/temp/32716.patch ) * * Include in your bugreport the contents of: * * /var/tmp/portage/net-misc/openssh-4.4_p1-r4/temp/openssh-4.4p1-hpn12v11-gentoo.patch.bz2-32716.out !!! ERROR: net-misc/openssh-4.4_p1-r4 failed. Call stack: ebuild.sh, line 1568: Called dyn_unpack ebuild.sh, line 708: Called src_unpack openssh-4.4_p1-r4.ebuild, line 95: Called epatch '/var/tmp/portage/net-misc/openssh-4.4_p1-r4/distdir/openssh-4.4p1-hpn12v11-gentoo.patch.bz2' eutils.eclass, line 341: Called die !!! Failed Patch: openssh-4.4p1-hpn12v11-gentoo.patch.bz2!
different issue, search bugzilla