Hello community, I am trying to compile libvirt from source but being trapped with following error message when running ninja -C build ninja -C build ninja: Entering directory `build' [1/12] Generating virkeyname-osx.html with a meson_exe.py custom command FAILED: docs/manpages/virkeyname-osx.html /home/sjt/.local/bin/meson --internal exe --capture docs/manpages/virkeyname-osx.html -- /usr/bin/xsltproc --stringparam pagesrc docs/manpages/virkeyname-osx.rst --stringparam builddir /home/sjt/src/c/libvirt/build --stringparam timestamp 'Thu Jun 3 23:11:25 2021 UTC' --nonet ../docs/subsite.xsl docs/manpages/virkeyname-osx.html.in docs/manpages/virkeyname-osx.html.in:17: parser error : Double hyphen within comment: <!-- This file is auto-generated from keymaps.csv Data keymap-gen --lang=rst --title=virkeyname-osx --subtitle=Key name values for os ^ docs/manpages/virkeyname-osx.html.in:17: parser error : Double hyphen within comment: <!-- This file is auto-generated from keymaps.csv Data keymap-gen --lang=rst --title=virkeyname-osx --subtitle=Key name values for os ^ docs/manpages/virkeyname-osx.html.in:17: parser error : Double hyphen within comment: <!-- This file is auto-generated from keymaps.csv Data keymap-gen --lang=rst --title=virkeyname-osx --subtitle=Key name values for os ^ unable to parse docs/manpages/virkeyname-osx.html.in [2/12] Generating virkeycode-usb.html with a meson_exe.py custom command FAILED: docs/manpages/virkeycode-usb.html /home/sjt/.local/bin/meson --internal exe --capture docs/manpages/virkeycode-usb.html -- /usr/bin/xsltproc --stringparam pagesrc docs/manpages/virkeycode-usb.rst --stringparam builddir /home/sjt/src/c/libvirt/build --stringparam timestamp 'Thu Jun 3 23:11:25 2021 UTC' --nonet ../docs/subsite.xsl docs/manpages/virkeycode-usb.html.in docs/manpages/virkeycode-usb.html.in:17: parser error : Double hyphen within comment: <!-- This file is auto-generated from keymaps.csv Data keymap-gen --lang=rst --title=virkeycode-usb --subtitle=Key code values for us ^ docs/manpages/virkeycode-usb.html.in:17: parser error : Double hyphen within comment: <!-- This file is auto-generated from keymaps.csv Data keymap-gen --lang=rst --title=virkeycode-usb --subtitle=Key code values for us ^ docs/manpages/virkeycode-usb.html.in:17: parser error : Double hyphen within comment: <!-- This file is auto-generated from keymaps.csv Data keymap-gen --lang=rst --title=virkeycode-usb --subtitle=Key code values for us ^ unable to parse docs/manpages/virkeycode-usb.html.in [3/12] Generating virkeycode-atset1.html with a meson_exe.py custom command FAILED: docs/manpages/virkeycode-atset1.html /home/sjt/.local/bin/meson --internal exe --capture docs/manpages/virkeycode-atset1.html -- /usr/bin/xsltproc --stringparam pagesrc docs/manpages/virkeycode-atset1.rst --stringparam builddir /home/sjt/src/c/libvirt/build --stringparam timestamp 'Thu Jun 3 23:11:25 2021 UTC' --nonet ../docs/subsite.xsl docs/manpages/ virkeycode-atset1.html.in docs/manpages/virkeycode-atset1.html.in:17: parser error : Double hyphen within comment: <!-- This file is auto-generated from keymaps.csv Data keymap-gen --lang=rst --title=virkeycode-atset1 --subtitle=Key code values for ^ docs/manpages/virkeycode-atset1.html.in:17: parser error : Double hyphen within comment: <!-- This file is auto-generated from keymaps.csv Data keymap-gen --lang=rst --title=virkeycode-atset1 --subtitle=Key code values for ^ docs/manpages/virkeycode-atset1.html.in:17: parser error : Double hyphen within comment: <!-- This file is auto-generated from keymaps.csv Data keymap-gen --lang=rst --title=virkeycode-atset1 --subtitle=Key code values for ^ unable to parse docs/manpages/virkeycode-atset1.html.in [4/12] Generating virkeycode-xtkbd.html with a meson_exe.py custom command FAILED: docs/manpages/virkeycode-xtkbd.html any advice on how to fix it? thank you very much -- Best Regards, Jiatong Shen -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20210604/a67c9009/attachment.htm>
On Fri, Jun 04, 2021 at 07:21:59AM +0800, Jiatong Shen wrote:> Hello community, > > I am trying to compile libvirt from source but being trapped with following > error message when running ninja -C build > > ninja -C build > ninja: Entering directory `build' > [1/12] Generating virkeyname-osx.html with a meson_exe.py custom command > FAILED: docs/manpages/virkeyname-osx.html > /home/sjt/.local/bin/meson --internal exe --capture > docs/manpages/virkeyname-osx.html -- /usr/bin/xsltproc --stringparam > pagesrc docs/manpages/virkeyname-osx.rst --stringparam builddir > /home/sjt/src/c/libvirt/build --stringparam timestamp 'Thu Jun 3 23:11:25 > 2021 UTC' --nonet ../docs/subsite.xsl docs/manpages/virkeyname-osx.html.in > docs/manpages/virkeyname-osx.html.in:17: parser error : Double hyphen > within comment: <!-- This file is auto-generated from keymaps.csv > Data > keymap-gen --lang=rst --title=virkeyname-osx --subtitle=Key name values > for os > ^ > > any advice on how to fix it? thank you very muchCan you please apply https://gitlab.com/abologna/libvirt/-/commit/678634eb12247b291dacef7a678fa4c50c52f99f and try again? If that works for you, I'll submit the patch to the mailing list. Feel free to provide a Tested-By tag. -- Andrea Bolognani / Red Hat / Virtualization