Bug 2032700

Summary: [F36FTBFS]: gfal2 fails to build from source in Fedora Rawhide with openldap-2.6
Product: [Fedora] Fedora Reporter: Simon Pichugin <spichugi>
Component: gfal2Assignee: Mihai Patrascoiu <mihai.patrascoiu>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 36CC: adev88, andrea.manzi, michal.simon, mihai.patrascoiu
Target Milestone: ---Flags: spichugi: needinfo?
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-03-15 08:03:01 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:37:27 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:58:30 UTC
Hi Adrien,
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 Mihai Patrascoiu 2022-02-02 07:18:06 UTC
Hello Simon,

I am the current maintainer of Gfal2 and will take over this ticket.
openldap is one of the changes that may fail the build but I know of at least one other. [1] 

I'll do my best to provide Fedora36 support.

Cheers,
Mihai

[1] https://bugzilla.redhat.com/show_bug.cgi?id=2049012

Comment 3 Ben Cotton 2022-02-08 20:21:01 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 36 development cycle.
Changing version to 36.

Comment 4 Mihai Patrascoiu 2022-03-07 11:09:11 UTC
Hello Simon, Ben,

I've released gfal2 v2.20.5, already found in `epel-testing`, including for Fedora 36 and Fedora rawhide.

The incompatibility problem with latest OpenLDAP has been fixed here [1].

Can we move on to close this ticket?

Cheers,
Mihai

[1] https://gitlab.cern.ch/dmc/gfal2/-/merge_requests/43

Comment 5 Simon Pichugin 2022-03-15 00:34:17 UTC
(In reply to Mihai Patrascoiu from comment #4)
> Hello Simon, Ben,
> 
> I've released gfal2 v2.20.5, already found in `epel-testing`, including for
> Fedora 36 and Fedora rawhide.
> 
> The incompatibility problem with latest OpenLDAP has been fixed here [1].
> 
> Can we move on to close this ticket?
> 
> Cheers,
> Mihai
> 
> [1] https://gitlab.cern.ch/dmc/gfal2/-/merge_requests/43

Yes, feel free to close it, if it works fine by now!
Thank you!

Comment 6 Mihai Patrascoiu 2022-03-15 08:03:01 UTC
Thanks Simon,

Closing the ticket.

Cheers,
Mihai