Please backport the upstream fix for cross-compiling to work with 1.42.
Created attachment 694278 [details, diff] fix.patch
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0427b4fad29a1a5f8d5d60b02e5a8ef018061e91 commit 0427b4fad29a1a5f8d5d60b02e5a8ef018061e91 Author: David Michael <fedora.dm0@gmail.com> AuthorDate: 2021-03-26 13:10:15 +0000 Commit: Lars Wendler <polynomial-c@gentoo.org> CommitDate: 2021-03-26 13:15:31 +0000 dev-libs/libgpg-error: fix cross-compiling 1.42 Closes: https://bugs.gentoo.org/778410 Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: David Michael <fedora.dm0@gmail.com> Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> .../files/libgpg-error-1.42-cross_compile.patch | 32 ++++++++++++++++++++++ dev-libs/libgpg-error/libgpg-error-1.42.ebuild | 1 + 2 files changed, 33 insertions(+)