Bug 1787311

Summary: Removing libdb dependency
Product: [Fedora] Fedora Reporter: Filip Januš <fjanus>
Component: rpmAssignee: Packaging Maintenance Team <packaging-team-maint>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: igor.raits, mjw, packaging-team-maint, pmatilai, pmoravco, vmukhame
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rpm-4.16.1.2-6.fc34 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-02-03 13:34:21 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: 1818910    
Bug Blocks: 1778802    

Description Filip Januš 2020-01-02 10:35:33 UTC
According to more restrictive libdb licence policy exists effort to remove libdb's dependencies.
rpm is now built with libdb requirement, but in near future rpm should support other backend then libdb. Even it looks like it will be able to access BerkeleyDB databses without libdb dependency.

https://github.com/rpm-software-management/rpm/pull/980

Comment 1 Ben Cotton 2020-02-11 17:38:32 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 32 development cycle.
Changing version to 32.

Comment 2 Panu Matilainen 2020-04-09 12:08:07 UTC
We wont be able to do this on Fedora 33 (much less 32), but Fedora 34 should be a realistic timeframe for cutting this cord finally. That'll be quite a moment.

Comment 3 Panu Matilainen 2021-02-03 09:02:27 UTC
Let's flick the switch in rawhide once Fedora 34 has been branched, it's a bit too close to comfort to do this for F34 at this point. Rpm >= 4.17 which is expected in Fedora 35 in a couple of months will drop support for libdb entirely so this will give people a bit of time to work things out if something unexpected breaks.

Comment 4 Panu Matilainen 2021-02-03 13:34:21 UTC
Due to popular request, change of plans:

Turns out, this was actually planned and approved for F34 in the F33 sqlite change: https://fedoraproject.org/wiki/Changes/Sqlite_Rpmdb, and since we don't have a concrete reason not to (this is afterall trivial to revert if things go boom):
BDB support disabled in rpm-4.16.1.2-6.fc34

Bye bye BDB, I'm not going to miss you.