Bug 2152303

Summary: libdb: Port to C99
Product: [Fedora] Fedora Reporter: Florian Weimer <fweimer>
Component: libdbAssignee: Florian Weimer <fweimer>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: fjanus, hhorak, jnovy, jstanek, mmuzila, odubaj, pkubat
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: libdb-5.3.28-59.fc40 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-12-10 14:14:25 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: 2141798    
Attachments:
Description Flags
libdb-1.85-c99.patch
none
libdb-c99.patch
none
libdb-configure-c99.patch
none
libdb-sqlite-c99.patch
none
libdb-1.85-c99.patch
none
libdb-configure-c99.patch none

Description Florian Weimer 2022-12-10 12:19:01 UTC
The Fedora version is based on an earlier Berkeley DB version licensed under the Sleepycat license, and this version is no longer maintained by upstream. Filing this bug here for tracking purposes.

An unusually large amount of changes is required in a configure script. And the package currently FTBFS in rawhide due to the --runstatedir=/run change. I'm going to add a redhat-rpm-config tweak for that and use it.

Comment 1 Florian Weimer 2022-12-10 14:12:57 UTC
Created attachment 1931608 [details]
libdb-1.85-c99.patch

Comment 2 Florian Weimer 2022-12-10 14:13:22 UTC
Created attachment 1931609 [details]
libdb-c99.patch

Comment 3 Florian Weimer 2022-12-10 14:13:43 UTC
Created attachment 1931610 [details]
libdb-configure-c99.patch

Comment 4 Florian Weimer 2022-12-10 14:14:07 UTC
Created attachment 1931611 [details]
libdb-sqlite-c99.patch

Comment 5 Florian Weimer 2024-01-05 16:28:08 UTC
Created attachment 2007368 [details]
libdb-1.85-c99.patch

Additional GCC 14 compatibility fixes.

Comment 6 Florian Weimer 2024-01-05 16:29:12 UTC
Created attachment 2007369 [details]
libdb-configure-c99.patch

Additional GCC 14 compatibility fixes.