[Python-Dev] alpha problems -- need input (original) (raw)

Thomas Heller theller at python.net
Thu Mar 30 19:22:23 CEST 2006


Neal Norwitz wrote:

These issues are on HEAD. There might be some others I missed.

With cc there are at least 2 issues: * testfile causes interpreter exit due to sys.stdin.seek(-1) * testpty fails apparently due to whitespace differences http://www.python.org/dev/buildbot/all/alpha%20Tru64%205.1%20trunk/builds/18/step-test/0 Should we skip the test for an invalid seek on stdin on osf1? I haven't investigated the testpty failure further. With gcc, there are also several issues: * testfloat and teststruct fail due to NaN handling * testlong fails * testctypes ... testctypes fails because findLib() doesn't seem to work properly on OSF1. Note: libc.so => /usr/shlib/libc.so ERROR: testfind (ctypes.test.testloading.LoaderTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/net/ringneck/scratch1/nnorwitz/python/trunk/Lib/ctypes/test/testloading.py", line 40, in testfind cdll.find(name) File "/net/ringneck/scratch1/nnorwitz/python/trunk/Lib/ctypes/loader.py", line 205, in find raise OSError("Library %r not found" % name) OSError: Library 'c' not found

The ctypes findLib stuff for 'os.name == "posix"' was written by Andreas Degert, he used fancy calls to gcc, /sbin/ldconfig, and objdump to find the shared lib that would be used for the linker's -l flag. Apparently this only works on some systems. On OSX, Bob Ippolito's macholib is used.

If someone could implement this for other systems it would be great, otherwise it would probably be best to enable this test only on linux .

Thomas



More information about the Python-Dev mailing list