libgpg-error failed to build from source in Fedora rawhide/f31 https://koji.fedoraproject.org/koji/taskinfo?taskID=36634941 For details on the mass rebuild see: https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild Please fix libgpg-error at your earliest convenience and set the bug's status to ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks, libgpg-error will be orphaned. Before branching of Fedora 32, libgpg-error will be retired, if it still fails to build. For more details on the FTBFS policy, please visit: https://fedoraproject.org/wiki/Fails_to_build_from_source
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