Hi, I'm trying to build Sage for a Mac (OSX v. 10.12.6) and it appears to bomb out when trying to build cython. Error log attached. Thanks in advance...
Paul -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
Found local metadata for cython-0.25.2.p2 Attempting to download package Cython-0.25.2.tar.gz from mirrors http://mirrors.mit.edu/sage/spkg/upstream/cython/Cython-0.25.2.tar.gz [......................................................................] cython-0.25.2.p2 ==================================================== Setting up build directory for cython-0.25.2.p2 Finished extraction Applying patches from ../patches... Applying ../patches/cdef_public_dll_linkage.patch patching file Cython/Compiler/ModuleNode.py Hunk #2 succeeded at 2861 (offset 13 lines). Applying ../patches/cpdef_enums.pyx.patch patching file tests/run/cpdef_enums.pyx Applying ../patches/create_extension.patch patching file Cython/Build/Dependencies.py Hunk #1 succeeded at 636 (offset -1 lines). Hunk #2 succeeded at 682 (offset -1 lines). Hunk #3 succeeded at 709 (offset -1 lines). Hunk #4 succeeded at 742 (offset -1 lines). patching file Cython/Compiler/Main.py patching file docs/src/reference/compilation.rst Hunk #1 succeeded at 122 (offset -4 lines). Hunk #2 succeeded at 160 (offset -4 lines). patching file tests/compile/create_extension.srctree Applying ../patches/dd0b10c7e31ea136632bfcfd46c925adcf4c4af6.patch patching file tests/run/numpy_test.pyx Applying ../patches/dd9eb10bc5657beed1f66221511c16ec6f4e517d.patch patching file tests/run/numpy_test.pyx Applying ../patches/include_dirs_from_externs.patch patching file Cython/Build/Dependencies.py Hunk #1 succeeded at 374 (offset -1 lines). Hunk #2 succeeded at 498 (offset -1 lines). Hunk #3 succeeded at 599 (offset -1 lines). patching file tests/run/cimport_from_sys_path.srctree Applying ../patches/pxi_sys_path.patch patching file Cython/Compiler/Main.py **************************************************** Host system: Darwin Pauls-MacBook-Pro.local 16.7.0 Darwin Kernel Version 16.7.0: Thu Jun 15 17:36:27 PDT 2017; root:xnu-3789.70.16~2/RELEASE_X86_64 x86_64 **************************************************** C compiler: gcc C compiler version: Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/Applications/SageMath/local/libexec/gcc/x86_64-apple-darwin16.7.0/5.4.0/lto-wrapper Target: x86_64-apple-darwin16.7.0 Configured with: ../src/configure --prefix=/Applications/SageMath/local --with-local-prefix=/Applications/SageMath/local --with-gmp=/Applications/SageMath/local --with-mpfr=/Applications/SageMath/local --with-mpc=/Applications/SageMath/local --with-system-zlib --disable-multilib --disable-nls --enable-languages=c,c++,fortran --disable-libitm --with-build-config=bootstrap-debug --without-isl --without-cloog Thread model: posix gcc version 5.4.0 (GCC) **************************************************** Unable to find pgen, not compiling formal grammar. Traceback (most recent call last): File "/Applications/SageMath/src/bin/pip2-lock", line 55, in <module> load_entry_point('pip', 'console_scripts', 'pip2')() File "/Applications/SageMath/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 561, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/Applications/SageMath/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2630, in load_entry_point raise ImportError("Entry point %r not found" % ((group, name),)) ImportError: Entry point ('console_scripts', 'pip2') not found Error installing Cython real 0m0.740s user 0m0.614s sys 0m0.106s ************************************************************************ Error installing package cython-0.25.2.p2 ************************************************************************ Please email sage-devel (http://groups.google.com/group/sage-devel) explaining the problem and including the log file /Applications/SageMath/logs/pkgs/cython-0.25.2.p2.log Describe your computer, operating system, etc. If you want to try to fix the problem yourself, *don't* just cd to /Applications/SageMath/local/var/tmp/sage/build/cython-0.25.2.p2 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 '/Applications/SageMath/local/var/tmp/sage/build/cython-0.25.2.p2' && '/Applications/SageMath/sage' --sh) When you are done debugging, you can type "exit" to leave the subshell. ************************************************************************ Found local metadata for cython-0.25.2.p2 Using cached file /Applications/SageMath/upstream/Cython-0.25.2.tar.gz cython-0.25.2.p2 ==================================================== Moving old directory cython-0.25.2.p2 to /Applications/SageMath/local/var/tmp/sage/build/old... Setting up build directory for cython-0.25.2.p2 Finished extraction Applying patches from ../patches... Applying ../patches/cdef_public_dll_linkage.patch patching file Cython/Compiler/ModuleNode.py Hunk #2 succeeded at 2861 (offset 13 lines). Applying ../patches/cpdef_enums.pyx.patch patching file tests/run/cpdef_enums.pyx Applying ../patches/create_extension.patch patching file Cython/Build/Dependencies.py Hunk #1 succeeded at 636 (offset -1 lines). Hunk #2 succeeded at 682 (offset -1 lines). Hunk #3 succeeded at 709 (offset -1 lines). Hunk #4 succeeded at 742 (offset -1 lines). patching file Cython/Compiler/Main.py patching file docs/src/reference/compilation.rst Hunk #1 succeeded at 122 (offset -4 lines). Hunk #2 succeeded at 160 (offset -4 lines). patching file tests/compile/create_extension.srctree Applying ../patches/dd0b10c7e31ea136632bfcfd46c925adcf4c4af6.patch patching file tests/run/numpy_test.pyx Applying ../patches/dd9eb10bc5657beed1f66221511c16ec6f4e517d.patch patching file tests/run/numpy_test.pyx Applying ../patches/include_dirs_from_externs.patch patching file Cython/Build/Dependencies.py Hunk #1 succeeded at 374 (offset -1 lines). Hunk #2 succeeded at 498 (offset -1 lines). Hunk #3 succeeded at 599 (offset -1 lines). patching file tests/run/cimport_from_sys_path.srctree Applying ../patches/pxi_sys_path.patch patching file Cython/Compiler/Main.py **************************************************** Host system: Darwin Pauls-MacBook-Pro.local 16.7.0 Darwin Kernel Version 16.7.0: Thu Jun 15 17:36:27 PDT 2017; root:xnu-3789.70.16~2/RELEASE_X86_64 x86_64 **************************************************** C compiler: gcc C compiler version: Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/Applications/SageMath/local/libexec/gcc/x86_64-apple-darwin16.7.0/5.4.0/lto-wrapper Target: x86_64-apple-darwin16.7.0 Configured with: ../src/configure --prefix=/Applications/SageMath/local --with-local-prefix=/Applications/SageMath/local --with-gmp=/Applications/SageMath/local --with-mpfr=/Applications/SageMath/local --with-mpc=/Applications/SageMath/local --with-system-zlib --disable-multilib --disable-nls --enable-languages=c,c++,fortran --disable-libitm --with-build-config=bootstrap-debug --without-isl --without-cloog Thread model: posix gcc version 5.4.0 (GCC) **************************************************** Unable to find pgen, not compiling formal grammar. Traceback (most recent call last): File "/Applications/SageMath/src/bin/pip2-lock", line 55, in <module> load_entry_point('pip', 'console_scripts', 'pip2')() File "/Applications/SageMath/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 561, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/Applications/SageMath/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2630, in load_entry_point raise ImportError("Entry point %r not found" % ((group, name),)) ImportError: Entry point ('console_scripts', 'pip2') not found Error installing Cython real 0m0.778s user 0m0.653s sys 0m0.112s ************************************************************************ Error installing package cython-0.25.2.p2 ************************************************************************ Please email sage-devel (http://groups.google.com/group/sage-devel) explaining the problem and including the log file /Applications/SageMath/logs/pkgs/cython-0.25.2.p2.log Describe your computer, operating system, etc. If you want to try to fix the problem yourself, *don't* just cd to /Applications/SageMath/local/var/tmp/sage/build/cython-0.25.2.p2 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 '/Applications/SageMath/local/var/tmp/sage/build/cython-0.25.2.p2' && '/Applications/SageMath/sage' --sh) When you are done debugging, you can type "exit" to leave the subshell. ************************************************************************ Found local metadata for cython-0.25.2.p2 Using cached file /Applications/SageMath/upstream/Cython-0.25.2.tar.gz cython-0.25.2.p2 ==================================================== Moving old directory cython-0.25.2.p2 to /Applications/SageMath/local/var/tmp/sage/build/old... Setting up build directory for cython-0.25.2.p2 Finished extraction Applying patches from ../patches... Applying ../patches/cdef_public_dll_linkage.patch patching file Cython/Compiler/ModuleNode.py Hunk #2 succeeded at 2861 (offset 13 lines). Applying ../patches/cpdef_enums.pyx.patch patching file tests/run/cpdef_enums.pyx Applying ../patches/create_extension.patch patching file Cython/Build/Dependencies.py Hunk #1 succeeded at 636 (offset -1 lines). Hunk #2 succeeded at 682 (offset -1 lines). Hunk #3 succeeded at 709 (offset -1 lines). Hunk #4 succeeded at 742 (offset -1 lines). patching file Cython/Compiler/Main.py patching file docs/src/reference/compilation.rst Hunk #1 succeeded at 122 (offset -4 lines). Hunk #2 succeeded at 160 (offset -4 lines). patching file tests/compile/create_extension.srctree Applying ../patches/dd0b10c7e31ea136632bfcfd46c925adcf4c4af6.patch patching file tests/run/numpy_test.pyx Applying ../patches/dd9eb10bc5657beed1f66221511c16ec6f4e517d.patch patching file tests/run/numpy_test.pyx Applying ../patches/include_dirs_from_externs.patch patching file Cython/Build/Dependencies.py Hunk #1 succeeded at 374 (offset -1 lines). Hunk #2 succeeded at 498 (offset -1 lines). Hunk #3 succeeded at 599 (offset -1 lines). patching file tests/run/cimport_from_sys_path.srctree Applying ../patches/pxi_sys_path.patch patching file Cython/Compiler/Main.py **************************************************** Host system: Darwin Pauls-MacBook-Pro.local 16.7.0 Darwin Kernel Version 16.7.0: Thu Jun 15 17:36:27 PDT 2017; root:xnu-3789.70.16~2/RELEASE_X86_64 x86_64 **************************************************** C compiler: gcc C compiler version: Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/Applications/SageMath/local/libexec/gcc/x86_64-apple-darwin16.7.0/5.4.0/lto-wrapper Target: x86_64-apple-darwin16.7.0 Configured with: ../src/configure --prefix=/Applications/SageMath/local --with-local-prefix=/Applications/SageMath/local --with-gmp=/Applications/SageMath/local --with-mpfr=/Applications/SageMath/local --with-mpc=/Applications/SageMath/local --with-system-zlib --disable-multilib --disable-nls --enable-languages=c,c++,fortran --disable-libitm --with-build-config=bootstrap-debug --without-isl --without-cloog Thread model: posix gcc version 5.4.0 (GCC) **************************************************** Unable to find pgen, not compiling formal grammar. Traceback (most recent call last): File "/Applications/SageMath/src/bin/pip2-lock", line 55, in <module> load_entry_point('pip', 'console_scripts', 'pip2')() File "/Applications/SageMath/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 561, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/Applications/SageMath/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2630, in load_entry_point raise ImportError("Entry point %r not found" % ((group, name),)) ImportError: Entry point ('console_scripts', 'pip2') not found Error installing Cython real 0m0.725s user 0m0.603s sys 0m0.108s ************************************************************************ Error installing package cython-0.25.2.p2 ************************************************************************ Please email sage-devel (http://groups.google.com/group/sage-devel) explaining the problem and including the log file /Applications/SageMath/logs/pkgs/cython-0.25.2.p2.log Describe your computer, operating system, etc. If you want to try to fix the problem yourself, *don't* just cd to /Applications/SageMath/local/var/tmp/sage/build/cython-0.25.2.p2 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 '/Applications/SageMath/local/var/tmp/sage/build/cython-0.25.2.p2' && '/Applications/SageMath/sage' --sh) When you are done debugging, you can type "exit" to leave the subshell. ************************************************************************