Tensorflow installation on drive PX2

Hi,

I 'm trying to install Tensorflow throgh this Tensorflow wheel following those links:

https://devtalk.nvidia.com/default/topic/1031300/jetson-tx2/tensorflow-1-7-wheel-with-jetpack-3-2-

using this file:

https://nvidia.box.com/v/JP33-TF1-11-0-py27-wTRT

but when I click on download I am asked to login but when I put the username and password still appears the same request everytime.

Do you know what could be the problem here?

Thank you

Dear omar.triki.tn,
Could you check the following link for your topic.
https://devtalk.nvidia.com/default/topic/1032083/faq/tensorflow-installation-on-dpx2/

Hi,

We just prepare a prebuilt package for DRIVE PX2 user.
You can simply install it with pip rather than building it from source.

Install prebuilt
python-2.7
Please download the wheel file here.

$ sudo apt-get install libhdf5-serial-dev hdf5-tools
$ sudo pip install tensorflow-1.13.1-cp27-cp27mu-linux_aarch64.whl
$ sudo pip install numpy

Build from source
If you are interested in building TensorFlow on your own, please follow these steps:

1. Create swap

$ fallocate -l 8G swapfile
$ ls -lh swapfile
$ sudo chmod 600 swapfile
$ ls -lh swapfile
$ sudo mkswap swapfile
$ sudo swapon swapfile
$ swapon -s

2. Install dependency

$ sudo apt-get install -y language-pack-id
$ export LC_ALL="en_US.UTF-8"
$ export LC_CTYPE="en_US.UTF-8"
$ sudo dpkg-reconfigure locales
$ sudo add-apt-repository ppa:webupd8team/java
$ sudo apt-get update
$ sudo apt-get install -y oracle-java8-installer zip unzip autoconf automake libtool curl zlib1g-dev maven python-numpy swig python-dev python-pip python-wheel
$ pip install -U --user pip six numpy wheel setuptools mock enum34
$ pip install -U --user keras_applications==1.0.6 --no-deps
$ pip install -U --user keras_preprocessing==1.0.5 --no-deps

3. Build Bazel

$ wget --no-check-certificate https://github.com/bazelbuild/bazel/releases/download/0.21.0/bazel-0.21.0-dist.zip
$ unzip bazel-0.21.0-dist.zip -d bazel-0.21.0-dist
$ sudo chmod -R ug+rwx bazel-0.21.0-dist
$ cd bazel-0.21.0-dist/
$ ./compile.sh 
$ sudo cp output/bazel /usr/local/bin

4. Build TensorFlow

$ git clone https://github.com/tensorflow/tensorflow.git
$ cd tensorflow/
$ git checkout r1.13

Apply this change:

