Hi Sam,

This is a temporary issue with python3 support. Once gem5-20 is released
(hopefully today or tomorrow), this issue should be resolved. In the
meantime, you can try to downgrade to python 2 and run `python2 scons....`
or use an ubuntu 18.04 docker image (see
http://www.gem5.org/documentation/general_docs/building#docker for
details.).

Cheers,
Jason

On Mon, May 18, 2020 at 1:03 PM Samon Shivastar via gem5-users <
[email protected]> wrote:

> Dear All,
>
> I got a problem compiling gem5 latest repo on Ubuntu 20.04.
>
> It gives following error:
>
> scons build/X86/gem5.opt -j6
> scons: Reading SConscript files ...
> 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/samsi/gem5/SConstruct", line 355:
>     main['GCC'] = CXX_version and CXX_version.find('g++') >= 0
>
> Any ideas how to fix this error?
>
> Thanks in advance.
>
> Sam
> _______________________________________________
> gem5-users mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
> %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
_______________________________________________
gem5-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to