Subject: Re: Syntax error: "(" unexpected
To: Phil Pereira <>
From: Roland Illig <>
List: pkgsrc-users
Date: 01/15/2007 18:23:41
Phil Pereira 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
> Stop.
> make: stopped in /usr/pkgsrc/www/apache
> Any ideas on where to go from here to get pkgsrc building again?

First, run "make PKG_DEBUG_LEVEL=2" instead of simply "make". This will 
print a lot of details, of which only the last few lines before the 
"Syntax error" line are interesting. Post these lines here.