FWIW, here's the problem with db4.6 in python.
Upstream has disabled building python2.5 with db4.6 in setup.py with the
following explanation:
max_db_ver = (4, 5)
# NOTE: while the _bsddb.c code links against BerkeleyDB 4.6.x
# we leave that version disabled by default as it has proven to be
# quite a buggy library release on many platforms.
(this in spite of the fact that there's a separate check farther down for
4.6.21 or greater.)
Overriding this check and building against db4.6 leads to the following
(intermittent) test failure on SMP systems:
$ LD_LIBRARY_PATH=./build-shared build-shared/python
Lib/bsddb/test/test_thread.py
...Exception in thread writer 0:
Traceback (most recent call last):
File "/home/devel/canonical/python2.5-2.5.2/Lib/threading.py", line 486, in
__bootstrap_inner
self.run()
File "/home/devel/canonical/python2.5-2.5.2/Lib/threading.py", line 446, in
run
self.__target(*self.__args, **self.__kwargs)
File "../bsddb/test/test_thread.py", line 245, in writerThread
self.assertEqual(data, self.makeData(key))
File "/home/devel/canonical/python2.5-2.5.2/Lib/unittest.py", line 334, in
failUnlessEqual
(msg or '%r != %r' % (first, second))
AssertionError: None != '0282-0282-0282-0282-0282'
Exception in thread writer 1:
Traceback (most recent call last):
File "/home/devel/canonical/python2.5-2.5.2/Lib/threading.py", line 486, in
__bootstrap_inner
self.run()
File "/home/devel/canonical/python2.5-2.5.2/Lib/threading.py", line 446, in
run
self.__target(*self.__args, **self.__kwargs)
File "../bsddb/test/test_thread.py", line 260, in writerThread
self.assertEqual(data, self.makeData(key))
File "/home/devel/canonical/python2.5-2.5.2/Lib/unittest.py", line 334, in
failUnlessEqual
(msg or '%r != %r' % (first, second))
AssertionError: None != '1003-1003-1003-1003-1003'
Exception in thread writer 2:
Traceback (most recent call last):
File "/home/devel/canonical/python2.5-2.5.2/Lib/threading.py", line 486, in
__bootstrap_inner
self.run()
File "/home/devel/canonical/python2.5-2.5.2/Lib/threading.py", line 446, in
run
self.__target(*self.__args, **self.__kwargs)
File "../bsddb/test/test_thread.py", line 260, in writerThread
self.assertEqual(data, self.makeData(key))
File "/home/devel/canonical/python2.5-2.5.2/Lib/unittest.py", line 334, in
failUnlessEqual
(msg or '%r != %r' % (first, second))
AssertionError: None != '2011-2011-2011-2011-2011'
.....
----------------------------------------------------------------------
Ran 8 tests in 15.105s
So python is broken with db4.6, which explains the rollback to db4.5. Help
tracking down the root of this bug would be good.
--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
Ubuntu Developer http://www.debian.org/
[EMAIL PROTECTED] [EMAIL PROTECTED]
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]