Bug 1736016
| Summary: | libgpg-error: FTBFS in Fedora rawhide/f31: gawk: fatal: cannot use gawk builtin `namespace' as variable name | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Fedora Release Engineering <releng> | ||||
| Component: | libgpg-error | Assignee: | Red Hat Crypto Team <crypto-team> | ||||
| Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 31 | CC: | crypto-team, mwasilewski, ppisar, rdieter, tmraz | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| URL: | https://dev.gnupg.org/T4459 | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | libgpg-error-1.36-2.fc31 | Doc Type: | If docs needed, set a value | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2019-08-15 05:27:25 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Bug Depends On: | |||||||
| Bug Blocks: | 1700317, 1732841 | ||||||
| Attachments: |
|
||||||
|
Description
Fedora Release Engineering
2019-08-01 14:09:30 UTC
Created attachment 1597471 [details]
build.log
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle. Changing version to '31'. This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle. Changing version to 31. The error message is:
make[2]: Entering directory '/home/test/fedora/libgpg-error/libgpg-error-1.36/src'
gawk -f ./mkerrnos.awk ./errnos.in >code-to-errno.h
gawk: ./mkerrnos.awk:86: warning: regexp escape sequence `\#' is not a known regexp operator
gawk -f ./mkerrcodes1.awk ./errnos.in >_mkerrcodes.h
gawk: ./mkerrcodes1.awk:84: warning: regexp escape sequence `\#' is not a known regexp operator
gcc -E -P _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
gcc -I. -I. -o mkerrcodes ./mkerrcodes.c
./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[2]: *** [Makefile:1617: errnos-sym.h] Error 2
make[2]: Leaving directory '/home/test/fedora/libgpg-error/libgpg-error-1.36/src'
This issue is known to upstream <https://dev.gnupg.org/T4459> and fixed in upstream with this commit: commit 7865041c77f4f7005282f10f9b6666b19072fbdf Author: NIIBE Yutaka <gniibe> Date: Mon Apr 15 15:10:44 2019 +0900 awk: Prepare for Gawk 5.0. * src/Makefile.am: Use pkg_namespace (instead of namespace). * src/mkerrnos.awk: Likewise. * lang/cl/mkerrcodes.awk: Don't escape # in regexp. * src/mkerrcodes.awk, src/mkerrcodes1.awk, src/mkerrcodes2.awk: Ditto. -- In Gawk 5.0, regexp routines are replaced by Gnulib implementation, which only allows escaping specific characters. GnuPG-bug-id: 4459 Reported-by: Marius Schamschula Signed-off-by: NIIBE Yutaka <gniibe> Are you going to fix this package or can I do it instead of you? I am going to do it. Thank you for the investigation! The issue was marked as fixed in version `libgpg-error-1.36-2.fc31` , but I'm still seeing it on Fedora 31 in `libgpg-error.x86_64 1.36-2.fc31` and `gawk.x86_64 5.0.1-5.fc31`, it's also reported by other users here: https://github.com/KittyKatt/screenFetch/issues/627#issuecomment-560373424 any chance we can get libgpg-error rebuilt (with the patch) for F31? let me know if there's anything I can help with |