GoogleContainerTools / container-structure-test

validate the structure of your container images
Apache License 2.0
2.3k stars 194 forks source link

bazel vendor error ERROR: key "linux-i386" not found in dictionary #448

Open farcop opened 1 month ago

farcop commented 1 month ago
bazel vendor --vendor_dir=vendored
Starting local Bazel server and connecting to it...
INFO: Repository container_structure_test~~extension~structure_test_st_linux_i386 instantiated at:
  <builtin>: in <toplevel>
Repository rule structure_test_repositories defined at:
  /home/kublr/.cache/bazel/_bazel_kublr/69fb4c52c15303cc4e23e5352527edec/external/container_structure_test~/repositories.bzl:46:46: in <toplevel>
ERROR: An error occurred during the fetch of repository 'container_structure_test~~extension~structure_test_st_linux_i386':
   Traceback (most recent call last):
    File "/home/kublr/.cache/bazel/_bazel_kublr/69fb4c52c15303cc4e23e5352527edec/external/container_structure_test~/repositories.bzl", line 41, column 28, in _structure_test_repo_impl
        integrity = _HASHES[platform],
Error: key "linux-i386" not found in dictionary
ERROR: <builtin>: fetching structure_test_repositories rule //:container_structure_test~~extension~structure_test_st_linux_i386: Traceback (most recent call last):
    File "/home/kublr/.cache/bazel/_bazel_kublr/69fb4c52c15303cc4e23e5352527edec/external/container_structure_test~/repositories.bzl", line 41, column 28, in _structure_test_repo_impl
        integrity = _HASHES[platform],
Error: key "linux-i386" not found in dictionary
DEBUG: Rule 'rules_kotlin~~rules_kotlin_extensions~buildkite_config' indicated that a canonical reproducible form can be obtained by modifying arguments integrity = "sha256-SXxxZN+XG3lQWeIFWFhQGpk9vMNg5NDd5B8i7i9k74U="
DEBUG: Repository rules_kotlin~~rules_kotlin_extensions~buildkite_config instantiated at:
  <builtin>: in <toplevel>
Repository rule http_archive defined at:
  /home/kublr/.cache/bazel/_bazel_kublr/69fb4c52c15303cc4e23e5352527edec/external/bazel_tools/tools/build_defs/repo/http.bzl:369:31: in <toplevel>
ERROR: key "linux-i386" not found in dictionary
Links2004 commented 2 weeks ago

same happens with out vendor too. to bad that this module is required by other modules like: rules_oci :(

MODULE.bazel:

bazel_dep(name = "container_structure_test", version = "1.16.0")

.bazelversion:

7.2.1

output:

(10:38:40) INFO: Repository container_structure_test~~extension~structure_test_st_linux_i386 instantiated at:
  <builtin>: in <toplevel>
Repository rule structure_test_repositories defined at:
  /home/build/.cache/bazel/_bazel_build/9fbf8591ade43ab908b39e0542c6f0ed/external/container_structure_test~/repositories.bzl:46:46: in <toplevel>
(10:38:40) ERROR: An error occurred during the fetch of repository 'container_structure_test~~extension~structure_test_st_linux_i386':
   Traceback (most recent call last):
        File "/home/build/.cache/bazel/_bazel_build/9fbf8591ade43ab908b39e0542c6f0ed/external/container_structure_test~/repositories.bzl", line 41, column 28, in _structure_test_repo_impl
                integrity = _HASHES[platform],
Error: key "linux-i386" not found in dictionary
(10:38:40) ERROR: key "linux-i386" not found in dictionary