When I build SageMath on WSL2, I encounter the following error. I have checked that I have tar, gzip installed.
-------------------------------------------------------------------------------------------------------------------------------------
[openblas-0.3.13] Setting up build directory for openblas-0.3.13 [openblas-0.3.13] Error: Unknown file type: /home/vuph/sagemath/sage/upstream/openblas-0.3.13.tar.gz
[openblas-0.3.13] Finished extraction [openblas-0.3.13] /home/vuph/sagemath/sage/build/bin/sage-spkg: line 461: cd: src: No such file or directory
[openblas-0.3.13] No patch files found in ../patches [openblas-0.3.13] **************************************************** [openblas-0.3.13] Host system: [openblas-0.3.13] Linux LAPTOP-HMRT5BN8 5.4.72-microsoft-standard-WSL2 #1 SMP Wed Oct 28 23:40:43 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
-------------------------------------------------------------------------------------------------------------------------------------
I checked that I have tar, gzip installed.
-------------------------------------------------------------------------------------------------------------------------------------
(sage-buildsh) vuph@LAPTOP-HMRT5BN8:logs$ gzip
gzip: compressed data not written to a terminal. Use -f to force compression.
For help, type: gzip -h
(sage-buildsh) vuph@LAPTOP-HMRT5BN8:logs$ tar tar: You must specify one of the '-Acdtrux', '--delete' or '--test-label' options Try 'tar --help' or 'tar --usage' for more information.
-------------------------------------------------------------------------------------------------------------------------------------