Hi, I've got the following error compiling sage 8.0 under ubuntu 16.04. I am also including the corresponding logs.
Best regards, J --------------------------------------------------------------------------------------------------------------------- Makefile:798: recipe for target 'all' failed make[1]: *** [all] Error 2 make[1]: Leaving directory '/home/av/Downloads/sage-8.0/build/make' real 5m18.242s user 17m52.316s sys 0m49.304s *************************************************************** Error building Sage. The following package(s) may have failed to build (not necessarily during this run of 'make all'): * package: cython-0.25.2.p2 log file: /home/av/Downloads/sage-8.0/logs/pkgs/cython-0.25.2.p2.log build directory: /home/av/Downloads/sage-8.0/local/var/tmp/sage/build/cython-0.25.2.p2 * package: markupsafe-0.23.p0 log file: /home/av/Downloads/sage-8.0/logs/pkgs/markupsafe-0.23.p0.log build directory: /home/av/Downloads/sage-8.0/local/var/tmp/sage/build/markupsafe-0.23.p0 The build directory may contain configuration files and other potentially helpful information. WARNING: if you now run 'make' again, the build directory will, by default, be deleted. Set the environment variable SAGE_KEEP_BUILT_SPKGS to 'yes' to prevent this. Makefile:16: recipe for target 'all' failed -- 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 Using cached file /home/av/Downloads/sage-8.0/upstream/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: Linux av-PORTEGE-R700 4.4.0-91-generic #114-Ubuntu SMP Tue Aug 8 11:56:56 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux **************************************************** C compiler: gcc C compiler version: Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 5.4.0-6ubuntu1~16.04.4' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.4) **************************************************** Unable to find pgen, not compiling formal grammar. Traceback (most recent call last): File "/home/av/Downloads/sage-8.0/src/bin/pip2-lock", line 55, in <module> load_entry_point('pip', 'console_scripts', 'pip2')() File "/home/av/Downloads/sage-8.0/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 "/home/av/Downloads/sage-8.0/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 0m1.117s user 0m0.988s sys 0m0.084s ************************************************************************ 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 /home/av/Downloads/sage-8.0/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 /home/av/Downloads/sage-8.0/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 '/home/av/Downloads/sage-8.0/local/var/tmp/sage/build/cython-0.25.2.p2' && '/home/av/Downloads/sage-8.0/sage' --sh) When you are done debugging, you can type "exit" to leave the subshell. ************************************************************************
Found local metadata for markupsafe-0.23.p0 Using cached file /home/av/Downloads/sage-8.0/upstream/markupsafe-0.23.tar.gz markupsafe-0.23.p0 ==================================================== Setting up build directory for markupsafe-0.23.p0 Finished extraction No patch files found in ../patches **************************************************** Host system: Linux av-PORTEGE-R700 4.4.0-91-generic #114-Ubuntu SMP Tue Aug 8 11:56:56 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux **************************************************** C compiler: gcc C compiler version: Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 5.4.0-6ubuntu1~16.04.4' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.4) **************************************************** Traceback (most recent call last): File "/home/av/Downloads/sage-8.0/src/bin/pip2-lock", line 55, in <module> load_entry_point('pip', 'console_scripts', 'pip2')() File "/home/av/Downloads/sage-8.0/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 "/home/av/Downloads/sage-8.0/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 markupsafe ... exiting real 0m1.087s user 0m1.008s sys 0m0.044s ************************************************************************ Error installing package markupsafe-0.23.p0 ************************************************************************ Please email sage-devel (http://groups.google.com/group/sage-devel) explaining the problem and including the log file /home/av/Downloads/sage-8.0/logs/pkgs/markupsafe-0.23.p0.log Describe your computer, operating system, etc. If you want to try to fix the problem yourself, *don't* just cd to /home/av/Downloads/sage-8.0/local/var/tmp/sage/build/markupsafe-0.23.p0 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 '/home/av/Downloads/sage-8.0/local/var/tmp/sage/build/markupsafe-0.23.p0' && '/home/av/Downloads/sage-8.0/sage' --sh) When you are done debugging, you can type "exit" to leave the subshell. ************************************************************************