IvanaXu / iDeepRec

DeepRec For Me https://github.com/alibaba/DeepRec
https://deeprec.readthedocs.io/zh/latest/index.html
Apache License 2.0
3 stars 1 forks source link

part2 🍎 x0.7 //+++ x0.2 tensorflow/core/kernels/data/text_line_dataset_op.cc #51

Open IvanaXu opened 1 year ago

IvanaXu commented 1 year ago

https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/kernels/data/text_line_dataset_op.cc

IvanaXu commented 1 year ago

ERROR: /pro/DeepRec/tensorflow/core/kernels/data/BUILD:980:1: C++ compilation of r ule '//tensorflow/core/kernels/data:text_line_dataset_op' failed (Exit 1) tensorflow/core/kernels/data/text_line_dataset_op.cc:17:10: fatal error: tensorflo w/core/data/name_utils.h: No such file or directory

include "tensorflow/core/data/name_utils.h"

      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

compilation terminated. 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: 3606.594s, Critical Path: 172.96s INFO: 9023 processes: 9023 local. FAILED: Build did NOT complete successfully

IvanaXu commented 1 year ago

ERROR: /pro/DeepRec/tensorflow/core/kernels/data/BUILD:980:1: C++ compilation of r ule '//tensorflow/core/kernels/data:text_line_dataset_op' failed (Exit 1) tensorflow/core/kernels/data/text_line_dataset_op.cc:19:10: fatal error: tensorflo w/core/framework/metrics.h: No such file or directory

include "tensorflow/core/framework/metrics.h"

      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

compilation terminated. 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: 1861.789s, Critical Path: 135.14s INFO: 6718 processes: 6718 local. FAILED: Build did NOT complete successfully

IvanaXu commented 1 year ago

ERROR: /pro/DeepRec/tensorflow/core/BUILD:2951:1: C++ compilation of rule '//tenso rflow/core:framework_internal_impl' failed (Exit 1) In file included from tensorflow/core/framework/metrics.cc:16:0: ./tensorflow/core/framework/metrics.h:20:10: fatal error: tensorflow/core/framewor k/dataset_options.pb.h: No such file or directory

include "tensorflow/core/framework/dataset_options.pb.h"

      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

compilation terminated. 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: 320.268s, Critical Path: 41.73s INFO: 2232 processes: 2232 local. FAILED: Build did NOT complete successfully

IvanaXu commented 1 year ago

https://blog.csdn.net/A_L_A_N/article/details/102696115

IvanaXu commented 1 year ago

