Configure fails with an error resulting from a failure to find libassuan: configure: *** *** You need libassuan to build this program. *** This library is for example available at *** ftp://ftp.gnupg.org/gcrypt/libassuan/ *** (at least version 2.1.0 (API 2) is required). But libassuan is installed: # equery list libassuan * Searching for libassuan ... [IP-] [ ] dev-libs/libassuan-3.0.0:0/3.0 Reproducible: Always
Created attachment 896288 [details] build.log
Created attachment 896289 [details] emerge --info
/var/tmp/portage/app-crypt/pinentry-1.2.1-r7/work/pinentry-1.2.1/config.log would potentially be useful too
Created attachment 896312 [details] config.log
Uploaded. I see this which looks relevant: configure:8562: checking LIBASSUAN API version configure:8569: result: does not match. want=2 got=3. I'm using the stable version of libassuan which is 3.
(In reply to Carlos Konstanski from comment #5) libassuan-3 isn't stable yet, fwiw.
https://git.gnupg.org/cgi-bin/gitweb.cgi?p=pinentry.git;a=commit;h=a39ba412ab24721d4edb6476156371f8bf1d3ff9
I misinterpreted the equery output. Indeed I have libassuan keyworded. I must have done that in the past to satisfy some dependency. I just removed the keyword and emerge seems happy with that. pinentry built successfully with libassuan-2.5.7.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b07caa9d1459f9cba33cb8e7fceddf23a36583d commit 7b07caa9d1459f9cba33cb8e7fceddf23a36583d Author: Sam James <sam@gentoo.org> AuthorDate: 2024-06-24 03:00:35 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-06-24 03:00:35 +0000 app-crypt/pinentry: allow <1.3 to build w/ >=libassuan-3 Delete the bundled macro so it uses the system copy which knows libassuan-3 is compatible with libassuan-2 API-wise. Closes: https://bugs.gentoo.org/934771 Signed-off-by: Sam James <sam@gentoo.org> .../files/pinentry-1.2.1-libassuan-3.patch | 46 ++++++++++++++++++++++ app-crypt/pinentry/pinentry-1.2.1-r7.ebuild | 3 ++ app-crypt/pinentry/pinentry-1.2.1-r8.ebuild | 3 ++ 3 files changed, 52 insertions(+)