-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: 4.5.1
-
Component/s: Build
-
Fully Compatible
-
ALL
-
v4.4
-
Dev Platform 2020-06-29, Dev Platform 2020-07-13
While attempting to build on macOS Catalina, I received an error:
/bin/sh: Fusion.app/Contents/Public: No such file or directory
Which immediately looks like a path split on "VMware Fusion" and is confirmed by looking in build.ninja and seeing many repetitions of the following pattern:
build +auth_op_observer_test: CMD build/install/bin/db_auth_test | build/install/bin/db_auth_test $ || _generated_sources pool = console cmd = build/install/bin/db_auth_test -fileNameFilter auth_op_observer_test env = PATH=/usr/local/bin:/opt/bin:/bin:/usr/bin $ PATHOSX=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/VMware $ Fusion.app/Contents/Public
Manually editing this file to include a backslash after "VMware\ " resolves the issue.
scons invocation:
python3.7 buildscripts/scons.py --link-model=static -j24 MONGO_VERSION=0.0.0 MONGO_GIT_HASH=unknown --ninja build.ninja
macOS: 10.15.2
Xcode: 11.1 (11A1027)
python: 3.7.2 (Homebrew)