I am using a Windows Subsystem for Linux with Ubuntu Focal.
After installing
sudo apt install build-essential git m4 scons zlib1g zlib1g-dev libprotobuf-dev protobuf-compiler libprotoc-dev libgoogle-perftools-dev python-dev python libboost-all-dev
I am trying to build gem5 with scons from the gem5 folder
scons build/ARM/gem5.opt -j 4
and get the error
Warning: Failed to find git repo directory: a bytes-like object is required, not 'str' :
TypeError: argument should be integer or bytes-like object, not 'str' :
File "/home/user/gem5/Sconstruct", line 355:
main['GCC'] = CXX_version and CXX_version.find('g++')>= 0
On an older build of WSL using Bionics, those steps worked without problems. Any idea, what i am missing here?