Subject: toolchain/16802: build of netbsd-1-5 on 1.5ZC break for cpp change
To: None <gnats-bugs@gnats.netbsd.org>
From: None <smi@sm.sony.co.jp>
List: netbsd-bugs
Date: 05/14/2002 15:29:42
>Number:         16802
>Category:       toolchain
>Synopsis:       build of netbsd-1-5 on 1.5ZC break for cpp change
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon May 13 23:30:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD 1.5ZC
>Organization:
Sony Corporation
>Environment:
System: NetBSD skysensor 1.5ZC NetBSD 1.5ZC (SKYSENSOR) #15: Tue Apr 16 20:34:45 JST 2002 smi@skysensor:/work/nb/src/sys/arch/i386/compile/SKYSENSOR i386
Architecture: i386
Machine: i386
>Description:
	Build of netbsd-1-5 branch (as of May 14 2002) on 1.5ZC fails
at src/usr.sbin/lpr. This is because
$DESTDIR/usr/include/sys/ioctl_compat.h is overwritten by someone else
while the build.
I found src/usr.bin/kdump/mkioctls has overwritten ioctl_compat.h, and
this is caused by the change of cpp behaviour invoked in mkioctls script.
on 1.5.1: cpp a b produce its output on stdout,
on 1.5ZC: cpp a b produce its output on 'b', but mkioctls is changed not
to use cpp but ${CC}!.
>How-To-Repeat:
	Build netbsd-1-5 branch on -current.
>Fix:
	Change mkioctls(netbsd-1-5) as the same as -current.


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