This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Python 2.6a2 on Solaris 10 built with SUN C
Type: Stage:
Components: Tests Versions: Python 2.6
process
Status: closed Resolution: duplicate
Dependencies: Superseder:
Assigned To: Nosy List: MrJean1, loewis, theller
Priority: normal Keywords:

Created on 2008-04-04 18:54 by MrJean1, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (5)
msg64937 - (view) Author: Jean Brouwers (MrJean1) Date: 2008-04-04 18:53
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
...
msg64938 - (view) Author: Thomas Heller (theller) * (Python committer) Date: 2008-04-04 19:06
On *nix-like systems, ctypes will most likely only compile with gcc. 
Since I do not have access to such systems, neither the expertise for
them, this will not change unless someone provides patches.
msg64940 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2008-04-04 19:46
Please create one report per issue.
msg64947 - (view) Author: Jean Brouwers (MrJean1) Date: 2008-04-04 20:15
Done, see issues 2552, 2554 and 2555.  Please ignore, close duplicate 
2553.
msg64963 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2008-04-05 04:27
Thanks!
History
Date User Action Args
2022-04-11 14:56:33adminsetgithub: 46803
2008-04-05 04:27:52loewissetstatus: open -> closed
resolution: duplicate
messages: + msg64963
2008-04-04 20:15:38MrJean1setmessages: + msg64947
2008-04-04 19:46:11loewissetnosy: + loewis
messages: + msg64940
2008-04-04 19:06:01thellersetnosy: + theller
messages: + msg64938
2008-04-04 18:54:00MrJean1create