Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 699124 - =media-sound/jack2-1.9.13 should conditionally depend on sys-libs/db
Summary: =media-sound/jack2-1.9.13 should conditionally depend on sys-libs/db
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Professional Audio Applications Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-02 03:47 UTC by Ionen Wolkens
Modified: 2019-11-02 20:54 UTC (History)
0 users

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 Ionen Wolkens gentoo-dev 2019-11-02 03:47:32 UTC
It's enabled by default leading to:

ldd /usr/bin/jackd
	...
	libdb-5.3.so => /usr/lib64/libdb-5.3.so (0x00007ffff79ac000)

Can be turned on/off with --db=yes/no (also disables metadata API usability). Suggesting a metadata USE flag. I'm not sure if anything in gentoo uses this API yet (apparently been present in JACK1 for some time), so maybe it should be a opt-in flag.

Not sure which versions of berkdb it's okay with, seems to only test usability rather than versions. The old 5.3 seems to be accepted (only one I have installed as I only use berkdb with old software).

On a side-note for reference, this is my own issue given gentoo doesn't set it up this way, but personally disabled it because it causes "cannot open DB environment: Permission denied" in userland with my system-wide jackd when using JACK_PROMISCUOUS_SERVER=<group>. /dev/shm/jack_db/* files need to be writable by <group> in this case but are -rw-r-----, other /dev/shm jack files are properly -rw-rw----. Guess could fix but I don't need the metadata API either way. Maybe someone else with the same setup does, but don't think gentoo should worry about it.
Comment 1 Miroslav Šulc gentoo-dev 2019-11-02 20:50:09 UTC
thanks for the detailed report. will commit it shortly.
Comment 2 Larry the Git Cow gentoo-dev 2019-11-02 20:54:13 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=851145859f1181a157d68226ab5f56c5c7be31fe

commit 851145859f1181a157d68226ab5f56c5c7be31fe
Author:     Miroslav Šulc <fordfrog@gentoo.org>
AuthorDate: 2019-11-02 20:53:44 +0000
Commit:     Miroslav Šulc <fordfrog@gentoo.org>
CommitDate: 2019-11-02 20:54:05 +0000

    media-sound/jack-{1.9.13-r1,9999}: bug #699124
    
    Closes: https://bugs.gentoo.org/699124
    Package-Manager: Portage-2.3.78, Repoman-2.3.17
    Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>

 media-sound/jack2/jack2-1.9.13-r1.ebuild | 91 ++++++++++++++++++++++++++++++++
 media-sound/jack2/jack2-9999.ebuild      |  4 +-
 media-sound/jack2/metadata.xml           |  1 +
 3 files changed, 95 insertions(+), 1 deletion(-)