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

Build of root workspace with external name fails because Bazel walks into /bazel-* #6076

Closed
Yannic opened this issue Sep 4, 2018 · 4 comments
Labels
P3 We're not considering working on this, but happy to review a PR. (No assignee) stale Issues or PRs that are stale (no activity for 30 days) team-ExternalDeps External dependency handling, remote repositiories, WORKSPACE file. type: bug

Comments

@Yannic
Copy link
Contributor

Yannic commented Sep 4, 2018

Description of the problem / feature request:

Build of root workspace with external name fails because Bazel walks into /bazel-*.

ERROR: error loading package '@bazel_walk_error//bazel-bazel_walk_error/external/bazel_tools/src/main/protobuf': Extension file not found. Unable to load package for '@bazel_walk_error//tools/build_rules:genproto.bzl': BUILD file not found on package path
INFO: Elapsed time: 0,094s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (1 packages loaded)
    currently loading: @bazel_walk_error//bazel-bazel_walk_error/external/baze\
l_tools/src/main/cpp/util ... (3 packages)

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

  • Clone https://github.com/Yannic/bazel_walk_error.git and cd into workspace.
  • run bazel build //... @bazel_walk_error//... and wait until build finishes.
  • run bazel build //... and see that there is no error.
  • run bazel build @bazel_walk_error//...

What operating system are you running Bazel on?

macOS 10.13.6 (17G65)

Build label: 0.16.1
Build target: bazel-out/darwin-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar
Build time: Mon Aug 13 13:42:50 2018 (1534167770)
Build timestamp: 1534167770
Build timestamp as int: 1534167770

Reproduced on all platforms.
https://buildkite.com/bazel/rules-go-golang/builds/626

@irengrig irengrig added team-ExternalDeps External dependency handling, remote repositiories, WORKSPACE file. untriaged labels Sep 5, 2018
@dslomov dslomov added type: bug P2 We'll consider working on this in future. (Assignee optional) and removed untriaged labels Sep 10, 2018
@irengrig
Copy link
Contributor

Related issue: #6350

@meisterT meisterT added untriaged and removed P2 We'll consider working on this in future. (Assignee optional) labels May 12, 2020
@meisterT
Copy link
Member

cc @lberki

@philwo philwo added the team-OSS Issues for the Bazel OSS team: installation, release processBazel packaging, website label Jun 15, 2020
@philwo philwo added P3 We're not considering working on this, but happy to review a PR. (No assignee) and removed untriaged labels Feb 8, 2021
@philwo philwo removed the team-OSS Issues for the Bazel OSS team: installation, release processBazel packaging, website label Nov 29, 2021
@github-actions
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 14 days unless any other activity occurs or one of the following labels is added: "not stale", "awaiting-bazeler". Please reach out to the triage team (@bazelbuild/triage) if you think this issue is still relevant or you are interested in getting the issue resolved.

@github-actions github-actions bot added the stale Issues or PRs that are stale (no activity for 30 days) label May 25, 2023
@github-actions
Copy link

github-actions bot commented Jun 8, 2023

This issue has been automatically closed due to inactivity. If you're still interested in pursuing this, please reach out to the triage team (@bazelbuild/triage). Thanks!

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jun 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P3 We're not considering working on this, but happy to review a PR. (No assignee) stale Issues or PRs that are stale (no activity for 30 days) team-ExternalDeps External dependency handling, remote repositiories, WORKSPACE file. type: bug
Projects
None yet
Development

No branches or pull requests

6 participants