[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Help on Meson build Error



On Fri, Sep 25, 2020 at 4:54 PM Daniel P. Berrangé <berrange redhat com> wrote:

> Yes, I tried, but it fails with
> ../src/util/virfile.c:42:11: fatal error: libutil.h: No such file or
> directory

You'd have to delete the build dir and re-run meson so that it
auto-detects again.


OK, that issue seems gone, but ninja reports lots of new errors:


ninja: Entering directory `build'
[947/1250] Generating virsh.html.in with a meson_exe.py custom command
FAILED: docs/manpages/virsh.html.in
/usr/bin/meson --internal exe --capture docs/manpages/virsh.html.in -- /usr/local/bin/rst2html5 --stylesheet= --strict docs/manpages/virsh.rst
docs/manpages/virsh.rst:41: (ERROR/3) Error in "code-block" directive:
1 argument(s) required, 0 supplied.

.. code-block::

   virsh [OPTION]... <command> <domain> [ARG]...


Exiting due to level-3 (ERROR) system message.
[952/1250] Generating virt-admin.html.in with a meson_exe.py custom command
FAILED: docs/manpages/virt-admin.html.in
/usr/bin/meson --internal exe --capture docs/manpages/virt-admin.html.in -- /usr/local/bin/rst2html5 --stylesheet= --strict docs/manpages/virt-admin.rst
docs/manpages/virt-admin.rst:31: (ERROR/3) Error in "code-block" directive:
1 argument(s) required, 0 supplied.

.. code-block::

   virt-admin [OPTION]... <command> [ARG]...

Exiting due to level-3 (ERROR) system message.
[960/1250] Generating libvirtd.html.in with a meson_exe.py custom command
FAILED: docs/manpages/libvirtd.html.in
/usr/bin/meson --internal exe --capture docs/manpages/libvirtd.html.in -- /usr/local/bin/rst2html5 --stylesheet= --strict docs/manpages/libvirtd.rst
docs/manpages/libvirtd.rst:202: (ERROR/3) Error in "code-block" directive:
1 argument(s) required, 0 supplied.

.. code-block::

  # libvirtd --version
  libvirtd (libvirt) 0.8.2


Exiting due to level-3 (ERROR) system message.
[961/1250] Generating virt-login-shell.html.in with a meson_exe.py custom command
FAILED: docs/manpages/virt-login-shell.html.in
/usr/bin/meson --internal exe --capture docs/manpages/virt-login-shell.html.in -- /usr/local/bin/rst2html5 --stylesheet= --strict docs/manpages/virt-login-shell.rst
docs/manpages/virt-login-shell.rst:32: (ERROR/3) Error in "code-block" directive:
1 argument(s) required, 0 supplied.

.. code-block::

   virt-login-shell


Exiting due to level-3 (ERROR) system message.
[965/1250] Generating virtlockd.html.in with a meson_exe.py custom command
FAILED: docs/manpages/virtlockd.html.in
/usr/bin/meson --internal exe --capture docs/manpages/virtlockd.html.in -- /usr/local/bin/rst2html5 --stylesheet= --strict docs/manpages/virtlockd.rst
docs/manpages/virtlockd.rst:123: (ERROR/3) Error in "code-block" directive:
1 argument(s) required, 0 supplied.

.. code-block::

  # virtlockd --version
  virtlockd (libvirt) 1.1.1

Exiting due to level-3 (ERROR) system message.
[966/1250] Generating virtlogd.html.in with a meson_exe.py custom command
FAILED: docs/manpages/virtlogd.html.in
/usr/bin/meson --internal exe --capture docs/manpages/virtlogd.html.in -- /usr/local/bin/rst2html5 --stylesheet= --strict docs/manpages/virtlogd.rst
docs/manpages/virtlogd.rst:124: (ERROR/3) Error in "code-block" directive:
1 argument(s) required, 0 supplied.

.. code-block::

  # virtlogd --version
  virtlogd (libvirt) 1.1.1

Exiting due to level-3 (ERROR) system message.
[967/1250] Generating virkeycode-atset2.html.in with a meson_exe.py custom command
FAILED: docs/manpages/virkeycode-atset2.html.in
/usr/bin/meson --internal exe --capture docs/manpages/virkeycode-atset2.html.in -- /usr/local/bin/rst2html5 --stylesheet= --strict docs/manpages/virkeycode-atset2.rst
TypeError: append() argument must be xml.etree.ElementTree.Element, not str
Exiting due to error.  Use "--traceback" to diagnose.
Please report errors to <docutils-users lists sf net>.
Include "--traceback" output, Docutils version (0.16 [release]),
Python version (3.8.2), your OS type & version, and the
command line used.
[969/1250] Generating virkeycode-atset1.html.in with a meson_exe.py custom command
FAILED: docs/manpages/virkeycode-atset1.html.in
/usr/bin/meson --internal exe --capture docs/manpages/virkeycode-atset1.html.in -- /usr/local/bin/rst2html5 --stylesheet= --strict docs/manpages/virkeycode-atset1.rst
TypeError: append() argument must be xml.etree.ElementTree.Element, not str
Exiting due to error.  Use "--traceback" to diagnose.
Please report errors to <docutils-users lists sf net>.
Include "--traceback" output, Docutils version (0.16 [release]),
Python version (3.8.2), your OS type & version, and the
command line used.
[971/1250] Generating virkeycode-atset3.html.in with a meson_exe.py custom command
FAILED: docs/manpages/virkeycode-atset3.html.in
/usr/bin/meson --internal exe --capture docs/manpages/virkeycode-atset3.html.in -- /usr/local/bin/rst2html5 --stylesheet= --strict docs/manpages/virkeycode-atset3.rst
TypeError: append() argument must be xml.etree.ElementTree.Element, not str
Exiting due to error.  Use "--traceback" to diagnose.
Please report errors to <docutils-users lists sf net>.
Include "--traceback" output, Docutils version (0.16 [release]),
Python version (3.8.2), your OS type & version, and the
command line used.
[972/1250] Generating virkeycode-osx.html.in with a meson_exe.py custom command
FAILED: docs/manpages/virkeycode-osx.html.in
/usr/bin/meson --internal exe --capture docs/manpages/virkeycode-osx.html.in -- /usr/local/bin/rst2html5 --stylesheet= --strict docs/manpages/virkeycode-osx.rst
TypeError: append() argument must be xml.etree.ElementTree.Element, not str
Exiting due to error.  Use "--traceback" to diagnose.
Please report errors to <docutils-users lists sf net>.
Include "--traceback" output, Docutils version (0.16 [release]),
Python version (3.8.2), your OS type & version, and the
command line used.
[974/1250] Generating virkeycode-qnum.html.in with a meson_exe.py custom command
FAILED: docs/manpages/virkeycode-qnum.html.in
/usr/bin/meson --internal exe --capture docs/manpages/virkeycode-qnum.html.in -- /usr/local/bin/rst2html5 --stylesheet= --strict docs/manpages/virkeycode-qnum.rst
TypeError: append() argument must be xml.etree.ElementTree.Element, not str
Exiting due to error.  Use "--traceback" to diagnose.
Please report errors to <docutils-users lists sf net>.
Include "--traceback" output, Docutils version (0.16 [release]),
Python version (3.8.2), your OS type & version, and the
command line used.
[975/1250] Generating virkeycode-usb.html.in with a meson_exe.py custom command
FAILED: docs/manpages/virkeycode-usb.html.in
/usr/bin/meson --internal exe --capture docs/manpages/virkeycode-usb.html.in -- /usr/local/bin/rst2html5 --stylesheet= --strict docs/manpages/virkeycode-usb.rst
TypeError: append() argument must be xml.etree.ElementTree.Element, not str
Exiting due to error.  Use "--traceback" to diagnose.
Please report errors to <docutils-users lists sf net>.
Include "--traceback" output, Docutils version (0.16 [release]),
Python version (3.8.2), your OS type & version, and the
command line used.
[976/1250] Generating virkeycode-linux.html.in with a meson_exe.py custom command
FAILED: docs/manpages/virkeycode-linux.html.in
/usr/bin/meson --internal exe --capture docs/manpages/virkeycode-linux.html.in -- /usr/local/bin/rst2html5 --stylesheet= --strict docs/manpages/virkeycode-linux.rst
TypeError: append() argument must be xml.etree.ElementTree.Element, not str
Exiting due to error.  Use "--traceback" to diagnose.
Please report errors to <docutils-users lists sf net>.
Include "--traceback" output, Docutils version (0.16 [release]),
Python version (3.8.2), your OS type & version, and the
command line used.
[977/1250] Generating virkeycode-win32.html.in with a meson_exe.py custom command
FAILED: docs/manpages/virkeycode-win32.html.in
/usr/bin/meson --internal exe --capture docs/manpages/virkeycode-win32.html.in -- /usr/local/bin/rst2html5 --stylesheet= --strict docs/manpages/virkeycode-win32.rst
TypeError: append() argument must be xml.etree.ElementTree.Element, not str
Exiting due to error.  Use "--traceback" to diagnose.
Please report errors to <docutils-users lists sf net>.
Include "--traceback" output, Docutils version (0.16 [release]),
Python version (3.8.2), your OS type & version, and the
command line used.
[991/1250] Compiling C object tests/qemuxml2xmltest.p/qemuxml2xmltest.c.o
../tests/qemuxml2xmltest.c: In function ‘mymain’:
../tests/qemuxml2xmltest.c:131:1: note: variable tracking size limit exceeded with ‘-fvar-tracking-assignments’, retrying without
  131 | mymain(void)
      | ^~~~~~
[992/1250] Compiling C object tests/cputest.p/cputest.c.o
ninja: build stopped: subcommand failed.

Thanks,
Wei
 

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]