[Python-modules-team] Bug#734518: pyzmq: FTBFS on i386: pypy build reports ImportError

Julian Taylor jtaylor.debian at googlemail.com
Tue Jan 7 20:05:44 UTC 2014


On 07.01.2014 21:00, Aaron M. Ucko wrote:
> Source: pyzmq
> Version: 14.0.1-1
> Severity: serious
> Justification: fails to build from source (but built successfully in the past)
> 
> The i386 build of pyzmq for pypy failed with an ImportError, as detailed at
> https://buildd.debian.org/status/fetch.php?pkg=pyzmq&arch=i386&ver=14.0.1-1&stamp=1389093279:
> 
>   pypy -c 'import zmq'
>   Traceback (most recent call last):
>     File "app_main.py", line 72, in run_toplevel
>     File "app_main.py", line 566, in run_it
>     File "<string>", line 1, in <module>
>     File "zmq/__init__.py", line 62, in <module>
>       from zmq.backend import *
>     File "zmq/backend/__init__.py", line 22, in <module>
>       _ns = select_backend('zmq.backend.cffi')
>     File "zmq/backend/select.py", line 31, in select_backend
>       mod = __import__(name, fromlist=public_api)
>     File "zmq/backend/cffi/__init__.py", line 46, in <module>
>       from zmq.backend.cffi import (constants, error, message, context, socket,
>     File "zmq/backend/cffi/constants.py", line 4, in <module>
>       from ._cffi import C, c_constant_names
>     File "zmq/backend/cffi/_cffi.py", line 180, in <module>
>       "Please check that you have zeromq headers and libraries." % e)
>   ImportError: PyZMQ CFFI backend couldn't find zeromq: unsupported operand type(s) for +: 'str' and 'list'
>   Please check that you have zeromq headers and libraries.
> 
> Could you please take a look?
> 


its because pypy 2.2 has not built on i386 yet, a cffi function has a
different return value in 2.1.
It should solve itself when pypy 2.2 builds on i386.



More information about the Python-modules-team mailing list