I attempted to install archive-dist-test locally using ninja, and I seem to be running into an issue:
(python3-venv) ubuntu@ip-10-122-6-84 ~/mongo (SERVER-59012) $ ninja archive-dist-test -j 600 [1/1 (100%) 0.005s] Building build/opt/pkgs/mongodb-binaries.tgz FAILED: build/opt/pkgs/mongodb-binaries.tgz export PATH='/opt/mongodbtoolchain/v3/bin:/usr/local/bin:/opt/bin:/bin:/usr/bin';export CCACHE_NOCPP2='1';export ICECC_CARET_WORKAROUND='0';export CCACHE_PREFIX='/home/ubuntu/mongo/build/scons/icecream/run-icecc.sh';/bin/tar -C build/opt/install -czf build/opt/pkgs/mongodb-binaries.tgz /bin/tar: Cowardly refusing to create an empty archive Try '/bin/tar --help' or '/bin/tar --usage' for more information. ninja: build stopped: subcommand failed.
Installing with plain SCons still works correctly, so this issue seems specific to ninja.