-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
I got trouble in building guild project, I saw you also submitted related issue in guild project.
Initially I got check sum mismatch issue as following:
ERROR: error loading package '': Encountered error while reading extension file 'closure/defs.bzl': no such package '@io_bazel_rules_closure//closure': Error downloading [http://mirror.bazel.build/github.com/bazelbuild/rules_closure/archive/4c559574447f90751f05155faba4f3344668f666.tar.gz, https://github.com/bazelbuild/rules_closure/archive/4c559574447f90751f05155faba4f3344668f666.tar.gz] to /root/.cache/bazel/_bazel_root/cc96cea90b54a4936c65c34f3306c63b/external/io_bazel_rules_closure/4c559574447f90751f05155faba4f3344668f666.tar.gz: Checksum was 2b43d9b683ba8c34811b31cc4afebbce3cf3beae528fc678bb37e23054942b8a but wanted e9e2538b1f7f27de73fa2914b7d2cb1ce2ac01d1abe8390cfe51fb2558ef8b27
Then I made some code change to Dockerfile for temporary fix like this:
# Guild
RUN \
git clone https://github.com/guildai/guild-python.git \
&& cd guild-python \
# Temporary fix check sum mismatch issue
&& sed -i 's/9379e711f71c5ba537f047edb60bb2eaca268f75425cd0dd16e3aba48907f2a0/01882d640f205e4872da04d127e2014cfb342097eb1c22bc52af8bbb53e0d06b/g' WORKSPACE \
&& sed -i '19,20d' third-party/psutil.BUILD \
&& sed -i '43,53d' components/guild-imports/BUILD \
&& sed -i '82,91d' components/guild-imports/BUILD \
&& sed -i '13d' components/guild-components-page/BUILD \
&& sed -i '17d' components/guild-components-page/guild-components-page.html \
&& sed -i '14d' components/guild-keyval-compare-component/BUILD \
&& bazel build guild --verbose_failures
Unfortunately, build still fails.

Thanks for your help!
Metadata
Metadata
Assignees
Labels
No labels