Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bazel 3.7.2 build error #19518

Open
chensisi0730 opened this issue Sep 14, 2023 · 4 comments
Open

bazel 3.7.2 build error #19518

chensisi0730 opened this issue Sep 14, 2023 · 4 comments
Labels
more data needed stale Issues or PRs that are stale (no activity for 30 days) team-OSS Issues for the Bazel OSS team: installation, release processBazel packaging, website type: bug

Comments

@chensisi0730
Copy link

Description of the bug:

zhiyun@css-intel-zhiyunMacBook-Pro-2 bazel % bazel build //src:bazel-dev
Starting local Bazel server and connecting to it...
DEBUG: /private/var/tmp/_bazel_zhiyun/2c27ae5b4010f0d0a0e461505d440b8b/external/bazel_toolchains/rules/rbe_repo/version_check.bzl:68:14:
Current running Bazel is ahead of bazel-toolchains repo. Please update your pin to bazel-toolchains repo in your WORKSPACE file.
DEBUG: /private/var/tmp/_bazel_zhiyun/2c27ae5b4010f0d0a0e461505d440b8b/external/bazel_toolchains/rules/rbe_repo/checked_in.bzl:103:14: rbe_ubuntu1804_java11 not using checked in configs as detect_java_home was set to True
DEBUG: /private/var/tmp/_bazel_zhiyun/2c27ae5b4010f0d0a0e461505d440b8b/external/bazel_toolchains/rules/rbe_repo/version_check.bzl:68:14:
Current running Bazel is ahead of bazel-toolchains repo. Please update your pin to bazel-toolchains repo in your WORKSPACE file.
DEBUG: /private/var/tmp/_bazel_zhiyun/2c27ae5b4010f0d0a0e461505d440b8b/external/bazel_toolchains/rules/rbe_repo/checked_in.bzl:103:14: rbe_ubuntu1604_java8 not using checked in configs as detect_java_home was set to True
ERROR: /private/var/tmp/_bazel_zhiyun/2c27ae5b4010f0d0a0e461505d440b8b/external/build_bazel_rules_nodejs/internal/node/node.bzl:89:45: invalid escape sequence: /. Use '\' to insert ''.
ERROR: /private/var/tmp/_bazel_zhiyun/2c27ae5b4010f0d0a0e461505d440b8b/external/build_bazel_rules_nodejs/internal/node/node.bzl:89:64: invalid escape sequence: .. Use '\' to insert ''.
ERROR: Error computing the main repository mapping: at /private/var/tmp/_bazel_zhiyun/2c27ae5b4010f0d0a0e461505d440b8b/external/build_bazel_rules_nodejs/index.bzl:25:5: compilation of module 'internal/node/node.bzl' failed

Which category does this issue belong to?

No response

What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.

No response

Which operating system are you running Bazel on?

mac

What is the output of bazel info release?

No response

If bazel info release returns development version or (@non-git), tell us how you built Bazel.

No response

What's the output of git remote get-url origin; git rev-parse master; git rev-parse HEAD ?

No response

Is this a regression? If yes, please try to identify the Bazel commit where the bug was introduced.

No response

Have you found anything relevant by searching the web?

No response

Any other information, logs, or outputs that you want to share?

No response

@sgowroji
Copy link
Member

Hi @chensisi0730, Could you please provide complete steps to reproduce this issue?

@chensisi0730
Copy link
Author

Hi @chensisi0730, Could you please provide complete steps to reproduce this issue?

@sgowroji
bazel build //src:bazel-dev

@iancha1992
Copy link
Member

@chensisi0730 Thanks for reporting this issue! Can you please try with the newer version of Bazel? Maybe 6.3.2?

@sgowroji sgowroji added the team-OSS Issues for the Bazel OSS team: installation, release processBazel packaging, website label Oct 10, 2023
Copy link

Thank you for contributing to the Bazel repository! This issue has been marked as stale since it has not had any activity in the last 1+ years. It will be closed in the next 90 days unless any other activity occurs. If you think this issue is still relevant and should stay open, please post any comment here and the issue will no longer be marked as stale.

@github-actions github-actions bot added the stale Issues or PRs that are stale (no activity for 30 days) label Dec 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
more data needed stale Issues or PRs that are stale (no activity for 30 days) team-OSS Issues for the Bazel OSS team: installation, release processBazel packaging, website type: bug
Projects
None yet
Development

No branches or pull requests

4 participants