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

FS#2337 - libgpg-error compile error with gawk-5.0+ #7320

Closed
openwrt-bot opened this issue Jun 24, 2019 · 1 comment
Closed

FS#2337 - libgpg-error compile error with gawk-5.0+ #7320

openwrt-bot opened this issue Jun 24, 2019 · 1 comment
Labels

Comments

@openwrt-bot
Copy link

nobk:

Supply the following if possible:

  • Device problem occurs on
    build host with gawk 5.0+ installed.
  • Software versions of OpenWrt/LEDE release, packages, etc.
    git master
  • Steps to reproduce
  1. upgrade host gawk to 5.0+
  2. make package/libgpg-error/clean
  3. make -j1 V=s package/libgpg-error/compile
--CUT-- ./mkerrcodes | gawk -f ./mkerrcodes2.awk >code-from-errno.h gawk: ./mkerrcodes2.awk:94: warning: regexp escape sequence `\#' is not a known regexp operator gawk -f ./mkstrtable.awk -v textidx=2 -v nogettext=1 \ ./err-sources.h.in >err-sources-sym.h gawk: ./mkstrtable.awk:113: warning: regexp escape sequence `\#' is not a known regexp operator gawk -f ./mkstrtable.awk -v textidx=2 -v nogettext=1 \ ./err-codes.h.in >err-codes-sym.h gawk: ./mkstrtable.awk:113: warning: regexp escape sequence `\#' is not a known regexp operator 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[5]: *** [Makefile:1616: errnos-sym.h] Error 2 --CUT--
@openwrt-bot
Copy link
Author

FrederickZh:

I can confirm this issue.

There is already a patch available at https://dev.gnupg.org/T4459 and I managed to build after applying it (src/Makefile.am hunk failed perhaps due to indentation, simple enough to manually replace 'namespace=' with 'pkg_namespace=' in the file) and running autogen.sh.

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

No branches or pull requests

1 participant