lhelontra / tensorflow-on-arm

TensorFlow for Arm
MIT License
1.05k stars 274 forks source link

build in rk3399,not cross-compilation #108

Open LoeWHJ opened 3 years ago

LoeWHJ commented 3 years ago

build in rk3399,not cross-compilation error log:

firefly@firefly:~/Downloads/tensorflow-on-arm-master/build_tensorflow$ TF_PYTHON_VERSION=3.6 ./build_tensorflow.sh configs/rk3399.conf [INFO] bazel already installed. HEAD is now at e130e94fffb temp modifications Checking out files: 100% (5001/5001), done. Switched to branch 'master' Your branch is up to date with 'origin/master'. Deletps://gitlab.com/libeigen/eigen/-/archive/011e0db31d1bed8b7f73662be6d57d9f30fa457a/eigen-011e0db31d1bed8b7f73662be6d57d9f30fa457a.tar.gz] to /home/firefly/.cache/bazel/_bazel_firefly/caafa1f427f1585b7db275fb8c15a556/external/eigen_archive/eigen-011e0db31d1bed8b7f73662be6d57d9f30fa457a.tar.gz: GET returned 406 Not Acceptable INFO: Elapsed time: 725.686s INFO: 0 processes. FAILED: Build did NOT complete successfully (94 packages loaded, 327 targets c\ onfigured) firefly@firefly:~/Downloads/tensorflow-on-arm-master/build_tensorflow$ firefly@firefly:~/Downloads/tensorflow-on-arm-master/build_tensorflow$ firefly@firefly:~/Downloads/tensorflow-on-arm-master/build_tensorflow$ TF_PYTHON_VERSION=3.6 ./build_tensorflow.sh configs/rk3399.conf [INFO] bazel already installed. HEAD is now at e130e94fffb temp modifications Checking out files: 100% (5001/5001), done. Switched to branch 'master' Your branch is up to date with 'origin/master'. Deleted branch temp (was e130e94fffb). remote: Enumerating objects: 12, done. remote: Counting objects: 100% (12/12), done. remote: Compressing objects: 100% (2/2), done. remote: Total 12 (delta 10), reused 12 (delta 10), pack-reused 0 Unpacking objects: 100% (12/12), done. From https://github.com/tensorflow/tensorflow cebfa65df54..d44a961979a master -> origin/master Updating cebfa65df54..d44a961979a Fast-forward tensorflow/core/public/version.h | 2 +- tensorflow/python/compat/compat.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) Checking out files: 100% (4998/4998), done. Note: checking out 'v2.4.0'.

You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may do so (now or later) by using -b with the checkout command again. Example:

git checkout -b

