Details
-
Bug
-
Resolution: Done
-
Major - P3
-
None
-
3.3.6
-
None
-
ALL
Description
After the upgrade to Visual Studio 2015 and the latest Scons, rebuilds of all server components with multiple processes are occasionally failing with the error below:
scons -j 12 --dbg=on --opt=off --ssl --dynamic-windows --win-version-min=ws08r2 CPPPATH="D:/workspace/libs/snmp/include D:/workspace/libs/sasl/include D:/workspace/libs/openssl/include" LIBPATH="D:/workspace/libs/snmp/lib D:/workspace/libs/sasl/lib D:/workspace/libs/openssl/lib" VERBOSE=false all
|
...
|
Creating 'build\debug\mongo\util\version.cpp'
|
Compiling build\debug\mongo\util\version.obj
|
...
|
c1xx: fatal error C1083: Cannot open source file: 'build\debug\mongo\util\version.cpp': Permission denied
|
scons: *** [build\debug\mongo\util\version.obj] Error 2
|
Performing search for the processes, which have version.cpp open immediately after scons fails does not yield any open handles on it, which indicates that there is possibly a race condition between the script, which updates version.cpp and dispatching its compilation.