FS#25045 - python2 fails importing bsddb because it lacks _bsddb.so

Attached to Project: Arch Linux
Opened by Joan Rieu (Fififox) - Wednesday, 06 July 2011, 21:15 GMT
Last edited by Stéphane Gaudreault (stephane) - Thursday, 07 July 2011, 00:39 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Stéphane Gaudreault (stephane)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
File `/usr/lib/python2.7/lib-dynload/_bsddb.so' is absent from the python2 package.

Additional info:
* it is absent from python2 2.7.2-2
* it was present in python2 2.7.2-1
* old bug reports from other distributions state it was caused by missing headers when python2 was compiled

Steps to reproduce:
Run programs which use bsddb, such a gramps.
This task depends upon

Closed by  Stéphane Gaudreault (stephane)
Thursday, 07 July 2011, 00:39 GMT
Reason for closing:  Won't fix
Additional comments about closing:  please use python2-bsddb
Comment by Stéphane Gaudreault (stephane) - Thursday, 07 July 2011, 00:38 GMT
The bsddb module has been deprecated since python version 2.6 [1]. In the past, we used a simple patch to provide a minimal support for db.
This patch as been rejected upstream [2] and we decided to remove it from our package as it no longer work with the new db 5.2.28.

The solution is to use the db extension that is now maintained as a third party package [3]. To install it

pacman -S python2-bsddb

[1] http://docs.python.org/library/bsddb.html
[2] http://bugs.python.org/issue11817
[3] http://www.jcea.es/programacion/pybsddb.htm

Loading...