Subject: Re: Syntax error: "(" unexpected
To: Phil Pereira <phil@bsdnexus.com>
From: Steven M. Bellovin <smb@cs.columbia.edu>
List: pkgsrc-users
Date: 01/15/2007 13:50:42
On Mon, 15 Jan 2007 17:04:03 +0000
Phil Pereira <phil@bsdnexus.com> wrote:

> Hi all,
> 
> I have a NetBSD 2.0 server running in a production environemnt. I
> updated pkgsrc to current today and get an error each time I try to
> build *anything* from pkgsrc. I tried a clean checkout of pkgsrc to
> see if that would help - but the same issue was faced.
> 
> Here's what happens:
> 
> # cd /usr/pkgsrc/www/apache
> # make
> => Required installed package digest>=20010302: digest-20060826 found
> Syntax error: "(" unexpected
> *** Error code 2
> 

That message frequently indicates a binary file is being passed to the
shell as a shell script, because it wasn't executable by the kernel.


		--Steve Bellovin, http://www.cs.columbia.edu/~smb