Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 546348

Summary: app-crypt/gnupg-2.1.3: Build failure with ldap useflag disabled
Product: Gentoo Linux Reporter: Kristian Fiskerstrand (RETIRED) <k_f>
Component: Current packagesAssignee: Crypto team [DISABLED] <crypto+disabled>
Status: RESOLVED FIXED    
Severity: normal CC: bertrand, k_f
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://lists.gnupg.org/pipermail/gnupg-devel/2015-April/029700.html
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Kristian Fiskerstrand (RETIRED) gentoo-dev 2015-04-12 11:34:02 UTC
Created attachment 401090 [details]
build.log

GnuPG 2.1.3 has introduced a hard dependency on LDAP, resulting in failure if openldap is not present despite being configured with --without-ldap. Build log attached. Checking with upstream whether this is intentional and looking if it is an easy fix using ifdef enclosures.
Comment 1 Hanno Böck gentoo-dev 2015-04-12 12:22:35 UTC
I had seen that already a few days ago in gnupg's git and reported it to the upstream bugtracker:
https://bugs.g10code.com/gnupg/issue1949
Comment 3 Kristian Fiskerstrand (RETIRED) gentoo-dev 2015-04-13 16:54:55 UTC
+  13 Apr 2015; Kristian Fiskerstrand <k_f@gentoo.org>
+  +files/gnupg-2.1.3-dirmngr-no-ldap.patch, gnupg-2.1.3.ebuild:
+  Fix build when ldap useflag is not set, bug #546348
+

Please re-open if the issue persists