Bug 2022033

Summary: git-crypt: FTBFS with OpenSSL 3.0.0
Product: [Fedora] Fedora Reporter: Sahana Prasad <sahana>
Component: git-cryptAssignee: Christian Kellner <ckellner>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 36CC: ckellner, farrotin, thrcka
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-04-21 15:00:04 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: 1825937, 1992484, 2045102    

Description Sahana Prasad 2021-11-10 15:38:55 UTC
This bug is used to track the readiness of git-crypt with OpenSSL 3.0.0.

Currently the build fails to build with OpenSSL 3.0.0 with the following logs
Task info: https://koji.fedoraproject.org/koji/taskinfo?taskID=78020186

Kindly fix them to ensure this package builds with OpenSSL 3.0.0

You can treat the deprecated warnings not as errors if you want to continue to use deprecated functions, but it is encouraged to use the new APIs, and this migration could be done sooner than later.

To not treat deprecated warnings as errors, you may use
-Wno-error=deprecated-declarations

To port to new APIs, kindly refer to the OpenSSL upstream migration guide:
https://www.openssl.org/docs/manmaster/man7/migration_guide.html

Thank you

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

Comment 2 farrotin 2022-03-28 07:36:14 UTC
as info, I requested git-crypt branch for epel9 (https://bugzilla.redhat.com/show_bug.cgi?id=2069050) and had the same issue when trying to rebuild it myself.
But found upstream issue and also a compile flag : 

https://github.com/AGWA/git-crypt/issues/232
https://github.com/loqs/PACKAGES-OSSL3/commit/5d7999584dc0f45fae6489bf579f0622425e47f4

As mentioned in the other BZ, I was then able to rebuild for stream 9 and did a quick functional test

Comment 3 Tomas Hrcka 2022-04-04 09:19:27 UTC
The package is now built for f36 https://koji.fedoraproject.org/koji/buildinfo?buildID=1883711

Comment 4 Tomáš Hrnčiar 2022-04-21 15:00:04 UTC
The following builds were made after this report was opened: git-crypt-0.6.0-13.fc37