Error building a wheel for setuptools_scm-5.0.1

48 views
Skip to first unread message

Arcayn LastName

unread,
Apr 5, 2021, 1:26:22 PM4/5/21
to sage-devel
Hi all,

I hope this is the correct place to ask such a question. I am trying to get a development version of sage up and running from these instructions and following the step-by-step compilation guide from these instructions. I'm using Debian GNU/Linux 10 (buster) on Windows 10 via WSL, starting from a clean Debian install and running the prerequisite installation commands given on the "Installing from source" guide. The install fails when trying to build `setuptools_scm-5.0.1`.

Since I cloned from git, I had to begin with running `make configure`, and then just ran the configure script with `./configure` - which did not appear to be documented in the "Installing from source" guide - I hope this hasn't broken anything! The reason for this is that if I followed the Developer's guide (which does not include running the configure script) only, the `make` command would do nothing but repeatedly print an error (exactly what it was I have forgotten) from `sage-venv-config.py` involving
"/doesnotexist/python3: bad interpreter: No such file or directory"
Which a comment in the sage-venv-config.py file suggested would be fixed by running the configure script (which did indeed work).

I've attatched a log file of the failed package build + my config.log

It's likely I've missed something important, but I can't figure out what it might be.

Many thanks in advance!
config.log
setuptools_scm-5.0.1.log

Matthias Koeppe

unread,
Apr 5, 2021, 1:54:21 PM4/5/21
to sage-devel
On Monday, April 5, 2021 at 10:26:22 AM UTC-7 arcay...@gmail.com wrote:
I am trying to get a development version of sage up and running from these instructions and following the step-by-step compilation guide from these instructions.

Our top-level README.md has the complete instructions. https://trac.sagemath.org/ticket/29784 describes the task of updating our developer guide -- help is welcome.

I'm using Debian GNU/Linux 10 (buster) on Windows 10 via WSL, starting from a clean Debian install and running the prerequisite installation commands given on the "Installing from source" guide. The install fails when trying to build `setuptools_scm-5.0.1`.

Thanks for sending the logs. This looks like a WSL-specific file system problem. Are you using WSL 1 or 2?

 

Matthias Koeppe

unread,
Apr 5, 2021, 2:15:10 PM4/5/21
to sage-devel
You could also try if the upgrade ticket https://trac.sagemath.org/ticket/31612 fixes this issue

Arcayn LastName

unread,
Apr 5, 2021, 3:48:30 PM4/5/21
to sage-devel
Thanks so much - I upgraded to WSL 2 (I was on 1 before) and then this patch worked for me :) it's currently compiling but setuptools_scm built correctly so fingers crossed nothing else will break down the line!
Reply all
Reply to author
Forward
0 new messages