-
-
Notifications
You must be signed in to change notification settings - Fork 656
Closed
Description
Environment
- **OS**: Using Ubuntu 20.04 inside Docker in Mac M2
- **Sage Version**: 10.2
Steps To Reproduce
I tried to install sage using the commands mentioned as a solution to a previous issue raised here.
I get the following error:
[qepcad-B.1.72] ****************************************************
[qepcad-B.1.72] Package 'qepcad' is currently not installed
[qepcad-B.1.72] No legacy uninstaller found for 'qepcad'; nothing to do
[qepcad-B.1.72] Making the optimized libraries ...
[qepcad-B.1.72] cd extensions; make opt "CCo=g++" "FLAGSo=-g -O2 -Wl,-rpath,/root/Desktop/sage_git/sage-10.2/local/lib" "CCd=g++" "FLAGSd=-g" "MAKE=make " "SUBMAKEFLAGS=-j1" -j1
[qepcad-B.1.72] Making the optimized libraries ...
[qepcad-B.1.72] cd sfext; make -j1
[qepcad-B.1.72] g++ -g -O2 -Wl,-rpath,/root/Desktop/sage_git/sage-10.2/local/lib -I/root/Desktop/sage_git/sage-10.2/local/lib/saclib/include -I/root/Desktop/sage_git/sage-10.2/local/var/tmp/sage/build/qepcad-B.1.72/src/source/ -I. -c addpol/BPOLSETS.c
[qepcad-B.1.72] In file included from /root/Desktop/sage_git/sage-10.2/local/lib/saclib/include/saclib.h:11,
[qepcad-B.1.72] from /root/Desktop/sage_git/sage-10.2/local/var/tmp/sage/build/qepcad-B.1.72/src/source/qepcad.h:12,
[qepcad-B.1.72] from addpol/BPOLSETS.c:23:
[qepcad-B.1.72] /root/Desktop/sage_git/sage-10.2/local/lib/saclib/include/hfloats.h:12:10: fatal error: sysdep.h: No such file or directory
[qepcad-B.1.72] 12 | #include "sysdep.h"
[qepcad-B.1.72] | ^~~~~~~~~~
[qepcad-B.1.72] compilation terminated.
[qepcad-B.1.72] make[7]: *** [Makefile:242: BPOLSETS.o] Error 1
[qepcad-B.1.72] make[6]: *** [Makefile:11: opt] Error 2
[qepcad-B.1.72] make[5]: *** [Makefile:32: opt] Error 2
[qepcad-B.1.72] Error building qepcad.
[qepcad-B.1.72]
[qepcad-B.1.72] real 0m0.148s
[qepcad-B.1.72] user 0m0.119s
[qepcad-B.1.72] sys 0m0.030s
[qepcad-B.1.72] ************************************************************************
[qepcad-B.1.72] Error installing package qepcad-B.1.72
[qepcad-B.1.72] ************************************************************************
[qepcad-B.1.72] Please email sage-devel (http://groups.google.com/group/sage-devel)
[qepcad-B.1.72] explaining the problem and including the log files
[qepcad-B.1.72] /root/Desktop/sage_git/sage-10.2/logs/pkgs/qepcad-B.1.72.log
[qepcad-B.1.72] and
[qepcad-B.1.72] /root/Desktop/sage_git/sage-10.2/config.log
[qepcad-B.1.72] Describe your computer, operating system, etc.
[qepcad-B.1.72] If you want to try to fix the problem yourself, *don't* just cd to
[qepcad-B.1.72] /root/Desktop/sage_git/sage-10.2/local/var/tmp/sage/build/qepcad-B.1.72 and type 'make' or whatever is appropriate.
[qepcad-B.1.72] Instead, the following commands setup all environment variables
[qepcad-B.1.72] correctly and load a subshell for you to debug the error:
[qepcad-B.1.72] (cd '/root/Desktop/sage_git/sage-10.2/local/var/tmp/sage/build/qepcad-B.1.72' && '/root/Desktop/sage_git/sage-10.2/sage' --buildsh)
[qepcad-B.1.72] When you are done debugging, you can type "exit" to leave the subshell.
[qepcad-B.1.72] ************************************************************************
make[4]: *** [Makefile:3211: qepcad-SAGE_LOCAL-no-deps] Error 1
make[3]: *** [Makefile:3211: /root/Desktop/sage_git/sage-10.2/local/var/lib/sage/installed/qepcad-B.1.72] Error 2
make[2]: *** [Makefile:2840: all-start] Error 2
make[2]: Leaving directory '/root/Desktop/sage_git/sage-10.2/build/make'
real 10m59.143s
user 6m33.123s
sys 0m47.424s
***************************************************************
Error building Sage.
The following package(s) may have failed to build (not necessarily
during this run of 'make all-start'):
* package: qepcad-B.1.72
last build time: Dec 6 19:36
log file: /root/Desktop/sage_git/sage-10.2/logs/pkgs/qepcad-B.1.72.log
build directory: /root/Desktop/sage_git/sage-10.2/local/var/tmp/sage/build/qepcad-B.1.72
It is safe to delete any log files and build directories, but they
contain information that is helpful for debugging build problems.
WARNING: If you now run 'make' again, the build directory of the
same version of the package will, by default, be deleted. Set the
environment variable SAGE_KEEP_BUILT_SPKGS=yes to prevent this.
make[1]: *** [Makefile:40: all-start] Error 1
make[1]: Leaving directory '/root/Desktop/sage_git/sage-10.2'
make: *** [Makefile:13: all] Error 2
When I open the qepcad-B.1.72.log
file I see the following error:
Attempting to download package qepcad-B.1.72.tar.gz from mirrors
https://github.com/sagemath/sage/releases/download/10.2/qepcad-B.1.72.tar.gz
[xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx]
ERROR [transfer|run:135]: [Errno 404] Not Found: '//github.com/sagemath/sage/releases/download/10.2/qepcad-B.1.72.tar.gz'
https://github.com/sagemath/sage/releases/download/10.1/qepcad-B.1.72.tar.gz
[xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx]
ERROR [transfer|run:135]: [Errno 404] Not Found: '//github.com/sagemath/sage/releases/download/10.1/qepcad-B.1.72.tar.gz'
http://files.sagemath.org/spkg/upstream/qepcad/qepcad-B.1.72.tar.gz
[......................................................................]
qepcad-B.1.72
Is the qepcad-B.1.72.tar.gz
not being downloaded the issue, is there any way to resolve this?
Thanks
Best Regards
Config log
Package logs
Additional Information
I hope these log files do not contain any sensitive data.
Checklist
- I have searched the existing issues for a bug report that matches the one I want to file, without success.
- I have read the documentation and troubleshoot guide