Python-2.6.4 compiles without error , but the test suite fails:

....edited out non failure tests

test_httpservers
Traceback (most recent call last):
  File "/lfs/sources/blfs/Python-2.6.4/Lib/CGIHTTPServer.py", line 255, in 
run_cgi
    os.execve(scriptfile, args, os.environ)
OSError: [Errno 13] Permission denied
Traceback (most recent call last):
  File "/lfs/sources/blfs/Python-2.6.4/Lib/CGIHTTPServer.py", line 255, in 
run_cgi
    os.execve(scriptfile, args, os.environ)
OSError: [Errno 13] Permission denied
Traceback (most recent call last):
  File "/lfs/sources/blfs/Python-2.6.4/Lib/CGIHTTPServer.py", line 255, in 
run_cgi
    os.execve(scriptfile, args, os.environ)
OSError: [Errno 13] Permission denied
test test_httpservers failed -- errors occurred; run in verbose mode for details

....edited again

1 test failed:
    test_httpservers
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_sqlite test_startfile test_sunaudiodev test_tcl test_timeout
    test_urllib2net test_urllibnet test_winreg test_winsound
    test_zipfile64
1 skip unexpected on linux2:
    test_tcl
make: *** [test] Error 1

The docs said that any failures were significant and for more info run:

./python Lib/test/test_httpservers.py .

This wouldn't run till I did make install, and the output was about
the same as above.

The 1 skip unexpected line is because I don't have X or tk8.

A search of the wiki only showed the package update, but I found some
references via Gentoo bugs.

It seems that Gentoo had disabled this and other tests to work
around this.

http://bugs.python.org/issue 4528  also has a reference to this
and it was still open.

So I'm a little confused . Python developers say to treat any failure as
serious but Gentoo disables a block of tests. The Python link above refers
to a svn version that worked. But too new can be as bad as too old.

Since it's already installed, I'm going to go and use it and see what happens.

Any feedback will be appreciated.

Mike Hollis
_-_-_-_
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to