-
Type: Question
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Build
-
Labels:None
-
Environment:VS 2019 + Windows Server 2016 + MongoDB master branch latest revision
MongoDB failed to run buildscripts/scons.py all -j4 with MSVC on windows . It can be reproduced on master latest revision 46af3f0. Could you help have a look about this issue? Thanks in advance!
Steps to reproduce the behavior:
- git clone -c core.autocrlf=true https://github.com/mongodb/mongo D:\MongoDB\src
- Open a VS 2019 x64 command prompt and browse to D:\MongoDB\src
- Apply the three patches in the attachment in order: mongodb_addoption_bug943976.patch mongodb_bug668740.patch mongodb_c2039,c3646.patch
- set VSCMD_SKIP_SENDTELEMETRY=1 & "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\Tools\VsDevCmd.bat" -host_arch=amd64 -arch=amd64
- pip3 install -r etc/pip/compile-requirements.txt
- set VSCMD_SKIP_SENDTELEMETRY=1 & "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\Tools\VsDevCmd.bat" -host_arch=amd64 -arch=amd64
- python buildscripts/scons.py all -j4
Actual result:
scons: Building targets ...
scons: *** Do not know how to make File target {{all' (F:\gitP\mongodb\mongo\all). Stop. scons: building terminated because of errors. all failed: Do not know how to make File target }}all' (F:\gitP\mongodb\mongo\all)