[Mesa-dev] scons: name 'graw' is not defined

Michal Krol michal at vmware.com
Thu May 6 04:43:14 PDT 2010


W dniu 2010-05-06 13:21, Michal Krol pisze:
> I am getting that error with HEAD on master building with scons on windows.
>
>   >  scons
> scons: Reading SConscript files ...
> Checking for C header file udis86.h... (cached) no
> warning: LLVM disabled: not building llvmpipe
> NameError: name 'graw' is not defined:
>     File "C:\src\mesa\SConstruct", line 203:
>       duplicate = 0 #
> http://www.scons.org/doc/0.97/HTML/scons-user/x2261.html
>     File
> "c:\Python26\Lib\site-packages\scons-1.2.0.d20100117\SCons\Script\SConscr
> ipt.py", line 616:
>       return apply(method, args, kw)
>     File
> "c:\Python26\Lib\site-packages\scons-1.2.0.d20100117\SCons\Script\SConscr
> ipt.py", line 553:
>       return apply(_SConscript, [self.fs,] + files, subst_kw)
>     File
> "c:\Python26\Lib\site-packages\scons-1.2.0.d20100117\SCons\Script\SConscr
> ipt.py", line 262:
>       exec _file_ in call_stack[-1].globals
>     File "C:\src\mesa\src\SConscript", line 8:
>       SConscript('gallium/SConscript')
>     File
> "c:\Python26\Lib\site-packages\scons-1.2.0.d20100117\SCons\Script\SConscr
> ipt.py", line 616:
>       return apply(method, args, kw)
>     File
> "c:\Python26\Lib\site-packages\scons-1.2.0.d20100117\SCons\Script\SConscr
> ipt.py", line 553:
>       return apply(_SConscript, [self.fs,] + files, subst_kw)
>     File
> "c:\Python26\Lib\site-packages\scons-1.2.0.d20100117\SCons\Script\SConscr
> ipt.py", line 262:
>       exec _file_ in call_stack[-1].globals
>     File "C:\src\mesa\src\gallium\SConscript", line 28:
>       SConscript('tests/raw/SConscript')
>     File
> "c:\Python26\Lib\site-packages\scons-1.2.0.d20100117\SCons\Script\SConscr
> ipt.py", line 616:
>       return apply(method, args, kw)
>     File
> "c:\Python26\Lib\site-packages\scons-1.2.0.d20100117\SCons\Script\SConscr
> ipt.py", line 553:
>       return apply(_SConscript, [self.fs,] + files, subst_kw)
>     File
> "c:\Python26\Lib\site-packages\scons-1.2.0.d20100117\SCons\Script\SConscr
> ipt.py", line 262:
>       exec _file_ in call_stack[-1].globals
>     File "C:\src\mesa\src\gallium\tests\raw\SConscript", line 8:
>       env.Prepend(LIBPATH = [graw.dir])
>
>
> Any ideas?
>    
Builds start breaking with commit 
b2e343daab4a7621e2bd9bc4b2cbd2709370089c: tests/raw: Get it building 
with scons


More information about the mesa-dev mailing list