Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 519200 - app-crypt/gnupg-2.1.0_beta751 should depend on net-nds/openldap
Summary: app-crypt/gnupg-2.1.0_beta751 should depend on net-nds/openldap
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Crypto team [DISABLED]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-06 12:12 UTC by Mira Ressel
Modified: 2014-08-18 22:44 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mira Ressel 2014-08-06 12:12:13 UTC
If there are no ldap libraries around, gnupg fails to build with the following configure error: 

  configure:
  ***
  *** The Dirmngr part requires an LDAP library
  *** Check out
  ***    http://www.openldap.org
  *** for a suitable implementation.
  ***
  configure: error: 
  ***
  *** Required libraries not found. Please consult the above messages
  *** and install them before running configure again.
  ***
Comment 1 Kristian Fiskerstrand (RETIRED) gentoo-dev 2014-08-07 07:53:03 UTC
Indeed, for 2.1 the dirmngr is responsible for all keyserver access (actually all network access) and dirmngr require openldap. Although it is possible to build 2.1 with --disable-dirmngr to avoid this dependency I'm not sure how useful this would be. In any case openldap should be added as a dependency. 

That said, looking through the ebuild I see a few other quirks as well, e.g. no gnutls dependency that is required for HKPS access to the keyservers. The ebuild also tries to install the old keyserver helpers, that are no longer part of 2.1.

That said, I haven't tried the ebuild in question as I'm using a live ebuild from my layman[mercurial]:k_f repository[0] (installs in a different slot) - but will see if I can give it a proper review over the next few days. 

[0] https://bitbucket.org/kristianf/portage-overlay/src/tip/app-crypt/gnupg/gnupg-9999.ebuild?at=default
Comment 2 Kristian Fiskerstrand (RETIRED) gentoo-dev 2014-08-18 22:44:38 UTC
+  18 Aug 2014; Kristian Fiskerstrand <k_f@gentoo.org>
+  +gnupg-2.1.0_beta783.ebuild, -gnupg-2.1.0_beta751.ebuild:
+  Bump 2.1 version to beta783. Fix bug #519200