Subject: bin/34681: Failure to build ssh/auth-pam.c in -current
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org>
From: None <scotte@warped.com>
List: netbsd-bugs
Date: 10/01/2006 03:10:00
>Number:         34681
>Category:       bin
>Synopsis:       ./build.sh fails building ssh/auth-pam.c
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Oct 01 03:10:00 +0000 2006
>Originator:     Scott Ellis
>Release:        NetBSD 4.99.1
>Organization:
	
>Environment:
	
	
System: NetBSD intrepid 4.99.1 NetBSD 4.99.1 (INTREPID.AMD64) #0: Sun Aug 27 10:15:21 PDT 2006 scotte@intrepid:/misc/netbsd_src/src/obj.amd64/misc/netbsd_src/src/sys/arch/amd64/compile/INTREPID.AMD64 amd64
Architecture: x86_64
Machine: amd64
>Description:
	
Building with ./build.sh of -current from Sept 30, 2006 yields:

#   compile  sshd/auth-pam.o
/misc/netbsd_build/amd64/tooldir/bin/x86_64--netbsd-gcc -O2 -pipe  -Wall -Wstric
t-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditi
onal  -Werror -march=k8  -I/misc/netbsd_src/src/crypto/dist/ssh -DHAVE_LOGIN_CAP
 -DHAVE_MMAP -DHAVE_OPENPTY -DUSE_PAM -DSUPPORT_UTMP -DSUPPORT_UTMPX -DLIBWRAP
-nostdinc -isystem /misc/netbsd_build/amd64/destdir/usr/include  -c    /misc/net
bsd_src/src/crypto/dist/ssh/auth-pam.c
cc1: warnings being treated as errors
/misc/netbsd_src/src/crypto/dist/ssh/auth-pam.c: In function 'sshpam_init_ctx':
/misc/netbsd_src/src/crypto/dist/ssh/auth-pam.c:709: warning: implicit declarati
on of function 'socketpair'
/misc/netbsd_src/src/crypto/dist/ssh/auth-pam.c:709: error: 'AF_UNIX' undeclared
 (first use in this function)
/misc/netbsd_src/src/crypto/dist/ssh/auth-pam.c:709: error: (Each undeclared ide
ntifier is reported only once
/misc/netbsd_src/src/crypto/dist/ssh/auth-pam.c:709: error: for each function it
 appears in.)
/misc/netbsd_src/src/crypto/dist/ssh/auth-pam.c:709: error: 'SOCK_STREAM' undecl
ared (first use in this function)
/misc/netbsd_src/src/crypto/dist/ssh/auth-pam.c:709: error: 'PF_UNSPEC' undeclar
ed (first use in this function)

>How-To-Repeat:
	
Build
>Fix:
	

>Unformatted: