[Scons-users] Mesa3D graphics library build failure when using Scons 3.0.3 and newer on Windows with Visual Studio 2017, Scons 3.0.1 is unaffected.

Mats Wichmann mats at wichmann.us
Sat Feb 16 15:29:38 EST 2019


On 2/16/19 12:43 PM, Liviu Prodea via Scons-users wrote:

> ValueError: invalid literal for int() with base 10: '__VERSION__':
...
  File "C:\Software\DEVELO~1\projects\mesa\mesa\scons\custom.py", line 51:
    scons_version = tuple(map(int, SCons.__version__.split('.')))


it's trying to convert an unsubstituted scons version string... was this
actually with a production scons?  anyway this location needs to be
protected a bit better against the eventuality of not finding a real
version, as it looks like other parts of your code are.


More information about the Scons-users mailing list