HEAD is now at 582c8d236cb Merge pull request #44220 from tensorflow-jenkins/relnotes-2.4.0rc0-18048 Switched to a new branch 'temp' /home/firefly/Downloads/tensorflow-on-arm-master/build_tensorflow/patch.sh: line 30: /home/firefly/Downloads/tensorflow-on-arm-master/build_tensorflow/sources//toolchain/gcc-linaro-5.5.0-2017.10-x86_64_aarch64-linux-gnu///bin/aarch64-linux-gnu-gcc: cannot execute binary file: Exec format error [temp a93430b9a37] temp modifications 4 files changed, 35 insertions(+), 28 deletions(-) Workdir: /home/firefly/Downloads/tensorflow-on-arm-master/build_tensorflow/sources/ Bazel binary: /home/firefly/Downloads/tensorflow-on-arm-master/build_tensorflow/sources//bin/bazel-3.1.0 Toolchain directory: /home/firefly/Downloads/tensorflow-on-arm-master/build_tensorflow/sources//toolchain/gcc-linaro-5.5.0-2017.10-x86_64_aarch64-linux-gnu// INFO: Options provided by the client: Inherited 'common' options: --isatty=1 --terminal_columns=121 INFO: Reading rc options for 'clean' from /home/firefly/Downloads/tensorflow-on-arm-master/build_tensorflow/sources/tensorflow/.bazelrc: Inherited 'common' options: --experimental_repo_remote_exec INFO: Reading rc options for 'clean' from /home/firefly/Downloads/tensorflow-on-arm-master/build_tensorflow/sources/tensorflow/.bazelrc: Inherited 'build' options: --apple_platform_type=macos --define framework_shared_object=true --define open_source_build=true --java_toolchain=//third_party/toolchains/java:tf_java_toolchain --host_java_toolchain=//third_party/toolchains/java:tf_java_toolchain --define=tensorflow_enable_mlir_generated_gpu_kernels=0 --define=use_fast_cpp_protos=true --define=allow_oversize_protos=true --spawn_strategy=standalone -c opt --announce_rc --define=grpc_no_ares=true --noincompatible_remove_legacy_whole_archive --noincompatible_prohibit_aapt1 --enable_platform_specific_config --config=short_logs --config=v2 INFO: Reading rc options for 'clean' from /home/firefly/Downloads/tensorflow-on-arm-master/build_tensorflow/sources/tensorflow/.tf_configure.bazelrc: Inherited 'build' options: --action_env PYTHON_BIN_PATH=/usr/bin/python3.6 --action_env PYTHON_LIB_PATH=/usr/local/lib/python3.6/dist-packages --python_path=/usr/bin/python3.6 --action_env TF_CONFIGURE_IOS=0 INFO: Found applicable config definition build:short_logs in file /home/firefly/Downloads/tensorflow-on-arm-master/build_tensorflow/sources/tensorflow/.bazelrc: --output_filter=DONT_MATCH_ANYTHING INFO: Found applicable config definition build:v2 in file /home/firefly/Downloads/tensorflow-on-arm-master/build_tensorflow/sources/tensorflow/.bazelrc: --define=tf_api_version=2 --action_env=TF2_BEHAVIOR=1 INFO: Found applicable config definition build:linux in file /home/firefly/Downloads/tensorflow-on-arm-master/build_tensorflow/sources/tensorflow/.bazelrc: --copt=-w --host_copt=-w --define=PREFIX=/usr --define=LIBDIR=$(PREFIX)/lib --define=INCLUDEDIR=$(PREFIX)/include --define=PROTOBUF_INCLUDE_PATH=$(PREFIX)/include --cxxopt=-std=c++14 --host_cxxopt=-std=c++14 --config=dynamic_kernels INFO: Found applicable config definition build:dynamic_kernels in file /home/firefly/Downloads/tensorflow-on-arm-master/build_tensorflow/sources/tensorflow/.bazelrc: --define=dynamic_loaded_kernels=true --copt=-DAUTOLOAD_DYNAMIC_KERNELS INFO: Starting clean (this may take a while). Consider using --async if the clean takes more than several minutes. You have bazel 3.1.0- (@non-git) installed. Found possible Python library paths: /usr/lib/python3/dist-packages /usr/local/lib/python3.6/dist-packages Please input the desired Python library path to use. Default is [/usr/lib/python3/dist-packages] Do you wish to download a fresh release of clang? (Experimental) [y/N]: Clang will not be downloaded.

Please specify optimization flags to use during compilation when bazel option "--config=opt" is specified [Default is -march=native -Wno-sign-compare]:

Would you like to interactively configure ./WORKSPACE for Android builds? [y/N]: Not configuring the WORKSPACE for Android builds.

