Subject: pkg/36359: arla fails to build from pkgsrc
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <john@iastate.edu>
List: pkgsrc-bugs
Date: 05/18/2007 16:05:01
>Number:         36359
>Category:       pkg
>Synopsis:       arla fails to build from pkgsrc
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri May 18 16:05:01 +0000 2007
>Originator:     john@iastate.edu
>Release:        NetBSD 4.0_BETA2
>Organization:
	Iowa State University
>Environment:
System: NetBSD malediction.its.iastate.edu 4.0_BETA2 NetBSD 4.0_BETA2 (GENERIC) #2: Mon Apr 2 17:20:47 CDT 2007 root@draal.ait.iastate.edu:/usr/obj/4.0/kern/i386/GENERIC i386
Architecture: i386
Machine: i386
>Description:
    ...
cc -c  -DHAVE_CONFIG_H -I. -I.  -I../../include -I./../../include  -I./../include -DNNPFS_DEBUG -DINET6 -g -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wmissing-declarations -Wnested-externs   -D_KERNEL -D_LKM -ffreestanding -fno-strict-aliasing -I/usr/src/sys -nostdinc -isystem /usr/src/sys -isystem /usr/src/sys/arch -isystem /usr/src/sys/../common/include -I/usr/pkgsrc/net/arla/work/arla-0.43/include/netbsd-lkm -Wno-unused -Werror nnpfs_common-bsd.c
cc1: warnings being treated as errors
nnpfs_common-bsd.c: In function 'nnpfs_suser':
nnpfs_common-bsd.c:81: warning: implicit declaration of function 'suser'
nnpfs_common-bsd.c:81: warning: nested extern declaration of 'suser'
nnpfs_common-bsd.c:81: error: 'struct proc' has no member named 'p_ucred'

>How-To-Repeat:
	cd /usr/pkgsrc/net/arla && make install
>Fix: