Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pyzmq depends on cython #18996

Closed
vbraun opened this issue Aug 6, 2015 · 10 comments
Closed

pyzmq depends on cython #18996

vbraun opened this issue Aug 6, 2015 · 10 comments

Comments

@vbraun
Copy link
Member

vbraun commented Aug 6, 2015

[...]
copying zmq/utils/pyversion_compat.h -> build/lib.linux-x86_64-2.7-pydebug/zmq/utils
copying zmq/utils/zmq_compat.h -> build/lib.linux-x86_64-2.7-pydebug/zmq/utils
copying zmq/utils/zmq_constants.h -> build/lib.linux-x86_64-2.7-pydebug/zmq/utils
copying zmq/utils/config.json -> build/lib.linux-x86_64-2.7-pydebug/zmq/utils
copying zmq/utils/compiler.json -> build/lib.linux-x86_64-2.7-pydebug/zmq/utils
running build_ext
running configure
Configure: Autodetecting ZMQ settings...
    Custom ZMQ dir:       /mnt/disk/home/buildslave-sage/slave/sage_git/build/local
************************************************
creating build/temp.linux-x86_64-2.7-pydebug/scratch/tmp
cc -c /tmp/timer_createeGy6q5.c -o build/temp.linux-x86_64-2.7-pydebug/scratch/tmp/timer_createeGy6q5.o
/tmp/timer_createeGy6q5.c:1:1: warning: return type defaults to 'int' [-Wimplicit-int]
 main (int argc, char **argv) {
 ^
/tmp/timer_createeGy6q5.c: In function 'main':
/tmp/timer_createeGy6q5.c:2:5: warning: implicit declaration of function 'timer_create' [-Wimplicit-function-declaration]
     timer_create();
     ^
cc build/temp.linux-x86_64-2.7-pydebug/scratch/tmp/timer_createeGy6q5.o -o build/temp.linux-x86_64-2.7-pydebug/scratch/a.out
build/temp.linux-x86_64-2.7-pydebug/scratch/tmp/timer_createeGy6q5.o: In function `main':
timer_createeGy6q5.c:(.text+0x15): undefined reference to `timer_create'
collect2: error: ld returned 1 exit status
gcc -fno-strict-aliasing -g -O2 -g -O0 -Wall -fPIC -I/mnt/disk/home/buildslave-sage/slave/sage_git/build/local/include -Izmq/utils -Izmq/backend/cython -Izmq/devices -c build/temp.linux-x86_64-2.7-pydebug/scratch/vers.c -o build/temp.linux-x86_64-2.7-pydebug/scratch/vers.o
gcc build/temp.linux-x86_64-2.7-pydebug/scratch/vers.o -L/mnt/disk/home/buildslave-sage/slave/sage_git/build/local/lib -Wl,-R/mnt/disk/home/buildslave-sage/slave/sage_git/build/local/lib -lzmq -lrt -o build/temp.linux-x86_64-2.7-pydebug/scratch/vers
    ZMQ version detected: 4.0.5
************************************************
failed to import Cython: No module named Compiler.Main
error: Cython does not appear to be installed

real 0m1.548s
user 0m0.560s
sys 0m0.175s
************************************************************************
Error installing package pyzmq-14.3.0
************************************************************************
Please email sage-devel (http://groups.google.com/group/sage-devel)
explaining the problem and including the relevant part of the log file
  /mnt/disk/home/buildslave-sage/slave/sage_git/build/logs/pkgs/pyzmq-14.3.0.log
Describe your computer, operating system, etc.
If you want to try to fix the problem yourself, *don't* just cd to
/mnt/disk/home/buildslave-sage/slave/sage_git/build/local/var/tmp/sage/build/pyzmq-14.3.0 and type 'make' or whatever is appropriate.
Instead, the following commands setup all environment variables
correctly and load a subshell for you to debug the error:
  (cd '/mnt/disk/home/buildslave-sage/slave/sage_git/build/local/var/tmp/sage/build/pyzmq-14.3.0' && '/mnt/disk/home/buildslave-sage/slave/sage_git/build/sage' --sh)
When you are done debugging, you can type "exit" to leave the subshell.
************************************************************************

CC: @kiwifb

Component: packages: standard

Author: Volker Braun

Branch: 69ccccf

Reviewer: François Bissey

Issue created by migration from https://trac.sagemath.org/ticket/18996

@vbraun vbraun added this to the sage-6.9 milestone Aug 6, 2015
@vbraun
Copy link
Member Author

vbraun commented Aug 6, 2015

Author: Volker Braun

@vbraun

This comment has been minimized.

@vbraun
Copy link
Member Author

vbraun commented Aug 6, 2015

Branch: u/vbraun/pyzmq_depends_on_cython

@vbraun
Copy link
Member Author

vbraun commented Aug 6, 2015

New commits:

69ccccfadd cython as dependency to pyzmq

@vbraun
Copy link
Member Author

vbraun commented Aug 6, 2015

Commit: 69ccccf

@kiwifb
Copy link
Member

kiwifb commented Aug 6, 2015

comment:4

The message is fairly clear. It looks like this dependency may be missing in the Gentoo ebuild too . Upstream pyzmq doesn't list cython as a dependency but clearly should just looking at setup.py.

@kiwifb
Copy link
Member

kiwifb commented Aug 6, 2015

Reviewer: François Bissey

@vbraun
Copy link
Member Author

vbraun commented Aug 6, 2015

Changed branch from u/vbraun/pyzmq_depends_on_cython to 69ccccf

@fchapoton
Copy link
Contributor

Changed commit from 69ccccf to none

@fchapoton

This comment has been minimized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants