Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-50075

MongoDB failed to run buildscripts/scons.py all -j4 with MSVC on windows

    • Type: Icon: Question Question
    • Resolution: Done
    • Priority: Icon: Major - P3 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:

      1. git clone -c core.autocrlf=true https://github.com/mongodb/mongo D:\MongoDB\src
      2. Open a VS 2019 x64 command prompt and browse to D:\MongoDB\src
      3. Apply the three patches in the attachment in order: mongodb_addoption_bug943976.patch mongodb_bug668740.patch mongodb_c2039,c3646.patch
      4. set VSCMD_SKIP_SENDTELEMETRY=1 & "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\Tools\VsDevCmd.bat" -host_arch=amd64 -arch=amd64
      5. pip3 install -r etc/pip/compile-requirements.txt
      6. set VSCMD_SKIP_SENDTELEMETRY=1 & "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\Tools\VsDevCmd.bat" -host_arch=amd64 -arch=amd64
      7. 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)

       

       

       

        1. build.log
          6 kB
        2. patch.zip
          1 kB

            Assignee:
            eric.sedor@mongodb.com Eric Sedor
            Reporter:
            v-mingxi@microsoft.com v-mingxi xiao
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: