diff options
author | Leonardo Sandoval <leonardo.sandoval@linaro.org> | 2020-11-17 16:21:17 -0600 |
---|---|---|
committer | Fathi Boudra <fathi.boudra@linaro.org> | 2020-11-18 09:47:00 +0100 |
commit | e284e9be7e232ea6c30849cabef15051ab384288 (patch) | |
tree | 55e0f5ad8b2c5428abacd2103452caf30285fdc3 /bionic-amd64-tf-a-build | |
parent | e6f76beb3b7e423c52f3dea3af59aa48fdcca28d (diff) | |
download | dockerfiles-e284e9be7e232ea6c30849cabef15051ab384288.tar.gz |
TF: add plantuml wrapper script
TF-A documentation build triggers the following python exception:
Exception occurred:
File "/usr/local/lib/python3.6/dist-packages/sphinxcontrib/plantuml.py", line 352, in _prepare_html_render
self.builder.warn(str(err))
AttributeError: 'StandaloneHTMLBuilder' object has no attribute 'warn'
The full traceback has been saved in /tmp/sphinx-err-oyao8gvj.log, if you want to report the issue to the developers.
Please also report this if it was a user error, so that a better error message can be provided next time.
A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks!
Makefile:25: recipe for target 'html' failed
make[2]: *** [html] Error 2
Makefile:1295: recipe for target 'doc' failed
make[1]: *** [doc] Error 2
It's caused by sphinx trying to run plantuml command which doesn't exist
since we install the jar manually. Add a wrapper shell script to fix the
issue.
Signed-off-by: Leonardo Sandoval <leonardo.sandoval@linaro.org>
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Change-Id: Ie48273ee50581ca7c32f13629f6e95b18882b912
Diffstat (limited to 'bionic-amd64-tf-a-build')
-rwxr-xr-x | bionic-amd64-tf-a-build/tf-dependencies.install | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bionic-amd64-tf-a-build/tf-dependencies.install b/bionic-amd64-tf-a-build/tf-dependencies.install index 0512b9b..f0f3c07 100755 --- a/bionic-amd64-tf-a-build/tf-dependencies.install +++ b/bionic-amd64-tf-a-build/tf-dependencies.install @@ -10,6 +10,11 @@ tar -xf /tmp/cppcheck.tar.gz -C /opt # Install PlantUML curl --create-dirs -fsSLo ${PLANTUML_JAR_PATH} \ https://repo1.maven.org/maven2/net/sourceforge/plantuml/plantuml/1.2019.6/plantuml-1.2019.6.jar +cat << EOF > /usr/bin/plantuml +#!/bin/sh +/usr/bin/java -jar ${PLANTUML_JAR_PATH} \${@} +EOF +chmod 0755 /usr/bin/plantuml # Install CMake curl --connect-timeout 5 --retry 5 --retry-delay 1 --create-dirs -fsSLo /tmp/cmake-Linux-x86_64.tar.gz \ |