Bug 1779267 - Remove libdb dependency from apr-util [NEEDINFO]
Summary: Remove libdb dependency from apr-util
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: apr-util
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Luboš Uhliarik
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1778802 1940391
TreeView+ depends on / blocked
 
Reported: 2019-12-03 15:55 UTC by Filip Januš
Modified: 2023-08-21 14:10 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1940391 (view as bug list)
Environment:
Last Closed: 2021-05-25 15:12:58 UTC
Type: Bug
Embargoed:
fjanus: needinfo? (luhliari)


Attachments (Terms of Use)

Description Filip Januš 2019-12-03 15:55:12 UTC
Description of problem:
According to more restrictive libdb licence policy exists effort to remove libdb's dependencies.
apr-util package is now built with libdb requirement, this package could be build without libdb (configure --without-berkeley-db). libdb coud be replaced by gdbm or SQLite(configure --with-sqlite3=DIR).




Actual results:
apr-util requires libdb package

Expected results:
run without libdb

Comment 1 Joe Orton 2019-12-05 16:30:20 UTC
apr-util's DBM interface (apr_dbm.h) can use a variety of backends and currently defaults to Berkeley DB, although SDBM is also supported.

Switching the default from BDB to SDBM - and dropping BDB support, is possible, though it might be disruptive for consumers of the DBM interface.

Do you have a target Fedora release for which this is intended?  Possibly we could look at supporting e.g. LMDB through this interface as a better alternative to SDBM.

Comment 2 Filip Januš 2019-12-09 12:25:06 UTC
In the best case it should be Fedora 32 or at least Fedora 33.

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

Comment 4 Filip Januš 2020-11-23 13:48:56 UTC
We would like to move a step forward by getting rid of libdb. So I would like to ask, which problems do you see with changing backend from BDB to some other database? I want to summarize as much as possible problems with this change across components, so we can find the best possible solution.

Comment 5 Joe Orton 2021-03-18 10:59:09 UTC
Lubos is working on this, seeing if we can switch to LMDB.  This one is in progress.

Comment 6 Fedora Program Management 2021-04-29 16:00:44 UTC
This message is a reminder that Fedora 32 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 32 on 2021-05-25.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '32'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 32 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 7 Ben Cotton 2021-05-25 15:12:58 UTC
Fedora 32 changed to end-of-life (EOL) status on 2021-05-25. Fedora 32 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

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

Comment 9 Filip Januš 2023-01-27 10:30:42 UTC
Is there any progress? May I help somehow?

Comment 10 Ben Cotton 2023-02-07 14:51:23 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 38 development cycle.
Changing version to 38.


Note You need to log in before you can comment on or make changes to this bug.