Skip to content

[Bazel CI] Error in glob: glob pattern 'lib/clang/*/lib/**/*.dylib' didn't match anything  #540

@sgowroji

Description

@sgowroji

CI: https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/4381#01943ef5-b088-4c02-a5ba-2aa30cdd04f3

Platform: Ubuntu

Logs:

 ERROR: Traceback (most recent call last):
	File "/var/lib/buildkite-agent/.cache/bazel/_bazel_buildkite-agent/e5b85cc96123ab88632bda12b9f1b123/external/toolchains_llvm++llvm+llvm_toolchain_llvm/BUILD.bazel", line 60, column 16, in <toplevel>
		srcs = glob(
Error in glob: glob pattern 'lib/clang/*/lib/**/*.dylib' didn't match anything, but allow_empty is set to False (the default value of allow_empty can be set with --incompatible_disallow_empty_glob).
(04:14:01) ERROR: /var/lib/buildkite-agent/.cache/bazel/_bazel_buildkite-agent/e5b85cc96123ab88632bda12b9f1b123/external/toolchains_llvm++llvm+llvm_toolchain/BUILD.bazel:114:10: Target '@@toolchains_llvm++llvm+llvm_toolchain_llvm//:clang' contains an error and its package is in error and referenced by '@@toolchains_llvm++llvm+llvm_toolchain//:compiler-components-x86_64-linux'
(04:14:01) ERROR: Analysis of target '//:all' failed; build aborted: Analysis failed

Steps:

git clone https://github.com/bazelbuild/examples && cd ../rust-examples/02-hello-cross
git reset b51e3bdd468ce8c4a516d7dca993909dcc84af32  --hard
export USE_BAZEL_VERSION=de4ba2f81c87eeb9a25b6a9777889785f6e1ed7a
bazel build //:all 

CC Greenteam @Wyverald

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions