Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 793743 - sci-libs/tensorflow-estimator-2.4.0 emerge fails because not all source files are fetched.
Summary: sci-libs/tensorflow-estimator-2.4.0 emerge fails because not all source files...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Jason Zaman
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2021-06-01 18:16 UTC by K Cameron
Modified: 2021-06-16 07:07 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Suggested ebuild update adds code to fetch needed source file. (tensorflow-estimator-2.4.0-r1.ebuild,2.12 KB, patch)
2021-06-01 18:16 UTC, K Cameron
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description K Cameron 2021-06-01 18:16:16 UTC
Created attachment 713184 [details, diff]
Suggested ebuild update adds code to fetch needed source file.

sci-libs/tensorflow-estimator-2.4.0 emerge fails because not all source files are fetched. The proposed update adds code to fetch the missing file:

  bazelbuild-rules_cc-b1c40e1de81913a3c40e5948f78719c28152486d.zip

by adding:

https://github.com/bazelbuild/rules_cc/archive/b1c40e1de81913a3c40e5948f78719c28152486d.zip -> bazelbuild-rules_cc-b1c40e1de81913a3c40e5948f78719c28152486d.zip

to the bazel_external_uris variable.
Comment 1 picnic.sun 2021-06-16 07:06:26 UTC
INFO: Repository rules_cc instantiated at:
  /DEFAULT.WORKSPACE.SUFFIX:281:6: in <toplevel>
  /var/tmp/portage/sci-libs/tensorflow-estimator-2.4.0/work/estimator-2.4.0-python3_8-bazel-base/external/bazel_tools/tools/build_defs/repo/utils.bzl:201:18: in maybe
Repository rule http_archive defined at:
  /var/tmp/portage/sci-libs/tensorflow-estimator-2.4.0/work/estimator-2.4.0-python3_8-bazel-base/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
WARNING: Download from https://mirror.bazel.build/github.com/bazelbuild/rules_cc/archive/b1c40e1de81913a3c40e5948f78719c28152486d.zip failed: class com.google.devtools.build.lib.bazel.repository.downloader.UnrecoverableHttpException Unknown host: mirror.bazel.build
WARNING: Download from https://github.com/bazelbuild/rules_cc/archive/b1c40e1de81913a3c40e5948f78719c28152486d.zip failed: class com.google.devtools.build.lib.bazel.repository.downloader.UnrecoverableHttpException Unknown host: github.com
ERROR: An error occurred during the fetch of repository 'rules_cc':
   Traceback (most recent call last):
        File "/var/tmp/portage/sci-libs/tensorflow-estimator-2.4.0/work/estimator-2.4.0-python3_8-bazel-base/external/bazel_tools/tools/build_defs/repo/http.bzl", line 111, column 45, in _http_archive_impl
                download_info = ctx.download_and_extract(
Error in download_and_extract: java.io.IOException: Error downloading [https://mirror.bazel.build/github.com/bazelbuild/rules_cc/archive/b1c40e1de81913a3c40e5948f78719c28152486d.zip, https://github.com/bazelbuild/rules_cc/archive/b1c40e1de81913a3c40e5948f78719c28152486d.zip] to /var/tmp/portage/sci-libs/tensorflow-estimator-2.4.0/work/estimator-2.4.0-python3_8-bazel-base/external/rules_cc/temp3956641921269260010/b1c40e1de81913a3c40e5948f78719c28152486d.zip: Unknown host: github.com
ERROR: /var/tmp/portage/sci-libs/tensorflow-estimator-2.4.0/work/estimator-2.4.0-python3_8-bazel-base/external/bazel_tools/tools/launcher/BUILD:11:10: @bazel_tools//tools/launcher:launcher depends on @bazel_tools//src/tools/launcher:launcher in repository @bazel_tools which failed to fetch. no such package '@rules_cc//cc': java.io.IOException: Error downloading [https://mirror.bazel.build/github.com/bazelbuild/rules_cc/archive/b1c40e1de81913a3c40e5948f78719c28152486d.zip, https://github.com/bazelbuild/rules_cc/archive/b1c40e1de81913a3c40e5948f78719c28152486d.zip] to /var/tmp/portage/sci-libs/tensorflow-estimator-2.4.0/work/estimator-2.4.0-python3_8-bazel-base/external/rules_cc/temp3956641921269260010/b1c40e1de81913a3c40e5948f78719c28152486d.zip: Unknown host: github.com
ERROR: Analysis of target '//tensorflow_estimator/tools/pip_package:build_pip_package' failed; build aborted: Analysis failed
INFO: Elapsed time: 36.941s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (13 packages loaded, 56 targets configured)
FAILED: Build did NOT complete successfully (13 packages loaded, 56 targets configured)