As of this morning, running `ninja -j500 install-core` on my dev box (ubuntu 18) for a `scons --ninja` build results in the build completing successfully, but with multiple warnings spammed to the output:
[729/4612 ( 15%) 64.160s] Compiling build/ninja/mongo/util/options_parser/value.dyn.o Can't read /proc/cpuinfo: No such file or directory Can't read /proc/cpuinfo: No such file or directory [731/4612 ( 15%) 64.240s] Compiling build/ninja/mongo/s/catalog/type_lockpings.dyn.o
This pattern is repeated between each target object ad nauseum.
Since my system certainly does have a world readable /proc/cpuinfo, I assume this is an icecream related issue where the build of that object is occurring on another machine (perhaps non-linux?).
My scons invocation is:
SCONS_INVOCATION_W_TARGETS = /usr/bin/python3 "buildscripts/scons.py" $ "CC=/opt/mongodbtoolchain/v3/bin/clang" "CXX=/opt/mongodbtoolchain/v3/bin/clang++" $ "MONGO_VERSION=0.0.0" "MONGO_GIT_HASH=unknown" "CCFLAGS=-gsplit-dwarf" "--modules=enterprise" $ "--ssl" "--link-model=dynamic" "VARIANT_DIR=ninja" "--modules=enterprise" "-j30" $ "--allocator=system" "ICECC=icecc" "--modules=enterprise" "--ninja" "build.ninja"