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 much Can 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