[Python-Dev] test failures in test_ctypes (HEAD)

Guido van Rossum guido at python.org
Tue May 2 19:29:07 CEST 2006


I see test failures in current HEAD on my Google Red Hat Linux desktop
that the buildbots don't seem to have:

./python -E -tt ../Lib/test/regrtest.py test_ctypes
test_ctypes
test test_ctypes failed -- errors occurred; run in verbose mode for details

More details from running this manually:
$ ./python ../Lib/test/test_ctypes.py
.
. (lots of passing tests; then:)
.
test_gl (ctypes.test.test_find.Test_OpenGL_libs) ... ERROR
test_glu (ctypes.test.test_find.Test_OpenGL_libs) ... ERROR
test_glut (ctypes.test.test_find.Test_OpenGL_libs) ... ERROR

======================================================================
ERROR: test_gl (ctypes.test.test_find.Test_OpenGL_libs)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/guido/projects/python/trunk/Lib/ctypes/test/test_find.py",
line 42, in setUp
    self.glut = CDLL(lib_glut)
  File "/home/guido/projects/python/trunk/Lib/ctypes/__init__.py",
line 288, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: /usr/lib/libglut.so.3: undefined symbol: XGetExtensionVersion

======================================================================
ERROR: test_glu (ctypes.test.test_find.Test_OpenGL_libs)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/guido/projects/python/trunk/Lib/ctypes/test/test_find.py",
line 42, in setUp
    self.glut = CDLL(lib_glut)
  File "/home/guido/projects/python/trunk/Lib/ctypes/__init__.py",
line 288, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: /usr/lib/libglut.so.3: undefined symbol: XGetExtensionVersion

======================================================================
ERROR: test_glut (ctypes.test.test_find.Test_OpenGL_libs)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/guido/projects/python/trunk/Lib/ctypes/test/test_find.py",
line 42, in setUp
    self.glut = CDLL(lib_glut)
  File "/home/guido/projects/python/trunk/Lib/ctypes/__init__.py",
line 288, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: /usr/lib/libglut.so.3: undefined symbol: XGetExtensionVersion

----------------------------------------------------------------------

This seems libglut related -- I don't know what that is but find /lib
/usr/lib -name \*glut\* produces this output:

/usr/lib/libglut.so.3
/usr/lib/libglut.so.3.7

--
--Guido van Rossum (home page: http://www.python.org/~guido/)


More information about the Python-Dev mailing list