Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 835751 - app-crypt/gpgme: fails to cross-compile
Summary: app-crypt/gpgme: fails to cross-compile
Status: RESOLVED DUPLICATE of bug 811933
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: riscv Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2022-03-21 16:48 UTC by Marcelo Politzer
Modified: 2022-03-21 18:45 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcelo Politzer 2022-03-21 16:48:43 UTC
The following patch was applied to achieve cross compilation.



```
diff --git a/app-crypt/gpgme/gpgme-1.17.0-r1.ebuild b/app-crypt/gpgme/gpgme-1.17.0-r1.ebuild
index d797fd48b23..b36e41bee27 100644
--- a/app-crypt/gpgme/gpgme-1.17.0-r1.ebuild
+++ b/app-crypt/gpgme/gpgme-1.17.0-r1.ebuild
@@ -75,6 +75,7 @@ src_configure() {
 	econf \
 		$([[ -n "${SKIP_TESTS}" ]] && echo "--disable-gpg-test --disable-gpgsm-test") \
 		--enable-languages="${languages[*]}" \
+		--with-libassuan-prefix=${ESYSROOT}/usr \
 		$(use_enable static-libs static)
 
 	use python && emake -C lang/python prepare
```
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-03-21 16:51:12 UTC
I think I applied this a few weeks ago?
Comment 2 Marcelo Politzer 2022-03-21 18:35:07 UTC
Just checked again and the patch is there, for version: gpgme-1.17.1.ebuild
closing it as resolved.
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-03-21 18:45:20 UTC
https://gitweb.gentoo.org/repo/gentoo.git/commit/app-crypt/gpgme?id=313127751b219670d3c256a9c50dbf3ed6fca900

*** This bug has been marked as a duplicate of bug 811933 ***