Error Creating Native Client v0.5.1

Hello Team,

While creating native_client, I am getting the following error. Please advice on it.

DeepSpeech - v0.5.1
Bazel - v0.19.2

Steps followed:

$ git clone https://github.com/mozilla/DeepSpeech
$ cd DeepSpeech
$ git checkout v0.5.1

$ git clone https://github.com/mozilla/tensorflow/
$ cd tensorflow
$ git checkout r1.13
$ ./configure

$ ln -s ../DeepSpeech/native_client/ ./
$ bazel build --workspace_status_command="bash native_client/bazel_workspace_status_cmd.sh" --config=monolithic -c opt --copt=-O3 --copt="-D_GLIBCXX_USE_CXX11_ABI=0" --copt=-fvisibility=hidden //native_client:libdeepspeech.so //native_client:generate_trie --config=cuda

Error:

Starting local Bazel server and connecting to it...
WARNING: The following configs were expanded more than once: [cuda]. For repeatable flags, repeats are counted twice and may lead to unexpected behavior.
DEBUG: /media/data/LTLab.lan/agarwal/.cache/bazel/_bazel_agarwal@LTLab.lan/1301418c2f85e92fdd4e37ec3f5e36c7/external/bazel_tools/tools/cpp/lib_cc_configure.bzl:115:5:
Auto-Configuration Warning: 'TMP' environment variable is not set, using 'C:\Windows\Temp' as default
INFO: Analysed 2 targets (77 packages loaded, 5676 targets configured).
INFO: Found 2 targets...
ERROR: Process exited with status 127: Process exited with status 127
bash: native_client/bazel_workspace_status_cmd.sh: No such file or directory
INFO: Elapsed time: 7.016s, Critical Path: 0.03s, Remote (0.00% of the time): [queue: 0.00%, setup: 0.00%, process: 0.00%]
INFO: 0 processes.
FAILED: Build did NOT complete successfully[error-logs.zip|attachment]

Added logs for reference.
error-logs.zip (2,8 KB)

Please follow the documentation from v0.5.1: https://github.com/mozilla/DeepSpeech/blob/v0.5.1/native_client/README.md

1 Like