Bug 2032698

Summary: [F36FTBFS]: liboauth2 fails to build from source in Fedora Rawhide with openldap-2.6
Product: [Fedora] Fedora Reporter: Simon Pichugin <spichugi>
Component: liboauth2Assignee: Alexander Bokovoy <abokovoy>
Status: CLOSED NOTABUG QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: abokovoy
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-02-01 06:13:30 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    

Description Simon Pichugin 2021-12-15 02:36:57 UTC
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

Comment 1 Simon Pichugin 2022-01-31 23:55:59 UTC
Hi Alexander,
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

Comment 2 Alexander Bokovoy 2022-02-01 06:13:30 UTC
liboauth2 was never linked against libldap at all. It was not rebuilding due to OpenSSL 3.0.0 problems but I updated it to 1.4.4 version which fixes those, last week.
This bug can be closed.