[Python-Dev] trying to build 2.3.3 with db-4.2.52 (original) (raw)

Skip Montanaro skip at pobox.com
Mon Jan 5 10:38:56 EST 2004


Matthias> Trying to build python2.3.3 with db-4.2.52, I get many
Matthias> failures in various tests:

Matthias> 5 tests failed:
Matthias>     test_anydbm test_bsddb test_dircache test_shelve test_whichdb

Matthias> all of the same type:

Matthias> test test_whichdb failed -- Traceback (most recent call last):
Matthias>   File "/home/packages/python/2.3/python2.3-2.3.3/Lib/test/test_whichdb.py", line 49, in test_whichdb_name
Matthias>     f = mod.open(_fname, 'c')
Matthias>   File "/home/packages/python/2.3/python2.3-2.3.3/Lib/dbhash.py", line 16, in open
Matthias>     return bsddb.hashopen(file, flag, mode)
Matthias>   File "/home/packages/python/2.3/python2.3-2.3.3/Lib/bsddb/__init__.py", line 192, in hashopen
Matthias>     d.open(file, db.DB_HASH, flags, mode)
Matthias> DBError: (38, 'Function not implemented -- process-private: unable to initialize
Matthias>  environment lock: Function not implemented')

Here an extra data point. I built Python 2.3.3 with db-4.2.52 last Friday on Solaris 8 and didn't encounter any problems like this. Here's a quick check of test_anydbm:

$ python /usr/local/lib/python2.3/test/test_anydbm.py
test_anydbm_creation (__main__.AnyDBMTestCase) ... ok
test_anydbm_keys (__main__.AnyDBMTestCase) ... ok
test_anydbm_modification (__main__.AnyDBMTestCase) ... ok
test_anydbm_read (__main__.AnyDBMTestCase) ... ok

----------------------------------------------------------------------
Ran 4 tests in 0.521s

OK

Skip



More information about the Python-Dev mailing list