Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 954078 - berkdb USE flag description in profiles/use.desc seems incorrect
Summary: berkdb USE flag description in profiles/use.desc seems incorrect
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Lowest trivial
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-19 14:35 UTC by Gil Kloepfer
Modified: 2025-04-20 01:53 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gil Kloepfer 2025-04-19 14:35:51 UTC
The description of the berkdb USE flag that is utilized by many ebuilds has the description "Add support for sys-libs/db (Berkeley DB for MySQL)".  However, sys-libs/db (Berkeley DB) has nothing to do with MySQL (even the MySQL ebuild does not have the berkdb USE flag).  This is confusing when querying or specifying USE flags for an application.

Reproducible: Always

Steps to Reproduce:
1.  equery uses dev-lang/perl  (for example)
2.
3.
Actual Results:  
 + - berkdb                 : Add support for sys-libs/db (Berkeley DB for
                              MySQL)


Expected Results:  
 + - berkdb                 : Add support for sys-libs/db (Berkeley DB)

Remove the words "for MySQL" from the description.

The descriptions in profiles/use.desc do not have any bearing on the operation of the system, therefore this is only a documentation issue.  There is probably a historical reason why the berkdb USE flag has this description, but it seems inappropriate at this point.  The only connection between the two projects is that they are both supported by Oracle).
Comment 1 Alfred Wingate 2025-04-19 15:07:48 UTC
> There is probably a historical reason why the berkdb USE flag has this description, but it seems inappropriate at this point.

Out of interest went looking for that. I presume its a case of a misunderstanding as dev-db/mysql could be built with BerkeleyDB support at the time. Support for this was dropped around 2006 with mysql-5.1.

https://gitweb.gentoo.org/archive/repo/gentoo-2.git/commit/?id=15f49562154b6059470c0a54a2de41484b8519d6
https://downloads.mysql.com/docs/mysql-5.1-relnotes-en.pdf
Comment 2 Larry the Git Cow gentoo-dev 2025-04-20 01:53:01 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f57d623b28945ca79d653f3da0ecdbb947fbee2

commit 7f57d623b28945ca79d653f3da0ecdbb947fbee2
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2025-04-20 01:52:21 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2025-04-20 01:52:21 +0000

    profiles: update berkdb USE description
    
    Closes: https://bugs.gentoo.org/954078
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 profiles/use.desc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)