On Sun, 2016-05-29 at 10:55 -0700, Thomas Spuhler wrote:
389-ds-base-18.104.22.168 doesn't build on Mageia
Altlinux reported the same problem with 389-ds-base-22.214.171.124
This is the error:
ldap/servers/slapd/ssl.c: In function 'svrcore_setup':
ldap/servers/slapd/ssl.c:1291:5: error: unknown type name
ldap/servers/slapd/ssl.c:1292:18: error: 'SVRCOREStdSystemdPinObj' undeclared
(first use in this function)
StdPinObj = (SVRCOREStdSystemdPinObj *)SVRCORE_GetRegisteredPinObj();
The attached patch makes it build
Sorry but we won't be applying that patch as it reverses the behaviour of the
WITH_SYSTEMD flag (IE, on systems without systemd,
it would try and build with it ...)
Your distro needs to update SVRCore. The 389-ds project now owns svrcore, and has updated
it from 4.0.4 to 4.1.2.
Svrcore 4.1.2 is required to support WITH_SYSTEMD on 389-ds 1.3.5. 4.1.2 of course
needed SVRCORE_CreateStdSystemdPinObj types.
The design doc around this feature can be found here:
Alternately, this could be changed with a header / function check (IE
We don't think it's worth it though, as the fix that svrcore 4.1.2 brings to using
ssl without a pin.txt on systemd is very,
very valueable to administrators.
If you need help with upgrade svrcore on your distro, please feel free to ask,
Red Hat, Brisbane