Package: python2.7
Version: 2.7.10-2
Severity: normal

Dear Maintainer,

I'm on a powerpc machine. Importing ctypes from python2.7 results in
this error:

    % python
    Python 2.7.10 (default, Jun  1 2015, 16:21:46)
    [GCC 4.9.2] on linux2
    Type "help", "copyright", "credits" or "license" for more information.
    >>> import ctypes
    Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
      File "/usr/lib/python2.7/ctypes/__init__.py", line 555, in <module>
        _reset_cache()
      File "/usr/lib/python2.7/ctypes/__init__.py", line 279, in _reset_cache
        CFUNCTYPE(c_int)(lambda: None)
    RuntimeError: ffi_prep_cif failed with 2


Commenting out the CFUNCTYPE(c_int)(lambda: None) call allows ctypes to load
and run without apparent problems.

-- System Information:
Debian Release: 7.6
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: powerpc (ppc)

Kernel: Linux 3.2.0-4-powerpc
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python2.7 depends on:
ii  libpython2.7-stdlib  2.7.10-2
ii  mime-support         3.52-1
ii  python2.7-minimal    2.7.10-2

python2.7 recommends no packages.

Versions of packages python2.7 suggests:
ii  binutils       2.22-8
pn  python2.7-doc  <none>

-- no debconf information


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to