fail to import soya-0.10.2 : Python 2.6.5 (release26-maint, Nov 5 2010, 20:37:51) [GCC 4.4.4] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import soya Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python2.6/site-packages/soya/__init__.py", line 26, in <module> from soya._soya import * ImportError: /usr/lib/python2.6/site-packages/soya/_soya.so: undefined symbol: gluTessVertex I have same behavior with masked version (0.14). This blocks all soya based games on my machine ... I'll try to compile soya "by hand" first, then Shall we try to report upstream ? Reproducible: Always Steps to Reproduce: 1. emerge soya 2. python 3. import soya Actual Results: fail with this gluTess** thing Expected Results: nicely import everything
Ok I found the bug, the pyrex extension is not linked against libGLU. submitted a patch upstream : http://gna.org/bugs/index.php?17029 any way this just raise another bug .. on soya.init : flo@localhost:~/tmp/soya/soya$ python Python 2.6.5 (release26-maint, Nov 5 2010, 20:37:51) [GCC 4.4.4] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import soya >>> help(soya.init) >>> soya.init() Video mode set failed : X11 driver not configured with OpenGL Exception RuntimeError: RuntimeError('Video mode set failed : X11 driver not configured with OpenGL',) in '_soya.init_video' ignored Segmentation fault The svn and mailing lists of soya doesn't show that much activity also.
ok, it's just libsdl must be compiled with opengl USE flag then it works, tested with slune test game, ok. So fixes are : - apply provided patch to link soya against libGLU - libsdl must be compiled with opengl USE Now I'll be glad to help to put fixes in portage, but I've never touch an ebuild ...
Added the patch and an opengl use dep for libsdl to soya-0.14.ebuild. Nice work tracking that down.
Cool, now I think it will be awesome to mark 0.14 as stable, this version is more that a year old ..
that's Bug 344395