Subject: misc/20909: src/lib/libc doesn't compile (SecurityAdvisory2003-008)
To: None <gnats-bugs@gnats.netbsd.org>
From: Heiko Dudzus <heiko.dudzus@gmx.de>
List: netbsd-bugs
Date: 03/27/2003 20:20:35
>Number:         20909
>Category:       misc
>Synopsis:       'make USETOOLS=no dependall' fails
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    misc-bug-people
>State:          open
>Class:          support
>Submitter-Id:   net
>Arrival-Date:   Thu Mar 27 11:21:01 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Heiko Dudzus
>Release:        NetBSD 1.6
>Organization:
	
>Environment:
	
	
System: NetBSD lagavulin.heiko-dudzus.de 1.6 NetBSD 1.6 (SUNBEAM) #5: Tue Mar 25 00:04:27 CET 2003 root@lagavulin.heiko-dudzus.de:/usr/src/sys/arch/i386/compile/SUNBEAM i386
Architecture: i386
Machine: i386
>Description:
When I try to fix the vulnerability described in SA2003-008, 
'make USETOOLS=no dependall' stops with

lint -chapbxzF -w -X 272  -D_LIBC -DLIBC_SCCS -DSYSLIBC_SCCS -D_REENTRANT -I/usr/src/lib/libc/include -DHESIOD -DINET6 -DNLS -DYP -D__DBINTERFACE_PRIVATE -I/usr/src/lib/libc/../../libexec/ld.elf_so -I/usr/src/lib/libc/dlfcn -DI18NMODULE_MAJOR=4 -DWITH_RUNE -I/usr/src/lib/libc -DRESOLVSORT -I. -DPOSIX_MISTAKE -DPORTMAP -DFLOATING_POINT -i /usr/src/lib/libc/rpc/rpc_generic.c
/usr/src/lib/libc/rpc/rpc_generic.c(147): RPC_MAXDATASIZE undefined [99]
/usr/src/lib/libc/rpc/rpc_generic.c(176): RPC_MAXADDRSIZE undefined [99]
*** Error code 1

Stop.
make: stopped in /usr/src/lib/libc
*** Error code 1

Stop.
make: stopped in /usr/src/lib/libc
/usr/src/lib/libc#  

Of course, I did 'make USETOOLS=no cleandir' before. I also updated the whole 
source-tree, after the problem occured the first time. But the problem still 
remains.

>How-To-Repeat:
Follow the instructions on
ftp://ftp.netbsd.org/pub/NetBSD/security/advisories/NetBSD-SA2003-008.txt.asc

# cd src
# cvs update -d -P -r netbsd-1-6 lib/libc/rpc
# cvs update -d -P -r netbsd-1-6 include/rpc
# cd lib/libc
# make USETOOLS=no cleandir dependall includes

>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: