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

Martin Pitt martin.pitt at ubuntu.com
Wed Dec 19 15:41:55 UTC 2012


Adding a pygobject task then, as something is obviously wrong, but I
don't know what.

0 (master) martin at donald:~/upstream/pygobject
$ git grep Py_InitModule
gi/_glib/pyglib-python-compat.h:    PyObject *module = Py_InitModule(fullpkgname, functions); \
gi/_glib/pyglib-python-compat.h:    module = Py_InitModule(modname, symbol##_functions);

This just uses the usual Py_InitModule
(http://docs.python.org/2/c-api/allocation.html), nothing else.

-- 
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