try to build nemo docker failed on jeston agx xavier 
State: closed | Pull request: no
Labels: name: stale

jetson environment:  L4T 35.3.1, JETPACK:5.1.1
BASE_IMAGE=nvcr.io/nvidia/pytorch:23.06-py3
failed docker command: RUN for f in $(ls requirements*.txt); do pip3 install --disable-pip-version-check --no-cache-dir -r $f; done

Here is the attached dockerfile I used. can you please help to review the log below and give me some advices? thank you a lot for you help in advance!
...
948.3     running build
948.3     running build_py
948.3     creating build
948.3     creating build/lib.linux-aarch64-3.10
948.3     creating build/lib.linux-aarch64-3.10/pynini
948.3     copying pynini/__init__.py -> build/lib.linux-aarch64-3.10/pynini
948.3     creating build/lib.linux-aarch64-3.10/pywrapfst
948.3     copying pywrapfst/__init__.py -> build/lib.linux-aarch64-3.10/pywrapfst
948.3     creating build/lib.linux-aarch64-3.10/pynini/examples
948.3     copying pynini/examples/t9.py -> build/lib.linux-aarch64-3.10/pynini/examples
948.3     copying pynini/examples/g2p.py -> build/lib.linux-aarch64-3.10/pynini/examples
948.3     copying pynini/examples/case.py -> build/lib.linux-aarch64-3.10/pynini/examples
948.3     copying pynini/examples/plurals.py -> build/lib.linux-aarch64-3.10/pynini/examples
948.3     copying pynini/examples/dates.py -> build/lib.linux-aarch64-3.10/pynini/examples
948.3     copying pynini/examples/weather.py -> build/lib.linux-aarch64-3.10/pynini/examples
948.3     copying pynini/examples/numbers.py -> build/lib.linux-aarch64-3.10/pynini/examples
948.3     copying pynini/examples/chatspeak.py -> build/lib.linux-aarch64-3.10/pynini/examples
948.3     copying pynini/examples/__init__.py -> build/lib.linux-aarch64-3.10/pynini/examples
948.3     copying pynini/examples/chatspeak_model.py -> build/lib.linux-aarch64-3.10/pynini/examples
948.3     creating build/lib.linux-aarch64-3.10/pynini/export
948.3     copying pynini/export/grm_example.py -> build/lib.linux-aarch64-3.10/pynini/export
948.3     copying pynini/export/multi_grm_example.py -> build/lib.linux-aarch64-3.10/pynini/export
948.3     copying pynini/export/multi_grm.py -> build/lib.linux-aarch64-3.10/pynini/export
948.3     copying pynini/export/grm.py -> build/lib.linux-aarch64-3.10/pynini/export
948.3     copying pynini/export/export.py -> build/lib.linux-aarch64-3.10/pynini/export
948.3     copying pynini/export/__init__.py -> build/lib.linux-aarch64-3.10/pynini/export
948.3     creating build/lib.linux-aarch64-3.10/pynini/lib
948.3     copying pynini/lib/paradigms.py -> build/lib.linux-aarch64-3.10/pynini/lib
948.3     copying pynini/lib/rule_cascade.py -> build/lib.linux-aarch64-3.10/pynini/lib
948.3     copying pynini/lib/edit_transducer.py -> build/lib.linux-aarch64-3.10/pynini/lib
948.3     copying pynini/lib/features.py -> build/lib.linux-aarch64-3.10/pynini/lib
948.3     copying pynini/lib/utf8.py -> build/lib.linux-aarch64-3.10/pynini/lib
948.3     copying pynini/lib/pynutil.py -> build/lib.linux-aarch64-3.10/pynini/lib
948.3     copying pynini/lib/tagger.py -> build/lib.linux-aarch64-3.10/pynini/lib
948.3     copying pynini/lib/rewrite.py -> build/lib.linux-aarch64-3.10/pynini/lib
948.3     copying pynini/lib/__init__.py -> build/lib.linux-aarch64-3.10/pynini/lib
948.3     copying pynini/lib/byte.py -> build/lib.linux-aarch64-3.10/pynini/lib
948.3     copying pynini/__init__.pyi -> build/lib.linux-aarch64-3.10/pynini
948.3     copying pynini/py.typed -> build/lib.linux-aarch64-3.10/pynini
948.3     copying pywrapfst/__init__.pyi -> build/lib.linux-aarch64-3.10/pywrapfst
948.3     copying pywrapfst/py.typed -> build/lib.linux-aarch64-3.10/pywrapfst
948.3     copying pynini/examples/py.typed -> build/lib.linux-aarch64-3.10/pynini/examples
948.3     copying pynini/export/py.typed -> build/lib.linux-aarch64-3.10/pynini/export
948.3     copying pynini/lib/py.typed -> build/lib.linux-aarch64-3.10/pynini/lib
948.3     running build_ext
948.3     building '_pywrapfst' extension
948.3     creating build/temp.linux-aarch64-3.10
948.3     creating build/temp.linux-aarch64-3.10/extensions
948.3     aarch64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.10 -c extensions/_pywrapfst.cpp -o build/temp.linux-aarch64-3.10/extensions/_pywrapfst.o -std=c++17 -Wno-register -Wno-deprecated-declarations -Wno-unused-function -Wno-unused-local-typedefs -funsigned-char
948.3     extensions/_pywrapfst.cpp:817:10: fatal error: fst/util.h: No such file or directory
948.3       817 | #include <fst/util.h>
948.3           |          ^~~~~~~~~~~~
948.3     compilation terminated.
948.3     error: command '/usr/bin/aarch64-linux-gnu-gcc' failed with exit code 1
948.3     ----------------------------------------
948.3 ERROR: Command errored out with exit status 1: /usr/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-6qwvruv7/pynini_e949233f3b0049558795db9e6479e190/setup.py'"'"'; __file__='"'"'/tmp/pip-install-6qwvruv7/pynini_e949233f3b0049558795db9e6479e190/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-u3jlnu2d/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.10/pynini Check the logs for full command output.
------
Dockerfile:73
--------------------
  71 |     WORKDIR /tmp/nemo
  72 |     COPY requirements .
  73 | >>> RUN for f in $(ls requirements*.txt); do pip3 install --disable-pip-version-check --no-cache-dir -r $f; done
  74 |     
  75 |     # install flash attention dependencies
--------------------
ERROR: failed to solve: process "/bin/sh -c for f in $(ls requirements*.txt); do pip3 install --disable-pip-version-check --no-cache-dir -r $f; done" did not complete successfully: exit code: 1
[Dockerfile.TXT](https://github.com/NVIDIA/NeMo/files/11996513/Dockerfile.TXT)