Bug#409954: python-xml: Importing pyexpat fails with python2.4-dbg build

Kevin Campbell kev at logicalware.com
Tue Feb 6 17:31:37 CET 2007


Package: python-xml
Version: 0.8.4-6
Severity: important


Attempting to use python2.4-dbg to import expat fails. The normal build works without
any problems. The traceback to reproduce is shown below.

kev at achar:~/src/debpkgs/python2.4-2.4.4$ python2.4-dbg
Python 2.4.4 (#1, Jan 13 2007, 17:49:45)
[GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from xml.parsers import expat
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/usr/lib/python2.4/site-packages/_xmlplus/parsers/expat.py", line 4, in ?
    from pyexpat import *
ImportError: /usr/lib/python2.4/site-packages/_xmlplus/parsers/pyexpat.so: undefined symbol: Py_InitModule4

Additional library information is as follows

ii  python2.4                        2.4.4-2                             An interactive high-level object-oriented la
ii  python2.4-dbg                    2.4.4-2                             Debug Build of the Python Interpreter (versi
ii  python2.4-dev                    2.4.4-2                             Header files and a static library for Python
ii  python2.4-minimal                2.4.4-2                             A minimal subset of the Python language (ver
ii  expat                            1.95.8-3.3                          XML parsing C library - example application
ii  libexpat1                        1.95.8-3.3                          XML parsing C library - runtime library
ii  libexpat1-dev                    1.95.8-3.3                          XML parsing C library - development kit


-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-xen-686
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages python-xml depends on:
ii  python                        2.4.3-11   An interactive high-level object-o
ii  python-central                0.5.9      register and build utility for Pyt

python-xml recommends no packages.

-- no debconf information




More information about the pkg-zope-developers mailing list