INFO: Invocation ID: a41cd297-0e7b-455b-8a16-4edceb21421f
INFO: Analyzed target //:browser_test_chromium-local (0 packages loaded, 0 targets configured).
INFO: Found 1 target...
ERROR: /Users/vertexwahn/BazelDemos/intermediate/WebdriverDemoMinimal/BUILD.bazel:3:18: Creating runfiles tree bazel-out/darwin_arm64-fastbuild/bin/browser_test_chromium-local.sh.runfiles failed: build-runfiles failed: error executing command
(cd /private/var/tmp/_bazel_vertexwahn/2b5fd7fbf794ab41b41cacdaf2ebb972/execroot/main && \
exec env - \
PATH='/Users/vertexwahn/Library/Caches/bazelisk/downloads/sha256/c3e8a47b9926adc305cacf64e6d17964dfa08c570c139a734e00c381bf38ba49/bin:/Users/vertexwahn/.rd/bin:/Users/vertexwahn/.local/bin:/Users/vertexwahn/Library/pnpm:/Users/vertexwahn/.nvm/versions/node/v14.20.0/bin:/Users/vertexwahn/Library/Python/3.8/bin:/opt/homebrew/opt/openjdk/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/share/dotnet:~/.dotnet/tools:/Library/Apple/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Users/vertexwahn/.rd/bin:/Users/vertexwahn/.local/bin:/Users/vertexwahn/Library/pnpm:/Users/vertexwahn/.nvm/versions/node/v14.20.0/bin:/Users/vertexwahn/Library/Python/3.8/bin:/opt/homebrew/opt/openjdk/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/Users/vertexwahn/Library/Application Support/JetBrains/Toolbox/scripts:/Users/vertexwahn/go/bin:/Users/vertexwahn/Library/Application Support/JetBrains/Toolbox/scripts:/Users/vertexwahn/go/bin' \
/var/tmp/_bazel_vertexwahn/install/d1c493495cc9599d12332f6800b1abcf/build-runfiles --allow_relative bazel-out/darwin_arm64-fastbuild/bin/browser_test_chromium-local.sh.runfiles_manifest bazel-out/darwin_arm64-fastbuild/bin/browser_test_chromium-local.sh.runfiles): Process exited with status 1: Process exited with status 1
/var/tmp/_bazel_vertexwahn/install/d1c493495cc9599d12332f6800b1abcf/build-runfiles (args bazel-out/darwin_arm64-fastbuild/bin/browser_test_chromium-local.sh.runfiles_manifest bazel-out/darwin_arm64-fastbuild/bin/browser_test_chromium-local.sh.runfiles): link or target filename contains space on line 176: 'main/external/org_chromium_chromium_macos_arm64/chrome-mac/Chromium.app/Contents/Frameworks/Chromium Framework.framework/Chromium Framework /private/var/tmp/_bazel_vertexwahn/2b5fd7fbf794ab41b41cacdaf2ebb972/external/org_chromium_chromium_macos_arm64/chrome-mac/Chromium.app/Contents/Frameworks/Chromium Framework.framework/Chromium Framework'
Target //:browser_test_chromium-local failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 3.008s, Critical Path: 0.02s
INFO: 5 processes: 5 internal.
FAILED: Build did NOT complete successfully
When I try build the following demo on macOS M1:
.bazelversion:
6.3.2
_browsertest.py:
import unittest
from testing.web import webtest
class BrowserTest(unittest.TestCase):
def setUp(self):
self.driver = webtest.new_webdriver_session()
def tearDown(self):
try:
self.driver.quit()
finally:
self.driver = None
def testTitle(self):
self.driver.get("https://www.python.org")
self.assertEqual("Welcome to Python.org", self.driver.title)
if __name__ == "__main__":
unittest.main()
I get this error:
When I try build the following demo on macOS M1:
.bazelversion:
_browsertest.py:
BUILD.bazel:
WORKSPACE:
Is macOS (with M1/ARM) not supported?