Bug 947

Summary: ssh-keyscan.c fails to compile on HP-UX 10.20
Product: Portable OpenSSH Reporter: Adam Bernstein <adam.bernstein>
Component: Build systemAssignee: OpenSSH Bugzilla mailing list <openssh-bugs>
Status: CLOSED FIXED    
Severity: normal    
Priority: P2    
Version: 3.9p1   
Hardware: HPPA   
OS: HP-UX   
Attachments:
Description Flags
Check for conflicting getspnam declarations at configure time. none

Description Adam Bernstein 2004-10-30 10:53:04 AEST
The change to includes.h made between releases 3.8.1p1 and 3.9p1 broke the build
of ssh-keyscan.c for HP-UX 10.20.  Stubbing out lines 184-193 of includes.h
fixes this problem.  I am not sure what the portable automake method way of
detecting HP-UX 10.20 is, but #ifdef'ing out this section of the header file
according to a platform version less than HPUX11 is needed to fix the 10.20
build.  After #if 0'ing out these lines I did a make clean and a make and
everything then build successfully.
Comment 1 Darren Tucker 2004-10-31 19:21:53 AEDT
Created attachment 736 [details]
Check for conflicting getspnam declarations at configure time.

Please try this patch (you will need to run "autoreconf" from autoconf-2.59 to
rebuild configure).
Comment 2 Adam Bernstein 2004-11-02 07:13:24 AEDT
I tried out the GETSPNAM_CONFLICTING_DEFS patch on my HP-UX 10.20 build system.
 This change does resolve my build issue.
Comment 3 Darren Tucker 2004-11-02 20:32:42 AEDT
Thanks for the confirmation, applied.
Comment 4 Darren Tucker 2006-10-07 11:37:42 AEST
Change all RESOLVED bug to CLOSED with the exception of the ones fixed post-4.4.