[Bug 1092117] Re: failed to import snack

Mitsuya Shibata mty.shibata at gmail.com
Wed Dec 19 14:16:34 UTC 2012


In raring:
$ readelf -s /usr/lib/python2.7/dist-packages/_snack.so | grep Py_Ref
    83: 0000000000000000     0 NOTYPE  GLOBAL DEFAULT  UND _Py_RefTotal

$ ldd /usr/lib/python2.7/dist-packages/_snack.so 
        linux-vdso.so.1 =>  (0x00007fffe9fa0000)
        libnewt.so.0.52 => /lib/x86_64-linux-gnu/libnewt.so.0.52 (0x00007fde55fe5000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fde55c23000)
        libslang.so.2 => /lib/x86_64-linux-gnu/libslang.so.2 (0x00007fde55892000)
        libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fde5568e000)
        /lib64/ld-linux-x86-64.so.2 (0x00007fde5641d000)
        libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fde5538d000)


--------------

In 12.10:
$ readelf -s /usr/lib/python2.7/dist-packages/_snackmodule.so | grep Py_Ref

$ ldd /usr/lib/python2.7/dist-packages/_snackmodule.so
        linux-vdso.so.1 =>  (0x00007fffbabff000)
        libnewt.so.0.52 => /lib/libnewt.so.0.52 (0x00007f33c1ecf000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f33c1b10000)
        libslang.so.2 => /lib/x86_64-linux-gnu/libslang.so.2 (0x00007f33c177f000)
        libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f33c157b000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f33c2308000)
        libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f33c127f000)

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

Title:
  failed to import snack

Status in “newt” package in Ubuntu:
  New

Bug description:
  Couldn't import snack on raring. No error on 12.10.

  How to reproduce:
  $ python
  Python 2.7.3 (default, Dec 12 2012, 19:00:09) 
  [GCC 4.7.2] on linux2
  Type "help", "copyright", "credits" or "license" for more information.
  >>> import snack
  Traceback (most recent call last):
    File "<stdin>", line 1, in <module>
    File "/usr/lib/python2.7/dist-packages/snack.py", line 44, in <module>
      import _snack
  ImportError: /usr/lib/python2.7/dist-packages/_snack.so: undefined symbol: _Py_RefTotal
  >>> 

  Result of 12.10 is following:
  $ python
  Python 2.7.3 (default, Sep 26 2012, 21:51:14) 
  [GCC 4.7.2] on linux2
  Type "help", "copyright", "credits" or "license" for more information.
  >>> import snack
  >>>

  ProblemType: Bug
  DistroRelease: Ubuntu 13.04
  Package: python-newt 0.52.14-11ubuntu4
  ProcVersionSignature: Ubuntu 3.7.0-7.15-generic 3.7.0
  Uname: Linux 3.7.0-7-generic x86_64
  ApportVersion: 2.7-0ubuntu2
  Architecture: amd64
  Date: Wed Dec 19 22:33:31 2012
  InstallationDate: Installed on 2012-12-15 (3 days ago)
  InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Alpha amd64 (20121214)
  MarkForUpload: True
  ProcEnviron:
   TERM=screen
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=ja_JP.UTF-8
   SHELL=/bin/bash
  SourcePackage: newt
  UpgradeStatus: No upgrade log present (probably fresh install)

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




More information about the foundations-bugs mailing list