diff mbox series

[6/6] orc: Enable hotdoc to produce doc

Message ID 20260129035353.8982-7-liuyd.fnst@fujitsu.com
State New
Headers show
Series Investigate hotdoc and add a recipe to build it | expand

Commit Message

Liu Yiding Jan. 29, 2026, 3:53 a.m. UTC
Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
---
 .../orc/orc/0001-Fix-hotdoc-run-error.patch   | 37 +++++++++++++++++++
 meta/recipes-devtools/orc/orc_0.4.42.bb       |  5 ++-
 2 files changed, 41 insertions(+), 1 deletion(-)
 create mode 100644 meta/recipes-devtools/orc/orc/0001-Fix-hotdoc-run-error.patch

Comments

patchtest@automation.yoctoproject.org Jan. 29, 2026, 4:01 a.m. UTC | #1
Thank you for your submission. Patchtest identified one
or more issues with the patch. Please see the log below for
more information:

---
Testing patch /home/patchtest/share/mboxes/6-6-orc-Enable-hotdoc-to-produce-doc.patch

FAIL: test commit message presence: Please include a commit message on your patch explaining the change (test_mbox.TestMbox.test_commit_message_presence)

PASS: test CVE tag format (test_patch.TestPatch.test_cve_tag_format)
PASS: test Signed-off-by presence (test_mbox.TestMbox.test_signed_off_by_presence)
PASS: test Signed-off-by presence (test_patch.TestPatch.test_signed_off_by_presence)
PASS: test Upstream-Status presence (test_patch.TestPatch.test_upstream_status_presence_format)
PASS: test author valid (test_mbox.TestMbox.test_author_valid)
PASS: test commit message user tags (test_mbox.TestMbox.test_commit_message_user_tags)
PASS: test mbox format (test_mbox.TestMbox.test_mbox_format)
PASS: test non-AUH upgrade (test_mbox.TestMbox.test_non_auh_upgrade)
PASS: test shortlog format (test_mbox.TestMbox.test_shortlog_format)
PASS: test shortlog length (test_mbox.TestMbox.test_shortlog_length)
PASS: test target mailing list (test_mbox.TestMbox.test_target_mailing_list)

SKIP: pretest pylint: No python related patches, skipping test (test_python_pylint.PyLint.pretest_pylint)
SKIP: test bugzilla entry format: No bug ID found (test_mbox.TestMbox.test_bugzilla_entry_format)
SKIP: test pylint: No python related patches, skipping test (test_python_pylint.PyLint.test_pylint)
SKIP: test series merge on head: Merge test is disabled for now (test_mbox.TestMbox.test_series_merge_on_head)

---

Please address the issues identified and
submit a new revision of the patch, or alternatively, reply to this
email with an explanation of why the patch should be accepted. If you
believe these results are due to an error in patchtest, please submit a
bug at https://bugzilla.yoctoproject.org/ (use the 'Patchtest' category
under 'Yocto Project Subprojects'). For more information on specific
failures, see: https://wiki.yoctoproject.org/wiki/Patchtest. Thank
you!
diff mbox series

Patch

diff --git a/meta/recipes-devtools/orc/orc/0001-Fix-hotdoc-run-error.patch b/meta/recipes-devtools/orc/orc/0001-Fix-hotdoc-run-error.patch
new file mode 100644
index 0000000000..277ce038f8
--- /dev/null
+++ b/meta/recipes-devtools/orc/orc/0001-Fix-hotdoc-run-error.patch
@@ -0,0 +1,36 @@ 
+Subject: [PATCH] Fix hotdoc run error.
+
+Fix the following error.
+| Running custom install script 'tmp/work/x86-64-v3-poky-linux/orc/0.4.42/recipe-sysroot-native/usr/bin/meson.real --internal hotdoc --install orc-doc/html --docdir /usr/share/doc/orc/html --name orc --builddir tmp/work/x86-64-v3-poky-linux/orc/0.4.42/build/doc tmp/work/x86-64-v3-poky-linux/orc/0.4.42/recipe-sysroot-native/usr/bin/hotdoc run --conf-file orc-doc.json'
+| --- stdout ---
+|
+| --- stderr ---
+| ERROR: [doc-tree]: (index-extension-not-found): tmp/work/x86-64-v3-poky-linux/orc/0.4.42/sources/orc-0.4.42/doc/sitemap.txt:8:10: No extension named c for index page
+| 00006:                tutorial.md
+| 00007:                opcodes.md
+| 00008:        c-index
+|               ^
+| 00009:
+|
+
+Remove c-index as it is not in the doc directory.
+
+Upstream-Status: Pending
+
+Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
+---
+ doc/sitemap.txt | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/doc/sitemap.txt b/doc/sitemap.txt
+index 568b367..40a7f99 100644
+--- a/doc/sitemap.txt
++++ b/doc/sitemap.txt
+@@ -5,4 +5,3 @@ index.md
+ 		concepts.md
+ 		tutorial.md
+ 		opcodes.md
+-	c-index
+-- 
+2.43.0
+
diff --git a/meta/recipes-devtools/orc/orc_0.4.42.bb b/meta/recipes-devtools/orc/orc_0.4.42.bb
index f56b9058c2..b73c8df04d 100644
--- a/meta/recipes-devtools/orc/orc_0.4.42.bb
+++ b/meta/recipes-devtools/orc/orc_0.4.42.bb
@@ -4,11 +4,14 @@  DESCRIPTION = "Optimised Inner Loop Runtime Compiler is a Library and set of too
 LICENSE = "BSD-2-Clause & BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://COPYING;md5=1400bd9d09e8af56b9ec982b3d85797e"
 
-SRC_URI = "http://gstreamer.freedesktop.org/src/orc/orc-${PV}.tar.xz"
+SRC_URI = "http://gstreamer.freedesktop.org/src/orc/orc-${PV}.tar.xz \
+           file://0001-Fix-hotdoc-run-error.patch \
+          "
 SRC_URI[sha256sum] = "7ec912ab59af3cc97874c456a56a8ae1eec520c385ec447e8a102b2bd122c90c"
 
 inherit meson pkgconfig
 
+DEPENDS = "hotdoc-native"
 # distinguish from apache:orc
 CVE_PRODUCT = "gstreamer:orc"