Wind-River / meta-tensorflow

Other
13 stars 18 forks source link

https://mirror.bazel.build/github.com/unicode-org/icu/archive/release-62-1.tar.gz #9

Open LLAlex85 opened 3 years ago

LLAlex85 commented 3 years ago

Not found anymore.

RobertBerger commented 3 years ago

Please note that it's only gone from the mirror, but not from the main site, but the checksum changed. I tried some hack, but did not succeed ;)

I tried with the latest/master from here:

http://git.yoctoproject.org/cgit/cgit.cgi/meta-tensorflow

And hit a very similar issue.

Further details are here:

https://github.com/tensorflow/tensorflow/issues/43893

RobertBerger commented 3 years ago

This is what I figured in the meantime:

https://github.com/bazelbuild/bazel/issues/12193

We have 2 tarballs with different checksums.

The first one needs to be on some URL with mirror.xxxx:

| ERROR: Analysis of target '//tensorflow/tools/pip_package:build_pip_package' failed; build aborted: no such package '@icu//': tf_http_archive(urls) must have redundant URLs. The mirror.bazel.build URL must be present and it must come first. Even if you don't have permission to mirror the file, please put the correctly formatted mirror URL there anyway, because someone will come along shortly thereafter and mirror the file.
RobertBerger commented 3 years ago

I hacked around it with my own tensorflow git repo and this fix:

https://github.com/RobertBerger/tensorflow/blob/r1.13%2B/third_party/icu/workspace.bzl

and my own meta-tensorflow git repo which points to it:

https://github.com/RobertBerger/meta-tensorflow/blob/2020-10-27-master-as-gatesgarth/recipes-framework/tensorflow/tensorflow.inc