Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 344351 - dev-python/soya is broken
Summary: dev-python/soya is broken
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 341057
  Show dependency tree
 
Reported: 2010-11-06 09:16 UTC by Florent D'halluin (Flal)
Modified: 2010-11-06 16:50 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florent D'halluin (Flal) 2010-11-06 09:16:25 UTC
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
Comment 1 Florent D'halluin (Flal) 2010-11-06 10:55:28 UTC
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. 
Comment 2 Florent D'halluin (Flal) 2010-11-06 11:35:18 UTC
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 ... 
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2010-11-06 16:22:41 UTC
Added the patch and an opengl use dep for libsdl to soya-0.14.ebuild.  Nice work tracking that down.
Comment 4 Florent D'halluin (Flal) 2010-11-06 16:48:50 UTC
Cool, now I think it will be awesome to mark 0.14 as stable, this version is more that a year old .. 
Comment 5 Mr. Bones. (RETIRED) gentoo-dev 2010-11-06 16:50:42 UTC
that's Bug 344395