diff --git a/tensorflow/lite/kernels/internal/BUILD b/tensorflow/lite/kernels/internal/BUILD
index 4be3226..960754a 100644
--- a/tensorflow/lite/kernels/internal/BUILD
+++ b/tensorflow/lite/kernels/internal/BUILD
@@ -22,7 +22,6 @@ HARD_FP_FLAGS_IF_APPLICABLE = select({
 NEON_FLAGS_IF_APPLICABLE = select({
     ":arm": [
         "-O3",
-        "-mfpu=neon",
     ],
     ":armeabi-v7a": [
         "-O3",
diff --git a/third_party/aws/BUILD.bazel b/third_party/aws/BUILD.bazel
index 5426f79..e08f8fc 100644
--- a/third_party/aws/BUILD.bazel
+++ b/third_party/aws/BUILD.bazel
@@ -24,7 +24,7 @@ cc_library(
         "@org_tensorflow//tensorflow:raspberry_pi_armeabi": glob([
             "aws-cpp-sdk-core/source/platform/linux-shared/*.cpp",
         ]),
-        "//conditions:default": [],
+        "//conditions:default": glob(["aws-cpp-sdk-core/source/platform/linux-shared/*.cpp",]),
     }) + glob([
         "aws-cpp-sdk-core/include/**/*.h",
         "aws-cpp-sdk-core/source/*.cpp",
diff --git a/third_party/gpus/crosstool/BUILD.tpl b/third_party/gpus/crosstool/BUILD.tpl
index db76306..184cd35 100644
--- a/third_party/gpus/crosstool/BUILD.tpl
+++ b/third_party/gpus/crosstool/BUILD.tpl
@@ -24,6 +24,7 @@ cc_toolchain_suite(
         "x64_windows|msvc-cl": ":cc-compiler-windows",
         "x64_windows": ":cc-compiler-windows",
         "arm": ":cc-compiler-local",
+        "aarch64": ":cc-compiler-local",
         "k8": ":cc-compiler-local",
         "piii": ":cc-compiler-local",
         "ppc": ":cc-compiler-local",
$ ./configure

Follow these configuration

Please specify the location of python. [Default is /usr/bin/python]:

Found possible Python library paths:
  /usr/local/lib/python2.7/dist-packages
  /usr/lib/python2.7/dist-packages
Please input the desired Python library path to use.  Default is [/usr/local/lib/python2.7/dist-packages]

Do you wish to build TensorFlow with XLA JIT support? [Y/n]: n
No XLA JIT support will be enabled for TensorFlow.

Do you wish to build TensorFlow with OpenCL SYCL support? [y/N]: n
No OpenCL SYCL support will be enabled for TensorFlow.

Do you wish to build TensorFlow with ROCm support? [y/N]: n
No ROCm support will be enabled for TensorFlow.

Do you wish to build TensorFlow with CUDA support? [y/N]: y
CUDA support will be enabled for TensorFlow.

Please specify the CUDA SDK version you want to use. [Leave empty to default to CUDA 10.0]: 9.2

Please specify the location where CUDA 9.2 toolkit is installed. Refer to README.md for more details. [Default is /usr/local/cuda]:

Please specify the cuDNN version you want to use. [Leave empty to default to cuDNN 7]:

Please specify the location where cuDNN 7 library is installed. Refer to README.md for more details. [Default is /usr/local/cuda]:

Do you wish to build TensorFlow with TensorRT support? [y/N]: y
TensorRT support will be enabled for TensorFlow.

Please specify the location where TensorRT is installed. [Default is /usr/lib/aarch64-linux-gnu]:

Please specify the locally installed NCCL version you want to use. [Default is to use https://github.com/nvidia/nccl]:

Please specify a list of comma-separated Cuda compute capabilities you want to build with.
You can find the compute capability of your device at: https://developer.nvidia.com/cuda-gpus.
Please note that each additional compute capability significantly increases your build time and binary size. [Default is: 3.5,7.0]: 6.1,6.2

Do you want to use clang as CUDA compiler? [y/N]: n
nvcc will be used as CUDA compiler. 
    
Please specify which gcc should be used by nvcc as the host compiler. [Default is /usr/bin/gcc]:

Do you wish to build TensorFlow with MPI support? [y/N]: n
No MPI support will be enabled for TensorFlow.

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]: 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=monolithic     # Config for mostly static monolithic build.
        --config=gdr            # Build with GDR support.
        --config=verbs          # Build with libverbs support.
        --config=ngraph         # Build with Intel nGraph support.
        --config=dynamic_kernels        # (Experimental) Build kernels into separate shared objects.
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=noignite       # Disable Apacha Ignite support.
        --config=nokafka        # Disable Apache Kafka support.
        --config=nonccl         # Disable NVIDIA NCCL support.
Configuration finished
$ bazel build --config=opt --config=cuda --config=nonccl //tensorflow/tools/pip_package:build_pip_package
$ sudo bazel-bin/tensorflow/tools/pip_package/build_pip_package ../
$ sudo pip install ../tensorflow-1.6.0-cp27-cp27mu-linux_aarch64.whl
$ export TF_MIN_GPU_MULTIPROCESSOR_COUNT=2

Thanks.

Dear AatsaLLL,

I’m using DRIVE PX2 AutoChauffeur and i installed OS using the latest version SDK manager 0.9 beta 8

When installing the tensorflow, i got the error

ERROR: tensorflow-1.13.1-cp27-cp27mu-linux_aarch64.whl is not a supported wheel on this platform.

is there any other way to install tensorflow?

Thank you

Myeongseok

Need help for installation at step “bazel build --config=opt --config=cuda --config=nonccl //tensorflow/tools/pip_package:build_pip_package”


Error message shared below

bazel build --config=opt --config=cuda --config=nonccl //tensorflow/tools/pip_package:build_pip_package
WARNING: The following configs were expanded more than once: [cuda]. For repeatable flags, repeats are counted twice and may lead to unexpected behavior.
INFO: Invocation ID: cc963219-d37a-48cc-839f-0ffe2c569717
ERROR: Skipping ‘//tensorflow/tools/pip_package:build_pip_package’: error loading package ‘tensorflow/tools/pip_package’: in /home/nvidia/bazel-0.21.0-dist/tensorflow/tensorflow/tensorflow.bzl: Encountered error while reading extension file ‘build_defs.bzl’: no such package ‘@local_config_tensorrt//’: Traceback (most recent call last):
File “/home/nvidia/bazel-0.21.0-dist/tensorflow/third_party/tensorrt/tensorrt_configure.bzl”, line 171
_trt_lib_version(repository_ctx, trt_install_path)
File “/home/nvidia/bazel-0.21.0-dist/tensorflow/third_party/tensorrt/tensorrt_configure.bzl”, line 81, in _trt_lib_version
_find_trt_header_dir(repository_ctx, trt_install_path)
File “/home/nvidia/bazel-0.21.0-dist/tensorflow/third_party/tensorrt/tensorrt_configure.bzl”, line 64, in _find_trt_header_dir
str(repository_ctx.path(("%s/…/incl…)
File “/home/nvidia/bazel-0.21.0-dist/tensorflow/third_party/tensorrt/tensorrt_configure.bzl”, line 64, in str
repository_ctx.path(("%s/…/include" % trt_install_path)).realpath
/usr/lib/include (No such file or directory)
WARNING: Target pattern parsing failed.
ERROR: error loading package ‘tensorflow/tools/pip_package’: in /home/nvidia/bazel-0.21.0-dist/tensorflow/tensorflow/tensorflow.bzl: Encountered error while reading extension file ‘build_defs.bzl’: no such package ‘@local_config_tensorrt//’: Traceback (most recent call last):
File “/home/nvidia/bazel-0.21.0-dist/tensorflow/third_party/tensorrt/tensorrt_configure.bzl”, line 171
_trt_lib_version(repository_ctx, trt_install_path)
File “/home/nvidia/bazel-0.21.0-dist/tensorflow/third_party/tensorrt/tensorrt_configure.bzl”, line 81, in _trt_lib_version
_find_trt_header_dir(repository_ctx, trt_install_path)
File “/home/nvidia/bazel-0.21.0-dist/tensorflow/third_party/tensorrt/tensorrt_configure.bzl”, line 64, in _find_trt_header_dir
str(repository_ctx.path(("%s/…/incl…)
File “/home/nvidia/bazel-0.21.0-dist/tensorflow/third_party/tensorrt/tensorrt_configure.bzl”, line 64, in str
repository_ctx.path(("%s/…/include" % trt_install_path)).realpath
/usr/lib/include (No such file or directory)
INFO: Elapsed time: 0.304s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded)
currently loading: tensorflow/tools/pip_package
Fetching @local_config_cuda; fetching
Fetching @local_config_rocm; Restarting.
Fetching @local_config_tensorrt; fetching

Hi,

dist/tensorflow/tensorflow/tensorflow.bzl: Encountered error while reading extension file 'build_defs.bzl': no such package '@local_config_tensorrt//': Traceback (most recent call last):

The error indicates that bazel cannot find the TensorRT package.
Have you installed it?

Thanks.

I had followed the steps as per this thread and installed bazel-0.21.0. (installation was successful for bazel-0.21.0). I can also see the bazel file in /usr/local/bin.

Does the bazel-0.21.0 have any conflict in terms of versions?

Or please inform a permanent solution for the installation of Tensorflow-GPU from source for Drive PX2.

I tried couple of time (no change in bazel version- 0.21.0), last time with re-booting the tegra-B, this time the installation proceeded further, but got a different error.

Error message

[code]
/tensorflow$ bazel build --config=opt --config=cuda --config=nonccl //tensorflow/tools/pip_package:build_pip_package
Starting local Bazel server and connecting to it…
WARNING: The following configs were expanded more than once: [cuda]. For repeatable flags, repeats are counted twice and may lead to unexpected behavior.
INFO: Invocation ID: d95a8b95-71c7-40aa-beb5-a067357e568e
WARNING: /home/nvidia/bazel-0.21.0-dist/tensorflow/tensorflow/python/BUILD:2986:1: in py_library rule //tensorflow/python:standard_ops: target ‘//tensorflow/python:standard_ops’ depends on deprecated target ‘//tensorflow/python/ops/distributions:distributions’: TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.distributions will not receive new features, and will be removed by early 2019. You should update all usage of tf.distributions to tfp.distributions.
WARNING: /home/nvidia/bazel-0.21.0-dist/tensorflow/tensorflow/contrib/gan/BUILD:136:1: in py_library rule //tensorflow/contrib/gan:losses_impl: target ‘//tensorflow/contrib/gan:losses_impl’ depends on deprecated target ‘//tensorflow/python/ops/distributions:distributions’: TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.distributions will not receive new features, and will be removed by early 2019. You should update all usage of tf.distributions to tfp.distributions.
WARNING: /home/nvidia/bazel-0.21.0-dist/tensorflow/tensorflow/contrib/metrics/BUILD:16:1: in py_library rule //tensorflow/contrib/metrics:metrics_py: target ‘//tensorflow/contrib/metrics:metrics_py’ depends on deprecated target ‘//tensorflow/python/ops/distributions:distributions’: TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.distributions will not receive new features, and will be removed by early 2019. You should update all usage of tf.distributions to tfp.distributions.
WARNING: /home/nvidia/bazel-0.21.0-dist/tensorflow/tensorflow/python/BUILD:77:1: in py_library rule //tensorflow/python:no_contrib: target ‘//tensorflow/python:no_contrib’ depends on deprecated target ‘//tensorflow/python/ops/distributions:distributions’: TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.distributions will not receive new features, and will be removed by early 2019. You should update all usage of tf.distributions to tfp.distributions.
WARNING: /home/nvidia/bazel-0.21.0-dist/tensorflow/tensorflow/contrib/learn/BUILD:17:1: in py_library rule //tensorflow/contrib/learn:learn: target ‘//tensorflow/contrib/learn:learn’ depends on deprecated target ‘//tensorflow/contrib/session_bundle:exporter’: No longer supported. Switch to SavedModel immediately.
WARNING: /home/nvidia/bazel-0.21.0-dist/tensorflow/tensorflow/contrib/learn/BUILD:17:1: in py_library rule //tensorflow/contrib/learn:learn: target ‘//tensorflow/contrib/learn:learn’ depends on deprecated target ‘//tensorflow/contrib/session_bundle:gc’: No longer supported. Switch to SavedModel immediately.
WARNING: /home/nvidia/bazel-0.21.0-dist/tensorflow/tensorflow/contrib/seq2seq/BUILD:23:1: in py_library rule //tensorflow/contrib/seq2seq:seq2seq_py: target ‘//tensorflow/contrib/seq2seq:seq2seq_py’ depends on deprecated target ‘//tensorflow/contrib/distributions:distributions_py’: TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of tf.contrib.distributions to tfp.distributions.
WARNING: /home/nvidia/bazel-0.21.0-dist/tensorflow/tensorflow/contrib/seq2seq/BUILD:23:1: in py_library rule //tensorflow/contrib/seq2seq:seq2seq_py: target ‘//tensorflow/contrib/seq2seq:seq2seq_py’ depends on deprecated target ‘//tensorflow/python/ops/distributions:distributions’: TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.distributions will not receive new features, and will be removed by early 2019. You should update all usage of tf.distributions to tfp.distributions.
WARNING: /home/nvidia/bazel-0.21.0-dist/tensorflow/tensorflow/contrib/timeseries/python/timeseries/state_space_models/BUILD:233:1: in py_library rule //tensorflow/contrib/timeseries/python/timeseries/state_space_models:filtering_postprocessor: target ‘//tensorflow/contrib/timeseries/python/timeseries/state_space_models:filtering_postprocessor’ depends on deprecated target ‘//tensorflow/contrib/distributions:distributions_py’: TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of tf.contrib.distributions to tfp.distributions.
WARNING: /home/nvidia/bazel-0.21.0-dist/tensorflow/tensorflow/contrib/timeseries/python/timeseries/state_space_models/BUILD:76:1: in py_library rule //tensorflow/contrib/timeseries/python/timeseries/state_space_models:kalman_filter: target ‘//tensorflow/contrib/timeseries/python/timeseries/state_space_models:kalman_filter’ depends on deprecated target ‘//tensorflow/contrib/distributions:distributions_py’: TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of tf.contrib.distributions to tfp.distributions.
WARNING: /home/nvidia/bazel-0.21.0-dist/tensorflow/tensorflow/contrib/timeseries/python/timeseries/BUILD:356:1: in py_library rule //tensorflow/contrib/timeseries/python/timeseries:ar_model: target ‘//tensorflow/contrib/timeseries/python/timeseries:ar_model’ depends on deprecated target ‘//tensorflow/contrib/distributions:distributions_py’: TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of tf.contrib.distributions to tfp.distributions.
WARNING: /home/nvidia/bazel-0.21.0-dist/tensorflow/tensorflow/contrib/bayesflow/BUILD:17:1: in py_library rule //tensorflow/contrib/bayesflow:bayesflow_py: target ‘//tensorflow/contrib/bayesflow:bayesflow_py’ depends on deprecated target ‘//tensorflow/contrib/distributions:distributions_py’: TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of tf.contrib.distributions to tfp.distributions.
WARNING: /home/nvidia/bazel-0.21.0-dist/tensorflow/tensorflow/contrib/BUILD:13:1: in py_library rule //tensorflow/contrib:contrib_py: target ‘//tensorflow/contrib:contrib_py’ depends on deprecated target ‘//tensorflow/contrib/distributions:distributions_py’: TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of tf.contrib.distributions to tfp.distributions.
INFO: Analysed target //tensorflow/tools/pip_package:build_pip_package (347 packages loaded, 17756 targets configured).
INFO: Found 1 target…
INFO: From Compiling tensorflow/python/framework/fast_tensor_util.cpp [for host]:
In file included from bazel-out/host/genfiles/external/local_config_python/numpy_include/numpy/ndarraytypes.h:1822:0,
from bazel-out/host/genfiles/external/local_config_python/numpy_include/numpy/ndarrayobject.h:12,
from bazel-out/host/genfiles/external/local_config_python/numpy_include/numpy/arrayobject.h:4,
from bazel-out/host/genfiles/tensorflow/python/framework/fast_tensor_util.cpp:581:
bazel-out/host/genfiles/external/local_config_python/numpy_include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " “#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION” [-Wcpp]
#warning "Using deprecated NumPy API, disable it with "
^
INFO: From Compiling external/icu/icu4c/source/common/uidna.cpp [for host]:
external/icu/icu4c/source/common/uidna.cpp: In function ‘int32_t internal_toUnicode(const UChar*, int32_t, UChar*, int32_t, int32_t, UStringPrepProfile*, UParseError*, UErrorCode*)’:
external/icu/icu4c/source/common/uidna.cpp:515:85: warning: ‘int32_t uidna_toASCII_62(const UChar*, int32_t, UChar*, int32_t, int32_t, UParseError*, UErrorCode*)’ is deprecated [-Wdeprecated-declarations]
b3Len = uidna_toASCII(b2, b2Len, b3, b3Capacity, options, parseError, status);
^
In file included from external/icu/icu4c/source/common/unicode/platform.h:25:0,
from external/icu/icu4c/source/common/unicode/ptypes.h:52,
from external/icu/icu4c/source/common/unicode/umachine.h:46,
from external/icu/icu4c/source/common/unicode/utypes.h:38,
from external/icu/icu4c/source/common/uidna.cpp:19:
external/icu/icu4c/source/common/unicode/uidna.h:576:1: note: declared here
uidna_toASCII(const UChar* src, int32_t srcLength,
^
external/icu/icu4c/source/common/uidna.cpp:528:80: warning: ‘int32_t uidna_toASCII_62(const UChar*, int32_t, UChar*, int32_t, int32_t, UParseError*, UErrorCode*)’ is deprecated [-Wdeprecated-declarations]
b3Len = uidna_toASCII(b2,b2Len,b3,b3Len,options,parseError, status);
^
In file included from external/icu/icu4c/source/common/unicode/platform.h:25:0,
from external/icu/icu4c/source/common/unicode/ptypes.h:52,
from external/icu/icu4c/source/common/unicode/umachine.h:46,
from external/icu/icu4c/source/common/unicode/utypes.h:38,
from external/icu/icu4c/source/common/uidna.cpp:19:
external/icu/icu4c/source/common/unicode/uidna.h:576:1: note: declared here
uidna_toASCII(const UChar* src, int32_t srcLength,
^
external/icu/icu4c/source/common/uidna.cpp: In function ‘int32_t uidna_compare_62(const UChar*, int32_t, const UChar*, int32_t, int32_t, UErrorCode*)’:
external/icu/icu4c/source/common/uidna.cpp:878:87: warning: ‘int32_t uidna_IDNToASCII_62(const UChar*, int32_t, UChar*, int32_t, int32_t, UParseError*, UErrorCode*)’ is deprecated [-Wdeprecated-declarations]
b1Len = uidna_IDNToASCII(s1, length1, b1, b1Capacity, options, &parseError, status);
^
In file included from external/icu/icu4c/source/common/unicode/platform.h:25:0,
from external/icu/icu4c/source/common/unicode/ptypes.h:52,
from external/icu/icu4c/source/common/unicode/umachine.h:46,
from external/icu/icu4c/source/common/unicode/utypes.h:38,
from external/icu/icu4c/source/common/uidna.cpp:19:
external/icu/icu4c/source/common/uidna.cpp:670:1: note: declared here
uidna_IDNToASCII( const UChar src, int32_t srcLength,
^
external/icu/icu4c/source/common/uidna.cpp:889:83: warning: 'int32_t uidna_IDNToASCII_62(const UChar
, int32_t, UChar*, int32_t, int32_t, UParseError*, UErrorCode*)’ is deprecated [-Wdeprecated-declarations]
b1Len = uidna_IDNToASCII(s1,length1,b1,b1Len, options, &parseError, status);
^
In file included from external/icu/icu4c/source/common/unicode/platform.h:25:0,
from external/icu/icu4c/source/common/unicode/ptypes.h:52,
from external/icu/icu4c/source/common/unicode/umachine.h:46,
from external/icu/icu4c/source/common/unicode/utypes.h:38,
from external/icu/icu4c/source/common/uidna.cpp:19:
external/icu/icu4c/source/common/uidna.cpp:670:1: note: declared here
uidna_IDNToASCII( const UChar src, int32_t srcLength,
^
external/icu/icu4c/source/common/uidna.cpp:893:85: warning: 'int32_t uidna_IDNToASCII_62(const UChar
, int32_t, UChar*, int32_t, int32_t, UParseError*, UErrorCode*)’ is deprecated [-Wdeprecated-declarations]
b2Len = uidna_IDNToASCII(s2,length2, b2,b2Capacity, options, &parseError, status);
^
In file included from external/icu/icu4c/source/common/unicode/platform.h:25:0,
from external/icu/icu4c/source/common/unicode/ptypes.h:52,
from external/icu/icu4c/source/common/unicode/umachine.h:46,
from external/icu/icu4c/source/common/unicode/utypes.h:38,
from external/icu/icu4c/source/common/uidna.cpp:19:
external/icu/icu4c/source/common/uidna.cpp:670:1: note: declared here
uidna_IDNToASCII( const UChar src, int32_t srcLength,
^
external/icu/icu4c/source/common/uidna.cpp:904:86: warning: 'int32_t uidna_IDNToASCII_62(const UChar
, int32_t, UChar*, int32_t, int32_t, UParseError*, UErrorCode*)’ is deprecated [-Wdeprecated-declarations]
b2Len = uidna_IDNToASCII(s2, length2, b2, b2Len, options, &parseError, status);
^
In file included from external/icu/icu4c/source/common/unicode/platform.h:25:0,
from external/icu/icu4c/source/common/unicode/ptypes.h:52,
from external/icu/icu4c/source/common/unicode/umachine.h:46,
from external/icu/icu4c/source/common/unicode/utypes.h:38,
from external/icu/icu4c/source/common/uidna.cpp:19:
external/icu/icu4c/source/common/uidna.cpp:670:1: note: declared here
uidna_IDNToASCII( const UChar src, int32_t srcLength,
^
INFO: From Compiling external/icu/icu4c/source/common/static_unicode_sets.cpp [for host]:
external/icu/icu4c/source/common/static_unicode_sets.cpp: In function ‘UBool {anonymous}::cleanupNumberParseUniSets()’:
external/icu/icu4c/source/common/static_unicode_sets.cpp:121:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
reinterpret_cast<UnicodeSet
>(gEmptyUnicodeSet)->~UnicodeSet();
^
external/icu/icu4c/source/common/static_unicode_sets.cpp: In function ‘void {anonymous}::initNumberParseUniSets(UErrorCode&)’:
external/icu/icu4c/source/common/static_unicode_sets.cpp:137:52: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
reinterpret_cast<UnicodeSet*>(gEmptyUnicodeSet)->freeze();
^
INFO: From Compiling external/icu/icu4c/source/common/rbbitblb.cpp [for host]:
external/icu/icu4c/source/common/rbbitblb.cpp: In member function ‘bool icu_62::RBBITableBuilder::findDuplCharClassFrom(icu_62::IntPair*)’:
external/icu/icu4c/source/common/rbbitblb.cpp:1097:14: warning: ‘table_dupl’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (table_base == table_dupl) {
^
external/icu/icu4c/source/common/rbbitblb.cpp:1097:14: warning: ‘table_base’ may be used uninitialized in this function [-Wmaybe-uninitialized]
INFO: From Compiling tensorflow/lite/string_util.cc [for host]:
tensorflow/lite/string_util.cc: In member function ‘int tflite::DynamicBuffer::WriteToBuffer(char**)’:
tensorflow/lite/string_util.cc:89:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < offset
.size(); i++) {
^
INFO: From Compiling tensorflow/lite/c/c_api_internal.c [for host]:
In file included from tensorflow/lite/c/c_api_internal.c:16:0:
./tensorflow/lite/c/c_api_internal.h:60:34: warning: ‘struct TfLiteContext’ declared inside parameter list
TfLiteStatus (Refresh)(struct TfLiteContext context);
^
./tensorflow/lite/c/c_api_internal.h:60:34: warning: its scope is only this definition or declaration, which is probably not what you want
INFO: From Compiling tensorflow/lite/arena_planner.cc [for host]:
tensorflow/lite/arena_planner.cc: In member function ‘virtual TfLiteStatus tflite::ArenaPlanner::PlanAllocations()’:
tensorflow/lite/arena_planner.cc:133:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < graph_info_->num_nodes(); ++i) {
^
tensorflow/lite/arena_planner.cc:151:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < graph_info_->num_nodes(); ++i) {
^
tensorflow/lite/arena_planner.cc: In member function ‘virtual TfLiteStatus tflite::ArenaPlanner::ExecuteAllocations(int, int)’:
tensorflow/lite/arena_planner.cc:191:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < graph_info_->num_tensors(); ++i) {
^
tensorflow/lite/arena_planner.cc: In member function ‘TfLiteStatus tflite::ArenaPlanner::CalculateAllocationOfInternalTensors(int)’:
tensorflow/lite/arena_planner.cc:282:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (node_index < graph_info_->num_nodes()) {
^
tensorflow/lite/arena_planner.cc: In member function ‘TfLiteStatus tflite::ArenaPlanner::CalculateDeallocationOfInternalTensors(int)’:
tensorflow/lite/arena_planner.cc:295:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (node_index < graph_info_->num_nodes()) {
^
INFO: From Compiling tensorflow/lite/kernels/internal/mfcc.cc [for host]:
tensorflow/lite/kernels/internal/mfcc.cc: In member function ‘void tflite::internal::Mfcc::Compute(const std::vector&, std::vector) const’:
tensorflow/lite/kernels/internal/mfcc.cc:54:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < working.size(); ++i) {
^
INFO: From Compiling tensorflow/lite/kernels/internal/mfcc_mel_filterbank.cc [for host]:
tensorflow/lite/kernels/internal/mfcc_mel_filterbank.cc: In member function 'void tflite::internal::MfccMelFilterbank::Compute(const std::vector&, std::vector
) const’:
tensorflow/lite/kernels/internal/mfcc_mel_filterbank.cc:179:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (input.size() <= end_index_) {
^
INFO: From Compiling external/kafka/src/rdbuf.c:
external/kafka/src/rdbuf.c: In function ‘rd_slice_init_full’:
external/kafka/src/rdbuf.c:741:13: warning: unused variable ‘r’ [-Wunused-variable]
int r = rd_slice_init(slice, rbuf, 0, rd_buf_len(rbuf));
^
external/kafka/src/rdbuf.c: In function ‘rd_buf_dump’:
external/kafka/src/rdbuf.c:1117:24: warning: unused variable ‘segcnt’ [-Wunused-variable]
size_t segcnt = 0;
^
INFO: From Compiling external/kafka/src/rdkafka_transport.c:
In file included from external/kafka/src/rdkafka_transport.c:36:0:
external/kafka/src/rdkafka_transport.c: In function ‘rd_kafka_transport_ssl_ctx_init’:
external/kafka/src/rdkafka_transport.c:830:47: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 9 has type ‘int’ [-Wformat=]
rd_kafka_dbg(rk, SECURITY, “OPENSSL”, "Using OpenSSL version %s "
^
external/kafka/src/rdkafka_int.h:396:53: note: in definition of macro ‘rd_kafka_dbg’
LOG_DEBUG,fac,VA_ARGS);
^
INFO: From Compiling external/kafka/src/tinycthread.c:
external/kafka/src/tinycthread.c: In function ‘rwlock_rdlock’:
external/kafka/src/tinycthread.c:1012:13: warning: unused variable ‘r’ [-Wunused-variable]
int r = pthread_rwlock_rdlock(rwl);
^
external/kafka/src/tinycthread.c: In function ‘rwlock_wrlock’:
external/kafka/src/tinycthread.c:1018:13: warning: unused variable ‘r’ [-Wunused-variable]
int r = pthread_rwlock_wrlock(rwl);
^
external/kafka/src/tinycthread.c: In function ‘rwlock_rdunlock’:
external/kafka/src/tinycthread.c:1024:13: warning: unused variable ‘r’ [-Wunused-variable]
int r = pthread_rwlock_unlock(rwl);
^
external/kafka/src/tinycthread.c: In function ‘rwlock_wrunlock’:
external/kafka/src/tinycthread.c:1030:13: warning: unused variable ‘r’ [-Wunused-variable]
int r = pthread_rwlock_unlock(rwl);
^
INFO: From Compiling external/kafka/src/rdkafka_msgset_writer.c:
external/kafka/src/rdkafka_msgset_writer.c: In function ‘rd_kafka_msgset_writer_write_msg’:
external/kafka/src/rdkafka_msgset_writer.c:684:16: warning: variable ‘actual_written’ set but not used [-Wunused-but-set-variable]
size_t actual_written;
^
external/kafka/src/rdkafka_msgset_writer.c: In function ‘rd_kafka_msgset_writer_calc_crc_v2’:
external/kafka/src/rdkafka_msgset_writer.c:1066:13: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
int r;
^
INFO: From Compiling external/kafka/src/rdkafka_op.c:
external/kafka/src/rdkafka_op.c: In function ‘rd_kafka_op_destroy’:
external/kafka/src/rdkafka_op.c:325:35: warning: variable ‘res’ set but not used [-Wunused-but-set-variable]
rd_kafka_op_res_t res;
^
INFO: From Compiling external/kafka/src/rdkafka_admin.c:
external/kafka/src/rdkafka_admin.c: In function ‘rd_kafka_admin_result_ret_topics’:
external/kafka/src/rdkafka_admin.c:344:28: warning: unused variable ‘reqtype’ [-Wunused-variable]
rd_kafka_op_type_t reqtype =
^
external/kafka/src/rdkafka_admin.c: In function ‘rd_kafka_admin_result_ret_resources’:
external/kafka/src/rdkafka_admin.c:361:28: warning: unused variable ‘reqtype’ [-Wunused-variable]
rd_kafka_op_type_t reqtype =
^
INFO: From ProtoCompile tensorflow/contrib/boosted_trees/proto/learner.pb.cc:
bazel-out/aarch64-opt/genfiles/external/protobuf_archive/src: warning: directory does not exist.
INFO: From ProtoCompile tensorflow/contrib/tpu/proto/tpu_embedding_configuration.pb.cc [for host]:
bazel-out/host/genfiles/external/protobuf_archive/src: warning: directory does not exist.
bazel-out/host/genfiles/external/protobuf_archive/src: warning: directory does not exist.
bazel-out/host/genfiles/external/protobuf_archive/src: warning: directory does not exist.
INFO: From ProtoCompile tensorflow/contrib/tensor_forest/proto/fertile_stats.pb.cc:
bazel-out/aarch64-opt/genfiles/external/protobuf_archive/src: warning: directory does not exist.
bazel-out/aarch64-opt/genfiles/external/protobuf_archive/src: warning: directory does not exist.
INFO: From ProtoCompile tensorflow/core/debug/debugger_event_metadata.pb.cc [for host]:
bazel-out/host/genfiles/external/protobuf_archive/src: warning: directory does not exist.
INFO: From ProtoCompile tensorflow/contrib/cloud/kernels/bigquery_table_partition.pb.cc [for host]:
bazel-out/host/genfiles/external/protobuf_archive/src: warning: directory does not exist.
INFO: From ProtoCompile tensorflow/core/kernels/boosted_trees/boosted_trees.pb.cc [for host]:
bazel-out/host/genfiles/external/protobuf_archive/src: warning: directory does not exist.
INFO: From ProtoCompile tensorflow/core/protobuf/master.pb.cc [for host]:
bazel-out/host/genfiles/external/protobuf_archive/src: warning: directory does not exist.
bazel-out/host/genfiles/external/protobuf_archive/src: warning: directory does not exist.
bazel-out/host/genfiles/external/protobuf_archive/src: warning: directory does not exist.
bazel-out/host/genfiles/external/protobuf_archive/src: warning: directory does not exist.
INFO: From ProtoCompile tensorflow/core/protobuf/worker.pb.cc [for host]:
bazel-out/host/genfiles/external/protobuf_archive/src: warning: directory does not exist.
bazel-out/host/genfiles/external/protobuf_archive/src: warning: directory does not exist.
bazel-out/host/genfiles/external/protobuf_archive/src: warning: directory does not exist.
bazel-out/host/genfiles/external/protobuf_archive/src: warning: directory does not exist.
INFO: From ProtoCompile tensorflow/core/protobuf/eager_service.pb.cc [for host]:
bazel-out/host/genfiles/external/protobuf_archive/src: warning: directory does not exist.
bazel-out/host/genfiles/external/protobuf_archive/src: warning: directory does not exist.
bazel-out/host/genfiles/external/protobuf_archive/src: warning: directory does not exist.
bazel-out/host/genfiles/external/protobuf_archive/src: warning: directory does not exist.
INFO: From ProtoCompile tensorflow/core/profiler/profile.pb.cc [for host]:
bazel-out/host/genfiles/external/protobuf_archive/src: warning: directory does not exist.
bazel-out/host/genfiles/external/protobuf_archive/src: warning: directory does not exist.
bazel-out/host/genfiles/external/protobuf_archive/src: warning: directory does not exist.
bazel-out/host/genfiles/external/protobuf_archive/src: warning: directory does not exist.
INFO: From ProtoCompile tensorflow/python/framework/cpp_shape_inference.pb.cc [for host]:
bazel-out/host/genfiles/external/protobuf_archive/src: warning: directory does not exist.
bazel-out/host/genfiles/external/protobuf_archive/src: warning: directory does not exist.
bazel-out/host/genfiles/external/protobuf_archive/src: warning: directory does not exist.
bazel-out/host/genfiles/external/protobuf_archive/src: warning: directory does not exist.
INFO: From ProtoCompile tensorflow/core/debug/debug_service.pb.cc [for host]:
bazel-out/host/genfiles/external/protobuf_archive/src: warning: directory does not exist.
bazel-out/host/genfiles/external/protobuf_archive/src: warning: directory does not exist.
bazel-out/host/genfiles/external/protobuf_archive/src: warning: directory does not exist.
bazel-out/host/genfiles/external/protobuf_archive/src: warning: directory does not exist.
bazel-out/host/genfiles/external/protobuf_archive/src: warning: directory does not exist.
bazel-out/host/genfiles/external/protobuf_archive/src: warning: directory does not exist.
bazel-out/host/genfiles/external/protobuf_archive/src: warning: directory does not exist.
bazel-out/host/genfiles/external/protobuf_archive/src: warning: directory does not exist.
bazel-out/host/genfiles/external/protobuf_archive/src: warning: directory does not exist.
INFO: From ProtoCompile external/com_github_googleapis_googleapis/google/api/annotations.pb.cc:
bazel-out/aarch64-opt/genfiles/external/protobuf_archive/src: warning: directory does not exist.
INFO: From ProtoCompile tensorflow/core/protobuf/replay_log.pb.cc [for host]:
bazel-out/host/genfiles/external/protobuf_archive/src: warning: directory does not exist.
bazel-out/host/genfiles/external/protobuf_archive/src: warning: directory does not exist.
bazel-out/host/genfiles/external/protobuf_archive/src: warning: directory does not exist.
bazel-out/host/genfiles/external/protobuf_archive/src: warning: directory does not exist.
bazel-out/host/genfiles/external/protobuf_archive/src: warning: directory does not exist.
bazel-out/host/genfiles/external/protobuf_archive/src: warning: directory does not exist.
bazel-out/host/genfiles/external/protobuf_archive/src: warning: directory does not exist.
bazel-out/host/genfiles/external/protobuf_archive/src: warning: directory does not exist.
tensorflow/core/protobuf/replay_log.proto: warning: Import tensorflow/core/framework/graph.proto but not used.
tensorflow/core/protobuf/replay_log.proto: warning: Import tensorflow/core/protobuf/cluster.proto but not used.
INFO: From ProtoCompile tensorflow/lite/toco/toco_flags.pb.cc [for host]:
bazel-out/host/genfiles/external/protobuf_archive/src: warning: directory does not exist.
bazel-out/host/genfiles/external/protobuf_archive/src: warning: directory does not exist.
INFO: From ProtoCompile tensorflow/lite/toco/types.pb.cc [for host]:
bazel-out/host/genfiles/external/protobuf_archive/src: warning: directory does not exist.
INFO: From ProtoCompile tensorflow/lite/toco/model_flags.pb.cc [for host]:
bazel-out/host/genfiles/external/protobuf_archive/src: warning: directory does not exist.
bazel-out/host/genfiles/external/protobuf_archive/src: warning: directory does not exist.
INFO: From ProtoCompile tensorflow/contrib/boosted_trees/proto/learner.pb.cc [for host]:
bazel-out/host/genfiles/external/protobuf_archive/src: warning: directory does not exist.
INFO: From ProtoCompile tensorflow/contrib/tpu/proto/tpu_embedding_output_layout.pb.cc:
bazel-out/aarch64-opt/genfiles/external/protobuf_archive/src: warning: directory does not exist.
INFO: From ProtoCompile tensorflow/contrib/tpu/proto/optimization_parameters.pb.cc:
bazel-out/aarch64-opt/genfiles/external/protobuf_archive/src: warning: directory does not exist.
INFO: From ProtoCompile tensorflow/contrib/tpu/proto/tpu_embedding_configuration.pb.cc:
bazel-out/aarch64-opt/genfiles/external/protobuf_archive/src: warning: directory does not exist.
bazel-out/aarch64-opt/genfiles/external/protobuf_archive/src: warning: directory does not exist.
bazel-out/aarch64-opt/genfiles/external/protobuf_archive/src: warning: directory does not exist.
INFO: From ProtoCompile tensorflow/contrib/decision_trees/proto/generic_tree_model_extensions.pb.cc:
bazel-out/aarch64-opt/genfiles/external/protobuf_archive/src: warning: directory does not exist.
bazel-out/aarch64-opt/genfiles/external/protobuf_archive/src: warning: directory does not exist.
INFO: From ProtoCompile tensorflow/contrib/tensor_forest/proto/tensor_forest_params.pb.cc:
bazel-out/aarch64-opt/genfiles/external/protobuf_archive/src: warning: directory does not exist.
bazel-out/aarch64-opt/genfiles/external/protobuf_archive/src: warning: directory does not exist.
INFO: From ProtoCompile tensorflow/contrib/decision_trees/proto/generic_tree_model.pb.cc:
bazel-out/aarch64-opt/genfiles/external/protobuf_archive/src: warning: directory does not exist.
INFO: From ProtoCompile tensorflow/contrib/tpu/proto/optimization_parameters.pb.cc [for host]:
bazel-out/host/genfiles/external/protobuf_archive/src: warning: directory does not exist.
INFO: From ProtoCompile tensorflow/contrib/tpu/proto/tpu_embedding_output_layout.pb.cc [for host]:
bazel-out/host/genfiles/external/protobuf_archive/src: warning: directory does not exist.
INFO: From ProtoCompile tensorflow/contrib/boosted_trees/proto/tree_config.pb.cc:
bazel-out/aarch64-opt/genfiles/external/protobuf_archive/src: warning: directory does not exist.
INFO: From ProtoCompile tensorflow/contrib/boosted_trees/proto/split_info.pb.cc:
bazel-out/aarch64-opt/genfiles/external/protobuf_archive/src: warning: directory does not exist.
bazel-out/aarch64-opt/genfiles/external/protobuf_archive/src: warning: directory does not exist.
INFO: From ProtoCompile tensorflow/contrib/boosted_trees/proto/quantiles.pb.cc:
bazel-out/aarch64-opt/genfiles/external/protobuf_archive/src: warning: directory does not exist.
INFO: From Compiling external/protobuf_archive/python/google/protobuf/pyext/message.cc [for host]:
external/protobuf_archive/python/google/protobuf/pyext/message.cc: In function ‘PyObject* google::protobuf::python::message_meta::New(PyTypeObject*, PyObject*, PyObject*)’:
external/protobuf_archive/python/google/protobuf/pyext/message.cc:208:54: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
static char kwlist[] = {“name”, “bases”, “dict”, 0};
^
external/protobuf_archive/python/google/protobuf/pyext/message.cc:208:54: warning: ISO C++ forbids converting a string constant to 'char
’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/message.cc:208:54: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/message.cc: At global scope:
external/protobuf_archive/python/google/protobuf/pyext/message.cc:406:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
};
^
external/protobuf_archive/python/google/protobuf/pyext/message.cc:406:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/message.cc: In function ‘bool google::protobuf::python::CheckAndGetDouble(PyObject*, double*)’:
external/protobuf_archive/python/google/protobuf/pyext/message.cc:710:44: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
FormatTypeError(arg, “int, long, float”);
^
external/protobuf_archive/python/google/protobuf/pyext/message.cc: In function ‘bool google::protobuf::python::CheckAndGetBool(PyObject*, bool*)’:
external/protobuf_archive/python/google/protobuf/pyext/message.cc:728:43: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
FormatTypeError(arg, “int, long, bool”);
^
external/protobuf_archive/python/google/protobuf/pyext/message.cc: In function ‘PyObject* google::protobuf::python::CheckString(PyObject*, const google::protobuf::FieldDescriptor*)’:
external/protobuf_archive/python/google/protobuf/pyext/message.cc:764:44: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
FormatTypeError(arg, “bytes, unicode”);
^
external/protobuf_archive/python/google/protobuf/pyext/message.cc:779:33: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
FormatTypeError(arg, “bytes”);
^
external/protobuf_archive/python/google/protobuf/pyext/message.cc: In function ‘int google::protobuf::python::cmessage::InitAttributes(google::protobuf::python::CMessage*, PyObject*, PyObject*)’:
external/protobuf_archive/python/google/protobuf/pyext/message.cc:1193:65: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
function_return.get(), “MergeFrom”, “O”, map_value));
^
external/protobuf_archive/python/google/protobuf/pyext/message.cc:1193:65: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/message.cc:1201:64: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
PyObject_CallMethod(map.get(), “update”, “O”, value));
^
external/protobuf_archive/python/google/protobuf/pyext/message.cc:1201:64: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/message.cc: In function ‘PyObject* google::protobuf::python::cmessage::InternalSerializeToString(google::protobuf::python::CMessage*, PyObject*, PyObject*, bool)’:
external/protobuf_archive/python/google/protobuf/pyext/message.cc:1812:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
static char* kwlist = { “deterministic”, 0 };
^
external/protobuf_archive/python/google/protobuf/pyext/message.cc:1836:67: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
PyObject_CallMethod(comma.get(), “join”, “O”, errors.get()));
^
external/protobuf_archive/python/google/protobuf/pyext/message.cc:1836:67: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/message.cc: At global scope:
external/protobuf_archive/python/google/protobuf/pyext/message.cc:2632:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
};
^
external/protobuf_archive/python/google/protobuf/pyext/message.cc:2632:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/message.cc:2632:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/message.cc:2632:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/message.cc: In function ‘bool google::protobuf::python::InitProto2MessageModule(PyObject*)’:
external/protobuf_archive/python/google/protobuf/pyext/message.cc:2972:62: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
&RepeatedScalarContainer_Type)) == NULL) {
^
external/protobuf_archive/python/google/protobuf/pyext/message.cc:2972:62: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/message.cc:2977:65: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
&RepeatedCompositeContainer_Type)) == NULL) {
^
external/protobuf_archive/python/google/protobuf/pyext/message.cc:2977:65: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/message.cc: In instantiation of ‘bool google::protobuf::python::CheckAndGetInteger(PyObject*, T*) [with T = int; PyObject = _object]’:
external/protobuf_archive/python/google/protobuf/pyext/message.cc:702:58: required from here
external/protobuf_archive/python/google/protobuf/pyext/message.cc:642:22: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
FormatTypeError(arg, “int, long”);
^
external/protobuf_archive/python/google/protobuf/pyext/message.cc: In instantiation of ‘bool google::protobuf::python::CheckAndGetInteger(PyObject*, T*) [with T = long int; PyObject = _object]’:
external/protobuf_archive/python/google/protobuf/pyext/message.cc:703:58: required from here
external/protobuf_archive/python/google/protobuf/pyext/message.cc:642:22: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/message.cc: In instantiation of ‘bool google::protobuf::python::CheckAndGetInteger(PyObject*, T*) [with T = unsigned int; PyObject = _object]’:
external/protobuf_archive/python/google/protobuf/pyext/message.cc:704:60: required from here
external/protobuf_archive/python/google/protobuf/pyext/message.cc:642:22: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/message.cc: In instantiation of 'bool google::protobuf::python::CheckAndGetInteger(PyObject*, T*) [with T = long unsigned int; PyObject = object]’:
external/protobuf_archive/python/google/protobuf/pyext/message.cc:705:60: required from here
external/protobuf_archive/python/google/protobuf/pyext/message.cc:642:22: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
At global scope:
cc1plus: warning: unrecognized command line option ‘-Wno-writable-strings’
INFO: From Compiling external/protobuf_archive/python/google/protobuf/pyext/message_factory.cc [for host]:
external/protobuf_archive/python/google/protobuf/pyext/message_factory.cc: In function ‘PyObject* google::protobuf::python::message_factory::New(PyTypeObject*, PyObject*, PyObject*)’:
external/protobuf_archive/python/google/protobuf/pyext/message_factory.cc:78:37: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
static char* kwlist[] = {“pool”, 0};
^
external/protobuf_archive/python/google/protobuf/pyext/message_factory.cc: At global scope:
external/protobuf_archive/python/google/protobuf/pyext/message_factory.cc:227:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
};
^
external/protobuf_archive/python/google/protobuf/pyext/message_factory.cc:227:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
cc1plus: warning: unrecognized command line option ‘-Wno-writable-strings’
INFO: From Compiling external/protobuf_archive/python/google/protobuf/pyext/descriptor_database.cc [for host]:
external/protobuf_archive/python/google/protobuf/pyext/descriptor_database.cc: In function ‘bool google::protobuf::python::GetFileDescriptorProto(PyObject*, google::protobuf::FileDescriptorProto*)’:
external/protobuf_archive/python/google/protobuf/pyext/descriptor_database.cc:84:69: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
PyObject_CallMethod(py_descriptor, “SerializeToString”, NULL));
^
external/protobuf_archive/python/google/protobuf/pyext/descriptor_database.cc: In member function ‘virtual bool google::protobuf::python::PyDescriptorDatabase::FindFileByName(const string&, google::protobuf::FileDescriptorProto*)’:
external/protobuf_archive/python/google/protobuf/pyext/descriptor_database.cc:114:78: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
py_database
, “FindFileByName”, “s#”, filename.c_str(), filename.size()));
^
external/protobuf_archive/python/google/protobuf/pyext/descriptor_database.cc:114:78: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor_database.cc: In member function ‘virtual bool google::protobuf::python::PyDescriptorDatabase::FindFileContainingSymbol(const string&, google::protobuf::FileDescriptorProto*)’:
external/protobuf_archive/python/google/protobuf/pyext/descriptor_database.cc:123:66: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
symbol_name.c_str(), symbol_name.size()));
^
external/protobuf_archive/python/google/protobuf/pyext/descriptor_database.cc:123:66: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor_database.cc: In member function ‘virtual bool google::protobuf::python::PyDescriptorDatabase::FindFileContainingExtension(const string&, int, google::protobuf::FileDescriptorProto*)’:
external/protobuf_archive/python/google/protobuf/pyext/descriptor_database.cc:142:65: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
containing_type.size(), field_number));
^
At global scope:
cc1plus: warning: unrecognized command line option ‘-Wno-writable-strings’
INFO: From Compiling external/protobuf_archive/python/google/protobuf/pyext/descriptor_pool.cc [for host]:
external/protobuf_archive/python/google/protobuf/pyext/descriptor_pool.cc: In function ‘PyObject* google::protobuf::python::cdescriptor_pool::New(PyTypeObject*, PyObject*, PyObject*)’:
external/protobuf_archive/python/google/protobuf/pyext/descriptor_pool.cc:139:46: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
static char* kwlist = {“descriptor_db”, 0};
^
external/protobuf_archive/python/google/protobuf/pyext/descriptor_pool.cc: In function ‘PyObject* google::protobuf::python::cdescriptor_pool::Add(PyObject*, PyObject*)’:
external/protobuf_archive/python/google/protobuf/pyext/descriptor_pool.cc:564:75: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
PyObject_CallMethod(file_descriptor_proto, “SerializeToString”, NULL));
^
At global scope:
cc1plus: warning: unrecognized command line option ‘-Wno-writable-strings’
INFO: From Compiling external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc [for host]:
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:638:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
};
^
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:638:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:638:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:638:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:638:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:638:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:638:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:638:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:638:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:638:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:638:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:638:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:638:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:638:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:638:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:638:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:638:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:638:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:638:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:638:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:638:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:638:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:638:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:638:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:638:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:638:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:638:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:638:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:638:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:638:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:638:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:638:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:638:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:638:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:638:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:638:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:638:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:638:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:638:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:638:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:638:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:638:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:638:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:638:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:638:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:638:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:638:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:946:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
};
^
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:946:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:946:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:946:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:946:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:946:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:946:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:946:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:946:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:946:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:946:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:946:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:946:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:946:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:946:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:946:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:946:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:946:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:946:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:946:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:946:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:946:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:946:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:946:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:946:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:946:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:946:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:946:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:946:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:946:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:946:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:946:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:946:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:946:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:946:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:946:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:946:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:946:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:946:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:946:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:946:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:946:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:946:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:946:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:946:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:1106:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
};
^
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:1106:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:1106:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:1106:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:1106:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:1106:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:1106:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:1106:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:1106:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:1106:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:1106:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:1106:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:1106:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:1106:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:1106:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:1106:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:1106:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:1106:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:1106:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:1106:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:1221:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
};
^
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:1221:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:1221:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:1221:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:1221:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:1221:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descriptor.cc:1221:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
external/protobuf_archive/python/google/protobuf/pyext/descri

