-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Bazel fails to compile itself from the directory that has non-ASCII characters in its name #2550
Copy link
Copy link
Closed
Labels
P3We're not considering working on this, but happy to review a PR. (No assignee)We're not considering working on this, but happy to review a PR. (No assignee)area-EngProdBazel CI, infrastructure, bootstrapping, release, and distribution toolingBazel CI, infrastructure, bootstrapping, release, and distribution toolingstaleIssues or PRs that are stale (no activity for 30 days)Issues or PRs that are stale (no activity for 30 days)team-OSSIssues for the Bazel OSS team: installation, release processBazel packaging, websiteIssues for the Bazel OSS team: installation, release processBazel packaging, websitetype: bug
Milestone
Description
Description of the problem / feature request / question:
I've unpacked bazel-0.4.4-dist.zip into /mnt/debhome/roman/roman/Завантаження/Розробка (Cyrillic characters in the path), and run ./compile.sh from there. Output:
[roman@localhost Розробка]$ ./compile.sh
INFO: You can skip this first step by providing a path to the bazel binary as second argument:
INFO: ./compile.sh compile /path/to/bazel
🍃 Building Bazel from scratch.......
🍃 Building Bazel with Bazel.
.WARNING: /tmp/bazel_gfUg55vB/out/external/bazel_tools/WORKSPACE:1: Workspace name in /tmp/bazel_gfUg55vB/out/external/bazel_tools/WORKSPACE (@io_bazel) does not match the name given in the repository's definition (@bazel_tools); this will cause a build error in future versions.
INFO: Found 1 target...
ERROR: /mnt/debhome/roman/roman/????????????/????????/src/BUILD:92:5: Executing genrule //src:dummy_darwin_tool_src_tools_xcode_libtool_make_hashed_objlist.py failed: bash failed: error executing command
(cd '/tmp/bazel_gfUg55vB/out/execroot/????????' && \
exec env - \
PATH=/home/roman/.nix-profile/bin:/home/roman/.nix-profile/sbin:/usr/lib64/qt-3.3/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/home/roman/opt/rust/bin:/home/roman/go/bin:/home/roman/.local/bin:/home/roman/bin:/home/roman/opt/cross/bin:/home/roman/opt/rust/bin:/home/roman/go/bin \
/bin/bash -c 'source external/bazel_tools/tools/genrule/genrule-setup.sh; touch bazel-out/local-opt/genfiles/src/dummy_darwin_tools/src/tools/xcode/libtool/make_hashed_objlist.py'): java.io.IOException: Cannot run program "/tmp/bazel_gfUg55vB/out/execroot/????????/_bin/process-wrapper" (in directory "/tmp/bazel_gfUg55vB/out/execroot/????????"): error=2, No such file or directory.
Target //src:bazel failed to build
INFO: Elapsed time: 27,744s, Critical Path: 1,88s
ERROR: Could not build Bazel
Works fine when I run it from the location that only has ASCII characters in name.
Environment info
- Operating System:
Fedora 25
- Bazel version (output of
bazel info release):
0.4.4
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
P3We're not considering working on this, but happy to review a PR. (No assignee)We're not considering working on this, but happy to review a PR. (No assignee)area-EngProdBazel CI, infrastructure, bootstrapping, release, and distribution toolingBazel CI, infrastructure, bootstrapping, release, and distribution toolingstaleIssues or PRs that are stale (no activity for 30 days)Issues or PRs that are stale (no activity for 30 days)team-OSSIssues for the Bazel OSS team: installation, release processBazel packaging, websiteIssues for the Bazel OSS team: installation, release processBazel packaging, websitetype: bug