Preconfigured Bazel build configs. You can use any of the below by adding "--config=<>" to your build command. See .bazelrc for more details. --config=mkl # Build with MKL support. --config=mkl_aarch64 # Build with oneDNN support for Aarch64. --config=monolithic # Config for mostly static monolithic build. --config=ngraph # Build with Intel nGraph support. --config=numa # Build with NUMA support. --config=dynamic_kernels # (Experimental) Build kernels into separate shared objects. --config=v2 # Build TensorFlow 2.x instead of 1.x. Preconfigured Bazel build configs to DISABLE default on features: --config=noaws # Disable AWS S3 filesystem support. --config=nogcp # Disable GCP support. --config=nohdfs # Disable HDFS support. --config=nonccl # Disable NVIDIA NCCL support. WARNING: The following configs were expanded more than once: [v2]. For repeatable flags, repeats are counted twice and may lead to unexpected behavior. INFO: Options provided by the client: Inherited 'common' options: --isatty=1 --terminal_columns=121 INFO: Reading rc options for 'build' from /home/firefly/Downloads/tensorflow-on-arm-master/build_tensorflow/sources/tensorflow/.bazelrc: Inherited 'common' options: --experimental_repo_remote_exec INFO: Reading rc options for 'build' from /home/firefly/Downloads/tensorflow-on-arm-master/build_tensorflow/sources/tensorflow/.bazelrc: 'build' options: --apple_platform_type=macos --define framework_shared_object=true --define open_source_build=true --java_toolchain=//third_party/toolchains/java:tf_java_toolchain --host_java_toolchain=//third_party/toolchains/java:tf_java_toolchain --define=tensorflow_enable_mlir_generated_gpu_kernels=0 --define=use_fast_cpp_protos=true --define=allow_oversize_protos=true --spawn_strategy=standalone -c opt --announce_rc --define=grpc_no_ares=true --noincompatible_remove_legacy_whole_archive --noincompatible_prohibit_aapt1 --enable_platform_specific_config --config=short_logs --config=v2 INFO: Reading rc options for 'build' from /home/firefly/Downloads/tensorflow-on-arm-master/build_tensorflow/sources/tensorflow/.tf_configure.bazelrc: 'build' options: --action_env PYTHON_BIN_PATH=/usr/bin/python3.6 --action_env PYTHON_LIB_PATH=/usr/lib/python3/dist-packages --python_path=/usr/bin/python3.6 --action_env TF_CONFIGURE_IOS=0 INFO: Found applicable config definition build:short_logs in file /home/firefly/Downloads/tensorflow-on-arm-master/build_tensorflow/sources/tensorflow/.bazelrc: --output_filter=DONT_MATCH_ANYTHING INFO: Found applicable config definition build:v2 in file /home/firefly/Downloads/tensorflow-on-arm-master/build_tensorflow/sources/tensorflow/.bazelrc: --define=tf_api_version=2 --action_env=TF2_BEHAVIOR=1 INFO: Found applicable config definition build:monolithic in file /home/firefly/Downloads/tensorflow-on-arm-master/build_tensorflow/sources/tensorflow/.bazelrc: --define framework_shared_object=false INFO: Found applicable config definition build:v2 in file /home/firefly/Downloads/tensorflow-on-arm-master/build_tensorflow/sources/tensorflow/.bazelrc: --define=tf_api_version=2 --action_env=TF2_BEHAVIOR=1 INFO: Found applicable config definition build:noaws in file /home/firefly/Downloads/tensorflow-on-arm-master/build_tensorflow/sources/tensorflow/.bazelrc: --define=no_aws_support=true INFO: Found applicable config definition build:nohdfs in file /home/firefly/Downloads/tensorflow-on-arm-master/build_tensorflow/sources/tensorflow/.bazelrc: --define=no_hdfs_support=true INFO: Found applicable config definition build:linux in file /home/firefly/Downloads/tensorflow-on-arm-master/build_tensorflow/sources/tensorflow/.bazelrc: --copt=-w --host_copt=-w --define=PREFIX=/usr --define=LIBDIR=$(PREFIX)/lib --define=INCLUDEDIR=$(PREFIX)/include --define=PROTOBUF_INCLUDE_PATH=$(PREFIX)/include --cxxopt=-std=c++14 --host_cxxopt=-std=c++14 --config=dynamic_kernels INFO: Found applicable config definition build:dynamic_kernels in file /home/firefly/Downloads/tensorflow-on-arm-master/build_tensorflow/sources/tensorflow/.bazelrc: --define=dynamic_loaded_kernels=true --copt=-DAUTOLOAD_DYNAMIC_KERNELS WARNING: Download from http://mirror.tensorflow.org/files.pythonhosted.org/packages/12/59/eaa15ab9710a20e22225efd042cd2d6a0b559a0656d5baba9641a2a4a921/gast-0.3.3.tar.gz failed: class java.io.IOException connect timed out WARNING: Download from http://mirror.tensorflow.org/files.pythonhosted.org/packages/6a/28/d32852f2af6b5ead85d396249d5bdf450833f3a69896d76eb480d9c5e406/typing_extensions-3.7.4.2.tar.gz failed: class java.io.IOException connect timed out WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/abseil/abseil-py/archive/pypi-v0.9.0.tar.gz failed: class java.io.IOException connect timed out WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/pypi.python.org/packages/bc/cc/3cdb0a02e7e96f6c70bd971bc8a90b8463fda83e264fa9c5c1c98ceabd81/backports.weakref-1.0rc1.tar.gz failed: class java.io.IOException connect timed out WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/pytorch/cpuinfo/archive/d5e37adf1406cf899d7d9ec1d317c47506ccb970.tar.gz failed: class java.io.IOException connect timed out WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/pybind/pybind11/archive/v2.4.3.tar.gz failed: class java.io.IOException connect timed out WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/bazelbuild/rules_python/releases/download/0.0.1/rules_python-0.0.1.tar.gz failed: class java.io.IOException connect timed out WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/abseil/abseil-cpp/archive/df3ea785d8c30a9503321a3d35ee7d35808f190d.tar.gz failed: class java.io.IOException connect timed out WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/LMDB/lmdb/archive/LMDB_0.9.22.tar.gz failed: class java.io.IOException connect timed out WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/www.sqlite.org/2020/sqlite-amalgamation-3330000.zip failed: class java.io.IOException connect timed out WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/cython/cython/archive/0.28.4.tar.gz failed: class java.io.IOException connect timed out WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/pypi.python.org/packages/f6/d6/44792ec668bcda7d91913c75237314e688f70415ab2acd7172c845f0b24f/opt_einsum-2.3.2.tar.gz failed: class java.io.IOException connect timed out WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/google/ruy/archive/5bb02fbf90824c2eb6cd7418f766c593106a332b.zip failed: class java.io.IOException connect timed out WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/rvagg/rpi-newer-crosstools/archive/eb68350c5c8ec1663b7fe52c742ac4271e3217c5.tar.gz failed: class java.io.IOException connect timed out WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/joe-kuo/sobol_data/archive/835a7d7b1ee3bc83e575e302a985c66ec4b65249.tar.gz failed: class java.io.IOException connect timed out WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/google/snappy/archive/1.1.8.tar.gz failed: class java.io.IOException connect timed out WARNING: Download from http://mirror.tensorflow.org/files.pythonhosted.org/packages/ec/c4/8c651f3240a73c28a218194f3d527eb2be5a173d08501060cdee84ade33f/tblib-1.3.2.tar.gz failed: class java.io.IOException connect timed out WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/pypi.python.org/packages/8a/48/a76be51647d0eb9f10e2a4511bf3ffb8cc1e6b14e9e4fab46173aa79f981/termcolor-1.1.0.tar.gz failed: class java.io.IOException connect timed out WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/google/gemmlowp/archive/fda83bdc38b118cc6b56753bd540caa49e570745.zip failed: class java.io.IOException connect timed out WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/google/double-conversion/archive/3992066a95b823efc8ccc1baf82a1cfc73f6e9b8.zip failed: class java.io.IOException connect timed out WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/petewarden/OouraFFT/archive/v1.0.tar.gz failed: class java.io.IOException connect timed out WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/googleapis/google-cloud-cpp/archive/v1.17.1.tar.gz failed: class java.io.IOException connect timed out WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/dmlc/dlpack/archive/3efc489b55385936531a06ff83425b719387ec63.tar.gz failed: class java.io.IOException connect timed out WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/google/farmhash/archive/816a4ae622e964763ca0862d9dbd19324a1eaf45.tar.gz failed: class java.io.IOException connect timed out WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/files.pythonhosted.org/packages/f3/af/4182184d3c338792894f34a62672919db7ca008c89abee9b564dd34d8029/astunparse-1.6.3.tar.gz failed: class java.io.IOException connect timed out WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/llvm/llvm-project/archive/f402e682d0ef5598eeffc9a21a691b03e602ff58.tar.gz failed: class com.google.devtools.build.lib.bazel.repository.downloader.UnrecoverableHttpException GET returned 404 Not Found WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/mborgerding/kissfft/archive/36dbc057604f00aacfc0288ddad57e3b21cfc1b8.tar.gz failed: class java.io.IOException connect timed out WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/google/pasta/archive/v0.1.8.tar.gz failed: class java.io.IOException connect timed out WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/pytorch/cpuinfo/archive/6cecd15784fcb6c5c0aa7311c6248879ce2cb8b2.zip failed: class java.io.IOException connect timed out ERROR: /home/firefly/.cache/bazel/_bazel_firefly/caafa1f427f1585b7db275fb8c15a556/external/cpuinfo/BUILD.bazel:96:1: Configurable attribute "srcs" doesn't match this configuration (would a default condition help?). Conditions checked: @cpuinfo//:linux_x86_64 @cpuinfo//:linux_arm @cpuinfo//:linux_armhf @cpuinfo//:linux_armv7a @cpuinfo//:linux_armeabi @cpuinfo//:linux_mips64 @cpuinfo//:macos_x86_64 @cpuinfo//:windows_x86_64 @cpuinfo//:android_armv7 @cpuinfo//:android_arm64 @cpuinfo//:android_x86 @cpuinfo//:android_x86_64 @cpuinfo//:ios_x86_64 @cpuinfo//:ios_x86 @cpuinfo//:ios_armv7 @cpuinfo//:ios_arm64 @cpuinfo//:ios_arm64e @cpuinfo//:watchos_x86_64 @cpuinfo//:watchos_x86 @cpuinfo//:watchos_armv7k @cpuinfo//:watchos_arm64_32 @cpuinfo//:tvos_x86_64 @cpuinfo//:tvos_arm64 INFO: Repository aarch64_compiler instantiated at: no stack (--record_rule_instantiation_callstack not enabled) Repository rule tf_http_archive defined at: /home/firefly/Downloads/tensorflow-on-arm-master/build_tensorflow/sources/tensorflow/third_party/repo.bzl:131:19: in ERROR: Analysis of target '//tensorflow/tools/pip_package:build_pip_package' failed; build aborted:

