Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#18996 closed defect (fixed)

pyzmq depends on cython — at Version 6

Reported by: vbraun Owned by:
Priority: major Milestone: sage-6.9
Component: packages: standard Keywords:
Cc: fbissey Merged in:
Authors: Volker Braun Reviewers: François Bissey
Report Upstream: N/A Work issues:
Branch: 69ccccf (Commits, GitHub, GitLab) Commit:
Dependencies: Stopgaps:

Status badges

Description (last modified by chapoton)

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]
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 (
explaining the problem and including the relevant part of the log file
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.

Change History (6)

comment:1 Changed 6 years ago by vbraun

  • Authors set to Volker Braun
  • Component changed from PLEASE CHANGE to packages: standard
  • Description modified (diff)
  • Type changed from PLEASE CHANGE to defect

comment:2 Changed 6 years ago by vbraun

  • Branch set to u/vbraun/pyzmq_depends_on_cython

comment:3 Changed 6 years ago by vbraun

  • Cc fbissey added
  • Commit set to 69ccccf7c6bda81f22fd3ab7434203773f104051
  • Status changed from new to needs_review

New commits:

69ccccfadd cython as dependency to pyzmq

comment:4 Changed 6 years ago by fbissey

  • Reviewers set to François Bissey
  • Status changed from needs_review to positive_review

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

comment:5 Changed 6 years ago by vbraun

  • Branch changed from u/vbraun/pyzmq_depends_on_cython to 69ccccf7c6bda81f22fd3ab7434203773f104051
  • Resolution set to fixed
  • Status changed from positive_review to closed

comment:6 Changed 6 years ago by chapoton

  • Commit 69ccccf7c6bda81f22fd3ab7434203773f104051 deleted
  • Description modified (diff)
Note: See TracTickets for help on using tickets.