Subject: pkg/30598: security/PAM doesn't build
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <syn@sceen.net>
List: pkgsrc-bugs
Date: 06/25/2005 14:15:00
>Number: 30598
>Category: pkg
>Synopsis: security/PAM doesn't build
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Jun 25 14:15:00 +0000 2005
>Originator: syn@sceen.net
>Release: NetBSD 2.0.2_STABLE
>Organization:
Richard Braun
>Environment:
System: NetBSD yoda 2.0.2_STABLE NetBSD 2.0.2_STABLE (YODA) #0: Sun Jun 12 12:26:23 CEST 2005 syn@yoda:/usr/src/sys/arch/i386/compile/YODA i386
Architecture: i386
Machine: i386
>Description:
When building www/squid, which depends on security/PAM, here is the error I
get :
shlibtool --mode=compile 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/PAM/work/Linux-PAM-0.77/libpamc/include -D"USE_LCKPWDF" -D"NEED_LCKPWDF" -DCHKPWD_HELPER=\"/usr/pkg/sbin/unix_chkpwd\" -DPAM_DYNAMIC -c support.c
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/PAM/work/Linux-PAM-0.77/libpamc/include -DUSE_LCKPWDF -DNEED_LCKPWDF -DCHKPWD_HELPER=\"/usr/pkg/sbin/unix_chkpwd\" -DPAM_DYNAMIC -c support.c -fPIC -DPIC -o .libs/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] Erreur 1
gmake[2]: Leaving directory `/usr/pkgsrc/security/PAM/work/Linux-PAM-0.77/modules/pam_unix'
>Fix:
Unknown