Fails to build (in a clean chroot):
Analyzing: target //native_client:libdeepspeech.so (1 packages loaded, 0 targets configured)
INFO: Repository local_config_python instantiated at:
/build/deepspeech/src/DeepSpeech-0.9.3/tensorflow/WORKSPACE:19:16: in <toplevel>
/build/deepspeech/src/DeepSpeech-0.9.3/tensorflow/tensorflow/workspace.bzl:104:21: in tf_repositories
Repository rule python_configure defined at:
/build/deepspeech/src/DeepSpeech-0.9.3/tensorflow/third_party/py/python_configure.bzl:294:35: in <toplevel>
INFO: Repository local_execution_config_python instantiated at:
/build/deepspeech/src/DeepSpeech-0.9.3/tensorflow/WORKSPACE:19:16: in <toplevel>
/build/deepspeech/src/DeepSpeech-0.9.3/tensorflow/tensorflow/workspace.bzl:93:27: in tf_repositories
/build/deepspeech/src/DeepSpeech-0.9.3/tensorflow/third_party/toolchains/remote_config/configs.bzl:6:28: in initialize_rbe_configs
/build/deepspeech/src/DeepSpeech-0.9.3/tensorflow/third_party/toolchains/remote_config/rbe_config.bzl:158:27: in _tensorflow_local_config
Repository rule local_python_configure defined at:
/build/deepspeech/src/DeepSpeech-0.9.3/tensorflow/third_party/py/python_configure.bzl:275:41: in <toplevel>
ERROR: An error occurred during the fetch of repository 'local_config_python':
Traceback (most recent call last):
File "/build/deepspeech/src/DeepSpeech-0.9.3/tensorflow/third_party/py/python_configure.bzl", line 267, column 40, in _python_autoconf_impl
_create_local_python_repository(repository_ctx)
File "/build/deepspeech/src/DeepSpeech-0.9.3/tensorflow/third_party/py/python_configure.bzl", line 212, column 41, in _create_local_python_repository
python_include = _get_python_include(repository_ctx, python_bin)
File "/build/deepspeech/src/DeepSpeech-0.9.3/tensorflow/third_party/py/python_configure.bzl", line 152, column 21, in _get_python_include
result = execute(
File "/build/deepspeech/src/DeepSpeech-0.9.3/tensorflow/third_party/remote_config/common.bzl", line 208, column 13, in execute
fail(
Error in fail: Problem getting python include path.
<string>:1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
<string>:1: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead
Is the Python binary path set up right? (See ./configure or PYTHON_BIN_PATH.) Is distutils installed?
INFO: Repository rules_java instantiated at:
/DEFAULT.WORKSPACE.SUFFIX:269:6: in <toplevel>
/build/.cache/bazel/_bazel_builduser/bf9596911d202c14854a83cbf4e00e79/external/bazel_tools/tools/build_defs/repo/utils.bzl:201:18: in maybe
Repository rule http_archive defined at:
/build/.cache/bazel/_bazel_builduser/bf9596911d202c14854a83cbf4e00e79/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
ERROR: Analysis of target '//native_client:libdeepspeech.so' failed; build aborted: Problem getting python include path.
<string>:1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
<string>:1: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead
Is the Python binary path set up right? (See ./configure or PYTHON_BIN_PATH.) Is distutils installed?
INFO: Elapsed time: 11.734s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (11 packages loaded, 11 targets configured)
FAILED: Build did NOT complete successfully (11 packages loaded, 11 targets configured)
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Build failed, check /var/lib/aurbuild/x86_64/aur/build
