seahorse: misbuild on 64-bit architectures due to missing ldap prototypes

Bug #187328 reported by Steve Langasek
4
Affects Status Importance Assigned to Milestone
seahorse
Fix Released
Medium
seahorse (Debian)
Fix Released
Unknown
seahorse (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Binary package hint: seahorse

seahorse misbuilds on 64-bit architectures (amd64,ia64) with the most recent libldap2-dev, because certain functions are no longer exported in ldap.h by default, resulting in certain pointer return values being implicitly treated as ints. The error can be seen in the Debian ia64 build log for the latest seahorse binNMU:

http://buildd.debian.org/fetch.cgi?pkg=seahorse;ver=2.20.3-1%2Bb1;arch=ia64;stamp=1201299907

 Function `ldap_init' implicitly converted to pointer at seahorse-ldap-source.c:642

 Our automated build log filter detected the problem(s) above that will
 likely cause your package to segfault on architectures where the size of
 a pointer is greater than the size of an integer, such as ia64 and amd64.

 This is often due to a missing function prototype definition.

 Since use of implicitly converted pointers is always fatal to the application
 on ia64, they are errors. Please correct them for your next upload.

 More information can be found at:
     http://wiki.debian.org/ImplicitPointerConversions

This should be solved either by building with -DLDAP_DEPRECATED, or updating seahorse to use ldap_initialize() and ldap_sasl_bind_s() instead of ldap_init() and ldap_simple_bind_s().

Related branches

Steve Langasek (vorlon)
Changed in seahorse:
importance: Undecided → High
status: New → Confirmed
Changed in seahorse:
status: Confirmed → Triaged
Changed in seahorse:
status: Unknown → New
Changed in seahorse:
status: Unknown → New
Revision history for this message
Pedro Fragoso (ember) wrote :

seahorse (2.21.91-0ubuntu2) hardy; urgency=low

  * debian/rules:
    - Added CFLAGS = -DLDAP_DEPRECATED to fix misbuild on 64 arch (LP: #187328)

 -- Pedro Fragoso <email address hidden> Fri, 08 Feb 2008 00:19:25 +0000

Revision history for this message
Pedro Fragoso (ember) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package seahorse - 2.21.91-0ubuntu2

---------------
seahorse (2.21.91-0ubuntu2) hardy; urgency=low

  * debian/rules:
    - Added CFLAGS += -DLDAP_DEPRECATED to fix misbuild on 64 arch (LP: #187328)

 -- Pedro Fragoso <email address hidden> Fri, 08 Feb 2008 00:19:25 +0000

Changed in seahorse:
status: Triaged → Fix Released
Changed in seahorse:
status: New → Fix Released
Changed in seahorse:
status: New → Fix Released
Changed in seahorse:
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.