Subject: build problem current
To: None <current-users@netbsd.org>
From: Wolfgang Rupprecht <wolfgang@wsrcc.com>
List: current-users
Date: 01/27/1999 17:50:14
lint -chapbxzF -D_LIBC -DNLS -DYP -DHESIOD -DLIBC_SCCS -DSYSLIBC_SCCS -D_REENTRA
NT -I/v/src/netbsd/NetBSD-current/usr/src/lib/libc/include -D__DBINTERFACE_PRIVA
TE -DRESOLVSORT -I. -DPOSIX_MISTAKE -DFLOATING_POINT -i /v/src/netbsd/NetBSD-cur
rent/usr/src/lib/libc/sys/Lint_syscall.c
creating LintSysNormal.c
/v/src/netbsd/NetBSD-current/usr/src/lib/libc/sys/makelintstub: arith: syntax er
ror: "e"

The error seems to be related to the makelintstub shell script.  The
following line seems to be failing:

makelintstub:118:		*) echo -n "$arg arg$i"; i=$(($i + 1));;

Changing /usr/src/lib/libc/sys/Makefile.inc so that it invokes bash as
the script interpreter for makelintstub seemed to get it over the hump.  
Is /bin/sh broken somehow?

-wolfgang
-- 
       Wolfgang Rupprecht <wolfgang+gnus@dailyplanet.wsrcc.com>
		    http://www.wsrcc.com/wolfgang/
Get DGPS signals over IP.  http://www.wsrcc.com/wolfgang/gps/dgps-ip.html