Continuation of previous error message (last part)

[i]INFO: From Compiling tensorflow/core/kernels/cwise_op_gpu_div.cu.cc [for host]:
./tensorflow/core/kernels/cwise_ops.h(37): warning: type qualifier on return type is meaningless

./tensorflow/core/kernels/cwise_ops.h(47): warning: type qualifier on return type is meaningless

./tensorflow/core/kernels/cwise_ops.h(212): warning: host annotation is ignored on a function(“scalar_left”) that is explicitly defaulted on its first declaration

./tensorflow/core/kernels/cwise_ops.h(212): warning: device annotation is ignored on a function(“scalar_left”) that is explicitly defaulted on its first declaration

./tensorflow/core/kernels/cwise_ops.h(242): warning: host annotation is ignored on a function(“scalar_right”) that is explicitly defaulted on its first declaration

./tensorflow/core/kernels/cwise_ops.h(242): warning: device annotation is ignored on a function(“scalar_right”) that is explicitly defaulted on its first declaration

Killed
ERROR: /home/nvidia/bazel-0.21.0-dist/tensorflow/tensorflow/core/kernels/BUILD:3158:1: output ‘tensorflow/core/kernels/_objs/cwise_op_gpu/cwise_op_gpu_div.cu.pic.o’ was not created
ERROR: /home/nvidia/bazel-0.21.0-dist/tensorflow/tensorflow/core/kernels/BUILD:3158:1: not all outputs were created or valid
Target //tensorflow/tools/pip_package:build_pip_package failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 3133.481s, Critical Path: 1255.32s
INFO: 3623 processes: 3623 local.[/i]