/home/firefly/.cache/bazel/_bazel_firefly/caafa1f427f1585b7db275fb8c15a556/external/cpuinfo/BUILD.bazel:96:1: Configurable attribute "srcs" doesn't match this configuration (would a default condition help?). Conditions checked: @cpuinfo//:linux_x86_64 @cpuinfo//:linux_arm @cpuinfo//:linux_armhf @cpuinfo//:linux_armv7a @cpuinfo//:linux_armeabi @cpuinfo//:linux_mips64 @cpuinfo//:macos_x86_64 @cpuinfo//:windows_x86_64 @cpuinfo//:android_armv7 @cpuinfo//:android_arm64 @cpuinfo//:android_x86 @cpuinfo//:android_x86_64 @cpuinfo//:ios_x86_64 @cpuinfo//:ios_x86 @cpuinfo//:ios_armv7 @cpuinfo//:ios_arm64 @cpuinfo//:ios_arm64e @cpuinfo//:watchos_x86_64 @cpuinfo//:watchos_x86 @cpuinfo//:watchos_armv7k @cpuinfo//:watchos_arm64_32 @cpuinfo//:tvos_x86_64 @cpuinfo//:tvos_arm64 INFO: Elapsed time: 553.161s INFO: 0 processes. FAILED: Build did NOT complete successfully (388 packages loaded, 17941 targets configured) Fetching @astunparse_license; fetching Fetching @org_python_license; fetching ted branch temp (was e130e94fffb). remote: Enumerating objects: 12, done. remote: Counting objects: 100% (12/12), done. remote: Compressing objects: 100% (2/2), done. remote: Total 12 (delta 10), reused 12 (delta 10), pack-reused 0 Unpacking objects: 100% (12/12), done. From https://github.com/tensorflow/tensorflow cebfa65df54..d44a961979a master -> origin/master Updating cebfa65df54..d44a961979a Fast-forward tensorflow/core/public/version.h | 2 +- tensorflow/python/compat/compat.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) Checking out files: 100% (4998/4998), done. Note: checking out 'v2.4.0'.

