Randy McMurchy wrote: > Hi all, > > Not sure if this is a -dev issue or what but I recently built an LFS-6.5 > machine. Everything smooth as silk, other than 3 tests in the gcc suite > and 4 in the mudflap suite. Everything else perfect. > > I'm encountering errors in recent packages I'm building. For example in > Python I get: > > ================================================================= > 327 tests OK. > 2 tests failed: > test_distutils test_urllib2_localnet > 36 tests skipped: > test_aepack test_al test_applesingle test_bsddb185 test_bsddb3 > test_cd test_cl test_codecmaps_cn test_codecmaps_hk > test_codecmaps_jp test_codecmaps_kr test_codecmaps_tw test_curses > test_gl test_imgfile test_kqueue test_linuxaudiodev test_macos > test_macostools test_normalization test_ossaudiodev test_pep277 > test_py3kwarn test_scriptpackages test_smtpnet test_socketserver > test_startfile test_sunaudiodev test_tcl test_timeout > test_unicode_file test_urllib2net test_urllibnet test_winreg > test_winsound test_zipfile64 > 1 skip unexpected on linux2: > test_tcl > make: *** [test] Error 1
For Python-2.6.2 on a 64-bit system, I get: 324 tests OK. 1 test failed: test_distutils 37 tests skipped: test_aepack test_al test_applesingle test_bsddb test_bsddb185 test_bsddb3 test_cd test_cl test_codecmaps_cn test_codecmaps_hk test_codecmaps_jp test_codecmaps_kr test_codecmaps_tw test_curses test_dl test_gl test_imageop test_imgfile test_kqueue test_linuxaudiodev test_macos test_macostools test_normalization test_ossaudiodev test_pep277 test_py3kwarn test_scriptpackages test_socketserver test_startfile test_sunaudiodev test_timeout test_unicode_file test_urllib2net test_urllibnet test_winreg test_winsound test_zipfile64 1 skip unexpected on linux2: test_bsddb It's kinda dumb, but the tests seems to all run twice. test_urllib2_localnet and test_tcl worked for me. It may be an installed library issue. I took a look at ./Lib/distutils/tests/test_dist.py, but don't know enough about python to see what is going on. > ================================================================= > > Then on libxml2 I get: > > ================================================================= > an 2262 tests, 15 errors, 0 leaks > Total 2262 tests, 15 errors, 0 leaks > See runxmlconf.log for detailed output > 15 errors were expected > make[1]: Entering directory `/home/rml/build/libxml2-2.7.4/python' > Making all in . > Making all in tests > ## running Python regression tests > -- serialize.py > error serializing HTML document 4 > make[1]: Leaving directory `/home/rml/build/libxml2-2.7.4/python' > ================================================================== Total 2746 tests, no errors Total 9 tests, no errors Total: 1161 functions, 291335 tests, 0 errors xmlconf/xmlconf.xml is missing you need to fetch and extract the latest XML Conformance Test Suites http://www.w3.org/XML/Test/xmlts20080205.tar.gz see http://www.w3.org/XML/Test/ for informations Ran 0 tests, no errors Total 0 tests, no errors make[1]: Entering directory `/usr/src/libxml2/libxml2-2.7.3/python' I have no xmlconf directory in the package. I did not install the optional testsuite. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page