tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: pkgsrc/bootstrap



Le 2019-11-05 15:12, Joerg Sonnenberger a écrit :
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.

Okay, but I do not know a priori that warnings are harmless and they do not give me confidence with the success of operations.

I do not want to risk to break awk scripts, I do not know the language. For now, I would prefer that Arch uses a awk implementation seeming safe for pkgsrc.

Home | Main Index | Thread Index | Old Index