From c89b2b03b0680e00f65eacfd76e7798f1485386d Mon Sep 17 00:00:00 2001 From: Konrad Kleine Date: Mon, 1 Jul 2024 14:03:54 +0000 Subject: [PATCH] Avoid building lldb docs This should fix this error: ``` Jul 01 12:48:27 FAILED: tools/lldb/docs/CMakeFiles/docs-lldb-html /home/fedora/src/llvm-rpms/llvm-big-merge/BUILD/llvm-project-e19ac0dcfd7357161210f157ed0559836e88155f/llvm/redhat-linux-build/tools/lldb/docs/CMakeFiles/docs-lldb-html Jul 01 12:48:27 cd /home/fedora/src/llvm-rpms/llvm-big-merge/BUILD/llvm-project-e19ac0dcfd7357161210f157ed0559836e88155f/llvm/redhat-linux-build/tools/lldb/docs && /usr/bin/cmake -E env LLDB_SWIG_MODULE=/home/fedora/src/llvm-rpms/llvm-big-merge/BUILD/llvm-project-e19ac0dcfd7357161210f157ed0559836e88155f/llvm/redhat-linux-build/tools/lldb/docs /usr/bin/sphinx-build-3 -b html -d /home/fedora/src/llvm-rpms/llvm-big-merge/BUILD/llvm-project-e19ac0dcfd7357161210f157ed0559836e88155f/llvm/redhat-linux-build/tools/lldb/docs/_doctrees-lldb-html -q -t builder-html -D version=19 -D release=mainline /home/fedora/src/llvm-rpms/llvm-big-merge/BUILD/llvm-project-e19ac0dcfd7357161210f157ed0559836e88155f/lldb/docs /home/fedora/src/llvm-rpms/llvm-big-merge/BUILD/llvm-project-e19ac0dcfd7357161210f157ed0559836e88155f/llvm/redhat-linux-build/tools/lldb/docs/html Jul 01 12:48:27 Jul 01 12:48:27 Extension error: Jul 01 12:48:27 Could not import extension sphinx_automodapi.automodapi (exception: No module named 'sphinx_automodapi') Jul 01 12:48:27 install sphinx_automodapi with /usr/bin/python3 -m pip install sphinx_automodapi Jul 01 12:48:27 install sphinx furo theme with /usr/bin/python3 -m pip install furo ``` the two python modules are not in fedroa unfortunately. --- prep.spec.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/prep.spec.inc b/prep.spec.inc index 35a0693..fe1b528 100644 --- a/prep.spec.inc +++ b/prep.spec.inc @@ -58,5 +58,6 @@ #endregion #region LLDB preparation -# Nothing needed here because the sources are extracted with the llvm tarball. +# Empty lldb/docs/CMakeLists.txt because we cannot build it +echo "" > lldb/docs/CMakeLists.txt #endregion