Subject: pkgsrc current fails to build on NetBSD current
To: None <pkgsrc-users@netbsd.org>
From: None <antiright@gmail.com>
List: pkgsrc-users
Date: 07/19/2006 13:35:49
After updating pkgsrc yesterday, building any package fails as follows:

=> Required installed package digest>=20010302: digest-20060302 found
=> Fetching xuvmstat20050909.tar.gz
/usr/bin/awk: syntax error at source line 1
 context is
	 BEGIN { RS = >>>  \ <<< " \"; ORS = \" \"; IGNORECASE = 1 ; gl = \"://[^/]*\\.org/ ://[^/]*\\.com/ ://[^/]*\\.ca/\"; } /:\/\/[^\/]*\.org\// { good[\"://[^/]*\\.org/\"] = good[\"://[^/]*\\.org/\"] \" \" $0 ; next; } /:\/\/[^\/]*\.com\// { good[\"://[^/]*\\.com/\"] = good[\"://[^/]*\\.com/\"] \" \" $0 ; next; } /:\/\/[^\/]*\.ca\// { good[\"://[^/]*\\.ca/\"] = good[\"://[^/]*\\.ca/\"] \" \" $0 ; next; } { rest = rest \" \" $0; } END { n=split(gl, gla); for(i=1;i<=n;i++) { print good[gla[i]]; } print rest; }
	 /usr/bin/awk: illegal statement at source line 1
	 usage: fetch [-c] [-f distinfo] [-r] file site ...
	 *** Error code 1

	 Stop.
	 make: stopped in /usr/pkgsrc/sysutils/xuvmstat

Any assistance with this issue would be appreciated.
Perhaps this indicates a dependency on GNU awk.

Jeff