Subject: Re: pkgsrc current fails to build on NetBSD current
To: None <antiright@gmail.com, pkgsrc-users@netbsd.org>
From: Zafer Aydogan <zafer.aydogan@gmail.com>
List: pkgsrc-users
Date: 07/19/2006 23:22:50
Remove your MASTER_SORT settings from /etc/mk.conf
and update your pkgsrc repository.

-Zafer.

2006/7/19, antiright@gmail.com <antiright@gmail.com>:
> 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
>
>