Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#63761 - [libgpg-error] build fails with gawk namespace conflict

Attached to Project: Arch Linux
Opened by Andreas Baumann (andreas_baumann) - Saturday, 14 September 2019, 12:14 GMT
Last edited by Andreas Radke (AndyRTR) - Sunday, 15 September 2019, 12:53 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Andreas Radke (AndyRTR)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

gawk: fatal: cannot use gawk builtin `namespace' as variable name

Additional info:
* package version(s): 1.36-1

Steps to reproduce:

asp export libgpg-error
cd libgpg-error
staging-x86_64-build

This sound like a nice trick, just patching the namespace before an autogen:

https://stackoverflow.com/questions/55664467/gawk-error-when-compiling-libgpg-error-in-crossdev-armv7a-environment
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Sunday, 15 September 2019, 12:53 GMT
Reason for closing:  Fixed
Additional comments about closing:  1.36-2
Comment by Andreas Baumann (andreas_baumann) - Saturday, 14 September 2019, 12:18 GMT
Builds with:

prepare() {
cd ${pkgname}-${pkgver}
sed -i \
-e "s/namespace/varerrno/g" \
src/{Makefile.am,mkstrtable.awk}
./autogen.sh
}
Comment by loqs (loqs) - Saturday, 14 September 2019, 12:22 GMT
https://github.com/gpg/libgpg-error/commit/7865041c77f4f7005282f10f9b6666b19072fbdf
Edit:
attached diff of PKGBUILD to apply patch and run autoreconf to regenerate autotools outputs.

Loading...