Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 476392 - =dev-libs/cyrus-sasl-2.1.16-r1 - Variable 'exec_prefix' not defined in '/usr/lib/pkgconfig/libsasl2.pc'
Summary: =dev-libs/cyrus-sasl-2.1.16-r1 - Variable 'exec_prefix' not defined in '/usr/...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2013-07-10 13:16 UTC by Anton Kochkov
Modified: 2022-02-23 00:54 UTC (History)
3 users (show)

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


Attachments
cyrus-sasl-2.1.26-pkgconfig.patch (cyrus-sasl-2.1.26-pkgconfig.patch,217 bytes, patch)
2013-12-10 14:53 UTC, Fabio Rossi
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Kochkov 2013-07-10 13:16:18 UTC
pkg-config --list-all /usr/lib/pkgconfig/libsasl2.pc
is failing with
Variable 'exec_prefix' not defined in '/usr/lib/pkgconfig/libsasl2.pc'
Comment 1 Eray Aslan gentoo-dev 2013-07-14 08:33:25 UTC
Please provide emerge --info output and the exact command that returns an error.  I can't reproduce it.  The fix is trivial if there is indeed an error.
Comment 2 Anton Kochkov 2013-07-25 22:24:45 UTC
(In reply to Eray Aslan from comment #1)
> Please provide emerge --info output and the exact command that returns an
> error.  I can't reproduce it.  The fix is trivial if there is indeed an
> error.

Sorry for the late response. I've checked a few my gentoo installations with the same cyrus-sasl version, and looks like libsasl2.pc is different.

it was:

libdir = ${exec_prefix}/lib

(... package description ...)

On the other pc it is

libdir = /usr/lib64

(... package description ...)
Comment 3 Fabio Rossi 2013-12-10 14:53:09 UTC
Created attachment 365054 [details, diff]
cyrus-sasl-2.1.26-pkgconfig.patch

Here is a simple patch to solve the issue
Comment 4 Larry the Git Cow gentoo-dev 2022-02-23 00:54:17 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a065bacc267e31d5dd4a64d416de800cb6bc6fdd

commit a065bacc267e31d5dd4a64d416de800cb6bc6fdd
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-02-23 00:52:37 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-02-23 00:53:47 +0000

    dev-libs/cyrus-sasl: add 2.1.28
    
    Java bindings dropped upstream. Fair amount of autotools changed upstream
    too so hopefully those issues are fixed.
    
    Bug: https://bugs.gentoo.org/539632
    Bug: https://bugs.gentoo.org/591358
    Bug: https://bugs.gentoo.org/409897
    Closes: https://bugs.gentoo.org/476392
    Closes: https://bugs.gentoo.org/818145
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-libs/cyrus-sasl/Manifest                       |   1 +
 dev-libs/cyrus-sasl/cyrus-sasl-2.1.28.ebuild       | 220 +++++++++++++++++++++
 ...yrus-sasl-2.1.28-fix-configure-time-check.patch |  50 +++++
 3 files changed, 271 insertions(+)