[MacPorts] #63257: py39-tensorflow (with +native, or without) fails to build (was: py39-tensorflow +native fails to build)
MacPorts
noreply at macports.org
Thu Aug 19 20:29:16 UTC 2021
#63257: py39-tensorflow (with +native, or without) fails to build
------------------------------+--------------------
Reporter: mouse07410 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: py39-tensorflow |
------------------------------+--------------------
Comment (by mouse07410):
Here's what happens without the {{{+native}}} flag:
{{{
$ sudo port -v upgrade py39-tensorflow
---> Computing dependencies for py39-tensorflow.
---> Fetching archive for py39-tensorflow
---> py39-tensorflow-2.6.0_0.darwin_20.x86_64.tbz2 doesn't seem to exist
in /opt/local/var/macports/incoming/verified
---> Attempting to fetch py39-tensorflow-2.6.0_0.darwin_20.x86_64.tbz2
from https://packages.macports.org/py39-tensorflow
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left
Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:--
0
---> Attempting to fetch py39-tensorflow-2.6.0_0.darwin_20.x86_64.tbz2
from https://nue.de.packages.macports.org/py39-tensorflow
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left
Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:--
0
---> Attempting to fetch py39-tensorflow-2.6.0_0.darwin_20.x86_64.tbz2
from http://atl.us.packages.macports.org/py39-tensorflow
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left
Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:--
0
---> Building py39-tensorflow
Starting local Bazel server and connecting to it...
Loading: 0 packages loaded
Loading: 0 packages loaded
Loading: 0 packages loaded
Loading: 0 packages loaded
Loading: 0 packages loaded
Loading: 0 packages loaded
Loading: 0 packages loaded
Loading: 0 packages loaded
Loading: 0 packages loaded
Loading: 0 packages loaded
Loading: 0 packages loaded
Loading: 0 packages loaded
INFO: Repository tf_runtime instantiated at:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_python_py-
tensorflow/py39-tensorflow/work/tensorflow-tensorflow-
919f693/WORKSPACE:11:14: in <toplevel>
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_python_py-
tensorflow/py39-tensorflow/work/tensorflow-tensorflow-
919f693/tensorflow/workspace3.bzl:27:15: in workspace
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_python_py-
tensorflow/py39-tensorflow/work/tensorflow-tensorflow-
919f693/third_party/tf_runtime/workspace.bzl:12:20: in repo
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_python_py-
tensorflow/py39-tensorflow/work/tensorflow-tensorflow-
919f693/third_party/repo.bzl:113:21: in tf_http_archive
Repository rule _tf_http_archive defined at:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_python_py-
tensorflow/py39-tensorflow/work/tensorflow-tensorflow-
919f693/third_party/repo.bzl:66:35: in <toplevel>
WARNING: Download from
http://mirror.tensorflow.org/github.com/tensorflow/runtime/archive/b570a1921c9e55ac53c8972bd2bfd37cd0eb510d.tar.gz
failed: class java.io.IOException Proxy address
llproxy.llan.ll.mit.edu:8080 is not a valid URL
WARNING: Download from
https://github.com/tensorflow/runtime/archive/b570a1921c9e55ac53c8972bd2bfd37cd0eb510d.tar.gz
failed: class java.io.IOException Proxy address
llproxy.llan.ll.mit.edu:8080 is not a valid URL
ERROR: An error occurred during the fetch of repository 'tf_runtime':
Traceback (most recent call last):
File
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_python_py-
tensorflow/py39-tensorflow/work/tensorflow-tensorflow-
919f693/third_party/repo.bzl", line 53, column 33, in
_tf_http_archive_impl
ctx.download_and_extract(
Error in download_and_extract: java.io.IOException: Error downloading
[http://mirror.tensorflow.org/github.com/tensorflow/runtime/archive/b570a1921c9e55ac53c8972bd2bfd37cd0eb510d.tar.gz,
https://github.com/tensorflow/runtime/archive/b570a1921c9e55ac53c8972bd2bfd37cd0eb510d.tar.gz]
to
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_python_py-
tensorflow/py39-tensorflow/work/bazel_build/e9e69db706faba1d7be5d215555390d9/external/tf_runtime/temp12118001230446872774/b570a1921c9e55ac53c8972bd2bfd37cd0eb510d.tar.gz:
Proxy address llproxy.llan.ll.mit.edu:8080 is not a valid URL
INFO: Repository io_bazel_rules_closure instantiated at:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_python_py-
tensorflow/py39-tensorflow/work/tensorflow-tensorflow-
919f693/WORKSPACE:11:14: in <toplevel>
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_python_py-
tensorflow/py39-tensorflow/work/tensorflow-tensorflow-
919f693/tensorflow/workspace3.bzl:7:17: in workspace
Repository rule http_archive defined at:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_python_py-
tensorflow/py39-tensorflow/work/bazel_build/e9e69db706faba1d7be5d215555390d9/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31:
in <toplevel>
INFO: Repository tf_toolchains instantiated at:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_python_py-
tensorflow/py39-tensorflow/work/tensorflow-tensorflow-
919f693/WORKSPACE:11:14: in <toplevel>
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_python_py-
tensorflow/py39-tensorflow/work/tensorflow-tensorflow-
919f693/tensorflow/workspace3.bzl:17:17: in workspace
Repository rule http_archive defined at:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_python_py-
tensorflow/py39-tensorflow/work/bazel_build/e9e69db706faba1d7be5d215555390d9/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31:
in <toplevel>
ERROR: no such package '@tf_runtime//': java.io.IOException: Error
downloading
[http://mirror.tensorflow.org/github.com/tensorflow/runtime/archive/b570a1921c9e55ac53c8972bd2bfd37cd0eb510d.tar.gz,
https://github.com/tensorflow/runtime/archive/b570a1921c9e55ac53c8972bd2bfd37cd0eb510d.tar.gz]
to
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_python_py-
tensorflow/py39-tensorflow/work/bazel_build/e9e69db706faba1d7be5d215555390d9/external/tf_runtime/temp12118001230446872774/b570a1921c9e55ac53c8972bd2bfd37cd0eb510d.tar.gz:
Proxy address llproxy.llan.ll.mit.edu:8080 is not a valid URL
Loading: 0 packages loaded
Loading: 0 packages loaded
Command failed:
PATH=/opt/local/libexec/bazel-3.7/bin:/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin
BAZEL_SH=/bin/bash CC_OPT_FLAGS=-march=x86-64
/opt/local/libexec/bazel-3.7/bin/bazel --max_idle_secs=10
--output_user_root=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_python_py-
tensorflow/py39-tensorflow/work/bazel_build fetch
//tensorflow/tools/pip_package:build_pip_package
Exit code: 2
Error: Failed to build py39-tensorflow: command execution failed
Error: See
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_python_py-
tensorflow/py39-tensorflow/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe
there is a bug.
}}}
It looks like it ignores the proxy settings, and hits the firewall head-
first...
--
Ticket URL: <https://trac.macports.org/ticket/63257#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list