Subject: lib/19044: netbsd-1-6 branch build broken in libposix
To: None <>
From: None <>
List: netbsd-bugs
Date: 11/14/2002 10:02:19
>Number:         19044
>Category:       lib
>Synopsis:       netbsd-1-6 branch build broken in libposix
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Nov 14 01:03:00 PST 2002
>Originator:     Urban Boquist
>Release:        NetBSD 1.6_STABLE
Carlstedt Research & Technology AB, Sweden
System: NetBSD lan-gw 1.6_STABLE NetBSD 1.6_STABLE (LAN-GW-$Revision: 1.11 $) #0: Sat Nov  2 13:42:17 CET 2002 root@lan-gw:/usr/src/sys/arch/i386/compile/LAN-GW i386
Architecture: i386
Machine: i386
	A recent change to lib/libc/sys/makelintstub requires CPP
	to be set in the environent before using it. libc/sys/
	was changed to set CPP, but makelintstub is also used from
	Use on a netbsd-1-6 tree:

dependall ===> libposix
sh /usr/src/lib/libposix/../libc/sys/makelintstub -o LintSysPseudo.c -p  -s /usr/include/sys/syscall.h chown.S fchown.S lchown.S rename.S
usage: /usr/src/lib/libposix/../libc/sys/makelintstub [-n|-p] [-o filename] object ...
       The CPP environment variable must be set
       to the path to the C preprocessor.
*** Error code 1


See lib/libc/sys/ for comparison.

RCS file: /anoncvs/basesrc/lib/libposix/sys/,v
retrieving revision 1.13
diff -u -r1.13
---	2002/01/29 19:03:01	1.13
+++	2002/11/14 08:54:57
@@ -21,5 +21,5 @@
 LintSysPseudo.c: ${.CURDIR}/../libc/sys/makelintstub \
-	sh ${.CURDIR}/../libc/sys/makelintstub -o ${.TARGET} -p \
+	CPP=${CPP:Q} sh ${.CURDIR}/../libc/sys/makelintstub -o ${.TARGET} -p \
 	    -s ${DESTDIR}/usr/include/sys/syscall.h ${PSEUDO}