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

Build failed with docker #11

Open
zxsimple opened this issue Sep 26, 2017 · 0 comments
Open

Build failed with docker #11

zxsimple opened this issue Sep 26, 2017 · 0 comments

Comments

@zxsimple
Copy link

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.
2017-09-26 2 07 38

Thanks for your help!

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