./tensorflow/core/lib/hash/hash.h:64:41: warning: ignoring attributes on template argument 'm512i {aka vector(8) long long int}' [-Wignored-attributes] extern inline std::pair<m512i, m512i> WeakHashLen32WithSeedsBatch( ^ ./tensorflow/core/lib/hash/hash.h:64:41: warning: ignoring attributes on template argument 'm512i {aka vector(8) long long int}' [-Wignored-attributes] ERROR: /pro/DeepRec/tensorflow/core/BUILD:2951:1: C++ compilation of rule '//tenso rflow/core:framework_internal_impl' failed (Exit 1) In file included from ./tensorflow/core/framework/metrics.h:20:0, from tensorflow/core/framework/metrics.cc:16: ./tensorflow/core/framework/dataset_options.pb.h:12:2: error: #error This file was generated by a newer version of protoc which is

error This file was generated by a newer version of protoc which is

^~~~~ ./tensorflow/core/framework/dataset_options.pb.h:13:2: error: #error incompatible with your Protocol Buffer headers. Please update

error incompatible with your Protocol Buffer headers. Please update

^~~~~ ./tensorflow/core/framework/dataset_options.pb.h:14:2: error: #error your headers.

error your headers.

^~~~~ In file included from ./tensorflow/core/framework/metrics.h:20:0, from tensorflow/core/framework/metrics.cc:16: ./tensorflow/core/framework/dataset_options.pb.h:35:10: fatal error: model.pb.h: No such file or directory

include "model.pb.h"

      ^~~~~~~~~~~~

compilation terminated. 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: 2084.449s, Critical Path: 136.12s INFO: 8186 processes: 8186 local. FAILED: Build did NOT complete successfully

IvanaXu commented 1 year ago
scp root@198.11.176.117:/root/data/temp/tensorflow/tensorflow/core/framework/z/model.pb* .
protoc model.proto --cpp_out=z/
IvanaXu commented 1 year ago

https://github.com/protobuf-c/protobuf-c/issues/356

./configure --disable-protoc

IvanaXu commented 1 year ago

include <google/protobuf/io/coded_stream.h>

https://stackoverflow.com/questions/11912878/gcc-error-gcc-error-trying-to-exec-cc1-execvp-no-such-file-or-directory

IvanaXu commented 1 year ago

https://github.com/tensorflow/models/issues/1116

apt-get install libprotobuf-dev protobuf-compiler

IvanaXu commented 1 year ago

./tensorflow/core/graph/graph_partition.h:110:8: warning: 'tensorflow::GraphInfo' has a field 'tensorflow::GraphInfo::output_types' whose type uses the anonymous namespace [-Wsubobject-linkage] ERROR: /pro/DeepRec/tensorflow/core/BUILD:2951:1: C++ compilation of rule '//tensorflow/core:framework_internal_impl' failed (Exit 1) In file included from ./tensorflow/core/framework/metrics.h:20:0, from tensorflow/core/framework/metrics.cc:16: ./tensorflow/core/framework/dataset_options.pb.h:12:2: error: #error This file was generated by a newer version of protoc which is

error This file was generated by a newer version of protoc which is

^~~~~ ./tensorflow/core/framework/dataset_options.pb.h:13:2: error: #error incompatible with your Protocol Buffer headers. Please update

error incompatible with your Protocol Buffer headers. Please update

^~~~~ ./tensorflow/core/framework/dataset_options.pb.h:14:2: error: #error your headers.

error your headers.

^~~~~ In file included from ./tensorflow/core/framework/dataset_options.pb.h:35:0, from ./tensorflow/core/framework/metrics.h:20, from tensorflow/core/framework/metrics.cc:16: ./tensorflow/core/framework/model.pb.h:12:2: error: #error This file was generated by a newer version of protoc which is

error This file was generated by a newer version of protoc which is

^~~~~ ./tensorflow/core/framework/model.pb.h:13:2: error: #error incompatible with your Protocol Buffer headers. Please update

error incompatible with your Protocol Buffer headers. Please update

^~~~~ ./tensorflow/core/framework/model.pb.h:14:2: error: #error your headers.

error your headers.

^~~~~ In file included from tensorflow/core/framework/metrics.cc:16:0: ./tensorflow/core/framework/metrics.h:24:10: fatal error: tensorflow/core/platform/statusor.h: No such file or directory

include "tensorflow/core/platform/statusor.h"

      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

compilation terminated. 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: 2114.907s, Critical Path: 171.32s INFO: 6180 processes: 6180 local. FAILED: Build did NOT complete successfully

IvanaXu commented 1 year ago

n=1;while(($n>0));do clear && cat /root/data/code/iDeepRec/error.log; echo +---- ---- ---- ---- ---- ---- ---- ——+;sleep 2;done

IvanaXu commented 1 year ago

^~ ERROR: /pro/DeepRec/tensorflow/core/BUILD:2951:1: C++ compilation of rule '//tensorflow/core:framework_internal_impl' failed (Exit 1) In file included from ./tensorflow/core/framework/metrics.h:20:0, from tensorflow/core/framework/metrics.cc:16: ./tensorflow/core/framework/dataset_options.pb.h:12:2: error: #error This file was generated by a newer version of protoc which is

error This file was generated by a newer version of protoc which is

^~~~~ ./tensorflow/core/framework/dataset_options.pb.h:13:2: error: #error incompatible with your Protocol Buffer headers. Please update

error incompatible with your Protocol Buffer headers. Please update

^~~~~ ./tensorflow/core/framework/dataset_options.pb.h:14:2: error: #error your headers.

error your headers.

^~~~~ In file included from ./tensorflow/core/framework/dataset_options.pb.h:35:0, from ./tensorflow/core/framework/metrics.h:20, from tensorflow/core/framework/metrics.cc:16: ./tensorflow/core/framework/model.pb.h:12:2: error: #error This file was generated by a newer version of protoc which is

error This file was generated by a newer version of protoc which is

^~~~~ ./tensorflow/core/framework/model.pb.h:13:2: error: #error incompatible with your Protocol Buffer headers. Please update

error incompatible with your Protocol Buffer headers. Please update

^~~~~ ./tensorflow/core/framework/model.pb.h:14:2: error: #error your headers.

error your headers.

^~~~~ In file included from ./tensorflow/tsl/platform/cord.h:25:0, from ./tensorflow/tsl/platform/tstring.h:24, from ./tensorflow/tsl/platform/types.h:23, from ./tensorflow/tsl/platform/default/logging.h:38, from ./tensorflow/tsl/platform/logging.h:26, from ./tensorflow/tsl/platform/errors.h:25, from ./tensorflow/tsl/platform/statusor.h:72, from ./tensorflow/core/platform/statusor.h:21, from ./tensorflow/core/framework/metrics.h:24, from tensorflow/core/framework/metrics.cc:16: ./tensorflow/tsl/platform/default/cord.h:22:10: fatal error: absl/strings/cord.h: No such file or directory

include "absl/strings/cord.h"

      ^~~~~~~~~~~~~~~~~~~~~

compilation terminated. 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: 424.701s, Critical Path: 41.32s INFO: 2880 processes: 2880 local. FAILED: Build did NOT complete successfully

IvanaXu commented 1 year ago

https://github.com/BVLC/caffe/issues/6527

IvanaXu commented 1 year ago

https://github.com/protocolbuffers/protobuf/blob/main/src/README.md

IvanaXu commented 1 year ago

https://github.com/protocolbuffers/protobuf/releases/tag/v21.9

https://github.com/protocolbuffers/protobuf/blob/main/cmake/README.md

IvanaXu commented 1 year ago

ERROR: /pro/DeepRec/tensorflow/core/BUILD:2951:1: C++ compilation of rule '//tensorflow/core:framework_internal_impl' failed (Exit 1) In file included from tensorflow/core/framework/model.pb.cc:4:0: tensorflow/core/framework/model.pb.h:12:2: error: #error This file was generated by a newer version of protoc which is

error This file was generated by a newer version of protoc which is

^~~~~ tensorflow/core/framework/model.pb.h:13:2: error: #error incompatible with your Protocol Buffer headers. Please update

error incompatible with your Protocol Buffer headers. Please update

^~~~~ tensorflow/core/framework/model.pb.h:14:2: error: #error your headers.

error your headers.

^~~~~

IvanaXu commented 1 year ago

https://github.com/google/sentencepiece/issues/190

IvanaXu commented 1 year ago

https://github.com/tensorflow/tensorflow/issues/31094

IvanaXu commented 1 year ago

ERROR: /pro/DeepRec/tensorflow/core/kernels/data/BUILD:980:1: C++ compilation of rule '//tensorflow/core/kernels/data:text_line_dataset_op' failed (Exit 1) In file included from ./tensorflow/core/framework/metrics.h:20:0, from tensorflow/core/kernels/data/text_line_dataset_op.cc:19: ./tensorflow/core/framework/dataset_options.pb.h:17:2: error: #error This file was generated by an older version of protocwhich is

error This file was generated by an older version of protoc which is

^~~~~ ./tensorflow/core/framework/dataset_options.pb.h:18:2: error: #error incompatible with your Protocol Buffer headers. Please

error incompatible with your Protocol Buffer headers. Please

^~~~~ ./tensorflow/core/framework/dataset_options.pb.h:19:2: error: #error regenerate this file with a newer version of protoc.

error regenerate this file with a newer version of protoc.

^~~~~ In file included from ./tensorflow/core/framework/dataset_options.pb.h:31:0, from ./tensorflow/core/framework/metrics.h:20, from tensorflow/core/kernels/data/text_line_dataset_op.cc:19: ./tensorflow/core/framework/model.pb.h:17:2: error: #error This file was generated by an older version of protoc which is

error This file was generated by an older version of protoc which is

^~~~~ ./tensorflow/core/framework/model.pb.h:18:2: error: #error incompatible with your Protocol Buffer headers. Please

error incompatible with your Protocol Buffer headers. Please

^~~~~ ./tensorflow/core/framework/model.pb.h:19:2: error: #error regenerate this file with a newer version of protoc.

error regenerate this file with a newer version of protoc.

^~~~~ In file included from ./tensorflow/tsl/platform/cord.h:25:0, from ./tensorflow/tsl/platform/tstring.h:24, from ./tensorflow/tsl/platform/types.h:23, from ./tensorflow/tsl/platform/default/logging.h:38, from ./tensorflow/tsl/platform/logging.h:26, from ./tensorflow/tsl/platform/errors.h:25, from ./tensorflow/tsl/platform/statusor.h:72, from ./tensorflow/core/platform/statusor.h:21, from ./tensorflow/core/framework/metrics.h:24, from tensorflow/core/kernels/data/text_line_dataset_op.cc:19: ./tensorflow/tsl/platform/default/cord.h:22:10: fatal error: absl/strings/cord.h: No such file or directory

include "absl/strings/cord.h"

      ^~~~~~~~~~~~~~~~~~~~~

compilation terminated. 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: 189.234s, Critical Path: 128.69s INFO: 144 processes: 144 local. FAILED: Build did NOT complete successfully

IvanaXu commented 1 year ago

ERROR: /pro/DeepRec/tensorflow/core/BUILD:2951:1: C++ compilation of rule '//tensorflow/core:framework_internal_impl' failed (Exit 1)

IvanaXu commented 1 year ago

https://github.com/abseil/abseil-cpp

IvanaXu commented 1 year ago

https://github.com/protocolbuffers/protobuf/blob/main/WORKSPACE

https://github.com/protocolbuffers/protobuf/blob/main/protobuf_deps.bzl