Need help, Urgently

Hi,

You may run out of memory when compiling.
Have you added the swap file first?

You can also try to limit the memory usage of bazel:

$ bazel build --config=opt <b>--local_resources 2048,3.0,1.0</b> --config=cuda --config=nonccl //tensorflow/tools/pip_package:build_pip_package

Thanks.

hi,

sudo apt-get install -y oracle-java8-installer

is not work, any way?

ty

Hi Aasta,

I am trying to build TF 1.13 pip package (python3) and an executable binary of my code using Bazel. This build works fine for TF1.9 and Bazel 0.21. However when I try to build the pip package, using the steps above on Jetson TX2- flashed with Jetpack 4.2, it fails as:


INFO: From Compiling tensorflow/lite/kernels/dequantize.cc:
In file included from ./tensorflow/lite/experimental/ruy/trmul.h:31:0,
from ./tensorflow/lite/experimental/ruy/dispatch.h:43,
from ./tensorflow/lite/experimental/ruy/ruy.h:22,
from ./tensorflow/lite/kernels/cpu_backend_gemm_ruy.h:19,
from ./tensorflow/lite/kernels/cpu_backend_gemm.h:24,
from ./tensorflow/lite/kernels/internal/optimized/optimized_ops.h:42,
from tensorflow/lite/kernels/dequantize.cc:24:
./tensorflow/lite/experimental/ruy/kernel.h: In function ‘void ruy::MakeKernelParamsFloat(const ruy::PackedMatrix&, const ruy::PackedMatrix&, const ruy::BasicSpec<float, float>&, int, int, int, int, ruy::Matrix, ruy::KernelParamsFloat<LhsCols, RhsCols>)’:
./tensorflow/lite/experimental/ruy/kernel.h:447:53: warning: typedef ‘using Params = struct ruy::KernelParamsFloat<LhsCols, RhsCols>’ locally defined but not used [-Wunused-local-typedefs]
using Params = KernelParamsFloat<LhsCols, RhsCols>;
^
ERROR: /home/nvidia/Documents/tensorflow/tensorflow/lite/kernels/BUILD:312:1: C++ compilation of rule ‘//tensorflow/lite/kernels:builtin_op_kernels’ failed (Exit 1): crosstool_wrapper_driver_is_not_gcc failed: error executing command
(cd /home/nvidia/.cache/bazel/_bazel_nvidia/38f510ce87073e6e7989e37d45036c24/execroot/org_tensorflow &&
exec env -
CUDA_TOOLKIT_PATH=/usr/local/cuda
GCC_HOST_COMPILER_PATH=/usr/bin/gcc
LD_LIBRARY_PATH=/usr/local/cuda-10.0/lib64:
PATH=/usr/local/cuda-10.0/bin:/home/nvidia/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
PWD=/proc/self/cwd
PYTHON_BIN_PATH=/usr/bin/python3
PYTHON_LIB_PATH=/usr/lib/python3.6/dist-packages
TF_CONFIGURE_IOS=0
TF_CUDA_COMPUTE_CAPABILITIES=6.2
TF_NEED_CUDA=1 \

Is there any other additional dependency? I have even tried using the ‘–local_resources’ flag.

The installation from source does no longer work like this since you have to get java in step 2 from oracle directly as the ppa is discontinued.

Building the python2.7 wheel gives me the following error. It says python >3.5 is required?
How to proceed?

Collecting h5py (from keras-applications>=1.0.6->tensorflow==1.13.1)
  Downloading https://files.pythonhosted.org/packages/43/27/a6e7dcb8ae20a4dbf3725321058923fec262b6f7835179d78ccc8d98deec/h5py-2.9.0.tar.gz (287kB)
     |████████████████████████████████| 296kB 17.3MB/s 
    ERROR: Complete output from command python setup.py egg_info:
    ERROR: Unable to find pgen, not compiling formal grammar.
    Compiling /tmp/easy_install-OJB2ba/Cython-0.29.11/Cython/Plex/Scanners.py because it changed.
    Compiling /tmp/easy_install-OJB2ba/Cython-0.29.11/Cython/Plex/Actions.py because it changed.
    Compiling /tmp/easy_install-OJB2ba/Cython-0.29.11/Cython/Compiler/Scanning.py because it changed.
    Compiling /tmp/easy_install-OJB2ba/Cython-0.29.11/Cython/Compiler/Visitor.py because it changed.
    Compiling /tmp/easy_install-OJB2ba/Cython-0.29.11/Cython/Compiler/FlowControl.py because it changed.
    Compiling /tmp/easy_install-OJB2ba/Cython-0.29.11/Cython/Runtime/refnanny.pyx because it changed.
    Compiling /tmp/easy_install-OJB2ba/Cython-0.29.11/Cython/Compiler/FusedNode.py because it changed.
    Compiling /tmp/easy_install-OJB2ba/Cython-0.29.11/Cython/Tempita/_tempita.py because it changed.
    [1/8] Cythonizing /tmp/easy_install-OJB2ba/Cython-0.29.11/Cython/Compiler/FlowControl.py
    [2/8] Cythonizing /tmp/easy_install-OJB2ba/Cython-0.29.11/Cython/Compiler/FusedNode.py
    [3/8] Cythonizing /tmp/easy_install-OJB2ba/Cython-0.29.11/Cython/Compiler/Scanning.py
    [4/8] Cythonizing /tmp/easy_install-OJB2ba/Cython-0.29.11/Cython/Compiler/Visitor.py
    [5/8] Cythonizing /tmp/easy_install-OJB2ba/Cython-0.29.11/Cython/Plex/Actions.py
    [6/8] Cythonizing /tmp/easy_install-OJB2ba/Cython-0.29.11/Cython/Plex/Scanners.py
    [7/8] Cythonizing /tmp/easy_install-OJB2ba/Cython-0.29.11/Cython/Runtime/refnanny.pyx
    [8/8] Cythonizing /tmp/easy_install-OJB2ba/Cython-0.29.11/Cython/Tempita/_tempita.py
    warning: no files found matching 'Doc/*'
    warning: no files found matching '*.pyx' under directory 'Cython/Debugger/Tests'
    warning: no files found matching '*.pxd' under directory 'Cython/Debugger/Tests'
    warning: no files found matching '*.pxd' under directory 'Cython/Utility'
    warning: no files found matching 'pyximport/README'
    
    Installed /tmp/pip-install-na7Wpx/h5py/.eggs/Cython-0.29.11-py2.7-linux-aarch64.egg
    Searching for numpy>=1.7
    Reading https://pypi.org/simple/numpy/
    Downloading https://files.pythonhosted.org/packages/c1/ff/aeb22192bab0643551a161dc4ed305892cead687ee97453daed4dc1dd38e/numpy-1.17.0rc1.zip#sha256=f53df05f9ca4ec5d72709ffe349704f1f7d945ed59e815574b5c5687acb282c4
    Best match: numpy 1.17.0rc1
    Processing numpy-1.17.0rc1.zip
    Writing /tmp/easy_install-XWtpxw/numpy-1.17.0rc1/setup.cfg
    Running numpy-1.17.0rc1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-XWtpxw/numpy-1.17.0rc1/egg-dist-tmp-7XCuX8
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-na7Wpx/h5py/setup.py", line 168, in <module>
        cmdclass = CMDCLASS,
      File "/home/nvidia/.virtualenvs/tf_env_py2/local/lib/python2.7/site-packages/setuptools/__init__.py", line 144, in setup
        _install_setup_requires(attrs)
      File "/home/nvidia/.virtualenvs/tf_env_py2/local/lib/python2.7/site-packages/setuptools/__init__.py", line 139, in _install_setup_requires
        dist.fetch_build_eggs(dist.setup_requires)
      File "/home/nvidia/.virtualenvs/tf_env_py2/local/lib/python2.7/site-packages/setuptools/dist.py", line 717, in fetch_build_eggs
        replace_conflicting=True,
      File "/home/nvidia/.virtualenvs/tf_env_py2/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 782, in resolve
        replace_conflicting=replace_conflicting
      File "/home/nvidia/.virtualenvs/tf_env_py2/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1065, in best_match
        return self.obtain(req, installer)
      File "/home/nvidia/.virtualenvs/tf_env_py2/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1077, in obtain
        return installer(requirement)
      File "/home/nvidia/.virtualenvs/tf_env_py2/local/lib/python2.7/site-packages/setuptools/dist.py", line 784, in fetch_build_egg
        return cmd.easy_install(req)
      File "/home/nvidia/.virtualenvs/tf_env_py2/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 679, in easy_install
        return self.install_item(spec, dist.location, tmpdir, deps)
      File "/home/nvidia/.virtualenvs/tf_env_py2/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 705, in install_item
        dists = self.install_eggs(spec, download, tmpdir)
      File "/home/nvidia/.virtualenvs/tf_env_py2/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 890, in install_eggs
        return self.build_and_install(setup_script, setup_base)
      File "/home/nvidia/.virtualenvs/tf_env_py2/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1158, in build_and_install
        self.run_setup(setup_script, setup_base, args)
      File "/home/nvidia/.virtualenvs/tf_env_py2/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1144, in run_setup
        run_setup(setup_script, args)
      File "/home/nvidia/.virtualenvs/tf_env_py2/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 253, in run_setup
        raise
      File "/usr/lib/python2.7/contextlib.py", line 35, in __exit__
        self.gen.throw(type, value, traceback)
      File "/home/nvidia/.virtualenvs/tf_env_py2/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 195, in setup_context
        yield
      File "/usr/lib/python2.7/contextlib.py", line 35, in __exit__
        self.gen.throw(type, value, traceback)
      File "/home/nvidia/.virtualenvs/tf_env_py2/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 166, in save_modules
        saved_exc.resume()
      File "/home/nvidia/.virtualenvs/tf_env_py2/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 141, in resume
        six.reraise(type, exc, self._tb)
      File "/home/nvidia/.virtualenvs/tf_env_py2/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 154, in save_modules
        yield saved
      File "/home/nvidia/.virtualenvs/tf_env_py2/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 195, in setup_context
        yield
      File "/home/nvidia/.virtualenvs/tf_env_py2/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 250, in run_setup
        _execfile(setup_script, ns)
      File "/home/nvidia/.virtualenvs/tf_env_py2/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 45, in _execfile
        exec(code, globals, locals)
      File "/tmp/easy_install-XWtpxw/numpy-1.17.0rc1/setup.py", line 31, in <module>
    
    RuntimeError: Python version >= 3.5 required.
    ----------------------------------------
ERROR: Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-na7Wpx/h5py/

Please build and install the wheel file using v1.13.1 with additional steps from the following link:
https://devtalk.nvidia.com/default/topic/1055131/jetson-agx-xavier/building-tensorflow-1-13-on-jetson-xavier/

pip/pip3 install may not work by downloading the wheel file from the links given for ‘Tensorflow for Jetson’ for Jetson TX2 flashed with Jetpack 4.2.

Thanks

Hey,

please check this link to install it,

https://devtalk.nvidia.com/default/topic/1032083/faq/tensorflow-installation-on-dpx2/

For the further detail please navigate here

Hi,
I’ve built and installed the wheel as instructed. But does this version support GPU usage? I can not use GPU with tf on my PX2 as it outputs:

tensorflow.python.framework,errors_impl.InvalidArgumentError: Cannot assign a device for operation loss: Could not satisfy explicit device specification '/device:GPU:0' because no supported kernel for GPU devices is available.