`/var/tmp/portage/sci-libs/tensorflow-2.5.0-r2/temp/build.log`: ``` * Package: sci-libs/tensorflow-2.5.0-r2 * Repository: gentoo * Maintainer: perfinion@gentoo.org * USE: abi_x86_64 amd64 cpu_flags_x86_avx cpu_flags_x86_avx2 cpu_flags_x86_fma3 cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_sse4_1 cpu_flags_x86_sse4_2 elibc_glibc kernel_linux python python_targets_python3_9 userland_GNU * FEATURES: ccache network-sandbox preserve-libs sandbox splitdebug userpriv usersandbox * TensorFlow 2.0 is a major release that contains some incompatibilities * with TensorFlow 1.x. For more information about migrating to TF2.0 see: * https://www.tensorflow.org/guide/migrate * python3_9: running count_impls * Checking for at least 5 GiB RAM ... [ ok ] * Checking for at least 16 GiB disk space at "/var/tmp/portage/sci-libs/tensorflow-2.5.0-r2/tem [ ok ] >>> Unpacking source... >>> Unpacking tensorflow-2.5.0.tar.gz to /var/tmp/portage/sci-libs/tensorflow-2.5.0-r2/work >>> Unpacking tensorflow-patches-2.5.0-r2.tar.bz2 to /var/tmp/portage/sci-libs/tensorflow-2.5.0-r2/work Copying abseil-cpp-6f9d96a1f41439ac172ee2ef7ccd8edf0e5d068c.tar.gz to bazel distdir as 6f9d96a1f41439ac172ee2ef7ccd8edf0e5d068c.tar.gz Copying bazel-skylib-1.0.3.tar.gz to bazel distdir Copying bazel-toolchains-92dd8a7a518a2fb7ba992d47c8b38299fe0be825.tar.gz to bazel distdir as 92dd8a7a518a2fb7ba992d47c8b38299fe0be825.tar.gz Copying bazelbuild-rules_android-v0.1.1.zip to bazel distdir as v0.1.1.zip Copying bazelbuild-rules_cc-01d4a48911d5e7591ecb1c06d3b8af47fe872371.zip to bazel distdir as 01d4a48911d5e7591ecb1c06d3b8af47fe872371.zip Copying bazelbuild-rules_closure-308b05b2419edb5c8ee0471b67a40403df940149.tar.gz to bazel distdir as 308b05b2419edb5c8ee0471b67a40403df940149.tar.gz Copying bazelbuild-rules_docker-v0.10.0.tar.gz to bazel distdir as rules_docker-v0.10.0.tar.gz Copying bazelbuild-rules_java-7cf3cefd652008d0a64a419c34c13bdca6c8f178.zip to bazel distdir as 7cf3cefd652008d0a64a419c34c13bdca6c8f178.zip Copying bazelbuild-rules_proto-97d8af4dc474595af3900dd85cb3a29ad28cc313.tar.gz to bazel distdir as 97d8af4dc474595af3900dd85cb3a29ad28cc313.tar.gz Copying bazelbuild-rules_python-0.0.1.tar.gz to bazel distdir as rules_python-0.0.1.tar.gz Copying bazelbuild-rules_swift-3eeeb53cebda55b349d64c9fc144e18c5f7c0eb8.tar.gz to bazel distdir as 3eeeb53cebda55b349d64c9fc144e18c5f7c0eb8.tar.gz Copying dlpack-3efc489b55385936531a06ff83425b719387ec63.tar.gz to bazel distdir as 3efc489b55385936531a06ff83425b719387ec63.tar.gz Copying farmhash-816a4ae622e964763ca0862d9dbd19324a1eaf45.tar.gz to bazel distdir as 816a4ae622e964763ca0862d9dbd19324a1eaf45.tar.gz Copying gemmlowp-fda83bdc38b118cc6b56753bd540caa49e570745.zip to bazel distdir as fda83bdc38b118cc6b56753bd540caa49e570745.zip Copying highwayhash-fd3d9af80465e4383162e4a7c5e2f406e82dd968.tar.gz to bazel distdir as fd3d9af80465e4383162e4a7c5e2f406e82dd968.tar.gz Copying re2-506cfa4bffd060c06ec338ce50ea3468daa6c814.tar.gz to bazel distdir as 506cfa4bffd060c06ec338ce50ea3468daa6c814.tar.gz Copying ruy-54774a7a2cf85963777289193629d4bd42de4a59.zip to bazel distdir as 54774a7a2cf85963777289193629d4bd42de4a59.zip Copying sobol_data-835a7d7b1ee3bc83e575e302a985c66ec4b65249.tar.gz to bazel distdir as 835a7d7b1ee3bc83e575e302a985c66ec4b65249.tar.gz Copying llvm-1f6a57c1a0fad922e04a2b1f414b092d4b0cd8b0.tar.gz to bazel distdir as 1f6a57c1a0fad922e04a2b1f414b092d4b0cd8b0.tar.gz Copying llvmorg-10.0.1-openmp-10.0.1.src.tar.xz to bazel distdir as openmp-10.0.1.src.tar.xz Copying kissfft-36dbc057604f00aacfc0288ddad57e3b21cfc1b8.tar.gz to bazel distdir as 36dbc057604f00aacfc0288ddad57e3b21cfc1b8.tar.gz Copying oneDNN-v2.2.tar.gz to bazel distdir as v2.2.tar.gz Copying OouraFFT-v1.0.tar.gz to bazel distdir as v1.0.tar.gz Copying pytorch-cpuinfo-5916273f79a21551890fd3d56fc5375a78d1598d.zip to bazel distdir as 5916273f79a21551890fd3d56fc5375a78d1598d.zip Copying pytorch-cpuinfo-d5e37adf1406cf899d7d9ec1d317c47506ccb970.tar.gz to bazel distdir as d5e37adf1406cf899d7d9ec1d317c47506ccb970.tar.gz Copying tensorflow-toolchains-v1.1.10.tar.gz to bazel distdir as v1.1.10.tar.gz Copying eigen-f612df273689a19d25b45ca4f8269463207c4fee.tar.gz to bazel distdir Copying ARM_NEON_2_x86_SSE-1200fe90bb174a6224a525ee60148671a786a71f.tar.gz to bazel distdir as 1200fe90bb174a6224a525ee60148671a786a71f.tar.gz Copying tensorflow-1.15.0-python-license.rst.txt to bazel distdir as license.rst.txt Copying backports.weakref-1.0rc1.tar.gz to bazel distdir >>> Source unpacked in /var/tmp/portage/sci-libs/tensorflow-2.5.0-r2/work >>> Preparing source in /var/tmp/portage/sci-libs/tensorflow-2.5.0-r2/work/tensorflow-2.5.0 ... * Applying 0001-ci_build-update-check_system_libs-for-numbered-works.patch ... [ ok ] * Applying 0002-Add-use_default_shell_env-True-to-all-ctx.actions.ru.patch ... [ ok ] * Applying 0003-Add-use_default_shell_env-to-ctx.actions.run.patch ... [ ok ] * Applying 0004-Systemlib-rules-currently-can-t-handle-the-systemlib.patch ... [ ok ] * Applying 0005-WORKSPACE-add-rules-docker-http_archive-bazel-toolch.patch ... [ ok ] * Applying 0006-Relax-setup.py-version-requirements.patch ... [ ok ] * Applying 0007-example_parsing_ops-compatibility-with-protobuf-3.16.patch ... [ ok ] * Applying 0008-Fix-protobuf-errors-when-using-system-protobuf.patch ... [ ok ] * Applying 0008-patch-ruy-for-gcc-11.patch ... [ ok ] * Will copy sources from /var/tmp/portage/sci-libs/tensorflow-2.5.0-r2/work/tensorflow-2.5.0 * python3_9: copying to /var/tmp/portage/sci-libs/tensorflow-2.5.0-r2/work/tensorflow-2.5.0-python3_9 >>> Source prepared. >>> Configuring source in /var/tmp/portage/sci-libs/tensorflow-2.5.0-r2/work/tensorflow-2.5.0 ... * python3_9: running run_in_build_dir do_configure You have bazel 3.7.2- (@non-git) installed. 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=mkl_aarch64 # Build with oneDNN and Compute Library for the Arm Architecture (ACL). --config=monolithic # Config for mostly static monolithic build. --config=numa # Build with NUMA support. --config=dynamic_kernels # (Experimental) Build kernels into separate shared objects. --config=v2 # Build TensorFlow 2.x instead of 1.x. 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=nonccl # Disable NVIDIA NCCL support. Configuration finished >>> Source configured. >>> Compiling source in /var/tmp/portage/sci-libs/tensorflow-2.5.0-r2/work/tensorflow-2.5.0 ... * Using python3.9 in global scope bazel --bazelrc=/var/tmp/portage/sci-libs/tensorflow-2.5.0-r2/temp/bazelrc --output_base=/var/tmp/portage/sci-libs/tensorflow-2.5.0-r2/work/tensorflow-2.5.0-python3_9-bazel-base build -k --nobuild //tensorflow:libtensorflow_framework.so //tensorflow:libtensorflow.so //tensorflow:libtensorflow_cc.so //tensorflow/tools/pip_package:build_pip_package Extracting Bazel installation... WARNING: ignoring LD_PRELOAD in environment. INFO: Options provided by the client: Inherited 'common' options: --isatty=1 --terminal_columns=0 INFO: Reading rc options for 'build' from /var/tmp/portage/sci-libs/tensorflow-2.5.0-r2/work/tensorflow-2.5.0-python3_9/.bazelrc: Inherited 'common' options: --experimental_repo_remote_exec INFO: Reading rc options for 'build' from /var/tmp/portage/sci-libs/tensorflow-2.5.0-r2/work/tensorflow-2.5.0-python3_9/.bazelrc: 'build' options: --define framework_shared_object=true --java_toolchain=@tf_toolchains//toolchains/java:tf_java_toolchain --host_java_toolchain=@tf_toolchains//toolchains/java:tf_java_toolchain --define=use_fast_cpp_protos=true --define=allow_oversize_protos=true --spawn_strategy=standalone -c opt --announce_rc --define=grpc_no_ares=true --noincompatible_remove_legacy_whole_archive --noincompatible_prohibit_aapt1 --enable_platform_specific_config --define=with_xla_support=true --config=short_logs --config=v2 INFO: Reading rc options for 'build' from /var/tmp/portage/sci-libs/tensorflow-2.5.0-r2/work/tensorflow-2.5.0-python3_9/.tf_configure.bazelrc: 'build' options: --action_env PYTHON_BIN_PATH=/usr/bin/python3.9 --action_env PYTHON_LIB_PATH=/usr/lib/python3.9/site-packages --python_path=/usr/bin/python3.9 --define=with_xla_support=false --action_env 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 INFO: Reading rc options for 'build' from /var/tmp/portage/sci-libs/tensorflow-2.5.0-r2/work/tensorflow-2.5.0-python3_9/.bazelrc: 'build' options: --config=noaws --config=nohdfs --define tensorflow_mkldnn_contraction_kernel=0 --action_env=KERAS_HOME=/var/tmp/portage/sci-libs/tensorflow-2.5.0-r2/temp/.keras --host_action_env=KERAS_HOME=/var/tmp/portage/sci-libs/tensorflow-2.5.0-r2/temp/.keras --copt=-I/usr/include/jsoncpp --host_copt=-I/usr/include/jsoncpp INFO: Reading rc options for 'build' from /var/tmp/portage/sci-libs/tensorflow-2.5.0-r2/temp/bazelrc: 'build' options: --action_env HOME --jobs=14 --compilation_mode=opt --host_compilation_mode=opt --conlyopt=-march=native --conlyopt=-mtune=native --conlyopt=-O2 --conlyopt=-pipe --conlyopt=-msse --conlyopt=-msse2 --conlyopt=-msse3 --conlyopt=-msse4.1 --conlyopt=-msse4.2 --conlyopt=-mavx --conlyopt=-mavx2 --conlyopt=-mfma --cxxopt=-march=native --cxxopt=-mtune=native --cxxopt=-O2 --cxxopt=-pipe --cxxopt=-msse --cxxopt=-msse2 --cxxopt=-msse3 --cxxopt=-msse4.1 --cxxopt=-msse4.2 --cxxopt=-mavx --cxxopt=-mavx2 --cxxopt=-mfma --cxxopt=-std=c++14 --linkopt=-Wl,-O1 --linkopt=-Wl,--as-needed --spawn_strategy=standalone --genrule_strategy=standalone --strip=never --verbose_failures --noshow_loading_progress --repository_cache=/var/tmp/portage/sci-libs/tensorflow-2.5.0-r2/temp/bazel-cache/ --distdir=/var/tmp/portage/sci-libs/tensorflow-2.5.0-r2/temp/bazel-distdir/ --define=PREFIX=/usr --define=LIBDIR=$(PREFIX)/lib64 --define=INCLUDEDIR=$(PREFIX)/include INFO: Found applicable config definition build:short_logs in file /var/tmp/portage/sci-libs/tensorflow-2.5.0-r2/work/tensorflow-2.5.0-python3_9/.bazelrc: --output_filter=DONT_MATCH_ANYTHING INFO: Found applicable config definition build:v2 in file /var/tmp/portage/sci-libs/tensorflow-2.5.0-r2/work/tensorflow-2.5.0-python3_9/.bazelrc: --define=tf_api_version=2 --action_env=TF2_BEHAVIOR=1 INFO: Found applicable config definition build:noaws in file /var/tmp/portage/sci-libs/tensorflow-2.5.0-r2/work/tensorflow-2.5.0-python3_9/.bazelrc: --define=no_aws_support=true INFO: Found applicable config definition build:nohdfs in file /var/tmp/portage/sci-libs/tensorflow-2.5.0-r2/work/tensorflow-2.5.0-python3_9/.bazelrc: --define=no_hdfs_support=true INFO: Found applicable config definition build:linux in file /var/tmp/portage/sci-libs/tensorflow-2.5.0-r2/work/tensorflow-2.5.0-python3_9/.bazelrc: --copt=-w --host_copt=-w --define=PREFIX=/usr --define=LIBDIR=$(PREFIX)/lib --define=INCLUDEDIR=$(PREFIX)/include --define=PROTOBUF_INCLUDE_PATH=$(PREFIX)/include --cxxopt=-std=c++14 --host_cxxopt=-std=c++14 --config=dynamic_kernels INFO: Found applicable config definition build:dynamic_kernels in file /var/tmp/portage/sci-libs/tensorflow-2.5.0-r2/work/tensorflow-2.5.0-python3_9/.bazelrc: --define=dynamic_loaded_kernels=true --copt=-DAUTOLOAD_DYNAMIC_KERNELS INFO: Analyzed 4 targets (395 packages loaded, 26205 targets configured). INFO: Found 4 targets... INFO: Elapsed time: 27.015s INFO: 0 processes. INFO: Build completed successfully, 0 total actions bazel --bazelrc=/var/tmp/portage/sci-libs/tensorflow-2.5.0-r2/temp/bazelrc --output_base=/var/tmp/portage/sci-libs/tensorflow-2.5.0-r2/work/tensorflow-2.5.0-python3_9-bazel-base build //tensorflow:libtensorflow_framework.so //tensorflow:libtensorflow.so WARNING: ignoring LD_PRELOAD in environment. INFO: Options provided by the client: Inherited 'common' options: --isatty=1 --terminal_columns=0 INFO: Reading rc options for 'build' from /var/tmp/portage/sci-libs/tensorflow-2.5.0-r2/work/tensorflow-2.5.0-python3_9/.bazelrc: Inherited 'common' options: --experimental_repo_remote_exec INFO: Reading rc options for 'build' from /var/tmp/portage/sci-libs/tensorflow-2.5.0-r2/work/tensorflow-2.5.0-python3_9/.bazelrc: 'build' options: --define framework_shared_object=true --java_toolchain=@tf_toolchains//toolchains/java:tf_java_toolchain --host_java_toolchain=@tf_toolchains//toolchains/java:tf_java_toolchain --define=use_fast_cpp_protos=true --define=allow_oversize_protos=true --spawn_strategy=standalone -c opt --announce_rc --define=grpc_no_ares=true --noincompatible_remove_legacy_whole_archive --noincompatible_prohibit_aapt1 --enable_platform_specific_config --define=with_xla_support=true --config=short_logs --config=v2 INFO: Reading rc options for 'build' from /var/tmp/portage/sci-libs/tensorflow-2.5.0-r2/work/tensorflow-2.5.0-python3_9/.tf_configure.bazelrc: 'build' options: --action_env PYTHON_BIN_PATH=/usr/bin/python3.9 --action_env PYTHON_LIB_PATH=/usr/lib/python3.9/site-packages --python_path=/usr/bin/python3.9 --define=with_xla_support=false --action_env 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 INFO: Reading rc options for 'build' from /var/tmp/portage/sci-libs/tensorflow-2.5.0-r2/work/tensorflow-2.5.0-python3_9/.bazelrc: 'build' options: --config=noaws --config=nohdfs --define tensorflow_mkldnn_contraction_kernel=0 --action_env=KERAS_HOME=/var/tmp/portage/sci-libs/tensorflow-2.5.0-r2/temp/.keras --host_action_env=KERAS_HOME=/var/tmp/portage/sci-libs/tensorflow-2.5.0-r2/temp/.keras --copt=-I/usr/include/jsoncpp --host_copt=-I/usr/include/jsoncpp INFO: Reading rc options for 'build' from /var/tmp/portage/sci-libs/tensorflow-2.5.0-r2/temp/bazelrc: 'build' options: --action_env HOME --jobs=14 --compilation_mode=opt --host_compilation_mode=opt --conlyopt=-march=native --conlyopt=-mtune=native --conlyopt=-O2 --conlyopt=-pipe --conlyopt=-msse --conlyopt=-msse2 --conlyopt=-msse3 --conlyopt=-msse4.1 --conlyopt=-msse4.2 --conlyopt=-mavx --conlyopt=-mavx2 --conlyopt=-mfma --cxxopt=-march=native --cxxopt=-mtune=native --cxxopt=-O2 --cxxopt=-pipe --cxxopt=-msse --cxxopt=-msse2 --cxxopt=-msse3 --cxxopt=-msse4.1 --cxxopt=-msse4.2 --cxxopt=-mavx --cxxopt=-mavx2 --cxxopt=-mfma --cxxopt=-std=c++14 --linkopt=-Wl,-O1 --linkopt=-Wl,--as-needed --spawn_strategy=standalone --genrule_strategy=standalone --strip=never --verbose_failures --noshow_loading_progress --repository_cache=/var/tmp/portage/sci-libs/tensorflow-2.5.0-r2/temp/bazel-cache/ --distdir=/var/tmp/portage/sci-libs/tensorflow-2.5.0-r2/temp/bazel-distdir/ --define=PREFIX=/usr --define=LIBDIR=$(PREFIX)/lib64 --define=INCLUDEDIR=$(PREFIX)/include INFO: Found applicable config definition build:short_logs in file /var/tmp/portage/sci-libs/tensorflow-2.5.0-r2/work/tensorflow-2.5.0-python3_9/.bazelrc: --output_filter=DONT_MATCH_ANYTHING INFO: Found applicable config definition build:v2 in file /var/tmp/portage/sci-libs/tensorflow-2.5.0-r2/work/tensorflow-2.5.0-python3_9/.bazelrc: --define=tf_api_version=2 --action_env=TF2_BEHAVIOR=1 INFO: Found applicable config definition build:noaws in file /var/tmp/portage/sci-libs/tensorflow-2.5.0-r2/work/tensorflow-2.5.0-python3_9/.bazelrc: --define=no_aws_support=true INFO: Found applicable config definition build:nohdfs in file /var/tmp/portage/sci-libs/tensorflow-2.5.0-r2/work/tensorflow-2.5.0-python3_9/.bazelrc: --define=no_hdfs_support=true INFO: Found applicable config definition build:linux in file /var/tmp/portage/sci-libs/tensorflow-2.5.0-r2/work/tensorflow-2.5.0-python3_9/.bazelrc: --copt=-w --host_copt=-w --define=PREFIX=/usr --define=LIBDIR=$(PREFIX)/lib --define=INCLUDEDIR=$(PREFIX)/include --define=PROTOBUF_INCLUDE_PATH=$(PREFIX)/include --cxxopt=-std=c++14 --host_cxxopt=-std=c++14 --config=dynamic_kernels INFO: Found applicable config definition build:dynamic_kernels in file /var/tmp/portage/sci-libs/tensorflow-2.5.0-r2/work/tensorflow-2.5.0-python3_9/.bazelrc: --define=dynamic_loaded_kernels=true --copt=-DAUTOLOAD_DYNAMIC_KERNELS INFO: Analyzed 2 targets (204 packages loaded, 14978 targets configured). INFO: Found 2 targets... [295 / 5,592] 14 actions running Compiling tensorflow/core/util/proto/proto_utils.cc; 1s local ERROR: /var/tmp/portage/sci-libs/tensorflow-2.5.0-r2/work/tensorflow-2.5.0-python3_9/tensorflow/cc/saved_model/BUILD:147:11: C++ compilation of rule '//tensorflow/cc/saved_model:loader_util' failed (Exit 1): gcc failed: error executing command (cd /var/tmp/portage/sci-libs/tensorflow-2.5.0-r2/work/tensorflow-2.5.0-python3_9-bazel-base/execroot/org_tensorflow && \ exec env - \ KERAS_HOME=/var/tmp/portage/sci-libs/tensorflow-2.5.0-r2/temp/.keras \ PATH=/var/tmp/portage/sci-libs/tensorflow-2.5.0-r2/temp/python3.9/bin:/usr/lib/ccache/bin:/usr/lib/portage/python3.9/ebuild-helpers/xattr:/usr/lib/portage/python3.9/ebuild-helpers:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/lib/llvm/13/bin:/usr/lib/llvm/12/bin:/opt/vmware/bin \ PWD=/proc/self/cwd \ /usr/lib/ccache/bin/gcc -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g0 -O2 '-D_FORTIFY_SOURCE=1' -DNDEBUG -ffunction-sections -fdata-sections '-std=c++0x' -MD -MF bazel-out/host/bin/tensorflow/cc/saved_model/_objs/loader_util/loader_util.pic.d '-frandom-seed=bazel-out/host/bin/tensorflow/cc/saved_model/_objs/loader_util/loader_util.pic.o' -fPIC -DEIGEN_MPL2_ONLY '-DEIGEN_MAX_ALIGN_BYTES=64' -iquote . -iquote bazel-out/host/bin -iquote external/com_google_absl -iquote bazel-out/host/bin/external/com_google_absl -iquote external/nsync -iquote bazel-out/host/bin/external/nsync -iquote external/eigen_archive -iquote bazel-out/host/bin/external/eigen_archive -iquote external/gif -iquote bazel-out/host/bin/external/gif -iquote external/libjpeg_turbo -iquote bazel-out/host/bin/external/libjpeg_turbo -iquote external/com_google_protobuf -iquote bazel-out/host/bin/external/com_google_protobuf -iquote external/com_googlesource_code_re2 -iquote bazel-out/host/bin/external/com_googlesource_code_re2 -iquote external/farmhash_archive -iquote bazel-out/host/bin/external/farmhash_archive -iquote external/fft2d -iquote bazel-out/host/bin/external/fft2d -iquote external/highwayhash -iquote bazel-out/host/bin/external/highwayhash -iquote external/zlib -iquote bazel-out/host/bin/external/zlib -isystem third_party/eigen3/mkl_include -isystem bazel-out/host/bin/third_party/eigen3/mkl_include -isystem external/eigen_archive -isystem bazel-out/host/bin/external/eigen_archive -isystem external/farmhash_archive/src -isystem bazel-out/host/bin/external/farmhash_archive/src -g0 -w -I/usr/include/jsoncpp -g0 '-std=c++14' -fno-canonical-system-headers -Wno-builtin-macro-redefined '-D__DATE__="redacted"' '-D__TIMESTAMP__="redacted"' '-D__TIME__="redacted"' -c tensorflow/cc/saved_model/loader_util.cc -o bazel-out/host/bin/tensorflow/cc/saved_model/_objs/loader_util/loader_util.pic.o) Execution platform: @local_execution_config_platform//:platform ccache: error: Failed to create directory /var/lib/portage/home/.cache/ccache/tmp: Permission denied INFO: Elapsed time: 15.193s, Critical Path: 2.56s INFO: 309 processes: 184 internal, 125 local. FAILED: Build did NOT complete successfully * ERROR: sci-libs/tensorflow-2.5.0-r2::gentoo failed (compile phase): * ebazel failed * * Call stack: * ebuild.sh, line 127: Called src_compile * environment, line 4212: Called ebazel 'build' '//tensorflow:libtensorflow_framework.so' '//tensorflow:libtensorflow.so' * environment, line 2551: 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-r2::gentoo'`, * the complete build log and the output of `emerge -pqv '=sci-libs/tensorflow-2.5.0-r2::gentoo'`. * The complete build log is located at '/var/tmp/portage/sci-libs/tensorflow-2.5.0-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sci-libs/tensorflow-2.5.0-r2/temp/environment'. * Working directory: '/var/tmp/portage/sci-libs/tensorflow-2.5.0-r2/work/tensorflow-2.5.0-python3_9' * S: '/var/tmp/portage/sci-libs/tensorflow-2.5.0-r2/work/tensorflow-2.5.0' * --------------------------- ACCESS VIOLATION SUMMARY --------------------------- * LOG FILE: "/var/tmp/portage/sci-libs/tensorflow-2.5.0-r2/temp/sandbox.log" * VERSION 1.0 FORMAT: F - Function called FORMAT: S - Access Status FORMAT: P - Path as passed to function FORMAT: A - Absolute Path (not canonical) FORMAT: R - Canonical Path FORMAT: C - Command Line F: mkdir S: deny P: /var/lib/portage/home/.cache A: /var/lib/portage/home/.cache R: /var/lib/portage/home/.cache C: /usr/lib/ccache/bin/gcc -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g0 -O2 -D_FORTIFY_SOURCE=1 -DNDEBUG -ffunction-sections -fdata-sections -std=c++0x -MD -MF bazel-out/host/bin/tensorflow/cc/saved_model/_objs/loader_util/loader_util.pic.d -frandom-seed=bazel-out/host/bin/tensorflow/cc/saved_model/_objs/loader_util/loader_util.pic.o -fPIC -DEIGEN_MPL2_ONLY -DEIGEN_MAX_ALIGN_BYTES=64 -iquote . -iquote bazel-out/host/bin -iquote external/com_google_absl -iquote bazel-out/host/bin/external/com_google_absl -iquote external/nsync -iquote bazel-out/host/bin/external/nsync -iquote external/eigen_archive -iquote bazel-out/host/bin/external/eigen_archive -iquote external/gif -iquote bazel-out/host/bin/external/gif -iquote external/libjpeg_turbo -iquote bazel-out/host/bin/external/libjpeg_turbo -iquote external/com_google_protobuf -iquote bazel-out/host/bin/external/com_google_protobuf -iquote external/com_googlesource_code_re2 -iquote bazel-out/host/bin/external/com_googlesource_code_re2 -iquote external/farmhash_archive -iquote bazel-out/host/bin/external/farmhash_archive -iquote external/fft2d -iquote bazel-out/host/bin/external/fft2d -iquote external/highwayhash -iquote bazel-out/host/bin/external/highwayhash -iquote external/zlib -iquote bazel-out/host/bin/external/zlib -isystem third_party/eigen3/mkl_include -isystem bazel-out/host/bin/third_party/eigen3/mkl_include -isystem external/eigen_archive -isystem bazel-out/host/bin/external/eigen_archive -isystem external/farmhash_archive/src -isystem bazel-out/host/bin/external/farmhash_archive/src -g0 -w -I/usr/include/jsoncpp -g0 -std=c++14 -fno-canonical-system-headers -Wno-builtin-macro-redefined -D__DATE__="redacted" -D__TIMESTAMP__="redacted" -D__TIME__="redacted" -c tensorflow/cc/saved_model/loader_util.cc -o bazel-out/host/bin/tensorflow/cc/saved_model/_objs/loader_util/loader_util.pic.o F: mkdir S: deny P: /var/lib/portage/home/.cache A: /var/lib/portage/home/.cache R: /var/lib/portage/home/.cache C: /usr/lib/ccache/bin/gcc -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g0 -O2 -D_FORTIFY_SOURCE=1 -DNDEBUG -ffunction-sections -fdata-sections -std=c++0x -MD -MF bazel-out/host/bin/tensorflow/cc/saved_model/_objs/loader_util/loader_util.pic.d -frandom-seed=bazel-out/host/bin/tensorflow/cc/saved_model/_objs/loader_util/loader_util.pic.o -fPIC -DEIGEN_MPL2_ONLY -DEIGEN_MAX_ALIGN_BYTES=64 -iquote . -iquote bazel-out/host/bin -iquote external/com_google_absl -iquote bazel-out/host/bin/external/com_google_absl -iquote external/nsync -iquote bazel-out/host/bin/external/nsync -iquote external/eigen_archive -iquote bazel-out/host/bin/external/eigen_archive -iquote external/gif -iquote bazel-out/host/bin/external/gif -iquote external/libjpeg_turbo -iquote bazel-out/host/bin/external/libjpeg_turbo -iquote external/com_google_protobuf -iquote bazel-out/host/bin/external/com_google_protobuf -iquote external/com_googlesource_code_re2 -iquote bazel-out/host/bin/external/com_googlesource_code_re2 -iquote external/farmhash_archive -iquote bazel-out/host/bin/external/farmhash_archive -iquote external/fft2d -iquote bazel-out/host/bin/external/fft2d -iquote external/highwayhash -iquote bazel-out/host/bin/external/highwayhash -iquote external/zlib -iquote bazel-out/host/bin/external/zlib -isystem third_party/eigen3/mkl_include -isystem bazel-out/host/bin/third_party/eigen3/mkl_include -isystem external/eigen_archive -isystem bazel-out/host/bin/external/eigen_archive -isystem external/farmhash_archive/src -isystem bazel-out/host/bin/external/farmhash_archive/src -g0 -w -I/usr/include/jsoncpp -g0 -std=c++14 -fno-canonical-system-headers -Wno-builtin-macro-redefined -D__DATE__="redacted" -D__TIMESTAMP__="redacted" -D__TIME__="redacted" -c tensorflow/cc/saved_model/loader_util.cc -o bazel-out/host/bin/tensorflow/cc/saved_model/_objs/loader_util/loader_util.pic.o ��' * -------------------------------------------------------------------------------- ``` `emerge --info` ``` Portage 3.0.28 (python 3.9.7-final-0, default/linux/amd64/17.1/desktop/plasma/systemd, gcc-11.2.0, glibc-2.33-r7, 5.14.12-xanmod1-1 x86_64) ================================================================= System uname: Linux-5.14.12-xanmod1-1-x86_64-AMD_Ryzen_7_4800H_with_Radeon_Graphics-with-glibc2.33 KiB Mem: 36877228 total, 25316872 free KiB Swap: 16779260 total, 16779260 free Timestamp of repository gentoo: Sun, 17 Oct 2021 10:15:01 +0000 Head commit of repository gentoo: f13583c2aeaa6616aa306a7e3e59ee9211f10753 sh bash 5.1_p8 ld GNU ld (Gentoo 2.37_p1 p0) 2.37 ccache version 4.4.2 [enabled] app-shells/bash: 5.1_p8::gentoo dev-java/java-config: 2.3.1::gentoo dev-lang/perl: 5.34.0-r3::gentoo dev-lang/python: 2.7.18_p106::stefantalpalaru, 3.9.7_p1::gentoo, 3.10.0_p1::gentoo dev-lang/rust: 1.55.0::gentoo dev-util/ccache: 4.4.2::gentoo dev-util/cmake: 3.21.3::gentoo sys-apps/baselayout: 2.8::gentoo sys-apps/sandbox: 2.25::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.71-r1::gentoo sys-devel/automake: 1.16.5::gentoo sys-devel/binutils: 2.37_p1::gentoo sys-devel/gcc: 9.4.0::gentoo, 10.3.0-r2::gentoo, 11.2.0::gentoo sys-devel/gcc-config: 2.4::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.14::gentoo (virtual/os-headers) sys-libs/glibc: 2.33-r7::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: rsync sync-uri: rsync://rsync.mirrors.ustc.edu.cn/gentoo-portage/ priority: -1000 sync-rsync-extra-opts: sync-rsync-verify-max-age: 24 sync-rsync-verify-metamanifest: yes sync-rsync-verify-jobs: 1 gentoo-zh location: /var/lib/layman/gentoo-zh masters: gentoo priority: 50 guru location: /var/lib/layman/guru masters: gentoo priority: 50 src_prepare-overlay location: /var/lib/layman/src_prepare-overlay masters: gentoo priority: 50 stefantalpalaru location: /var/lib/layman/stefantalpalaru masters: gentoo priority: 50 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -mtune=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/vmware-installer" CXXFLAGS="-march=native -mtune=native -O2 -pipe" DISTDIR="/var/cache/distfiles" EMERGE_DEFAULT_OPTS="-j4 -l16" ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" FCFLAGS="-march=native -mtune=native -O2 -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-march=native -mtune=native -O2 -pipe" GENTOO_MIRRORS="https://mirrors.ustc.edu.cn/gentoo/" LANG="en_GB.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j14" PKGDIR="/var/cache/binpkgs" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="X a52 aac acl acpi activities alsa amd64 bluetooth branding bzip2 cairo cdda cdr cli crypt cups dbus declarative dri dts dvd dvdr emboss encode exif flac fortran gdbm gif gpm gtk gui iconv icu ipv6 jpeg kde kipi kwallet lcms libglvnd libnotify libtirpc mad mng mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf plasma png policykit ppds pulseaudio qml qt5 readline sdl seccomp semantic-desktop spell split-usr ssl startup-notification static-libs svg systemd tcpd tiff truetype udev udisks unicode upower usb vorbis widgets wxwidgets x264 xattr xcb xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2019" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput synaptics" KERNEL="linux" L10N="zh-CN" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" RUBY_TARGETS="ruby26 ruby27" USERLAND="GNU" VIDEO_CARDS="amdgpu radeonsi" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS ```