electron / electron/build-tools

err: fork/exec /Users/lucad/.electron_build_tools/third_party/depot_tools/bootstrap-2@3_11_8_chromium_35_bin/python3/bin/python3.exe: The system cannot find the path specified.

Open
#779 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
297
Forks
83
Avg merge
17h 23m
Merged PRs (30d)
15

Description

### Operating System

Windows 11

### Expected Behavior

Build completes

### Actual Behavior

Build fails

### To Reproduce

Run `e build`

### Screenshots

### Additional Information

Looks like the drive letter (C:) is being omitted from path to the python3.exe executable?
```
D:\Projects\kynesin\apps\desktop\electron-src>e build
Running "autoninja.bat -remote_jobs 200 -project electron-rbe -reapi_instance projects/electron-rbe/instances/default_instance -reapi_address rbe.notgoma.com:443 -load D:\Projects\kynesin\apps\desktop\electron-src\src\electron\build\siso\main.star -re_exec_enable=false electron" in D:\Projects\kynesin\apps\desktop\electron-src\src\out\Testing
exec_root=D:\Projects\kynesin\apps\desktop\electron-src\src dir=out\Testing
use reapi "rbe.notgoma.com:443" instance "projects/electron-rbe/instances/default_instance"
1.29s load build.ninja
Prioritizing last failed targets: [gen/sandbox/policy/mojom/context.mojom-shared-message-ids.h]
[29/54539] 4.55s F ACTION //sandbox/policy/mojom:mojom__generate_message_ids(//build/toolchain/win:win_clang_x64)
FAILED: abd4d61d-9a91-4c68-91dd-c88f990ec5f2 "./gen/sandbox/policy/mojom/context.mojom-shared-message-ids.h" ACTION //sandbox/policy/mojom:mojom__generate_message_ids(//build/toolchain/win:win_clang_x64)
err: fork/exec /Users/lucad/.electron_build_tools/third_party/depot_tools/bootstrap-2@3_11_8_chromium_35_bin/python3/bin/python3.exe: The system cannot find the path specified.
C:/Users/lucad/.electron_build_tools/third_party/depot_tools/bootstrap-2@3_11_8_chromium_35_bin/python3/bin/python3.exe ../../mojo/public/tools/bindings/mojom_bindings_generator.py --use_bundled_pylibs -o gen generate -d ../../ -I ../../ --bytecode_path gen/mojo/public/tools/bindings --filelist=gen/sandbox/policy/mojom/mojom__generate_message_ids.rsp --generate_non_variant_code --generate_message_ids -g c++
build step: __sandbox_policy_mojom_mojom__generate_message_ids___build_toolchain_win_win_clang_x64__rule "./gen/sandbox/policy/mojom/context.mojom-shared-message-ids.h"
siso_rule: mojo/mojom_bindings_generator
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.