| Summary: | dev-python/gevent-zeromq-0.2.5-r1 with >dev-python/pyzmq-13 - ? | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | W. Trevor King <wking> |
| Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
| Status: | RESOLVED TEST-REQUEST | ||
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | emerge --info | ||
The above errors were with dev-python/pyzmq-14.1.1. When I explicitly install dev-python/pyzmq-2.2.0.1-r1, the gevent-zeromq emerge runs fine. Created attachment 374656 [details]
emerge --info
Please attach the entire build log to this bug report (In reply to Jeroen Roovers from comment #3) > Please attach the entire build log to this bug report This isn't a build issue, it's a runtime. Sorry I don't see how a build log will help here, this time. (In reply to W. Trevor King from comment #1) > The above errors were with dev-python/pyzmq-14.1.1. When I explicitly > install dev-python/pyzmq-2.2.0.1-r1, the gevent-zeromq emerge runs fine. https://github.com/tmc/gevent-zeromq/blob/v0.2.5/requirements.txt#L1 seals it. This file requirements.txt has apparently been left out of the tarball. To be slightly safe I'll make it resolved test-request. 11 Apr 2014; Ian Delaney <idella4@gentoo.org> gevent-zeromq-0.2.5-r1.ebuild: set dep pyzmq to required version, thx to report in Bug #507296 by W. King |
I can't compile gevent-zeromq 0.2.5-r1 with pyzmq Reproducible: Always Steps to Reproduce: 1. emerge -av gevent-zeromq Actual Results: … running build_ext cythoning gevent_zeromq/core.pyx to gevent_zeromq/core.c Error compiling Cython file: ------------------------------------------------------------ ... import gevent from gevent import select from gevent.event import AsyncResult from gevent.hub import get_hub from zmq.core.context cimport Context as _Context ^ ------------------------------------------------------------ gevent_zeromq/core.pyx:13:0: 'zmq.core.context.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... import gevent from gevent import select from gevent.event import AsyncResult from gevent.hub import get_hub from zmq.core.context cimport Context as _Context ^ ------------------------------------------------------------ gevent_zeromq/core.pyx:13:0: 'Context.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... import gevent from gevent import select from gevent.event import AsyncResult from gevent.hub import get_hub from zmq.core.context cimport Context as _Context ^ ------------------------------------------------------------ gevent_zeromq/core.pyx:13:30: Name 'Context' not declared in module 'zmq.core.context' Error compiling Cython file: ------------------------------------------------------------ ... from gevent import select from gevent.event import AsyncResult from gevent.hub import get_hub from zmq.core.context cimport Context as _Context from zmq.core.socket cimport Socket as _Socket ^ ------------------------------------------------------------ gevent_zeromq/core.pyx:14:0: 'zmq.core.socket.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... from gevent import select from gevent.event import AsyncResult from gevent.hub import get_hub from zmq.core.context cimport Context as _Context from zmq.core.socket cimport Socket as _Socket ^ ------------------------------------------------------------ gevent_zeromq/core.pyx:14:0: 'Socket.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... from gevent import select from gevent.event import AsyncResult from gevent.hub import get_hub from zmq.core.context cimport Context as _Context from zmq.core.socket cimport Socket as _Socket ^ ------------------------------------------------------------ gevent_zeromq/core.pyx:14:29: Name 'Socket' not declared in module 'zmq.core.socket' Error compiling Cython file: ------------------------------------------------------------ ... from zmq.core.context cimport Context as _Context from zmq.core.socket cimport Socket as _Socket cdef class GreenSocket(_Socket): ^ ------------------------------------------------------------ gevent_zeromq/core.pyx:17:5: '_Socket' is not declared … x86_64-pc-linux-gnu-gcc -pthread -O2 -march=native -pipe -fPIC -I/usr/lib64/python2.7/site-packages -I/usr/lib64/python2.7/site-packages/zmq/utils -I/usr/include/python2.7 -c gevent_zeromq/core.c -o /var/tmp/portage/dev-python/gevent-zeromq-0.2.5-r1/work/gevent_zeromq-0.2.5-python2_7/temp.linux-x86_64-2.7/gevent_zeromq/core.o gevent_zeromq/core.c:1:2: error: #error Do not use this file, it is the result of a failed Cython compilation. error: command 'x86_64-pc-linux-gnu-gcc' failed with exit status 1 … Expected Results: A clean emerge :). gevent-zeromq hasn't seen much action recently, and 0.2.5 claims compatibility with pyzmq 2.2.0 [1]. However, pyzmq has recently jumped from 2.2.0 to 13.x and 14.x [2], and presumably made some changes that break the gevent-zeromq build. I think the RDEPEND here should be adjusted to pin the pyzmq dependency at 2.2.0. [1]: https://github.com/tmc/gevent-zeromq/blob/v0.2.5/requirements.txt#L1 [2]: https://github.com/zeromq/pyzmq#old-versions