-
Type:
Bug
-
Resolution: Done
-
Priority:
Major - P3
-
None
-
Affects Version/s: 3.3.6
-
Component/s: Build
-
None
-
ALL
-
None
-
3
-
None
-
None
-
None
-
None
-
None
-
None
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.