Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 235086 - net-misc/openssh-5.1_p1 compilation fails due to openssh-4.9_p1-x509-hpn-glue.patch error
Summary: net-misc/openssh-5.1_p1 compilation fails due to openssh-4.9_p1-x509-hpn-glue...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-18 07:45 UTC by BedOS_Gui
Modified: 2008-08-24 19:10 UTC (History)
6 users (show)

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


Attachments
openssh-4.9_p1-x509-hpn-glue.patch-9800.out (openssh-4.9_p1-x509-hpn-glue.patch-9800.out,4.16 KB, text/plain)
2008-08-18 07:45 UTC, BedOS_Gui
Details

Note You need to log in before you can comment on or make changes to this bug.
Description BedOS_Gui 2008-08-18 07:45:16 UTC
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
Comment 1 BedOS_Gui 2008-08-18 07:45:53 UTC
Created attachment 163188 [details]
openssh-4.9_p1-x509-hpn-glue.patch-9800.out
Comment 2 Markus Peloquin 2008-08-19 21:00:28 UTC
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".
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2008-08-23 21:33:06 UTC
fixed in CVS.
Comment 4 Ivan Iraci 2008-08-24 10:05:06 UTC
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.
Comment 5 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2008-08-24 19:10:27 UTC
that's an issue with the baseline x509 patch, if it breaks something, complain at them.