pkg-config --list-all /usr/lib/pkgconfig/libsasl2.pc is failing with Variable 'exec_prefix' not defined in '/usr/lib/pkgconfig/libsasl2.pc'
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.
(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 ...)
Created attachment 365054 [details, diff] cyrus-sasl-2.1.26-pkgconfig.patch Here is a simple patch to solve the issue
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(+)