Created attachment 519598 [details] config.log I tried to install libgcrypt in Prefix/RAP, which failed, because during the run of the configure script it found /usr/bin/x86_64-pc-linux-gnu-gpg-error-config as gpg-error-config instead of the more up-to-date and recent one in my prefix. This broke the configuration step of the installation: configure:14652: checking for gpg-error-config configure:14683: result: /usr/bin/x86_64-pc-linux-gnu-gpg-error-config configure:14692: checking for GPG Error - version >= 1.25 configure:14751: result: no configure:14761: error: libgpg-error is needed. After replacing this line in the ebuild's multilib_src_configure(): GPG_ERROR_CONFIG=/usr/bin/${CHOST}-gpg-error-config to this: GPG_ERROR_CONFIG=${EPREFIX}/usr/bin/${CHOST}-gpg-error-config Then libgcrypt found the gpg-error-config installed into my prefix and been merged successfully.
Created attachment 519600 [details] emerge --info
Sorry!
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=095a6ba36526256283c2918c88cc55b0e59906c5 commit 095a6ba36526256283c2918c88cc55b0e59906c5 Author: Alon Bar-Lev <alonbl@gentoo.org> AuthorDate: 2018-02-15 16:40:13 +0000 Commit: Alon Bar-Lev <alonbl@gentoo.org> CommitDate: 2018-02-15 16:40:32 +0000 dev-libs/libgcrypt: fix prefix path for gpg-error-config Package-Manager: Portage-2.3.19, Repoman-2.3.6 Closes: https://bugs.gentoo.org/show_bug.cgi?id=647706 dev-libs/libgcrypt/libgcrypt-1.8.2-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)