[Bug 1091615] Re: [raring] recent versions break python2.7-dbg: undefined symbol: Py_InitModule4_64

Matthias Klose doko at ubuntu.com
Wed Dec 19 17:23:17 UTC 2012


yes, the import fails, when you don't have python-gi-dbg installed.

after installing python-gi-dbg, I get:

$ python2.7-dbg -c 'import gi'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python2.7/dist-packages/gi/__init__.py", line 27, in <module>
    from ._gi import _API, Repository
ImportError: /usr/lib/python2.7/dist-packages/gi/_gi_d.so: undefined symbol: Py_InitModule4_64
[18485 refs]

so it looks like the extension is built using the normal version, not
the debug version of the interpreter.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python2.7 in Ubuntu.
https://bugs.launchpad.net/bugs/1091615

Title:
  [raring] recent versions break python2.7-dbg: undefined symbol:
  Py_InitModule4_64

Status in “pygobject” package in Ubuntu:
  New
Status in “python2.7” package in Ubuntu:
  Invalid

Bug description:
  One of the last python2.7 uploads seems to have broken the -dbg
  variant:

  $ python2.7-dbg -c 'import gi'
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "/usr/lib/python2.7/dist-packages/gi/__init__.py", line 27, in <module>
      from ._gi import _API, Repository
  ImportError: /usr/lib/python2.7/dist-packages/gi/_gi.so: undefined symbol: Py_InitModule4_64
  [54700 refs]

  This also happens when rebuilding pygobject. python2.7, python3.3, and
  python3.3-dbg are all fine.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pygobject/+bug/1091615/+subscriptions




More information about the foundations-bugs mailing list