Your package fails to build with the newest openldap-2.6, which was part of a recent wide Fedora change. More information about Fedora OpenLDAP Change is available here: https://fedoraproject.org/wiki/Changes/Openldap_25#How_To_Test. Thank you for your cooperation! Additional Information: If you have an issue with libldap_r depreciation, you can use the following example for fixing your package: https://github.com/389ds/389-ds-base/commit/a3375a08a506c3b72a8a23df5238848017691350
Simon, is there a reason openldap-devel is no longer providing a libldap_r.so as a stub we can link against? This breaks backwards compat needlessly AFAICT. e.g. in https://bugzilla.redhat.com/show_bug.cgi?id=1626077#c6 Florian suggested how to make two libraries correctly. <mock-chroot> sh-5.1# rpm -q openldap-devel openldap-devel-2.6.1-1.fc36.x86_64 <mock-chroot> sh-5.1# rpm -ql openldap-devel | grep .so$ /usr/lib64/liblber.so /usr/lib64/libldap.so /usr/lib64/libslapi.so
The apr-util build is simple to fix without that (changing "--with-ldap=ldap_r" to "--with-ldap=ldap" in the configure line), FWIW.
Hi Joe, In the Upstream, libldap_r has been merged with libldap starting from openldap-2.5: https://lists.openldap.org/hyperkitty/list/openldap-announce@openldap.org/thread/BH3VDPG6IYYF5L5U6LZGHHKMJY5HFA3L/ In Fedora, we completely removed non-threaded Library (libldap), and we made symlinks from libldap_r in Fedora 34 (openldap-2.4.56-4.fc34) - hence making libldap_r and libldap using the same threaded library: https://fedoraproject.org/wiki/Changes/OpenLDAPwithoutNonthreadedLibraries It was done in response to the https://bugzilla.redhat.com/show_bug.cgi?id=1626077 in the first place. So as OpenLDAP Upstream merged libldap_r with libldap (in 2.5), we, in Fedora, deprecate the symlinks. But the result is the same for both Upstream and Fedora as we came to the same state - OpenLDAP now uses only the threaded library - libldap.so.
OK, thanks for the response. Once you merge 2.6 to Rawhide we can update apr-util.spec and it will build again, I'll leave this open to track it.
Hi Joe, Hi Luboš, The new OpenLDAP build was pushed to Rawhide: https://koji.fedoraproject.org/koji/buildinfo?buildID=1910731 The deadline for Fedora branching is very close. The fix for the build issue is probably easy to do (though it may depend on how you do things in the project). You can find the examples here: https://docs.google.com/document/d/17-ndISXL_cidGYdZZWMM9waok50hW3sxj9F1rAEUVoo/edit?usp=sharing Also, feel free to drop me an email message in google chat or IRC if you'll have any questions, - spichugi (spichugi) Thanks! Simon
Commit: https://src.fedoraproject.org/rpms/apr-util/c/29d1d662328b04dcd0b3aa3815de0eebb1930bdf
Package: apr-util-1.6.1-20.fc36 Build: https://koji.fedoraproject.org/koji/buildinfo?buildID=1910908