ERROR: /var/tmp/portage/sci-libs/tensorflow-2.5.0-r1/work/tensorflow-2.5.0-python3_9/tensorflow/BUILD:974:20:
Linking of rule '//tensorflow:libtensorflow.so.2.5.0' failed (Exit 1):
gcc failed: error executing command
(cd /var/tmp/portage/sci-libs/tensorflow-2.5.0-r1/work/tensorflow-2.5.0-python3_9-bazel-base/execroot/org_tensorflow
&& \
exec env - \
HOME=/var/tmp/portage/sci-libs/tensorflow-2.5.0-r1/homedir \
KERAS_HOME=/var/tmp/portage/sci-libs/tensorflow-2.5.0-r1/temp/.keras \
PATH=/var/tmp/portage/sci-libs/tensorflow-2.5.0-r1/temp/python3.9/bin:/usr/lib/portage/python3.9/ebuild-helpers:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/lib/llvm/12/bin
\
PWD=/proc/self/cwd \
PYTHON_BIN_PATH=/usr/bin/python3.9 \
PYTHON_LIB_PATH=/usr/lib/python3.9/site-packages \
TF2_BEHAVIOR=1 \
TF_SYSTEM_LIBS=absl_py,astor_archive,astunparse_archive,boringssl,com_github_googlecloudplatform_google_cloud_cpp,com_github_grpc_grpc,com_google_protobuf,curl,cython,dill_archive,double_conversion,enum34_archive,flatbuffers,functools32_archive,gast_
archive,gif,hwloc,icu,jsoncpp_git,libjpeg_turbo,lmdb,nasm,nsync,opt_einsum_archive,org_sqlite,pasta,pcre,png,pybind11,six_archive,snappy,tblib_archive,termcolor_archive,typing_extensions_archive,wrapt,zlib
\
/usr/bin/gcc @bazel-out/k8-opt/bin/tensorflow/libtensorflow.so.2.5.0-2.params)
Execution platform: @local_execution_config_platform//:platform bazel-out/k8-opt/bin/tensorflow/core/profiler/_objs/profiler_analysis_proto_cc_impl/profiler_analysis.grpc.pb.pic.o:profiler_analysis.grpc.pb.cc:function
grpc::CompletionQueue::~CompletionQueue(): error: undefined reference
to 'absl::lts_20210324::Mutex::~Mutex()' bazel-out/k8-opt/bin/tensorflow/core/profiler/_objs/profiler_analysis_proto_cc_impl/profiler_analysis.grpc.pb.pic.o:profiler_analysis.grpc.pb.cc:function
grpc::CompletionQueue::~CompletionQueue(): error: undefined reference
to 'absl::lts_20210324::Mutex::~Mutex()' bazel-out/k8-opt/bin/tensorflow/core/profiler/_objs/profiler_analysis_proto_cc_impl/profiler_analysis.grpc.pb.pic.o:profiler_analysis.grpc.pb.cc:function
grpc::internal::BlockingUnaryCallImpl<google::protobuf::MessageLite, google::protobuf::MessageLite>::BlockingUnaryCallImpl(grpc::ChannelInterface*, grpc::internal::RpcMethod const&, grpc::ClientContext*, google::protobuf::MessageLite const&, google::protobuf::MessageLite*):
error: undefined reference to 'absl::lts_20210324::Mutex::~Mutex()' bazel-out/k8-opt/bin/tensorflow/core/profiler/_objs/profiler_analysis_proto_cc_impl/profiler_analysis.grpc.pb.pic.o:profiler_analysis.grpc.pb.cc:function
grpc::internal::BlockingUnaryCallImpl<google::protobuf::MessageLite, google::protobuf::MessageLite>::BlockingUnaryCallImpl(grpc::ChannelInterface*, grpc::internal::RpcMethod const&, grpc::ClientContext*, google::protobuf::MessageLite const&, google::protobuf::MessageLite*):
error: undefined reference to 'absl::lts_20210324::Mutex::~Mutex()' bazel-out/k8-opt/bin/tensorflow/core/debug/_objs/debug_service_proto_cc_impl/debug_service.grpc.pb.pic.o:debug_service.grpc.pb.cc:function
grpc::internal::ClientCallbackReaderWriterImpl<tensorflow::Event, tensorflow::EventReply>::Read(tensorflow::EventReply*): error:
undefined reference to 'absl::lts_20210324::Mutex::Lock()' bazel-out/k8-opt/bin/tensorflow/core/debug/_objs/debug_service_proto_cc_impl/debug_service.grpc.pb.pic.o:debug_service.grpc.pb.cc:function
grpc::internal::ClientCallbackReaderWriterImpl<tensorflow::Event, tensorflow::EventReply>::Read(tensorflow::EventReply*): error:
undefined reference to 'absl::lts_20210324::Mutex::Unlock()' bazel-out/k8-opt/bin/tensorflow/core/debug/_objs/debug_service_proto_cc_impl/debug_service.grpc.pb.pic.o:debug_service.grpc.pb.cc:function
grpc::internal::ClientCallbackReaderWriterImpl<tensorflow::Event, tensorflow::EventReply>::Read(tensorflow::EventReply*): error:
undefined reference to 'absl::lts_20210324::Mutex::Unlock()' bazel-out/k8-opt/bin/tensorflow/core/debug/_objs/debug_service_proto_cc_impl/debug_service.grpc.pb.pic.o:debug_service.grpc.pb.cc:function
grpc::internal::ClientCallbackReaderWriterImpl<tensorflow::Event, tensorflow::EventReply>::Write(tensorflow::Event const*,
grpc::WriteOptions): error: undefined reference to 'absl::lts_20210324::Mutex::Lock()' bazel-out/k8-opt/bin/tensorflow/core/debug/_objs/debug_service_proto_cc_impl/debug_service.grpc.pb.pic.o:debug_service.grpc.pb.cc:function
grpc::internal::ClientCallbackReaderWriterImpl<tensorflow::Event, tensorflow::EventReply>::Write(tensorflow::Event const*,
grpc::WriteOptions): error: undefined reference to 'absl::lts_20210324::Mutex::Unlock()' bazel-out/k8-opt/bin/tensorflow/core/debug/_objs/debug_service_proto_cc_impl/debug_service.grpc.pb.pic.o:debug_service.grpc.pb.cc:function
grpc::internal::ClientCallbackReaderWriterImpl<tensorflow::Event, tensorflow::EventReply>::Write(tensorflow::Event const*,
grpc::WriteOptions): error: undefined reference to 'absl::lts_20210324::Mutex::Unlock()' bazel-out/k8-opt/bin/tensorflow/core/debug/_objs/debug_service_proto_cc_impl/debug_service.grpc.pb.pic.o:debug_service.grpc.pb.cc:function
grpc::internal::ClientCallbackReaderWriterImpl<tensorflow::Event, tensorflow::EventReply>::WritesDone(): error: undefined reference to 'absl::lts_20210324::Mutex::Lock()' bazel-out/k8-opt/bin/tensorflow/core/debug/_objs/debug_service_proto_cc_impl/debug_service.grpc.pb.pic.o:debug_service.grpc.pb.cc:function
grpc::internal::ClientCallbackReaderWriterImpl<tensorflow::Event, tensorflow::EventReply>::StartCall(): error: undefined reference to 'absl::lts_20210324::Mutex::Lock()'
collect2: error: ld returned 1 exit status
INFO: Elapsed time: 12509.014s, Critical Path: 238.67s
INFO: 6785 processes: 440 internal, 6345 local.
FAILED: Build did NOT complete successfully
* ERROR: sci-libs/tensorflow-2.5.0-r1::gentoo failed (compile phase):
* ebazel failed
*
* Call stack:
* ebuild.sh, line 127: Called src_compile
* environment, line 4209: Called ebazel 'build' '//tensorflow:libtensorflow_framework.so'
'//tensorflow:libtensorflow.so'
* environment, line 2548: Called die
* The specific snippet of code:
* "${@}" || die "ebazel failed"
*
* If you need support, post the output of `emerge --info '=sci-libs/tensorflow-2.5.0-r1::gentoo'`,
* the complete build log and the output of `emerge -pqv '=sci-libs/tensorflow-2.5.0-r1::gentoo'`.
* The complete build log is located at '/var/log/portage/sci-libs:tensorflow-2.5.0-r1:20211016-120305.log'.
* The ebuild environment file is located at '/var/tmp/portage/sci-libs/tensorflow-2.5.0-r1/temp/environment'.
* Working directory: '/var/tmp/portage/sci-libs/tensorflow-2.5.0-r1/work/tensorflow-2.5.0-python3_9'
* S: '/var/tmp/portage/sci-libs/tensorflow-2.5.0-r1/work/tensorflow-2.5.0'
Failed to emerge sci-libs/tensorflow-2.5.0-r1, Log file:
'/var/log/portage/sci-libs:tensorflow-2.5.0-r1:20211016-120305.log'
Any thoughts on how to fix it?
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)