I freshly updated to ubuntu focal and wanted to remake sage and failed. See attached log.
I ran `make dist-clean` and `make clean` and `./configure` various times and I have no clue why it tries to uninstall gmpy and why it fails. The claim is that it could not find python, but I'm using system python 3.8.5. Thank you, Jonathan -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/acf2dfc3-eaf6-408c-9d32-169070d177d9n%40googlegroups.com.
Found local metadata for gmpy2-2.1.0b5 Using cached file /home/jonathan/Applications/sage/upstream/gmpy2-2.1.0b5.tar.gz gmpy2-2.1.0b5 ==================================================== Setting up build directory for gmpy2-2.1.0b5 Finished extraction No patch files found in ../patches **************************************************** Host system: Linux kliem-ThinkPad-L570 5.4.0-52-generic #57-Ubuntu SMP Thu Oct 15 10:57:00 UTC 2020 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/9/lto-wrapper OFFLOAD_TARGET_NAMES=nvptx-none:hsa OFFLOAD_TARGET_DEFAULT=1 Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 9.3.0-17ubuntu1~20.04' --with-bugurl=file:///usr/share/doc/gcc-9/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,gm2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-9 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-9-HskZEa/gcc-9-9.3.0/debian/tmp-nvptx/usr,hsa --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 9.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04) **************************************************** Package 'gmpy2' is currently not installed No legacy uninstaller found for 'gmpy2'; nothing to do Installing gmpy2-2.1.0b5 Error: Tried to use Sage's Python which was not yet installed. If this was called from an spkg-install script for another package you should add $(PYTHON) as a dependency in build/pkgs/<pkg>/dependencies Error: could not determine package name ************************************************************************************************************************************************************************************ Error uninstalling a previous version of gmpy2-2.1.0b5 ************************************************************************************************************************************************************************************ real 0m0.020s user 0m0.022s sys 0m0.001s ************************************************************************ Error installing package gmpy2-2.1.0b5 ************************************************************************ Please email sage-devel (http://groups.google.com/group/sage-devel) explaining the problem and including the log file /home/jonathan/Applications/sage/logs/pkgs/gmpy2-2.1.0b5.log Describe your computer, operating system, etc. If you want to try to fix the problem yourself, *don't* just cd to /home/jonathan/Applications/sage/local/var/tmp/sage/build/gmpy2-2.1.0b5 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/jonathan/Applications/sage/local/var/tmp/sage/build/gmpy2-2.1.0b5' && '/home/jonathan/Applications/sage/sage' --buildsh) When you are done debugging, you can type "exit" to leave the subshell. ************************************************************************