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

Bug 441606

Summary: net-nds/openldap[gnutls] should depend on <net-libs/gnutls-3
Product: Gentoo Linux Reporter: Joe Sapp (RETIRED) <nixphoeni>
Component: New packagesAssignee: Gentoo LDAP project <ldap-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: Adrian.Bassett, tetromino
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 421391    
Attachments: Build log
emerge --info '=net-nds/openldap-2.4.33'

Description Joe Sapp (RETIRED) gentoo-dev 2012-11-03 19:03:15 UTC
Created attachment 328232 [details]
Build log

net-nds/openldap-2.4.33 fails to compile with the "gnutls" use flag with >=net-libs/gnutls-3 installed.  See https://www.gnu.org/software/gnutls/manual/html_node/Upgrading-from-previous-versions.html#Upgrading-from-previous-versions .  The function "gnutls_certificate_get_x509_cas" was removed after 2.12.x, but it is used in libraries/libldap/tls_g.c.

This is not a duplicate of bug #337504 since it doesn't depend on the "nettle" USE flag in net-libs/gnutls.

This is probably an upstream issue.  I was able to dig up the following links if anybody wants to tackle it:
http://git.savannah.gnu.org/gitweb/?p=gnutls.git;a=commitdiff;h=83ff33e7fdc369b8d4030f78633a6e279c51425f
http://old.nabble.com/upgrading-from-2-to-3%3A-gnutls_certificate_get_x509_c%7Ba,rl%7Ds-td34313715.html
Comment 1 Joe Sapp (RETIRED) gentoo-dev 2012-11-03 19:07:18 UTC
Created attachment 328234 [details]
emerge --info '=net-nds/openldap-2.4.33'
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2012-11-04 16:10:04 UTC

*** This bug has been marked as a duplicate of bug 421463 ***