#9297: Test failures of Python (2.6.4.p9) on Solaris 10 SPARC (32-bit)
------------------------+---------------------------------------------------
   Reporter:  drkirkby  |       Owner:  drkirkby                                
     
       Type:  defect    |      Status:  new                                     
     
   Priority:  major     |   Milestone:  sage-4.5.1                              
     
  Component:  solaris   |    Keywords:  testsuite, Python modules, Failed, 
SAGE_CHECK
     Author:            |    Upstream:  N/A                                     
     
   Reviewer:            |      Merged:                                          
     
Work_issues:            |  
------------------------+---------------------------------------------------

Comment(by leif):

 On Ubuntu 9.04 (x86 in this case), {{{spkg/logs/python-*.log}}} shows:

 {{{
 ...
 running build
 running build_ext
 INFO: Can't locate Tcl/Tk libs and/or headers

 Failed to find the necessary bits to build these modules:
 _bsddb             _curses            _curses_panel
 _hashlib           _ssl               _tkinter
 bsddb185           dbm                gdbm
 sunaudiodev
 To find the necessary bits, look in setup.py in detect_modules() for the
 module's name.

 running build_scripts
 ...
 }}}
 and
 {{{
 ...
 Successfully installed python-2.6.4.p9
 Running the test suite.
 Testing the Python package
 ...
 test_distutils
 test test_distutils failed -- errors occurred; run in verbose mode for
 details
 ...
 test_os
 /home/leif/sage-4.5.rc1-par-j6-sage-
 check/spkg/build/python-2.6.4.p9/src/Lib/os.py:760: DeprecationWarning:
 integer argument expected, got float
   bs += read(_urandomfd, n - len(bs))
 ...
 test_sundry
 /home/leif/sage-4.5.rc1-par-j6-sage-
 check/spkg/build/python-2.6.4.p9/src/Lib/test/test_sundry.py:66:
 DeprecationWarning: The posixfile module is deprecated; fcntl.lockf()
 provides better locking
   import posixfile
 ...
 test_xmllib
 /home/leif/sage-4.5.rc1-par-j6-sage-
 check/spkg/build/python-2.6.4.p9/src/Lib/test/test_xmllib.py:24:
 DeprecationWarning: The xmllib module is obsolete.  Use xml.sax instead.
   import xmllib
 ...
 test_zlib
 test test_zlib failed -- Traceback (most recent call last):
   File "/home/leif/sage-4.5.rc1-par-j6-sage-
 check/spkg/build/python-2.6.4.p9/src/Lib/test/test_zlib.py", line 84, in
 test_baddecompressobj
     self.assertRaises(ValueError, zlib.decompressobj, 0)
 AssertionError: ValueError not raised

 323 tests OK.
 2 tests failed:
     test_distutils test_zlib
 40 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_dbm test_gdbm 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_ssl test_startfile
     test_sunaudiodev test_tcl test_timeout test_unicode_file
     test_urllib2net test_urllibnet test_winreg test_winsound
     test_zipfile64
 5 skips unexpected on linux2:
     test_tcl test_dbm test_ssl test_gdbm test_bsddb
 make[2]: [test] Error 1 (ignored)
 ...
 [above repeated]
 test test_zlib failed -- Traceback (most recent call last):
   File "/home/leif/sage-4.5.rc1-par-j6-sage-
 check/spkg/build/python-2.6.4.p9/src/Lib/test/test_zlib.py", line 84, in
 test_baddecompressobj
     self.assertRaises(ValueError, zlib.decompressobj, 0)
 AssertionError: ValueError not raised

 323 tests OK.
 2 tests failed:
     test_distutils test_zlib
 40 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_dbm test_gdbm 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_ssl test_startfile
     test_sunaudiodev test_tcl test_timeout test_unicode_file
     test_urllib2net test_urllibnet test_winreg test_winsound
     test_zipfile64
 5 skips unexpected on linux2:
     test_tcl test_dbm test_ssl test_gdbm test_bsddb
 make[2]: *** [test] Error 1
 make[2]: Leaving directory `/home/leif/sage-4.5.rc1-par-j6-sage-
 check/spkg/build/python-2.6.4.p9/src'
 An error occurred while testing Python
 *************************************
 Error testing package ** python-2.6.4.p9 **
 *************************************
 sage: An error occurred while testing python-2.6.4.p9
 ...
 }}}
 The former can be found by doing
 {{{
 #!sh
 grep -A5 Failed install.log     # or spkg/logs/python-*.log
 }}}
 in (successful) builds without {{{SAGE_CHECK=yes}}}, too.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9297#comment:7>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to