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

Bug 536306

Summary: net-nds/openldap: don't build dead addrdnvalues plugin
Product: Gentoo Linux Reporter: DIZ <daniel.ibnzayd>
Component: Current packagesAssignee: Gentoo LDAP project <ldap-bugs>
Status: RESOLVED WONTFIX    
Severity: normal CC: prefix
Priority: Normal    
Version: unspecified   
Hardware: PPC   
OS: OS X   
Whiteboard: Was: Bug 536306 - net-nds/openldap - powerpc-apple-darwin9-gcc: Undefined symbols for architecture ppc: "_slapi_pblock_set", referenced from: _addrdnvalues_preop_init in ... (edit)
Package list:
Runtime testing required: ---
Attachments: build.log for openldap-2.4.35-r1

Description DIZ 2015-01-11 11:36:52 UTC
Created attachment 393682 [details]
build.log for openldap-2.4.35-r1

Both of the latest builds marked stable for ppc (openldap-2.4.35-r1 and openldap-2.4.38-r2) error out when they get to the libaddrdnvalues-plugin:

 * Building contrib-module: addrdnvalues plugin
Undefined symbols for architecture ppc:
  "_slapi_pblock_set", referenced from:
      _addrdnvalues_preop_init in cclXT5Cy.o
  "_slapi_log_error", referenced from:
      _addrdnvalues_preop_init in cclXT5Cy.o
      _addrdnvalues_preop_add in cclXT5Cy.o
  "_slapi_pblock_get", referenced from:
      _addrdnvalues_preop_add in cclXT5Cy.o
  "_slapi_entry_add_rdn_values", referenced from:
      _addrdnvalues_preop_add in cclXT5Cy.o
  "_slapi_send_ldap_result", referenced from:
      _addrdnvalues_preop_add in cclXT5Cy.o
  "_ldap_err2string", referenced from:
      _addrdnvalues_preop_add in cclXT5Cy.o
ld: symbol(s) not found for architecture ppc

I've researched the plug-in and its components searching for possible fixes but have not turned up anything. Any clues here are greatly appreciated.

PS: This is a Gentoo Prefix set up I am working with.
Comment 1 DIZ 2015-01-23 16:53:31 UTC
This bug can be retired.

I've been informed by the openldap team that the plugin I mention here is deprecated; In attempting to install the latest version of openldap, which pulls in lmdb, I've submitted the bug I've found for PPC directly to them.
Comment 2 DIZ 2015-01-23 16:58:44 UTC
Wait! I'm back.

I received this:

"Just a note:

LMDB should not be pulled separately from OpenLDAP.  I.e., only the bundled version of LMDB should be used with a given version of OpenLDAP."

Is there a reason that openldap pulls in lmdb?
Comment 3 DIZ 2015-01-23 17:21:35 UTC
Nevermind. My sincere apologies. I see the reverse dependency in the build.
Comment 4 Fabian Groffen gentoo-dev 2015-04-26 09:41:38 UTC
so what exactly is the (remaining) problem for this bug?
Comment 5 DIZ 2015-04-26 09:51:58 UTC
That this plugin is not needed, yet the ebuild includes it:

___
Appears to be a bug in gentoo's build rules for this plugin. The 
OpenLDAP Project doesn't supply build rules for this plugin, so there's 
nothing for us to fix here. Closing this ITS.

Note that the function of this particular plugin was superseded long 
ago, there's no reason to even build it.
___
http://www.openldap.org/lists/openldap-bugs/201501/msg00074.html
Comment 6 Fabian Groffen gentoo-dev 2019-11-10 16:04:49 UTC
This bug on this platform is obsolete and not worth fixing.