pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/48259: bsd.wrapper.mk and gawk 3.1.8
>Number: 48259
>Category: pkg
>Synopsis: bsd.wrapper.mk and gawk 3.1.8
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Oct 02 13:05:00 +0000 2013
>Originator: Richard PALO
>Release: pkgsrc trunk
>Organization:
>Environment:
SunOS x3200 5.11 illumos-gate i86pc i386 i86pc Solaris
>Description:
no observations in tech-pkg, therefore submitted as a bug.
-------- Message original --------
Sujet: bsd.wrapper.mk and gawk 3.1.8
Date : Sun, 22 Sep 2013 20:00:01 +0200
De : Richard PALO <richard.palo%free.fr@localhost>
Pour : tech-pkg%netbsd.org@localhost
Groupes de discussion: gmane.os.netbsd.devel.packages
apparently the native gawk package (3.1.8) on certain solaris systems
have a problem with the following from bsd.wrapper.mk:
> # Filter to scrunch shell scripts by removing comments and empty lines.
> _WRAP_SH_CRUNCH_FILTER= ${AWK} ' \
> /^\#!/ { print } \
> /^[[:space:]]*\#/ || NF == 0 { next } \
> /.*/ { print } \
> '
Particular uncomfortable during a bootstrap, as it gives the following:
> ===> Extracting for bootstrap-mk-files-20130912
> ===> Patching for bootstrap-mk-files-20130912
> ===> Creating toolchain wrappers for bootstrap-mk-files-20130912
> gawk: fatal: Unmatched [ or [^: /^[[:space:]]*#/
confirmed with the quick test:
richard@devzone:~$ cat ~/.profile |gawk ' \
/^\#!/ { print } \
/^[[:space:]]\#/ || NF == 0 { next } \
/.*/ { print } \
'
gawk: cmd. line:3: fatal: Unmatched [ or [^: /^[[:space:]]\#/
which works with the pkgsrc gawk.
Is there not a means make this statement work with 3.1.8?
The wrappers should probably be able to work with native tools where possible
and, by all appearances, not all platforms are up to 4.0
including solaris.
>How-To-Repeat:
>Fix:
Home |
Main Index |
Thread Index |
Old Index