Open JonKohler opened 2 years ago
I was able to work around this by modifying
/home/jkohler/optane/git/.cache/bazel/_bazel_root/839f7ebfb0d1ed872ddd5423553c6d10/external/io_bazel_rules_go/go/private/repositories.bzl.
to look like this in the net_zlib section ... brutal hack but it worked
if "net_zlib" not in native.existing_rules():
native.bind(
name = "zlib",
actual = "@net_zlib//:zlib",
)
http_archive(
name = "net_zlib",
build_file = "@com_google_protobuf//:third_party/zlib.BUILD",
sha256 = "91844808532e5ce316b3c010929493c0244f3d37593afd6de04f71821d5136d9",
strip_prefix = "zlib-1.2.12",
urls = ["https://zlib.net/zlib-1.2.12.tar.gz"],
)
Looks like this package was recently-ish updated: https://zlib.net/ and the link being used isn't a perma-link'd on the zlib site
Other projects have addressed it like this: https://github.com/ApolloAuto/apollo/pull/14387 https://github.com/ApolloAuto/apollo/issues/14374
actual output