Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 647706 - dev-libs/libgcrypt-1.8.2-r2 uses non-prefixed path to define GPG_ERROR_CONFIG
Summary: dev-libs/libgcrypt-1.8.2-r2 uses non-prefixed path to define GPG_ERROR_CONFIG
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Kristian Fiskerstrand (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-15 09:45 UTC by Gábor VIDA
Modified: 2018-02-15 17:09 UTC (History)
2 users (show)

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


Attachments
config.log (config.log,44.48 KB, text/plain)
2018-02-15 09:45 UTC, Gábor VIDA
Details
emerge --info (emerge_info.txt,6.20 KB, text/plain)
2018-02-15 09:47 UTC, Gábor VIDA
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gábor VIDA 2018-02-15 09:45:14 UTC
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.
Comment 1 Gábor VIDA 2018-02-15 09:47:39 UTC
Created attachment 519600 [details]
emerge --info
Comment 2 Alon Bar-Lev (RETIRED) gentoo-dev 2018-02-15 17:06:04 UTC
Sorry!
Comment 3 Larry the Git Cow gentoo-dev 2018-02-15 17:09:00 UTC
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(-)