When emerging openssh-5.1_p1 this compilation error occurs with openssh-4.9_p1-x509-hpn-glue.patch : >>> Unpacking openssh-5.1p1.tar.gz to /var/tmp/paludis/net-misc-openssh-5.1_p1/work tar zxf /usr/portage/distfiles/openssh-5.1p1.tar.gz --no-same-owner * Applying openssh-5.1p1+x509-6.1.1.diff.gz ... [ ok ] * Applying openssh-4.9_p1-x509-hpn-glue.patch ... * Failed Patch: openssh-4.9_p1-x509-hpn-glue.patch ! * ( /usr/portage/net-misc/openssh/files/openssh-4.9_p1-x509-hpn-glue.patch ) * * Include in your bugreport the contents of: * * /var/tmp/paludis/net-misc-openssh-5.1_p1/temp//openssh-4.9_p1-x509-hpn-glue.patch-9800.out !!! ERROR in net-misc/openssh-5.1_p1: !!! In epatch at line 2688 !!! Failed Patch: openssh-4.9_p1-x509-hpn-glue.patch! I attach the patch log. Reproducible: Always
Created attachment 163188 [details] openssh-4.9_p1-x509-hpn-glue.patch-9800.out
I commented out line 76 of the ebuild (the epatch line for the patch) and it built successfully. My USE flags for the package are "X X509 hpn kerberos libedit pam tcpd -ldap (-selinux) -skey -smartcard -static".
fixed in CVS.
Ok, fine. Now it compiles and runs, but at the end of the emerge I got: * * QA Notice: Package has poor programming practices which may compile * but will almost certainly crash on 64bit architectures. * * Function `strsep' implicitly converted to pointer at auth2-pubkey.c:197 * * Please file a bug about this at http://bugs.gentoo.org/ * with the maintaining herd of the package. I don't know if it really matters, but I did as it's written in the above warning. Thanks.
that's an issue with the baseline x509 patch, if it breaks something, complain at them.