Subject: pkg/30965: security/PAM won't build on 2.0
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <smb@machshav.com>
List: pkgsrc-bugs
Date: 08/10/2005 15:33:00
>Number:         30965
>Category:       pkg
>Synopsis:       security/PAM won't build on 2.0
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Aug 10 15:33:00 +0000 2005
>Originator:     Steven M. Bellovin
>Release:        NetBSD 2.0
>Organization:
	
>Environment:
	
	
System: NetBSD hudson.machshav.com 2.0 NetBSD 2.0 (HUDSON) #0: Sun Dec 12 18:01:12 EST 2004 smb@hudson.machshav.com:/usr/BUILD/obj/sys/arch/i386/compile/HUDSON i386
Architecture: i386
Machine: i386
>Description:
	When trying to build security/PAM -- necessary for squid -- I get the
	following errors.  I'm running 2.0, with pkgsrc-2005Q2.

	 gcc -Dnetbsd -I./include -I/usr/pkgsrc/security/PAM/work/Linux-PAM-0.77/libpam/
	include -I/usr/pkgsrc/security/PAM/work/Linux-PAM-0.77 -I/usr/pkgsrc/security/PA
	M/work/Linux-PAM-0.77/libpamc/include -DUSE_LCKPWDF -DNEED_LCKPWDF -DCHKPWD_HELP
	ER=\"/usr/pkg/sbin/unix_chkpwd\" -DPAM_DYNAMIC -c support.c  -fPIC -DPIC -o .lib
	s/support.o
	support.c: In function `PAM_getlogin':
	support.c:128: error: structure has no member named `ut_user'
	support.c:138: warning: assignment makes pointer from integer without a cast
	support.c:139: error: structure has no member named `ut_user'
	support.c:139: error: structure has no member named `ut_user'
	gmake[2]: *** [support.lo] Error 1
	gmake[2]: Leaving directory `/usr/pkgsrc/security/PAM/work/Linux-PAM-0.77/module
	s/pam_unix'

>How-To-Repeat:
	See above
>Fix:
	unknown

>Unformatted: