On Tue, Nov 05, 2019 at 03:08:23PM +0100, Frédéric Fauberteau wrote:
Le 2019-11-05 14:58, Frédéric Fauberteau a écrit :
> Module Name: pkgsrc
> Committed By: triaxx
> Date: Tue Nov 5 13:58:06 UTC 2019
>
> Modified Files:
> pkgsrc/bootstrap: bootstrap
>
> Log Message:
> boostrap: need_awk=yes for Arch Linux
>
> Arch uses GNU Awk 5 that breaks some regexps.
>
>
> To generate a diff of this commit:
> cvs rdiff -u -r1.271 -r1.272 pkgsrc/bootstrap/bootstrap
>
> Please note that diffs are not public domain; they are subject to the
> copyright notices on the relevant files.
This adds lang/nawk and sets "TOOLS_PLATFORM.awk?= /usr/pkg/bin/nawk"
to
mk.conf
Otherwise, I got the following error messages:
=> Checking for missing run-time search paths in pkg_chk-2.0.11
awk: /home/triaxx/pkgsrc/mk/check/check-shlibs-elf.awk:44: (FILENAME=-
FNR=1) warning: regexp escape sequence `\
' is not a known regexp operator
awk: /home/triaxx/pkgsrc/mk/check/check-shlibs-elf.awk:45: (FILENAME=-
FNR=1) warning: regexp escape sequence `\ ' is not a known
regexp
operator
Should not we fix awk scripts in mk/ to handle GNU Awk 5?
Yes, please revert that and just sort out the warnings. They are
harmless, just noisy.