Mailing List Archive

[Bug 947] ssh-keyscan.c fails to compile on HP-UX 10.20
http://bugzilla.mindrot.org/show_bug.cgi?id=947

Summary: ssh-keyscan.c fails to compile on HP-UX 10.20
Product: Portable OpenSSH
Version: 3.9p1
Platform: HPPA
OS/Version: HP-UX
Status: NEW
Severity: normal
Priority: P2
Component: Build system
AssignedTo: openssh-bugs@mindrot.org
ReportedBy: adam.bernstein@css-security.com


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.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 947] ssh-keyscan.c fails to compile on HP-UX 10.20 [ In reply to ]
http://bugzilla.mindrot.org/show_bug.cgi?id=947





------- Additional Comments From dtucker@zip.com.au 2004-10-31 19:21 -------
Created an attachment (id=736)
--> (http://bugzilla.mindrot.org/attachment.cgi?id=736&action=view)
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).



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 947] ssh-keyscan.c fails to compile on HP-UX 10.20 [ In reply to ]
http://bugzilla.mindrot.org/show_bug.cgi?id=947





------- Additional Comments From adam.bernstein@css-security.com 2004-11-02 07:13 -------
I tried out the GETSPNAM_CONFLICTING_DEFS patch on my HP-UX 10.20 build system.
This change does resolve my build issue.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 947] ssh-keyscan.c fails to compile on HP-UX 10.20 [ In reply to ]
http://bugzilla.mindrot.org/show_bug.cgi?id=947

dtucker@zip.com.au changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED



------- Additional Comments From dtucker@zip.com.au 2004-11-02 20:32 -------
Thanks for the confirmation, applied.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.