Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 507296 - dev-python/gevent-zeromq-0.2.5-r1 with >dev-python/pyzmq-13 - ?
Summary: dev-python/gevent-zeromq-0.2.5-r1 with >dev-python/pyzmq-13 - ?
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-10 06:16 UTC by W. Trevor King
Modified: 2014-04-11 08:23 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (info,4.96 KB, text/plain)
2014-04-10 06:20 UTC, W. Trevor King
Details

Note You need to log in before you can comment on or make changes to this bug.
Description W. Trevor King 2014-04-10 06:16:45 UTC
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
Comment 1 W. Trevor King 2014-04-10 06:19:09 UTC
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.
Comment 2 W. Trevor King 2014-04-10 06:20:06 UTC
Created attachment 374656 [details]
emerge --info
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2014-04-10 13:16:23 UTC
Please attach the entire build log to this bug report
Comment 4 Ian Delaney (RETIRED) gentoo-dev 2014-04-11 08:23:22 UTC
(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