Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 793743

Summary: sci-libs/tensorflow-estimator-2.4.0 emerge fails because not all source files are fetched.
Product: Gentoo Linux Reporter: K Cameron <cameron>
Component: Current packagesAssignee: Jason Zaman <perfinion>
Status: RESOLVED FIXED    
Severity: normal CC: bertrand, picnic.sun, sam
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: AMD64   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=788064
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Suggested ebuild update adds code to fetch needed source file.

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)
Comment 2 Jason Zaman gentoo-dev 2022-02-26 17:31:57 UTC
This was a bazel problem, and should be fixed in newer tf-estimator