Last active
May 20, 2018 19:54
-
-
Save darthdeus/1596b20a326f4ca6d41cae4b09aaf87e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ bazel build --jobs=12 --config=opt --config=cuda //tensorflow/tools/pip_package:build_pip_package --verbose_failures @93bc2e2072 | |
WARNING: The following configs were expanded more than once: [cuda]. For repeatable flags, repeats are counted twice and may lead to unexpected behavior. | |
WARNING: /home/darth/.cache/bazel/_bazel_darth/08554d152596e5a7df399506682a63f3/external/protobuf_archive/WORKSPACE:1: Workspace name in /home/darth/.cache/bazel/_bazel_darth/08554d152596e5a7df399506682a63f3/external/protobuf_archive/WORKSPACE (@com_google_protobuf) does not match the name given in the repository's definition (@protobuf_archive); this will cause a build error in future versions | |
WARNING: /home/darth/.cache/bazel/_bazel_darth/08554d152596e5a7df399506682a63f3/external/grpc/WORKSPACE:1: Workspace name in /home/darth/.cache/bazel/_bazel_darth/08554d152596e5a7df399506682a63f3/external/grpc/WORKSPACE (@com_github_grpc_grpc) does not match the name given in the repository's definition (@grpc); this will cause a build error in future versions | |
WARNING: /home/darth/.cache/bazel/_bazel_darth/08554d152596e5a7df399506682a63f3/external/grpc/BUILD:1943:1: in srcs attribute of cc_library rule @grpc//:grpc_nanopb: please do not import '@grpc//third_party/nanopb:pb_common.c' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'grpc_generate_one_off_targets', the error might have been caused by the macro implementation in /home/darth/.cache/bazel/_bazel_darth/08554d152596e5a7df399506682a63f3/external/grpc/bazel/grpc_build_system.bzl:172:12 | |
WARNING: /home/darth/.cache/bazel/_bazel_darth/08554d152596e5a7df399506682a63f3/external/grpc/BUILD:1943:1: in srcs attribute of cc_library rule @grpc//:grpc_nanopb: please do not import '@grpc//third_party/nanopb:pb_decode.c' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'grpc_generate_one_off_targets', the error might have been caused by the macro implementation in /home/darth/.cache/bazel/_bazel_darth/08554d152596e5a7df399506682a63f3/external/grpc/bazel/grpc_build_system.bzl:172:12 | |
WARNING: /home/darth/.cache/bazel/_bazel_darth/08554d152596e5a7df399506682a63f3/external/grpc/BUILD:1943:1: in srcs attribute of cc_library rule @grpc//:grpc_nanopb: please do not import '@grpc//third_party/nanopb:pb_encode.c' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'grpc_generate_one_off_targets', the error might have been caused by the macro implementation in /home/darth/.cache/bazel/_bazel_darth/08554d152596e5a7df399506682a63f3/external/grpc/bazel/grpc_build_system.bzl:172:12 | |
WARNING: /home/darth/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/darth/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. | |
INFO: Analysed target //tensorflow/tools/pip_package:build_pip_package (0 packages loaded). | |
INFO: Found 1 target... | |
INFO: From Compiling tensorflow/python/framework/python_op_gen.cc [for host]: | |
tensorflow/python/framework/python_op_gen.cc: In member function 'virtual std::__cxx11::string tensorflow::python_op_gen_internal::GenPythonOp::Code()': | |
tensorflow/python/framework/python_op_gen.cc:545:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] | |
for (int i = op_def_.input_arg_size(); i < params_no_default.size(); ++i) { | |
~~^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
tensorflow/python/framework/python_op_gen.cc:548:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] | |
for (int i = 0; i < params_with_default.size(); ++i) { | |
~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
INFO: From Compiling tensorflow/python/eager/python_eager_op_gen.cc [for host]: | |
tensorflow/python/eager/python_eager_op_gen.cc: In function 'std::__cxx11::string tensorflow::{anonymous}::VectorToTuple(const std::vector<std::__cxx11::basic_string<char> >&)': | |
tensorflow/python/eager/python_eager_op_gen.cc:65:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] | |
for (int i = 0; i < l.size(); ++i) { | |
~~^~~~~~~~~~ | |
tensorflow/python/eager/python_eager_op_gen.cc: In function 'void tensorflow::{anonymous}::Unflatten(const string&, const std::vector<std::__cxx11::basic_string<char> >&, const string&, std::__cxx11::string*)': | |
tensorflow/python/eager/python_eager_op_gen.cc:77:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] | |
for (int i = 0; i < output_sizes.size(); ++i) { | |
~~^~~~~~~~~~~~~~~~~~~~~ | |
tensorflow/python/eager/python_eager_op_gen.cc:81:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] | |
if (i + 1 < output_sizes.size()) { | |
~~~~~~^~~~~~~~~~~~~~~~~~~~~ | |
tensorflow/python/eager/python_eager_op_gen.cc: In member function 'virtual std::__cxx11::string tensorflow::{anonymous}::GenEagerPythonOp::Code()': | |
tensorflow/python/eager/python_eager_op_gen.cc:302:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] | |
for (int i = op_def_.input_arg_size(); i < params_no_default_.size(); ++i) { | |
~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
tensorflow/python/eager/python_eager_op_gen.cc:330:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] | |
for (int i = 0; i < attrs_.size(); ++i) { | |
~~^~~~~~~~~~~~~~~ | |
tensorflow/python/eager/python_eager_op_gen.cc: In member function 'bool tensorflow::{anonymous}::GenEagerPythonOp::GetEagerFunctionSetup(const string&, std::__cxx11::string*)': | |
tensorflow/python/eager/python_eager_op_gen.cc:480:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] | |
for (int i = 0; i < attrs_.size(); ++i) { | |
~~^~~~~~~~~~~~~~~ | |
INFO: From Compiling tensorflow/core/kernels/training_op_helpers.cc: | |
In file included from ./tensorflow/core/platform/default/logging.h:24:0, | |
from ./tensorflow/core/platform/logging.h:25, | |
from ./tensorflow/core/lib/core/status.h:25, | |
from ./tensorflow/core/framework/variant.h:29, | |
from ./tensorflow/core/framework/allocator.h:26, | |
from ./tensorflow/core/framework/op_kernel.h:23, | |
from ./tensorflow/core/kernels/training_op_helpers.h:19, | |
from tensorflow/core/kernels/training_op_helpers.cc:16: | |
./tensorflow/core/util/tensor_format.h: In instantiation of 'T tensorflow::GetTensorDim(tensorflow::gtl::ArraySlice<T>, tensorflow::TensorFormat, char) [with T = long long int]': | |
./tensorflow/core/util/tensor_format.h:372:47: required from here | |
./tensorflow/core/util/tensor_format.h:340:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] | |
CHECK(index >= 0 && index < dimension_attributes.size()) | |
./tensorflow/core/platform/macros.h:82:47: note: in definition of macro 'TF_PREDICT_FALSE' | |
#define TF_PREDICT_FALSE(x) (__builtin_expect(x, 0)) | |
^ | |
./tensorflow/core/util/tensor_format.h:340:3: note: in expansion of macro 'CHECK' | |
CHECK(index >= 0 && index < dimension_attributes.size()) | |
^ | |
./tensorflow/core/util/tensor_format.h: In instantiation of 'T tensorflow::GetFilterDim(tensorflow::gtl::ArraySlice<T>, tensorflow::FilterTensorFormat, char) [with T = long long int]': | |
./tensorflow/core/util/tensor_format.h:381:54: required from here | |
./tensorflow/core/util/tensor_format.h:355:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] | |
CHECK(index >= 0 && index < dimension_attribute.size()) | |
./tensorflow/core/platform/macros.h:82:47: note: in definition of macro 'TF_PREDICT_FALSE' | |
#define TF_PREDICT_FALSE(x) (__builtin_expect(x, 0)) | |
^ | |
./tensorflow/core/util/tensor_format.h:355:3: note: in expansion of macro 'CHECK' | |
CHECK(index >= 0 && index < dimension_attribute.size()) | |
^ | |
In file included from ./tensorflow/core/kernels/training_op_helpers.h:22:0, | |
from tensorflow/core/kernels/training_op_helpers.cc:16: | |
./tensorflow/core/kernels/variable_ops.h: In function 'tensorflow::mutex* tensorflow::GetTrainingVariableMutex(tensorflow::OpKernelContext*, int)': | |
./tensorflow/core/kernels/variable_ops.h:40:25: warning: 'var' may be used uninitialized in this function [-Wmaybe-uninitialized] | |
mutex* mu() { return &mu_; } | |
^~~ | |
tensorflow/core/kernels/training_op_helpers.cc:22:10: note: 'var' was declared here | |
Var* var; | |
^~~ | |
INFO: From Compiling tensorflow/core/kernels/crop_and_resize_op_gpu.cu.cc: | |
/usr/include/c++/6/tuple: In instantiation of 'static constexpr bool std::_TC<<anonymous>, _Elements>::_MoveConstructibleTuple() [with _UElements = {const std::tuple<int, int, int>&}; bool <anonymous> = true; _Elements = {int, int, int}]': | |
/usr/include/c++/6/tuple:626:248: required by substitution of 'template<class ... _UElements, typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), int, int, int>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), int, int, int>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), int, int, int>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (3ul >= 1)), bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1> >::tuple(_UElements&& ...) [with _UElements = {const std::tuple<int, int, int>&}; typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), int, int, int>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), int, int, int>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), int, int, int>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (3ul >= 1)), bool>::type <anonymous> = <missing>]' | |
./tensorflow/stream_executor/dnn.h:891:91: required from here | |
/usr/include/c++/6/tuple:483:67: error: mismatched argument pack lengths while expanding 'std::is_constructible<_Elements, _UElements&&>' | |
return __and_<is_constructible<_Elements, _UElements&&>...>::value; | |
^~~~~ | |
/usr/include/c++/6/tuple:484:1: error: body of constexpr function 'static constexpr bool std::_TC<<anonymous>, _Elements>::_MoveConstructibleTuple() [with _UElements = {const std::tuple<int, int, int>&}; bool <anonymous> = true; _Elements = {int, int, int}]' not a return-statement | |
} | |
^ | |
/usr/include/c++/6/tuple: In instantiation of 'static constexpr bool std::_TC<<anonymous>, _Elements>::_ImplicitlyMoveConvertibleTuple() [with _UElements = {const std::tuple<int, int, int>&}; bool <anonymous> = true; _Elements = {int, int, int}]': | |
/usr/include/c++/6/tuple:626:362: required by substitution of 'template<class ... _UElements, typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), int, int, int>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), int, int, int>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), int, int, int>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (3ul >= 1)), bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1> >::tuple(_UElements&& ...) [with _UElements = {const std::tuple<int, int, int>&}; typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), int, int, int>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), int, int, int>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), int, int, int>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (3ul >= 1)), bool>::type <anonymous> = <missing>]' | |
./tensorflow/stream_executor/dnn.h:891:91: required from here | |
/usr/include/c++/6/tuple:489:65: error: mismatched argument pack lengths while expanding 'std::is_convertible<_UElements&&, _Elements>' | |
return __and_<is_convertible<_UElements&&, _Elements>...>::value; | |
^~~~~ | |
/usr/include/c++/6/tuple:490:1: error: body of constexpr function 'static constexpr bool std::_TC<<anonymous>, _Elements>::_ImplicitlyMoveConvertibleTuple() [with _UElements = {const std::tuple<int, int, int>&}; bool <anonymous> = true; _Elements = {int, int, int}]' not a return-statement | |
} | |
^ | |
/usr/include/c++/6/tuple: In instantiation of 'static constexpr bool std::_TC<<anonymous>, _Elements>::_NonNestedTuple() [with _SrcTuple = const std::tuple<int, int, int>&; bool <anonymous> = true; _Elements = {int, int, int}]': | |
/usr/include/c++/6/tuple:662:419: required by substitution of 'template<class ... _UElements, class _Dummy, typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), int, int, int>::_ConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), int, int, int>::_ImplicitlyConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), int, int, int>::_NonNestedTuple<const tuple<_Elements ...>&>()), bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1> >::tuple(const std::tuple<_Args1 ...>&) [with _UElements = {int, int, int}; _Dummy = void; typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), int, int, int>::_ConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), int, int, int>::_ImplicitlyConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), int, int, int>::_NonNestedTuple<const tuple<_Elements ...>&>()), bool>::type <anonymous> = <missing>]' | |
./tensorflow/stream_executor/dnn.h:891:91: required from here | |
/usr/include/c++/6/tuple:495:244: error: wrong number of template arguments (4, should be 2) | |
return __and_<__not_<is_same<tuple<_Elements...>, | |
^ | |
/usr/include/c++/6/type_traits:1558:8: note: provided for 'template<class _From, class _To> struct std::is_convertible' | |
struct is_convertible | |
^~~~~~~~~~~~~~ | |
/usr/include/c++/6/tuple:502:1: error: body of constexpr function 'static constexpr bool std::_TC<<anonymous>, _Elements>::_NonNestedTuple() [with _SrcTuple = const std::tuple<int, int, int>&; bool <anonymous> = true; _Elements = {int, int, int}]' not a return-statement | |
} | |
^ | |
/usr/include/c++/6/tuple: In instantiation of 'static constexpr bool std::_TC<<anonymous>, _Elements>::_MoveConstructibleTuple() [with _UElements = {std::tuple<int, int, int>}; bool <anonymous> = true; _Elements = {int, int, int}]': | |
/usr/include/c++/6/tuple:626:248: required by substitution of 'template<class ... _UElements, typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), int, int, int>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), int, int, int>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), int, int, int>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (3ul >= 1)), bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1> >::tuple(_UElements&& ...) [with _UElements = {std::tuple<int, int, int>}; typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), int, int, int>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), int, int, int>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), int, int, int>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (3ul >= 1)), bool>::type <anonymous> = <missing>]' | |
./tensorflow/stream_executor/dnn.h:891:91: required from here | |
/usr/include/c++/6/tuple:483:67: error: mismatched argument pack lengths while expanding 'std::is_constructible<_Elements, _UElements&&>' | |
return __and_<is_constructible<_Elements, _UElements&&>...>::value; | |
^~~~~ | |
/usr/include/c++/6/tuple:484:1: error: body of constexpr function 'static constexpr bool std::_TC<<anonymous>, _Elements>::_MoveConstructibleTuple() [with _UElements = {std::tuple<int, int, int>}; bool <anonymous> = true; _Elements = {int, int, int}]' not a return-statement | |
} | |
^ | |
/usr/include/c++/6/tuple: In instantiation of 'static constexpr bool std::_TC<<anonymous>, _Elements>::_ImplicitlyMoveConvertibleTuple() [with _UElements = {std::tuple<int, int, int>}; bool <anonymous> = true; _Elements = {int, int, int}]': | |
/usr/include/c++/6/tuple:626:362: required by substitution of 'template<class ... _UElements, typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), int, int, int>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), int, int, int>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), int, int, int>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (3ul >= 1)), bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1> >::tuple(_UElements&& ...) [with _UElements = {std::tuple<int, int, int>}; typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), int, int, int>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), int, int, int>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), int, int, int>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (3ul >= 1)), bool>::type <anonymous> = <missing>]' | |
./tensorflow/stream_executor/dnn.h:891:91: required from here | |
/usr/include/c++/6/tuple:489:65: error: mismatched argument pack lengths while expanding 'std::is_convertible<_UElements&&, _Elements>' | |
return __and_<is_convertible<_UElements&&, _Elements>...>::value; | |
^~~~~ | |
/usr/include/c++/6/tuple:490:1: error: body of constexpr function 'static constexpr bool std::_TC<<anonymous>, _Elements>::_ImplicitlyMoveConvertibleTuple() [with _UElements = {std::tuple<int, int, int>}; bool <anonymous> = true; _Elements = {int, int, int}]' not a return-statement | |
} | |
^ | |
/usr/include/c++/6/tuple: In instantiation of 'static constexpr bool std::_TC<<anonymous>, _Elements>::_NonNestedTuple() [with _SrcTuple = std::tuple<int, int, int>&&; bool <anonymous> = true; _Elements = {int, int, int}]': | |
/usr/include/c++/6/tuple:686:422: required by substitution of 'template<class ... _UElements, class _Dummy, typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), int, int, int>::_MoveConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), int, int, int>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), int, int, int>::_NonNestedTuple<tuple<_Elements ...>&&>()), bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1> >::tuple(std::tuple<_Args1 ...>&&) [with _UElements = {int, int, int}; _Dummy = void; typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), int, int, int>::_MoveConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), int, int, int>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), int, int, int>::_NonNestedTuple<tuple<_Elements ...>&&>()), bool>::type <anonymous> = <missing>]' | |
./tensorflow/stream_executor/dnn.h:891:91: required from here | |
/usr/include/c++/6/tuple:495:244: error: wrong number of template arguments (4, should be 2) | |
return __and_<__not_<is_same<tuple<_Elements...>, | |
^ | |
/usr/include/c++/6/type_traits:1558:8: note: provided for 'template<class _From, class _To> struct std::is_convertible' | |
struct is_convertible | |
^~~~~~~~~~~~~~ | |
/usr/include/c++/6/tuple:502:1: error: body of constexpr function 'static constexpr bool std::_TC<<anonymous>, _Elements>::_NonNestedTuple() [with _SrcTuple = std::tuple<int, int, int>&&; bool <anonymous> = true; _Elements = {int, int, int}]' not a return-statement | |
} | |
^ | |
ERROR: /home/darth/tensorflow/tensorflow/core/kernels/BUILD:2109:1: output 'tensorflow/core/kernels/_objs/crop_and_resize_op_gpu/tensorflow/core/kernels/crop_and_resize_op_gpu.cu.o' was not created | |
ERROR: /home/darth/tensorflow/tensorflow/core/kernels/BUILD:2109:1: not all outputs were created or valid | |
Target //tensorflow/tools/pip_package:build_pip_package failed to build | |
INFO: Elapsed time: 26.771s, Critical Path: 20.22s | |
INFO: 44 processes, local. | |
FAILED: Build did NOT complete successfully |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment