Bug 139570 - games-puzzle/kiki-1.0.2 doesn't run with swig-1.3.29
Bug#: 139570 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: games@gentoo.org Reported By: nyhm@gentoo.org
Component: Games
URL: 
Summary: games-puzzle/kiki-1.0.2 doesn't run with swig-1.3.29
Keywords:  
Status Whiteboard: 
Opened: 2006-07-07 09:08 0000
Description:   Opened: 2006-07-07 09:08 0000
Traceback (most recent call last):
  File "/usr/share/games/kiki/py/env.py", line 43, in ?
    world          = Controller.world
AttributeError: 'PySwigObject' object has no attribute 'world'
Segmentation fault (core dumped)


Works with swig-1.3.25.

------- Comment #1 From Algardas Pelakauskas 2006-07-07 16:43:47 0000 -------
Same error here.  Tested with swig-1.3.29 and swig-1.3.25, both don't work.
Or maybe kiki shouldn't work with python-2.4?

------- Comment #2 From Tristan Heaven 2006-07-07 16:56:38 0000 -------
try emerge -1 =swig-1.3.25 kiki

------- Comment #3 From Algardas Pelakauskas 2006-07-08 03:28:37 0000 -------
(In reply to comment #2)
> try emerge -1 =swig-1.3.25 kiki
> 

good point :)
I really downgraded to swig-1.3.25 without re-emerging kiki.

Thanks.

------- Comment #4 From onur@pardus.org.tr 2006-11-13 03:20:10 0000 -------
Kiki can run with swig 1.3.29. In Pardus packages we regenerate the swig stuff
with something like this. The syntax is taken from Makefile.

shelltools.cd("SWIG")
shelltools.system("swig -c++ -python -globals kiki -o KikiPy_wrap.cpp
KikiPy.i")
shelltools.copy("kiki.py", "../py/")

You can also check out how the kiki package is built from here,
http://svn.pardus.org.tr/pardus/devel/applications/games/kiki/

Thought you would like to know.

------- Comment #5 From Tristan Heaven 2006-11-13 04:18:24 0000 -------
Thanks.