HomeFreeBSD

net-mgmt/check_nwc_health: Work around port scout failure

Description

net-mgmt/check_nwc_health: Work around port scout failure

Out of the blue (on 6-Apr-2022) pkg-fallout started objecting to
an awk expression in a support script:

    /usr/bin/awk: syntax error in regular expression ^#! ?\/.*\/[a-z]{0,2}awk at 0
     source line number 44 source file ./subst
     context is
	    /^#! ?\/.*\/[a-z]{0,2}awk/ {sub(/^#! ?\/.*\/[a-z]{0,2}awk/,"#! >>>  /usr/bin/awk") <<< ;}
    *** [check_nwc_health] Error code 2

This only happens with 12.3 and the amd64 and arm64 architectures
and I have never been able to reproduce the error in a poudriere
jail.

Remove the offending expression (which is not used by check_nwc_health).

Reported by: portscout

Details

Provenance
leresAuthored on Jun 4 2022, 5:53 PM
Parents
R11:3a2b2ea88418: net/gitup: Update to 0.97
Branches
Unknown
Tags
Unknown