Bug 266

Summary: Compilation failure of sudo 1.6.9p4, p5 and p6 under Tru64 4.0f
Product: Sudo Reporter: Scott McAskill <mcaskill.scott>
Component: SudoAssignee: Todd C. Miller <Todd.Miller>
Status: RESOLVED FIXED    
Severity: high    
Priority: high    
Version: 1.6.9   
Hardware: Alpha   
OS: Tru64 UNIX   
Attachments: Output from configure and make of version 1.6.9p6

Description Scott McAskill 2007-10-23 11:58:55 MDT
Created attachment 214 [details]
Output from configure and make of version 1.6.9p6

All versions of sudo since 1.6.9p4 have failed to build under Tru64 4.0f. All fail with the same error. See attachment which contains output from configure and make of version 1.6.9p6. Version 1.6.9p3 and before all compiled OK.
Comment 1 Todd C. Miller 2007-10-23 12:14:01 MDT
It appears Tru64 4.0F defines AF_INET6 but actually provides no real IPv6 support.  I'll have to add a configure check for some of the IPv6 structures.

You should be able to work around this for now by placing:

#undef AF_INET6

in interfaces.h after the line:

#define _SUDO_INTERFACES_H
Comment 2 Todd C. Miller 2007-10-24 09:34:43 MDT
Please give ftp://ftp.sudo.ws/pub/millert/sudo/sudo-1.6.9p7.tar.gz a try.  It should correctly detect whether or not IPv6 is really supported.
Comment 3 Scott McAskill 2007-10-24 13:27:57 MDT
(In reply to comment #0)
> Created an attachment (id=214) [details]
> Output from configure and make of version 1.6.9p6
> All versions of sudo since 1.6.9p4 have failed to build under Tru64
> 4.0f. All fail with the same error. See attachment which contains
> output from configure and make of version 1.6.9p6. Version 1.6.9p3 and
> before all compiled OK.

Hi Todd,

I didn't get a chance to try the patch, but I just built and installed version 1.6.9p7 which worked. Many thanks.