trying to build 2.3.3 with db-4.2.52

Trying to build python2.3.3 with db-4.2.52, I get many failures in various tests: 5 tests failed: test_anydbm test_bsddb test_dircache test_shelve test_whichdb all of the same type: test test_whichdb failed -- Traceback (most recent call last): File "/home/packages/python/2.3/python2.3-2.3.3/Lib/test/test_whichdb.py", line 49, in test_whichdb_name f = mod.open(_fname, 'c') File "/home/packages/python/2.3/python2.3-2.3.3/Lib/dbhash.py", line 16, in open return bsddb.hashopen(file, flag, mode) File "/home/packages/python/2.3/python2.3-2.3.3/Lib/bsddb/__init__.py", line 192, in hashopen d.open(file, db.DB_HASH, flags, mode) DBError: (38, 'Function not implemented -- process-private: unable to initialize environment lock: Function not implemented') using db-4.1.25, all the tests succeed. any hints? The build environment is a current Debian GNU/Linux unstable i386 system. Matthias

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
participants (3)
-
Clint Adams
-
Matthias Klose
-
Skip Montanaro