You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may do so (now or later) by using -b with the checkout command again. Example:

git checkout -b

HEAD is now at 582c8d236cb Merge pull request #44220 from tensorflow-jenkins/relnotes-2.4.0rc0-18048 Switched to a new branch 'temp' /home/firefly/Downloads/tensorflow-on-arm-master/build_tensorflow/patch.sh: line 30: /home/firefly/Downloads/tensorflow-on-arm-master/build_tensorflow/sources//toolchain/gcc-linaro-5.5.0-2017.10-x86_64_aarch64-linux-gnu///bin/aarch64-linux-gnu-gcc: cannot execute binary file: Exec format error [temp a93430b9a37] temp modifications 4 files changed, 35 insertions(+), 28 deletions(-) Workdir: /home/firefly/Downloads/tensorflow-on-arm-master/build_tensorflow/sources/ Bazel binary: /home/firefly/Downloads/tensorflow-on-arm-master/build_tensorflow/sources//bin/bazel-3.1.0 Toolchain directory: /home/firefly/Downloads/tensorflow-on-arm-master/build_tensorflow/sources//toolchain/gcc-linaro-5.5.0-2017.10-x86_64_aarch64-linux-gnu// INFO: Options provided by the client: Inherited 'common' options: --isatty=1 --terminal_columns=121 INFO: Reading rc options for 'clean' from /home/firefly/Downloads/tensorflow-on-arm-master/build_tensorflow/sources/tensorflow/.bazelrc: Inherited 'common' options: --experimental_repo_remote_exec INFO: Reading rc options for 'clean' from /home/firefly/Downloads/tensorflow-on-arm-master/build_tensorflow/sources/tensorflow/.bazelrc: Inherited 'build' options: --apple_platform_type=macos --define framework_shared_object=true --define open_source_build=true --java_toolchain=//third_party/toolchains/java:tf_java_toolchain --host_java_toolchain=//third_party/toolchains/java:tf_java_toolchain --define=tensorflow_enable_mlir_generated_gpu_kernels=0 --define=use_fast_cpp_protos=true --define=allow_oversize_protos=true --spawn_strategy=standalone -c opt --announce_rc --define=grpc_no_ares=true --noincompatible_remove_legacy_whole_archive --noincompatible_prohibit_aapt1 --enable_platform_specific_config --config=short_logs --config=v2 INFO: Reading rc options for 'clean' from /home/firefly/Downloads/tensorflow-on-arm-master/build_tensorflow/sources/tensorflow/.tf_configure.bazelrc: Inherited 'build' options: --action_env PYTHON_BIN_PATH=/usr/bin/python3.6 --action_env PYTHON_LIB_PATH=/usr/local/lib/python3.6/dist-packages --python_path=/usr/bin/python3.6 --action_env TF_CONFIGURE_IOS=0 INFO: Found applicable config definition build:short_logs in file /home/firefly/Downloads/tensorflow-on-arm-master/build_tensorflow/sources/tensorflow/.bazelrc: --output_filter=DONT_MATCH_ANYTHING INFO: Found applicable config definition build:v2 in file /home/firefly/Downloads/tensorflow-on-arm-master/build_tensorflow/sources/tensorflow/.bazelrc: --define=tf_api_version=2 --action_env=TF2_BEHAVIOR=1 INFO: Found applicable config definition build:linux in file /home/firefly/Downloads/tensorflow-on-arm-master/build_tensorflow/sources/tensorflow/.bazelrc: --copt=-w --host_copt=-w --define=PREFIX=/usr --define=LIBDIR=$(PREFIX)/lib --define=INCLUDEDIR=$(PREFIX)/include --define=PROTOBUF_INCLUDE_PATH=$(PREFIX)/include --cxxopt=-std=c++14 --host_cxxopt=-std=c++14 --config=dynamic_kernels INFO: Found applicable config definition build:dynamic_kernels in file /home/firefly/Downloads/tensorflow-on-arm-master/build_tensorflow/sources/tensorflow/.bazelrc: --define=dynamic_loaded_kernels=true --copt=-DAUTOLOAD_DYNAMIC_KERNELS INFO: Starting clean (this may take a while). Consider using --async if the clean takes more than several minutes. You have bazel 3.1.0- (@non-git) installed. Found possible Python library paths: /usr/lib/python3/dist-packages /usr/local/lib/python3.6/dist-packages Please input the desired Python library path to use. Default is [/usr/lib/python3/dist-packages] Do you wish to download a fresh release of clang? (Experimental) [y/N]: Clang will not be downloaded.

