Skip to content

BUG: can't find zlib in installation #1

@garyfeng

Description

@garyfeng

The following step fails while building the docker image.

RUN npm install -g @bazel/bazelisk

with error messages:

#28 15.96 INFO: Repository zlib instantiated at:
#28 15.96   /user/cards/model-card-toolkit/WORKSPACE:16:25: in <toplevel>
#28 15.96   /root/.cache/bazel/_bazel_root/cc0aafd87d0f7a193d15f74859b698bd/external/rules_proto/proto/repositories.bzl:23:21: in rules_proto_dependencies
#28 15.96 Repository rule http_archive defined at:
#28 15.96   /root/.cache/bazel/_bazel_root/cc0aafd87d0f7a193d15f74859b698bd/external/bazel_tools/tools/build_defs/repo/http.bzl:355:31: in <toplevel>
#28 15.97 WARNING: Download from https://zlib.net/zlib-1.2.11.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
#28 15.97 ERROR: An error occurred during the fetch of repository 'zlib':
#28 15.97    Traceback (most recent call last):
#28 15.97       File "/root/.cache/bazel/_bazel_root/cc0aafd87d0f7a193d15f74859b698bd/external/bazel_tools/tools/build_defs/repo/http.bzl", line 125, column 45, in _http_archive_impl
#28 15.97               download_info = ctx.download_and_extract(
#28 15.97 Error in download_and_extract: java.io.IOException: Error downloading [https://zlib.net/zlib-1.2.11.tar.gz] to /root/.cache/bazel/_bazel_root/cc0aafd87d0f7a193d15f74859b698bd/external/zlib/temp14702099505232398883/zlib-1.2.11.tar.gz: GET returned 404 Not Found

I looked up and the zlib-1.2.11.tar.gz URL has changed. I can't find where the version is specified and how to fix this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions