Updating openssh-4.3_p2-r5 to openssh-4.4_p1-r4 fails at applying the patch described in the summary. I will include the *.out file for the patch as an attachment but here is the stack: !!! ERROR: net-misc/openssh-4.4_p1-r4 failed. Call stack: ebuild.sh, line 1564: 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
Created attachment 99775 [details] Out file for failed patch: openssh-4.4p1-hpn12v11-gentoo.patch.bz2
I've tested it by "ebuild ... unpack", but it doesn't fail, though. So, your patch or src tarball isn't broken? And could you mind to try re-fetch these stuffs?
(In reply to comment #2) > I've tested it by "ebuild ... unpack", but it doesn't fail, though. > So, your patch or src tarball isn't broken? > And could you mind to try re-fetch these stuffs? > I tried deleting all openssh distfiles, deleted the /var/tmp/portage/net-misc directory and unmerging openssh. I then re-merged the previous openssh (openssh-4.3_p2-r5). When I again ran 'emerge -uDv openssh', the hpn patch again failed. I deleted all the same files. I then deleted the openssh-4.4_p1-r4.ebuild out of /usr/portage/net-misc/openssh and all of the files in /usr/portage/net-misc/files that were placed there the same time I synced to get the openssh-4.4_p1-r4 ebuild. I ran 'emerge --sync', then 'emerge -uDv openssh'. This time an update to either autoconf or automake ran first, then openssh update again failed at the hpn patch. It seems like I removed any fetched files that might have been bad and the same thing happened. Please have a look at the file I attached with Comment #1. This is the openssh-4.4p1-hpn12v11-gentoo.patch.bz2-6232.out file from /var/tmp/portage/openssh-4.4_p1-r4/temp/. Thanks, Bob
you didnt post `emerge info` so i dont know how your system is configured `emerge openssh -pv` would be useful as well
Created attachment 99848 [details] emerge --info
Created attachment 99849 [details] emerge -pv
that helps, thanks
(In reply to comment #7) > that helps, thanks > My pleasure. Meanwhile, I've upgraded to openssh-4.4_p1-r4 with USE="-hpn" as my system is standalone and hpn is probably not stricly needed. Some folks might need it, though, so I'll tell you further that it looks like the eutils.eclass file is from 10/6/06 (# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.253 2006/10/06 07:00:14 flameeyes Exp $) and also that the selinux and x509 patches were applied successfully. Good Day, Bob
Same problem with amd64 arch. Looks like current X509 and hpn patches are not compatible. With "X509 chroot hpn" use flags patches are applied in the same order : X509, chroot and hpn. I've played with use flags and hpn patch fails unless I disable X509 : USE="-X509 hpn" emerge -v openssh works fine
openssh-4.4_p1-r4 is still broken, so why was the *working* openssh-4.4_p1-r3 just removed from Portage?
it wasnt working, dont delude yourself
(In reply to comment #11) > it wasnt working, dont delude yourself Funny guy, I've been using it on 2 boxes for several weeks with no problems. Box 1: Installed: 4.4_p1-r3[03:57:33 AM 10/05/2006][-static pam tcpd -kerberos -skey -selinux chroot X509 -ldap -smartcard hpn -libedit X] Box 2: Installed: 4.4_p1-r3[02:50:54 AM 10/04/2006][-static pam tcpd -kerberos -skey -selinux chroot X509 -ldap -smartcard hpn -libedit X] Stick that in your buttcrack and smoke it.
did you even bother reading the ebuild ? i didnt think so older versions of the 4.4_p1 ebuild didnt actually include hpn support here's a tip: do some research first before saying something stupid
(In reply to comment #13) > did you even bother reading the ebuild ? i didnt think so > > older versions of the 4.4_p1 ebuild didnt actually include hpn support Yes I see that, but at least it was a *working* copy of openssh 4.4... now you've gone and deleted or hard-masked all 4.4 versions in Portage, forcing me to downgrade from 4.4 to 4.3 and rebuild everything that was built against 4.4. Thanks a fucking lot.
well, if you dont understand how to use emerge, that's your problem funny how `USE=-hpn emerge openssh` would have worked just as well as downgrading
(In reply to comment #15) > well, if you dont understand how to use emerge, that's your problem > > funny how `USE=-hpn emerge openssh` would have worked just as well as > downgrading > He's right, Alex. Either that or 'USE=-x509 emerge openssh' as a previous commenter stated that he was able to emerge 4.4 by not using x509 or hpn. 4.4 isn't masked.
*** Bug 152895 has been marked as a duplicate of this bug. ***
*** Bug 152942 has been marked as a duplicate of this bug. ***
The just marked stable -r5 also has it: --8<-- [...] >>> Unpacking openssh-4.4p1.tar.gz to /var/tmp/portage/net-misc/openssh-4.4_p1-r5/work * Applying openssh-4.4p1-selinux-ac.diff ... [ ok ] * Applying openssh-4.4p1+x509-5.5.1.diff.gz ... [ ok ] * Applying openssh-4.3_p1-chroot.patch ... [ ok ] * 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-r5/temp/31583.patch ) * * Include in your bugreport the contents of: * * /var/tmp/portage/net-misc/openssh-4.4_p1-r5/temp/openssh-4.4p1-hpn12v11-gentoo.patch.bz2-31583.out !!! ERROR: net-misc/openssh-4.4_p1-r5 failed. Call stack: ebuild.sh, line 1568: Called dyn_unpack ebuild.sh, line 708: Called src_unpack openssh-4.4_p1-r5.ebuild, line 94: Called epatch '/var/tmp/portage/net-misc/openssh-4.4_p1-r5/distdir/openssh-4.4p1-hpn12v11-gentoo.patch.bz2' eutils.eclass, line 341: Called die !!! Failed Patch: openssh-4.4p1-hpn12v11-gentoo.patch.bz2! !!! If you need support, post the topmost build error, and the call stack if relevant. --8<--
I confirm: emerge openssh-4.4 fails applying hpn patch. # emerge openssh -pv [ebuild U ] net-misc/openssh-4.4_p1-r5 [4.3_p2-r5] USE="X X509 chroot hpn pam tcpd -kerberos -ldap -libedit (-selinux) -skey -smartcard -static (-ipv6%*) (-sftplogging%)" >>> Emerging (1 of 1) net-misc/openssh-4.4_p1-r5 to / * openssh-4.4p1-hpn12v11-gentoo.patch.bz2 MD5 ;-) ... [ ok ] * openssh-4.4p1-hpn12v11-gentoo.patch.bz2 RMD160 ;-) ... [ ok ] * openssh-4.4p1-hpn12v11-gentoo.patch.bz2 SHA1 ;-) ... [ ok ] * openssh-4.4p1-hpn12v11-gentoo.patch.bz2 SHA256 ;-) ... [ ok ] * openssh-4.4p1-hpn12v11-gentoo.patch.bz2 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+x509-5.5.1.diff.gz MD5 ;-) ... [ ok ] * openssh-4.4p1+x509-5.5.1.diff.gz RMD160 ;-) ... [ ok ] * openssh-4.4p1+x509-5.5.1.diff.gz SHA1 ;-) ... [ ok ] * openssh-4.4p1+x509-5.5.1.diff.gz SHA256 ;-) ... [ ok ] * openssh-4.4p1+x509-5.5.1.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-4.4p1+x509-5.5.1.diff.gz ;-) ... [ ok ] * checking openssh-4.4p1-hpn12v11-gentoo.patch.bz2 ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking openssh-4.4p1.tar.gz to /var/tmp/portage/openssh-4.4_p1-r5/work * Applying openssh-4.4p1-selinux-ac.diff ... [ ok ] * Applying openssh-4.4p1+x509-5.5.1.diff.gz ... [ ok ] * Applying openssh-4.3_p1-chroot.patch ... [ ok ] * Applying openssh-4.4p1-hpn12v11-gentoo.patch.bz2 ... * Failed Patch: openssh-4.4p1-hpn12v11-gentoo.patch.bz2 ! * ( /var/tmp/portage/openssh-4.4_p1-r5/temp/12006.patch ) * * Include in your bugreport the contents of: * * /var/tmp/portage/openssh-4.4_p1-r5/temp/openssh-4.4p1-hpn12v11-gentoo.patch.bz2-12006.out !!! ERROR: net-misc/openssh-4.4_p1-r5 failed. Call stack: ebuild.sh, line 1546: Called dyn_unpack ebuild.sh, line 708: Called src_unpack openssh-4.4_p1-r5.ebuild, line 94: Called epatch '/var/tmp/portage/openssh-4.4_p1-r5/distdir/openssh-4.4p1-hpn12v11-gentoo.patch.bz2' eutils.eclass, line 341: Called die
fixed in cvs
(In reply to comment #21) > fixed in cvs And promptly broken in openssh-4.4_p1-r6. -------------------------------- # emerge -1av openssh These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] net-misc/openssh-4.4_p1-r6 [4.4_p1-r5] USE="X509 hpn pam tcpd -X -chroot -kerberos -ldap -libedit (-selinux) -skey -smartcard -static" 0 kB [..snip..] !!! ERROR: net-misc/openssh-4.4_p1-r6 failed. Call stack: ebuild.sh, line 1546: Called dyn_unpack ebuild.sh, line 708: Called src_unpack openssh-4.4_p1-r6.ebuild, line 94: Called epatch '/var/tmp/portage/openssh-4.4_p1-r6/distdir/openssh-4.4p1-hpn12v13.diff.gz' eutils.eclass, line 341: Called die !!! Failed Patch: openssh-4.4p1-hpn12v13.diff.gz!
[ebuild R ] net-misc/openssh-4.4_p1-r6 USE="X509 hpn pam tcpd -X* -chroot -kerberos -ldap -libedit (-selinux) -skey -smartcard -static" 0 kB >>> Unpacking source... >>> Unpacking openssh-4.4p1.tar.gz to /var/tmp/portage/net-misc/openssh-4.4_p1-r6/work * Applying openssh-4.4p1-selinux-ac.diff ... [ ok ] * Applying openssh-4.4p1+x509-5.5.1.diff.gz ... [ ok ] * Applying openssh-4.4_p1-x509-hpn-glue.patch ... [ ok ] * Applying openssh-4.4p1-hpn12v13.diff.gz ... [ ok ] * Running eautoreconf in '/var/tmp/portage/net-misc/openssh-4.4_p1-r6/work/openssh-4.4p1' ...
My aforementioned openssh-4.4_p1-r6 build config works after emerge --sync'ing today.