Please specify optimization flags to use during compilation when bazel option "--config=opt" is specified [Default is -march=native -Wno-sign-compare]:

Would you like to interactively configure ./WORKSPACE for Android builds? [y/N]: Not configuring the WORKSPACE for Android builds.

Preconfigured Bazel build configs. You can use any of the below by adding "--config=<>" to your build command. See .bazelrc for more details. --config=mkl # Build with MKL support. --config=mkl_aarch64 # Build with oneDNN support for Aarch64. --config=monolithic # Config for mostly static monolithic build. --config=ngraph # Build with Intel nGraph support. --config=numa # Build with NUMA support. --config=dynamic_kernels # (Experimental) Build kernels into separate shared objects. --config=v2 # Build TensorFlow 2.x instead of 1.x. Preconfigured Bazel build configs to DISABLE default on features: --config=noaws # Disable AWS S3 filesystem support. --config=nogcp # Disable GCP support. --config=nohdfs # Disable HDFS support. --config=nonccl # Disable NVIDIA NCCL support. WARNING: The following configs were expanded more than once: [v2]. For repeatable flags, repeats are counted twice and may lead to unexpected behavior. INFO: Options provided by the client: Inherited 'common' options: --isatty=1 --terminal_columns=121 INFO: Reading rc options for 'build' from /home/firefly/Downloads/tensorflow-on-arm-master/build_tensorflow/sources/tensorflow/.bazelrc: Inherited 'common' options: --experimental_repo_remote_exec INFO: Reading rc options for 'build' from /home/firefly/Downloads/tensorflow-on-arm-master/build_tensorflow/sources/tensorflow/.bazelrc: 'build' options: --apple_platform_type=macos --define framework_shared_object=true --define open_source_build=true --java_toolchain=//third_party/toolchains/java:tf_java_toolchain --host_java_toolchain=//third_party/toolchains/java:tf_java_toolchain --define=tensorflow_enable_mlir_generated_gpu_kernels=0 --define=use_fast_cpp_protos=true --define=allow_oversize_protos=true --spawn_strategy=standalone -c opt --announce_rc --define=grpc_no_ares=true --noincompatible_remove_legacy_whole_archive --noincompatible_prohibit_aapt1 --enable_platform_specific_config --config=short_logs --config=v2 INFO: Reading rc options for 'build' from /home/firefly/Downloads/tensorflow-on-arm-master/build_tensorflow/sources/tensorflow/.tf_configure.bazelrc: 'build' options: --action_env PYTHON_BIN_PATH=/usr/bin/python3.6 --action_env PYTHON_LIB_PATH=/usr/lib/python3/dist-packages --python_path=/usr/bin/python3.6 --action_env TF_CONFIGURE_IOS=0 INFO: Found applicable config definition build:short_logs in file /home/firefly/Downloads/tensorflow-on-arm-master/build_tensorflow/sources/tensorflow/.bazelrc: --output_filter=DONT_MATCH_ANYTHING INFO: Found applicable config definition build:v2 in file /home/firefly/Downloads/tensorflow-on-arm-master/build_tensorflow/sources/tensorflow/.bazelrc: --define=tf_api_version=2 --action_env=TF2_BEHAVIOR=1 INFO: Found applicable config definition build:monolithic in file /home/firefly/Downloads/tensorflow-on-arm-master/build_tensorflow/sources/tensorflow/.bazelrc: --define framework_shared_object=false INFO: Found applicable config definition build:v2 in file /home/firefly/Downloads/tensorflow-on-arm-master/build_tensorflow/sources/tensorflow/.bazelrc: --define=tf_api_version=2 --action_env=TF2_BEHAVIOR=1 INFO: Found applicable config definition build:noaws in file /home/firefly/Downloads/tensorflow-on-arm-master/build_tensorflow/sources/tensorflow/.bazelrc: --define=no_aws_support=true INFO: Found applicable config definition build:nohdfs in file /home/firefly/Downloads/tensorflow-on-arm-master/build_tensorflow/sources/tensorflow/.bazelrc: --define=no_hdfs_support=true INFO: Found applicable config definition build:linux in file /home/firefly/Downloads/tensorflow-on-arm-master/build_tensorflow/sources/tensorflow/.bazelrc: --copt=-w --host_copt=-w --define=PREFIX=/usr --define=LIBDIR=$(PREFIX)/lib --define=INCLUDEDIR=$(PREFIX)/include --define=PROTOBUF_INCLUDE_PATH=$(PREFIX)/include --cxxopt=-std=c++14 --host_cxxopt=-std=c++14 --config=dynamic_kernels INFO: Found applicable config definition build:dynamic_kernels in file /home/firefly/Downloads/tensorflow-on-arm-master/build_tensorflow/sources/tensorflow/.bazelrc: --define=dynamic_loaded_kernels=true --copt=-DAUTOLOAD_DYNAMIC_KERNELS WARNING: Download from http://mirror.tensorflow.org/files.pythonhosted.org/packages/12/59/eaa15ab9710a20e22225efd042cd2d6a0b559a0656d5baba9641a2a4a921/gast-0.3.3.tar.gz failed: class java.io.IOException connect timed out WARNING: Download from http://mirror.tensorflow.org/files.pythonhosted.org/packages/6a/28/d32852f2af6b5ead85d396249d5bdf450833f3a69896d76eb480d9c5e406/typing_extensions-3.7.4.2.tar.gz failed: class java.io.IOException connect timed out WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/abseil/abseil-py/archive/pypi-v0.9.0.tar.gz failed: class java.io.IOException connect timed out WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/pypi.python.org/packages/bc/cc/3cdb0a02e7e96f6c70bd971bc8a90b8463fda83e264fa9c5c1c98ceabd81/backports.weakref-1.0rc1.tar.gz failed: class java.io.IOException connect timed out WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/pytorch/cpuinfo/archive/d5e37adf1406cf899d7d9ec1d317c47506ccb970.tar.gz failed: class java.io.IOException connect timed out WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/pybind/pybind11/archive/v2.4.3.tar.gz failed: class java.io.IOException connect timed out WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/bazelbuild/rules_python/releases/download/0.0.1/rules_python-0.0.1.tar.gz failed: class java.io.IOException connect timed out WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/abseil/abseil-cpp/archive/df3ea785d8c30a9503321a3d35ee7d35808f190d.tar.gz failed: class java.io.IOException connect timed out WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/LMDB/lmdb/archive/LMDB_0.9.22.tar.gz failed: class java.io.IOException connect timed out WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/www.sqlite.org/2020/sqlite-amalgamation-3330000.zip failed: class java.io.IOException connect timed out WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/cython/cython/archive/0.28.4.tar.gz failed: class java.io.IOException connect timed out WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/pypi.python.org/packages/f6/d6/44792ec668bcda7d91913c75237314e688f70415ab2acd7172c845f0b24f/opt_einsum-2.3.2.tar.gz failed: class java.io.IOException connect timed out WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/google/ruy/archive/5bb02fbf90824c2eb6cd7418f766c593106a332b.zip failed: class java.io.IOException connect timed out WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/rvagg/rpi-newer-crosstools/archive/eb68350c5c8ec1663b7fe52c742ac4271e3217c5.tar.gz failed: class java.io.IOException connect timed out WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/joe-kuo/sobol_data/archive/835a7d7b1ee3bc83e575e302a985c66ec4b65249.tar.gz failed: class java.io.IOException connect timed out WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/google/snappy/archive/1.1.8.tar.gz failed: class java.io.IOException connect timed out WARNING: Download from http://mirror.tensorflow.org/files.pythonhosted.org/packages/ec/c4/8c651f3240a73c28a218194f3d527eb2be5a173d08501060cdee84ade33f/tblib-1.3.2.tar.gz failed: class java.io.IOException connect timed out WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/pypi.python.org/packages/8a/48/a76be51647d0eb9f10e2a4511bf3ffb8cc1e6b14e9e4fab46173aa79f981/termcolor-1.1.0.tar.gz failed: class java.io.IOException connect timed out WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/google/gemmlowp/archive/fda83bdc38b118cc6b56753bd540caa49e570745.zip failed: class java.io.IOException connect timed out WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/google/double-conversion/archive/3992066a95b823efc8ccc1baf82a1cfc73f6e9b8.zip failed: class java.io.IOException connect timed out WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/petewarden/OouraFFT/archive/v1.0.tar.gz failed: class java.io.IOException connect timed out WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/googleapis/google-cloud-cpp/archive/v1.17.1.tar.gz failed: class java.io.IOException connect timed out WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/dmlc/dlpack/archive/3efc489b55385936531a06ff83425b719387ec63.tar.gz failed: class java.io.IOException connect timed out WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/google/farmhash/archive/816a4ae622e964763ca0862d9dbd19324a1eaf45.tar.gz failed: class java.io.IOException connect timed out WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/files.pythonhosted.org/packages/f3/af/4182184d3c338792894f34a62672919db7ca008c89abee9b564dd34d8029/astunparse-1.6.3.tar.gz failed: class java.io.IOException connect timed out WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/llvm/llvm-project/archive/f402e682d0ef5598eeffc9a21a691b03e602ff58.tar.gz failed: class com.google.devtools.build.lib.bazel.repository.downloader.UnrecoverableHttpException GET returned 404 Not Found WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/mborgerding/kissfft/archive/36dbc057604f00aacfc0288ddad57e3b21cfc1b8.tar.gz failed: class java.io.IOException connect timed out WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/google/pasta/archive/v0.1.8.tar.gz failed: class java.io.IOException connect timed out WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/pytorch/cpuinfo/archive/6cecd15784fcb6c5c0aa7311c6248879ce2cb8b2.zip failed: class java.io.IOException connect timed out ERROR: /home/firefly/.cache/bazel/_bazel_firefly/caafa1f427f1585b7db275fb8c15a556/external/cpuinfo/BUILD.bazel:96:1: Configurable attribute "srcs" doesn't match this configuration (would a default condition help?). Conditions checked: @cpuinfo//:linux_x86_64 @cpuinfo//:linux_arm @cpuinfo//:linux_armhf @cpuinfo//:linux_armv7a @cpuinfo//:linux_armeabi @cpuinfo//:linux_mips64 @cpuinfo//:macos_x86_64 @cpuinfo//:windows_x86_64 @cpuinfo//:android_armv7 @cpuinfo//:android_arm64 @cpuinfo//:android_x86 @cpuinfo//:android_x86_64 @cpuinfo//:ios_x86_64 @cpuinfo//:ios_x86 @cpuinfo//:ios_armv7 @cpuinfo//:ios_arm64 @cpuinfo//:ios_arm64e @cpuinfo//:watchos_x86_64 @cpuinfo//:watchos_x86 @cpuinfo//:watchos_armv7k @cpuinfo//:watchos_arm64_32 @cpuinfo//:tvos_x86_64 @cpuinfo//:tvos_arm64 INFO: Repository aarch64_compiler instantiated at: no stack (--record_rule_instantiation_callstack not enabled) Repository rule tf_http_archive defined at: /home/firefly/Downloads/tensorflow-on-arm-master/build_tensorflow/sources/tensorflow/third_party/repo.bzl:131:19: in ERROR: Analysis of target '//tensorflow/tools/pip_package:build_pip_package' failed; build aborted:

