Guest User

Untitled

a guest
May 25th, 2018
195
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 21.07 KB | None | 0 0
  1. $ bazel build --jobs=12 --config=opt --config=cuda //tensorflow/tools/pip_package:build_pip_package --verbose_failures @93bc2e2072
  2. WARNING: The following configs were expanded more than once: [cuda]. For repeatable flags, repeats are counted twice and may lead to unexpected behavior.
  3. 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
  4. 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
  5. 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
  6. 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
  7. 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
  8. 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.
  9. 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.
  10. INFO: Analysed target //tensorflow/tools/pip_package:build_pip_package (0 packages loaded).
  11. INFO: Found 1 target...
  12. INFO: From Compiling tensorflow/python/framework/python_op_gen.cc [for host]:
  13. tensorflow/python/framework/python_op_gen.cc: In member function 'virtual std::__cxx11::string tensorflow::python_op_gen_internal::GenPythonOp::Code()':
  14. tensorflow/python/framework/python_op_gen.cc:545:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  15. for (int i = op_def_.input_arg_size(); i < params_no_default.size(); ++i) {
  16. ~~^~~~~~~~~~~~~~~~~~~~~~~~~~
  17. tensorflow/python/framework/python_op_gen.cc:548:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  18. for (int i = 0; i < params_with_default.size(); ++i) {
  19. ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  20. INFO: From Compiling tensorflow/python/eager/python_eager_op_gen.cc [for host]:
  21. tensorflow/python/eager/python_eager_op_gen.cc: In function 'std::__cxx11::string tensorflow::{anonymous}::VectorToTuple(const std::vector<std::__cxx11::basic_string<char> >&)':
  22. tensorflow/python/eager/python_eager_op_gen.cc:65:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  23. for (int i = 0; i < l.size(); ++i) {
  24. ~~^~~~~~~~~~
  25. 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*)':
  26. tensorflow/python/eager/python_eager_op_gen.cc:77:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  27. for (int i = 0; i < output_sizes.size(); ++i) {
  28. ~~^~~~~~~~~~~~~~~~~~~~~
  29. tensorflow/python/eager/python_eager_op_gen.cc:81:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  30. if (i + 1 < output_sizes.size()) {
  31. ~~~~~~^~~~~~~~~~~~~~~~~~~~~
  32. tensorflow/python/eager/python_eager_op_gen.cc: In member function 'virtual std::__cxx11::string tensorflow::{anonymous}::GenEagerPythonOp::Code()':
  33. tensorflow/python/eager/python_eager_op_gen.cc:302:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  34. for (int i = op_def_.input_arg_size(); i < params_no_default_.size(); ++i) {
  35. ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
  36. tensorflow/python/eager/python_eager_op_gen.cc:330:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  37. for (int i = 0; i < attrs_.size(); ++i) {
  38. ~~^~~~~~~~~~~~~~~
  39. tensorflow/python/eager/python_eager_op_gen.cc: In member function 'bool tensorflow::{anonymous}::GenEagerPythonOp::GetEagerFunctionSetup(const string&, std::__cxx11::string*)':
  40. tensorflow/python/eager/python_eager_op_gen.cc:480:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  41. for (int i = 0; i < attrs_.size(); ++i) {
  42. ~~^~~~~~~~~~~~~~~
  43. INFO: From Compiling tensorflow/core/kernels/training_op_helpers.cc:
  44. In file included from ./tensorflow/core/platform/default/logging.h:24:0,
  45. from ./tensorflow/core/platform/logging.h:25,
  46. from ./tensorflow/core/lib/core/status.h:25,
  47. from ./tensorflow/core/framework/variant.h:29,
  48. from ./tensorflow/core/framework/allocator.h:26,
  49. from ./tensorflow/core/framework/op_kernel.h:23,
  50. from ./tensorflow/core/kernels/training_op_helpers.h:19,
  51. from tensorflow/core/kernels/training_op_helpers.cc:16:
  52. ./tensorflow/core/util/tensor_format.h: In instantiation of 'T tensorflow::GetTensorDim(tensorflow::gtl::ArraySlice<T>, tensorflow::TensorFormat, char) [with T = long long int]':
  53. ./tensorflow/core/util/tensor_format.h:372:47: required from here
  54. ./tensorflow/core/util/tensor_format.h:340:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  55. CHECK(index >= 0 && index < dimension_attributes.size())
  56.  
  57. ./tensorflow/core/platform/macros.h:82:47: note: in definition of macro 'TF_PREDICT_FALSE'
  58. #define TF_PREDICT_FALSE(x) (__builtin_expect(x, 0))
  59. ^
  60. ./tensorflow/core/util/tensor_format.h:340:3: note: in expansion of macro 'CHECK'
  61. CHECK(index >= 0 && index < dimension_attributes.size())
  62. ^
  63. ./tensorflow/core/util/tensor_format.h: In instantiation of 'T tensorflow::GetFilterDim(tensorflow::gtl::ArraySlice<T>, tensorflow::FilterTensorFormat, char) [with T = long long int]':
  64. ./tensorflow/core/util/tensor_format.h:381:54: required from here
  65. ./tensorflow/core/util/tensor_format.h:355:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  66. CHECK(index >= 0 && index < dimension_attribute.size())
  67.  
  68. ./tensorflow/core/platform/macros.h:82:47: note: in definition of macro 'TF_PREDICT_FALSE'
  69. #define TF_PREDICT_FALSE(x) (__builtin_expect(x, 0))
  70. ^
  71. ./tensorflow/core/util/tensor_format.h:355:3: note: in expansion of macro 'CHECK'
  72. CHECK(index >= 0 && index < dimension_attribute.size())
  73. ^
  74. In file included from ./tensorflow/core/kernels/training_op_helpers.h:22:0,
  75. from tensorflow/core/kernels/training_op_helpers.cc:16:
  76. ./tensorflow/core/kernels/variable_ops.h: In function 'tensorflow::mutex* tensorflow::GetTrainingVariableMutex(tensorflow::OpKernelContext*, int)':
  77. ./tensorflow/core/kernels/variable_ops.h:40:25: warning: 'var' may be used uninitialized in this function [-Wmaybe-uninitialized]
  78. mutex* mu() { return &mu_; }
  79. ^~~
  80. tensorflow/core/kernels/training_op_helpers.cc:22:10: note: 'var' was declared here
  81. Var* var;
  82. ^~~
  83. INFO: From Compiling tensorflow/core/kernels/crop_and_resize_op_gpu.cu.cc:
  84. /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}]':
  85. /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>]'
  86. ./tensorflow/stream_executor/dnn.h:891:91: required from here
  87. /usr/include/c++/6/tuple:483:67: error: mismatched argument pack lengths while expanding 'std::is_constructible<_Elements, _UElements&&>'
  88. return __and_<is_constructible<_Elements, _UElements&&>...>::value;
  89. ^~~~~
  90. /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
  91. }
  92. ^
  93. /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}]':
  94. /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>]'
  95. ./tensorflow/stream_executor/dnn.h:891:91: required from here
  96. /usr/include/c++/6/tuple:489:65: error: mismatched argument pack lengths while expanding 'std::is_convertible<_UElements&&, _Elements>'
  97. return __and_<is_convertible<_UElements&&, _Elements>...>::value;
  98. ^~~~~
  99. /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
  100. }
  101. ^
  102. /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}]':
  103. /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>]'
  104. ./tensorflow/stream_executor/dnn.h:891:91: required from here
  105. /usr/include/c++/6/tuple:495:244: error: wrong number of template arguments (4, should be 2)
  106. return __and_<__not_<is_same<tuple<_Elements...>,
  107. ^
  108. /usr/include/c++/6/type_traits:1558:8: note: provided for 'template<class _From, class _To> struct std::is_convertible'
  109. struct is_convertible
  110. ^~~~~~~~~~~~~~
  111. /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
  112. }
  113. ^
  114. /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}]':
  115. /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>]'
  116. ./tensorflow/stream_executor/dnn.h:891:91: required from here
  117. /usr/include/c++/6/tuple:483:67: error: mismatched argument pack lengths while expanding 'std::is_constructible<_Elements, _UElements&&>'
  118. return __and_<is_constructible<_Elements, _UElements&&>...>::value;
  119. ^~~~~
  120. /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
  121. }
  122. ^
  123. /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}]':
  124. /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>]'
  125. ./tensorflow/stream_executor/dnn.h:891:91: required from here
  126. /usr/include/c++/6/tuple:489:65: error: mismatched argument pack lengths while expanding 'std::is_convertible<_UElements&&, _Elements>'
  127. return __and_<is_convertible<_UElements&&, _Elements>...>::value;
  128. ^~~~~
  129. /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
  130. }
  131. ^
  132. /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}]':
  133. /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>]'
  134. ./tensorflow/stream_executor/dnn.h:891:91: required from here
  135. /usr/include/c++/6/tuple:495:244: error: wrong number of template arguments (4, should be 2)
  136. return __and_<__not_<is_same<tuple<_Elements...>,
  137. ^
  138. /usr/include/c++/6/type_traits:1558:8: note: provided for 'template<class _From, class _To> struct std::is_convertible'
  139. struct is_convertible
  140. ^~~~~~~~~~~~~~
  141. /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
  142. }
  143. ^
  144. 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
  145. ERROR: /home/darth/tensorflow/tensorflow/core/kernels/BUILD:2109:1: not all outputs were created or valid
  146. Target //tensorflow/tools/pip_package:build_pip_package failed to build
  147. INFO: Elapsed time: 26.771s, Critical Path: 20.22s
  148. INFO: 44 processes, local.
  149. FAILED: Build did NOT complete successfully
Add Comment
Please, Sign In to add comment