Subject: pkg/13940: pkgsrc/security/sudo broken
To: None <gnats-bugs@gnats.netbsd.org>
From: None <msanders@confusion.net>
List: netbsd-bugs
Date: 09/12/2001 21:13:42
>Number:         13940
>Category:       pkg
>Synopsis:       pkgsrc/security/sudo broken
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Sep 12 21:14:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Michael K. Sanders
>Release:        NetBSD-current 20010910
>Organization:
	
>Environment:
NetBSD utopia.confusion.net 1.5X NetBSD 1.5X (GENERIC) #1: Tue Sep 11 09:08:46 PDT 2001     msanders@utopia.confusion.net:/usr/src/sys/arch/i386/compile/GENERIC i386
>Description:
pkgsrc/security/sudo fails to build.

>How-To-Repeat:
cd /usr/pkgsrc/security/sudo; make

Watch it fail.

$ make
===> Building for sudo-1.6.3p7
cc -c -I. -I. -O2 -D_PATH_SUDOERS=\"/etc/sudoers\" -D_PATH_SUDOERS_TMP=\"/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSUDOERS_GID=0 -DSUDOERS_MODE=0440  find_path.c
find_path.c:61: conflicting types for `readlink'
/usr/include/unistd.h:260: previous declaration of `readlink'
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/security/sudo/work.i386/sudo-1.6.3p7
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/security/sudo
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/security/sudo
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/security/sudo 

>Fix:
Figure out the header lossage.
>Release-Note:
>Audit-Trail:
>Unformatted: