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

BUG: can't find zlib in installation #1

Open
garyfeng opened this issue Sep 26, 2022 · 0 comments
Open

BUG: can't find zlib in installation #1

garyfeng opened this issue Sep 26, 2022 · 0 comments

Comments

@garyfeng
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant