Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 546348 - app-crypt/gnupg-2.1.3: Build failure with ldap useflag disabled
Summary: app-crypt/gnupg-2.1.3: Build failure with ldap useflag disabled
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Crypto team [DISABLED]
Depends on:
Reported: 2015-04-12 11:34 UTC by Kristian Fiskerstrand (RETIRED)
Modified: 2015-04-13 16:54 UTC (History)
2 users (show)

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

build.log (build.log,137.78 KB, text/plain)
2015-04-12 11:34 UTC, Kristian Fiskerstrand (RETIRED)

Note You need to log in before you can comment on or make changes to this bug.
Description Kristian Fiskerstrand (RETIRED) gentoo-dev 2015-04-12 11:34:02 UTC
Created attachment 401090 [details]

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:
Comment 3 Kristian Fiskerstrand (RETIRED) gentoo-dev 2015-04-13 16:54:55 UTC
+  13 Apr 2015; Kristian Fiskerstrand <>
+  +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