[New-bugs-announce] [issue2551] Python 2.6a2 on Solaris 10 built with SUN C

Jean Brouwers report at bugs.python.org
Fri Apr 4 20:55:04 CEST 2008


New submission from Jean Brouwers <MrJean1 at Gmail.com>:

Below is the tail of the output of 'make test' for 32-bit Python 2.6a2 
on Solaris 10 (Opteron) built with the SUN C compiler.

310 tests OK.
1 test failed:
    test_ioctl
41 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_ctypes
    test_curses test_epoll test_gdbm test_gl test_imageop test_imgfile
    test_kqueue test_linuxaudiodev test_macostools test_normalization
    test_ossaudiodev test_pep277 test_py3kwarn test_scriptpackages
    test_socket_ssl test_socketserver test_sqlite test_ssl
    test_startfile test_tcl test_timeout test_unicode_file
    test_urllib2net test_urllibnet test_winreg test_winsound
    test_zipfile64
3 skips unexpected on sunos5:
    test_tcl test_ssl test_ctypes


The ctypes test failed since the _ctypes module did not compile.
...
cc -KPIC -xtarget=native -DNDEBUG -xO5 -I. -I/.../tools/Python-
2.6a2/./Include -Ibuild/temp.solaris-2.10-i86pc-2.6/libffi/include -
Ibuild/temp.solaris-2.10-i86pc-2.6/libffi -I/.../tools/Python-
2.6a2/Modules/_ctypes/libffi/src -I. -IInclude -I./Include -
I/.../tools/Python-2.6a2/Include -I/.../tools/Python-2.6a2 -c 
.../tools/Python-2.6a2/Modules/_ctypes/_ctypes.c -o build/temp.solaris-
2.10-i86pc-2.6/.../tools/Python-2.6a2/Modules/_ctypes/_ctypes.o
"build/temp.solaris-2.10-i86pc-2.6/libffi/include/ffitarget.h", line 67: 
undefined symbol: FFI_DEFAULT_ABI
"build/temp.solaris-2.10-i86pc-2.6/libffi/include/ffitarget.h", line 68: 
non-constant enumerator value
"build/temp.solaris-2.10-i86pc-2.6/libffi/include/ffi.h", line 255: 
syntax error before or at: __attribute__
"build/temp.solaris-2.10-i86pc-2.6/libffi/include/ffi.h", line 255: 
warning: old-style declaration or incorrect type for: __attribute__
"build/temp.solaris-2.10-i86pc-2.6/libffi/include/ffi.h", line 255: 
warning: syntax error:  empty declaration
".../tools/Python-2.6a2/Modules/_ctypes/_ctypes.c", line 155: cannot 
recover from previous errors
cc: acomp failed for /.../tools/Python-2.6a2/Modules/_ctypes/_ctypes.c
...


The test_ioctl failures seems test related.
...
test test_ioctl failed -- Traceback (most recent call last):
  File "/.../tools/Python-2.6a2/Lib/test/test_ioctl.py", line 56, in 
test_ioctl_signed_unsigned_code_param
    saved_winsz = fcntl.ioctl(mfd, termios.TIOCGWINSZ, "\0"*8)
IOError: [Errno 22] Invalid argument
...

There is no SSL support and Tcl is not installed on this machine.  

Finally, this failure does not show up in the summary:
...
test_parser
Expecting 's_push: parser stack overflow' in next line
s_push: parser stack overflow
...

----------
components: Tests
messages: 64937
nosy: MrJean1
severity: normal
status: open
title: Python 2.6a2 on Solaris 10 built with SUN C
versions: Python 2.6

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2551>
__________________________________


More information about the New-bugs-announce mailing list