Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 2018887

Summary: appx-util: FTBFS with OpenSSL 3.0.0
Product: [Fedora] Fedora Reporter: Sahana Prasad <sahana>
Component: appx-utilAssignee: Neal Gompa <ngompa13>
Status: CLOSED RAWHIDE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: ngompa13
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: appx-util-0.4-5.fc36 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-12-30 20:48:36 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, 2032239    
Attachments:
Description Flags
build.log from local mockbuild on rawhide none

Description Sahana Prasad 2021-11-01 08:00:55 UTC
This bug is used to track the readiness of appx-util with OpenSSL 3.0.0

currently the build fails due to the usage of deprecated functions:
https://koji.fedoraproject.org/koji/taskinfo?taskID=78020160

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

Comment 1 Neal Gompa 2021-12-16 12:32:33 UTC
Created attachment 1846562 [details]
build.log from local mockbuild on rawhide

Sahana, it looks like the failure isn't because of deprecated functions, but instead because the ASN1 APIs broke. See the log attached for details (look for the failure with Sign.cpp/Sign.o).

I can't seem to figure out how to adapt to OpenSSL 3.0. Could you be of some assistance?

Comment 2 Neal Gompa 2021-12-30 20:48:36 UTC
Build has been fixed thanks to Igor Raits' patch, and is now in Rawhide: https://koji.fedoraproject.org/koji/buildinfo?buildID=1871651