Sure, here is some diagnostic info.
*ryan@rg-home ~ $git clone https://gem5.googlesource.com/public/gem5 <https://gem5.googlesource.com/public/gem5>* Cloning into 'gem5'... remote: Sending approximately 172.49 MiB ... remote: Counting objects: 127, done remote: Finding sources: 100% (127/127) remote: Total 197148 (delta 151017), reused 197119 (delta 151017) Receiving objects: 100% (197148/197148), 172.27 MiB | 32.76 MiB/s, done. Resolving deltas: 100% (151017/151017), done. *ryan@rg-home ~ $cd gem5; scons build/X86/gem5.opt -j8* *** Error loading site_init file './site_scons/site_init.py': File "./site_scons/site_init.py", line 52 except SystemExit, e: ^ SyntaxError: invalid syntax *ryan@rg-home ~/gem5 $python2.7 "$(which scons)" build/X86/gem5.opt* SCons import failed. Unable to find engine files in: /usr/lib/scons-3.1.1 /usr/lib/scons-3.1.1 /usr/local/lib/scons-3.1.1 /usr/lib/python2.7/site-packages/scons-3.1.1 /usr/lib/python2.7/site-packages/scons-3.1.1 /usr/lib/scons-3.1.1 /usr/lib/scons /usr/lib/scons /usr/local/lib/scons /usr/lib/python2.7/site-packages/scons /usr/lib/python2.7/site-packages/scons /usr/lib/scons Traceback (most recent call last): File "/usr/bin/scons", line 195, in <module> import SCons.Script ImportError: No module named SCons.Script *ryan@rg-home ~/gem5 $which python; python -V* /usr/bin/python Python 3.7.4 *ryan@rg-home ~/gem5 $which scons; scons -v* /usr/bin/scons SCons by Steven Knight et al.: script: v3.1.1.__BUILD__, 2019-08-08 03:09:12, by none on none engine: v__VERSION__.__BUILD__, __DATE__, by __DEVELOPER__ on __BUILDSYS__ engine path: ['/usr/lib/python3.7/site-packages/SCons'] __COPYRIGHT__ On Wed, Aug 21, 2019, 09:18 Jason Lowe-Power <[email protected]> wrote: > Hey Ryan, > > Could you give more details on your system? What python version does it > have? I thought we had dealt with the python3 issues in scons... > > Thanks, > Jason > > On Tue, Aug 20, 2019 at 6:22 PM Gambord, Ryan <[email protected]> > wrote: > > > I recently updated my system and now I cannot build gem5 because scons > > gives the error: > > > > *** Error loading site_init file './site_scons/site_init.py': > > > File "./site_scons/site_init.py", line 52 > > > > > > except SystemExit, e: > > > > > > ^ > > > > > > SyntaxError: invalid syntax > > > > > > > Updating the syntax leads to chasing down more syntax errors further in > the > > scons build scripts. > > > > Ryan Gambord > > <[email protected]> > > _______________________________________________ > > gem5-dev mailing list > > [email protected] > > http://m5sim.org/mailman/listinfo/gem5-dev > _______________________________________________ > gem5-dev mailing list > [email protected] > http://m5sim.org/mailman/listinfo/gem5-dev _______________________________________________ gem5-dev mailing list [email protected] http://m5sim.org/mailman/listinfo/gem5-dev
