FS#10992 - [libldap] ABS build fails:

Attached to Project: Arch Linux
Opened by Bruno Widmann (bwid) - Wednesday, 23 July 2008, 06:49 GMT
Last edited by Allan McRae (Allan) - Monday, 14 September 2009, 05:02 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Douglas Soares de Andrade (dsa)
Ronald van Haren (pressh)
Allan McRae (Allan)
Architecture All
Severity Low
Priority Normal
Reported Version None
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
makepkg of the libldap ABS fails with:
cc -march=core2 -g -pipe -I../../include -I../../include -c -o getpeereid.o getpeereid.c
getpeereid.c: In function ‘getpeereid’:
getpeereid.c:52: error: storage size of ‘peercred’ isn’t known

Fix:
[bruno@myhost libldap]$ diff /var/abs/core/libldap/PKGBUILD PKGBUILD
20,21c20,21
<
< ./configure --prefix=/usr \
---
>
> CPPFLAGS=-D_GNU_SOURCE ./configure --prefix=/usr \

Haven't found an upstream bug report yet.

Additional info:
* package version(s)
2.3.40
Closed by  Allan McRae (Allan)
Monday, 14 September 2009, 05:02 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed on SVN trunk
Comment by Tom Killian (tomk) - Friday, 28 November 2008, 13:10 GMT
I looked at this a while ago, and found that solution, and also a patch which did the same thing. I'll be upgrading libldap and friends to 2.4.x soon, so I'll take care of this then.
Comment by Corrado Primier (bardo) - Thursday, 15 January 2009, 15:27 GMT
What's the status of this? I've also noticed that the fix to the ldap.conf manpage location is wrong (it points to /usr/man instead of /usr/share/man) and btw didn't work (the man page is located at /usr/share/man/man/man5/ldap.conf.5.gz), so a rebuild would be needed anyway...
Comment by Gerardo Exequiel Pozzi (djgera) - Wednesday, 03 June 2009, 23:11 GMT
In the current PKGBUILD (that is out-of-date) the error is different:

os-ip.c:655:30: error: missing ')' after "defined"
Comment by Gerardo Exequiel Pozzi (djgera) - Thursday, 04 June 2009, 00:37 GMT
openldap-2.4.16 builds fine but there are a soname bump.

the fixed ntlm.patch is attached for this version (2.4.16)

Also attached a list of packages that depends on these libs.

Loading...