Subject: misc/20909: src/lib/libc doesn't compile (SecurityAdvisory2003-008)
To: None <>
From: Heiko Dudzus <>
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
>Originator:     Heiko Dudzus
>Release:        NetBSD 1.6
System: NetBSD 1.6 NetBSD 1.6 (SUNBEAM) #5: Tue Mar 25 00:04:27 CET 2003 i386
Architecture: i386
Machine: i386
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

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

make: stopped in /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 

Follow the instructions on

# 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