-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
[7.2.0] Bzlmod lockfile exception #22436
Comments
Deleting the lockfile resolved it, until a new build where it fails again. |
Dupe of #21845. We should fix it for 7.2.0. Looks like you have a stray |
I use This is the module extension: load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
load("@llvm-raw//utils/bazel:configure.bzl", "llvm_configure")
load("@llvm-raw//utils/bazel:terminfo.bzl", "llvm_terminfo_from_env")
load("@llvm-raw//utils/bazel:zlib.bzl", "llvm_zlib_from_env")
def _llvm_deps_impl(_):
llvm_configure(name = "llvm-project")
llvm_terminfo_from_env(
name = "llvm_terminfo",
)
http_archive(
name = "zlib",
build_file = "@llvm-raw//utils/bazel/third_party_build:zlib.BUILD",
sha256 = "91844808532e5ce316b3c010929493c0244f3d37593afd6de04f71821d5136d9",
strip_prefix = "zlib-1.2.12",
urls = [
"https://storage.googleapis.com/mirror.tensorflow.org/zlib.net/zlib-1.2.12.tar.gz",
"https://zlib.net/zlib-1.2.12.tar.gz",
],
)
llvm_zlib_from_env(
name = "llvm_zlib",
external_zlib = "@zlib",
)
llvm_deps = module_extension(implementation = _llvm_deps_impl) |
This here is the problem:
This I realize this is very confusing, and am open to improving the situation. We could actually just add |
Description of the bug:
Which category does this issue belong to?
External Dependency
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?
macOS 14.5.0
What is the output of
bazel info release
?release 7.2.0rc1
If
bazel info release
returnsdevelopment 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 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
The text was updated successfully, but these errors were encountered: