[Python-Dev] RH9 build does not seem to autodetect properly
Dennis Allison
allison at sumeru.stanford.EDU
Mon Aug 4 00:07:32 EDT 2003
Thanks Skip --
I'll blame the RH installer here--I'm sure I requested the development
headers but they were missing. Installing them fixes the bzip problem.
Running the regression tests (.python Lib/test/regrtest.py -uall) exposes
other problems:
> ./python Lib/test/regrtest.py -uall > junk1
Exception in thread writer 0:
Traceback (most recent call last):
File "/usr/local/src/python/Python-2.3/Lib/threading.py", line 436, in
__bootstrap
self.run()
File "/usr/local/src/python/Python-2.3/Lib/threading.py", line 416, in
run
self.__target(*self.__args, **self.__kwargs)
File "/usr/local/src/python/Python-2.3/Lib/bsddb/test/test_thread.py",
line 254, in writerThread
self.assertEqual(data, self.makeData(key))
File "/usr/local/src/python/Python-2.3/Lib/unittest.py", line 292, in
failUnlessEqual
raise self.failureException, \
AssertionError: None != '0003-0003-0003-0003-0003'
/usr/local/src/python/Python-2.3/Lib/bsddb/dbutils.py:67: RuntimeWarning:
DB_INCOMPLETE: Cache flush was unable to complete
return function(*_args, **_kwargs)
Exception in thread writer 1:
Traceback (most recent call last):
File "/usr/local/src/python/Python-2.3/Lib/threading.py", line 436, in
__bootstrap
self.run()
File "/usr/local/src/python/Python-2.3/Lib/threading.py", line 416, in
run
self.__target(*self.__args, **self.__kwargs)
File "/usr/local/src/python/Python-2.3/Lib/bsddb/test/test_thread.py",
line 254, in writerThread
self.assertEqual(data, self.makeData(key))
File "/usr/local/src/python/Python-2.3/Lib/unittest.py", line 292, in
failUnlessEqual
raise self.failureException, \
AssertionError: None != '1000-1000-1000-1000-1000'
Exception in thread writer 2:
Traceback (most recent call last):
File "/usr/local/src/python/Python-2.3/Lib/threading.py", line 436, in
__bootstrap
self.run()
File "/usr/local/src/python/Python-2.3/Lib/threading.py", line 416, in
run
self.__target(*self.__args, **self.__kwargs)
File "/usr/local/src/python/Python-2.3/Lib/bsddb/test/test_thread.py",
line 254, in writerThread
self.assertEqual(data, self.makeData(key))
File "/usr/local/src/python/Python-2.3/Lib/unittest.py", line 292, in
failUnlessEqual
raise self.failureException, \
AssertionError: None != '2001-2001-2001-2001-2001'
which comes from the bsddbB3 test. Deadlock and exceptions not
withstanding, it appears to have been declared "correct".
This is the latest version of RH9 with all the latest and greatest
upgrades.
The curses test output a bunch of stuff to the terminal. I'm not sure
what's to be expected there, but I suspect that it isn't what I am
seeing.
The summary results reports:
235 tests OK.
20 tests skipped:
test_aepack test_al test_bsddb185 test_cd test_cl
test_email_codecs test_gl test_imgfile test_linuxaudiodev
test_macfs test_macostools test_nis test_normalization
test_ossaudiodev test_pep277 test_plistlib test_scriptpackages
test_sunaudiodev test_winreg test_winsound
Those skips are all expected on linux2.
On Sun, 3 Aug 2003, Skip Montanaro wrote:
>
> Dennis> I'ver just tried to build the new 2.3 release under RH9. It builds but
> Dennis> with some problems....
>
> Dennis> 228 tests OK.
> ...
> Dennis> 1 skip unexpected on linux2:
> Dennis> test_bz2
>
> Can you confirm that the necessary libraries and header files are installed
> on your system? There are probably two rpms, named something like bz2 and
> bz2-devel which must be installed.
>
> Dennis> test_urllibnet
> Dennis> test_urllibnet skipped -- Use of the `network' resource not enabled
>
> Dennis> and similar network related modules are not detected.
>
> Network tests are disabled by default because they assume a connection to
> the net. You can run them like
>
> ./python Lib/regrtest.py -uall
>
> This will enable all tests which are disabled by default.
>
> Skip
>
More information about the Python-Dev
mailing list