/home/firefly/.cache/bazel/_bazel_firefly/caafa1f427f1585b7db275fb8c15a556/external/cpuinfo/BUILD.bazel:96:1: Configurable attribute "srcs" doesn't match this configuration (would a default condition help?). Conditions checked: @cpuinfo//:linux_x86_64 @cpuinfo//:linux_arm @cpuinfo//:linux_armhf @cpuinfo//:linux_armv7a @cpuinfo//:linux_armeabi @cpuinfo//:linux_mips64 @cpuinfo//:macos_x86_64 @cpuinfo//:windows_x86_64 @cpuinfo//:android_armv7 @cpuinfo//:android_arm64 @cpuinfo//:android_x86 @cpuinfo//:android_x86_64 @cpuinfo//:ios_x86_64 @cpuinfo//:ios_x86 @cpuinfo//:ios_armv7 @cpuinfo//:ios_arm64 @cpuinfo//:ios_arm64e @cpuinfo//:watchos_x86_64 @cpuinfo//:watchos_x86 @cpuinfo//:watchos_armv7k @cpuinfo//:watchos_arm64_32 @cpuinfo//:tvos_x86_64 @cpuinfo//:tvos_arm64 INFO: Elapsed time: 553.161s INFO: 0 processes. FAILED: Build did NOT complete successfully (388 packages loaded, 17941 targets configured) Fetching @astunparse_license; fetching Fetching @org_python_license; fetching