-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Build
-
None
-
ALL
-
Dev Platform 2021-11-01
I just tried to build with SCons 4.2.0 to test an upstream PR, and I got this error while building with Icecream:
mkdir -p build/scons/icecream && ICECC_VERSION_TMP=$(/usr/bin/icecc-create-env --clang /opt/mongodbtoolchain/v3/bin/clang /opt/mongodbtoolchain/v3/bin/clang++ | awk '/^creating .*\.tar\.gz/ { print $2 }') && mv $ICECC_VERSION_TMP build/scons/icecream/icecc-create-env._opt_mongodbtool chain_v3_bin_clang_opt_mongodbtoolchain_v3_bin_clang++.tar.gz tar xfO build/scons/icecream/icecc-create-env._opt_mongodbtoolchain_v3_bin_clang_opt_mongodbtoolchain_v3_bin_clang++.tar.gz | shasum -b -a 256 - | awk '{ print $1 }' > build/scons/icecream/icecc-create-env._opt_mongodbtoolchain_v3_bin_clang_opt_mongodbtoolchain_v3_bin_clang++.tar.gz. sha256 ln -f build/scons/icecream/icecc-create-env._opt_mongodbtoolchain_v3_bin_clang_opt_mongodbtoolchain_v3_bin_clang++.tar.gz build/scons/icecream/icecream_py_sha256_$(cat build/scons/icecream/icecc-create-env._opt_mongodbtoolchain_v3_bin_clang_opt_mongodbtoolchain_v3_bin_clang++.tar.gz. sha256).tar.gz echo /home/ubuntu/workspace/mongo/build/scons/icecream/icecream_py_sha256_$(cat build/scons/icecream/icecc-create-env._opt_mongodbtoolchain_v3_bin_clang_opt_mongodbtoolchain_v3_bin_clang++.tar.gz.sha256).tar.gz > build/scons/icecream/icecc-create-env._opt_mongodbtoolchain_v3_bin_clan g_opt_mongodbtoolchain_v3_bin_clang++.tar.gz.sha256.path <lambda>([None], ["build/scons/icecream/icecc-create-env._opt_mongodbtoolchain_v3_bin_clang_opt_mongodbtoolchain_v3_bin_clang++.tar.gz.sha256.path"]) Creating 'build/scons/icecream/run-icecc.sh' Chmod("build/scons/icecream/run-icecc.sh", "u+x") scons: done building targets. [356/6335 ( 5%) 28.812s] Compiling build/opt/mongo/client/hedging_mode_gen.o ICECC[28789] 2021-10-13 22:46:10: $ICECC_VERSION has to point to an existing file to be installed None03ce9c68d5738a2cf8bdc6c4855b01af
While the above output shows Ninja in use, this is not a factor - the same behavior occurs without Ninja in play.