[Python-modules-team] Bug#485055: simpleparse: FTBFS: ImportError: ... undefined symbol: Py_InitModule4
Daniel Schepler
schepler at math.berkeley.edu
Sat Jun 7 22:04:30 UTC 2008
Package: simpleparse
Version: 2.1.0a1-1
Severity: serious
From my pbuilder build log:
...
ln -s ../test_printers_garbage.py tests/.
PYTHONPATH='debian/tmp/usr/lib/python2.4/site-packages' \
python tests/test.py
/tmp/buildd/simpleparse-2.1.0a1/debian/tmp/usr/lib/python2.4/site-packages/simpleparse/stt/TextTools/TextTools.py:170:
Warning: 'with' will become a reserved keyword in Python 2.6
...
Traceback (most recent call last):
File "tests/test.py", line 2, in <module>
import mx_test, test_objectgenerator, test_simpleparsegrammar
File "/tmp/buildd/simpleparse-2.1.0a1/tests/mx_test.py", line 1, in <module>
import mx_low, mx_flag, mx_high, mx_special, mx_recursive
File "/tmp/buildd/simpleparse-2.1.0a1/tests/mx_low.py", line 3, in <module>
from simpleparse.stt.TextTools import *
File "/tmp/buildd/simpleparse-2.1.0a1/debian/tmp/usr/lib/python2.4/site-packages/simpleparse/stt/TextTools/__init__.py",
line 9, in <module>
from TextTools import *
File "/tmp/buildd/simpleparse-2.1.0a1/debian/tmp/usr/lib/python2.4/site-packages/simpleparse/stt/TextTools/TextTools.py",
line 13, in <module>
from mxTextTools import *
File "/tmp/buildd/simpleparse-2.1.0a1/debian/tmp/usr/lib/python2.4/site-packages/simpleparse/stt/TextTools/mxTextTools/__init__.py",
line 9, in <module>
from simpleparse.stt.TextTools.mxTextTools.mxTextTools import *
ImportError: /tmp/buildd/simpleparse-2.1.0a1/debian/tmp/usr/lib/python2.4/site-packages/simpleparse/stt/TextTools/mxTextTools/mxTextTools.so:
undefined symbol: Py_InitModule4
make: *** [binary-post-install/python-simpleparse] Error 1
dpkg-buildpackage: failure: fakeroot debian/rules binary gave error exit status 2
--
Daniel Schepler
More information about the Python-modules-team
mailing list