Bug 2032706
| Summary: | [F36FTBFS]: apr-util fails to build from source in Fedora Rawhide with openldap-2.6 | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Simon Pichugin <spichugi> |
| Component: | apr-util | Assignee: | Luboš Uhliarik <luhliari> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | besser82, bojan, jkaluza, jorton, luhliari, mturk |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | apr-util-1.6.1-20.fc36 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-02-01 09:33:07 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 2021662, 2032695 | ||
|
Description
Simon Pichugin
2021-12-15 02:39:05 UTC
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 Package: apr-util-1.6.1-20.fc36 Build: https://koji.fedoraproject.org/koji/buildinfo?buildID=1910908 |