[Scons-users] 3.0.5 msvc path construction problem

Mats Wichmann mats at wichmann.us
Wed Mar 27 10:44:57 EDT 2019


On 3/27/19 6:53 AM, Joseph C. Brill wrote:
> SCons 3.0.5 adds additional paths to the ENV['PATH'] after the default MSVC
> configuration as compared to SCons 3.0.4.
> 
> The following paths are added to the ENV['PATH'] after the msvc
> configuration in SCons 3.0.5:
>     C:\\ProgramData\\chocolatey\\bin;
>     C:\\msys64;
>     C:\\msys;
>     C:\\cygwin64\\bin;
>     C:\\cygwin\\bin;
>     C:/Program Files\\Java\\jdk1.8.0_172\\bin;
> 
> The following paths are added to the ENV['PATH'] after the msvc
> configuration in SCons 3.0.4:
>     C:\\Program Files\\Java\\jdk1.8.0_172\\bin;
> 
> When configured from the command line using vcvarsall.bat, the JDK is not
> added to the path.

tools modules add the path in which the underlying tool was found, if
one was found (thus the JDK, for instance).  but it seems unlikely all
of those should have been added unless your system has all of 32/64 bit
msys, 32/64bit cygwin, and stuff installed through Chocolatey.

So  it  seems like something is letting additional paths sneak in to
ENV['PATH']




More information about the Scons-users mailing list