Looks like Hygienic builds do not work with Ninja on Windows:
D:\workspace\mongodb-master>buildscripts\scons.py --jlink=4 --install-mode=hygienic --ssl --win-version-min=win10 --detect-odr-violations --dbg=on --opt=off CPPPATH="D:/workspace/libs/snmp/include D:/workspace/libs/sasl/include" LIBPATH="D:/workspace/libs/snmp/lib D:/workspace/libs/sasl/lib" MONGO_GIT_HASH="unknown" MONGO_VERSION="0.0.0" VARIANT_DIR=ninja --ninja build.ninja ... D:\workspace\mongodb-master>ninja install-core ninja: error: build.ninja:11328: multiple rules generate build/ninja/mongo/mongotrafficreader.pdb [-w dupbuild=err]
Hygienic builds without Ninja seem to work though:
D:\workspace\mongodb-master>buildscripts\scons.py --jlink=4 --install-mode=hygienic --ssl --win-version-min=win10 --detect-odr-violations --dbg=on --opt=off CPPPATH="D:/workspace/libs/snmp/include D:/workspace/libs/sasl/include" LIBPATH="D:/workspace/libs/snmp/lib D:/workspace/libs/sasl/lib" install-core
- is depended on by
-
SERVER-47776 Promote ninja-next to stable
- Closed