Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 610044 - www-apps/venus: should dep on [masked] python[berkdb] unconditionally
Summary: www-apps/venus: should dep on [masked] python[berkdb] unconditionally
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Web Application Packages Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 599810
  Show dependency tree
 
Reported: 2017-02-19 22:54 UTC by Michał Górny
Modified: 2017-02-21 20:38 UTC (History)
3 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 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-02-19 22:54:56 UTC
The current ebuild for www-apps/venus states that python[berkdb] is only a test dep. However, reading the code I see:

$ grep -R dbhash
planet/idindex.py:        import dbhash
planet/idindex.py:        return dbhash.open(filename(index, 'id'),'w')
planet/idindex.py:    import dbhash
planet/idindex.py:    index = dbhash.open(filename(index, 'id'),'c')

which means the package itself also has code using the dbhash module (which requires berkdb).

However, USE=berkdb in Python is broken and masked since 2015, and unlikely to be ever unmasked.

How should we proceed here? tampakrap, could you advise as the last active maintainer of this package? Should we lastrite it?
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-02-21 20:38:45 UTC
Applied bsddb3 patch made by Arfrever.

commit f2f3dc2be23b20a233d56ec9e0cde96c1dd5a0b5
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: Tue Feb 21 21:25:34 2017
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: Tue Feb 21 21:32:02 2017

    www-apps/venus: python-single-r1, EAPI=6, use bsddb3 for berkdb