-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Build
-
Fully Compatible
-
ALL
The ninja generated-sources target fails to generate basic_types_gen.h/.cpp and what is worse, it marks it as generated so that a subsequent ninja install-core doesn't work.
To reproduce it, start with a clean repository and execute the following commands:
buildscripts/scons.py --ssl --build-tools=next --variables-files=etc/scons/developer_versions.vars --variables-files=etc/scons/mongodbtoolchain_stable_clang.vars -j128 --jlink=4 ICECC=icecc CCACHE=ccache VARIANT_DIR=ninja DESTDIR=build/install_ninja --link-model=dynamic --dbg=on --opt=off --ninja generate-ninja ninja generated-sources && ninja compiledb && ninja -j128 install-all
If the last line is replaced with only ninja -j128 install-all, the build succeeds.
- related to
-
SERVER-91716 SCons invocations with VARIANT_DIR/DESTDIR/NINJA_PREFIX impact each other
-
- Backlog
-