scale-build project build error

xiaozi

Cadet
Joined
Jul 14, 2022
Messages
2
I git clone the scale-build from github and build it with "make checkout".

I got error like this:


1657871489680.png


I check the functools.py in middleware, there is cache function.
1657871489565.png

but I don't know how scale build work. so I don't known the cause of the building problem.
 

Attachments

  • 1657871240718.png
    1657871240718.png
    76.5 KB · Views: 82

freqlabs

iXsystems
iXsystems
Joined
Jul 18, 2019
Messages
50
It's referring to Python's functools.cache. You need to use Python 3.9 or newer to run scale-build.

The Makefile uses /usr/bin/python3 by default, which for you is python3.7, hence the error. You can set PYTHON in the environment to be the path to a newer python if you have it. You'll want to rm -rf venv-* to get rid of the python3.7 environment that was set up before you run make checkout again.
 
Last edited:
Top