Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 355495

Summary: dev-lang/python-2.6.6-r1 import berkdb failed with external bsddb3 package.
Product: Gentoo Linux Reporter: Leo Borealis <lionmv>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Leo Borealis 2011-02-18 22:16:28 UTC
Recently python 2.6.6-r1 ebuild has updated and -berkdb set by default, but files in python package such as /usr/lib64/python2.6/dbhash.py contain line "import bsddb", which fails, because python module from bsddb3 package now has bsddb3 name. Or such issue only if rebuilding python with -berkdb and installing bssdb3?
Comment 1 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2011-02-22 19:09:55 UTC
dbhash module is also deprecated and has been removed in Python 3. You should directly use bsddb3.hashopen().