Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nasty awk error #1

Open
oldpink opened this issue May 28, 2019 · 0 comments
Open

Nasty awk error #1

oldpink opened this issue May 28, 2019 · 0 comments

Comments

@oldpink
Copy link

oldpink commented May 28, 2019

I consistently get this nasty error whenever I attempt to build your latest git pull:

cd . && /bin/sh ./config.status config.h
config.status: creating config.h
make all-recursive
make[1]: Entering directory '/root/libgpg-error'
Making all in m4
make[2]: Entering directory '/root/libgpg-error/m4'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/root/libgpg-error/m4'
Making all in src
make[2]: Entering directory '/root/libgpg-error/src'
gawk -f ./mkstrtable.awk -v textidx=3
./err-sources.h.in >err-sources.h
gawk -f ./mkstrtable.awk -v textidx=3
./err-codes.h.in >err-codes.h
gawk -f ./mkerrnos.awk ./errnos.in >code-to-errno.h
gawk -f ./mkerrcodes1.awk ./errnos.in >mkerrcodes.h
gawk -f ./mkstrtable.awk -v textidx=2 -v nogettext=1
./err-sources.h.in >err-sources-sym.h
gawk -f ./mkstrtable.awk -v textidx=2 -v nogettext=1
./err-codes.h.in >err-codes-sym.h
gawk -f ./mkstrtable.awk -v textidx=2 -v nogettext=1
-v prefix=GPG_ERR
-v namespace=errnos_
./errnos.in >errnos-sym.h
gawk: fatal: cannot use gawk builtin namespace' as variable name make[2]: *** [Makefile:1133: errnos-sym.h] Error 2 make[2]: *** Waiting for unfinished jobs.... gawk: gawk: ./mkstrtable.awk:./mkstrtable.awk:113: 113: warning: warning: regexp escape sequence #' is not a known regexp operatorregexp escape sequence `#' is not a known regexp operator

gawk: ./mkerrnos.awk:86: warning: regexp escape sequence \#' is not a known regexp operator gawk: ./mkerrcodes1.awk:84: warning: regexp escape sequence #' is not a known regexp operator
gawk: ./mkstrtable.awk:113: warning: regexp escape sequence \#' is not a known regexp operator gawk: ./mkstrtable.awk:113: warning: regexp escape sequence #' is not a known regexp operator
gcc -E mkerrcodes.h | grep GPG_ERR |
gawk -f ./mkerrcodes.awk >mkerrcodes.h
gawk: ./mkerrcodes.awk:88: warning: regexp escape sequence `#' is not a known regexp operator
rm _mkerrcodes.h
make[2]: Leaving directory '/root/libgpg-error/src'
make[1]: *** [Makefile:452: all-recursive] Error 1
make[1]: Leaving directory '/root/libgpg-error'
make: *** [Makefile:384: all] Error 2

I'm not enough of an awk expert to know how to fix this by hand, so I'm letting you know about it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant