Subject: Re: build problem current
To: Wolfgang Rupprecht <wolfgang@wsrcc.com>
From: Paul B Dokas <dokas@cs.umn.edu>
List: current-users
Date: 01/28/1999 13:56:31
On 27 Jan 1999, Wolfgang Rupprecht wrote:
> 
> 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

I got around this by recompiling and installing /bin/sh.

Paul
--
Paul Dokas                                            dokas@cs.umn.edu
======================================================================
Don Juan Matus:  "an enigma wrapped in mystery wrapped in a tortilla."