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

Re: Issues with building libvirt v6.7.0 on RHEL8.3



On Mon, Sep 14, 2020 at 02:08:55PM +0300, Eli Cohen wrote:
> On Mon, Sep 14, 2020 at 11:38:06AM +0100, Daniel P. Berrangé wrote:
> 
> Thanks for your reply, it is very helpful.
> 
> > On Mon, Sep 14, 2020 at 01:11:01PM +0300, Eli Cohen wrote:
> > > Hello all,
> > > 
> > > I hope this is being posted in the right mailing list.
> > > 
> > > I am trying to build libvirt v6.7.0 on RHEL8.3 x86_64 server in order to
> > > later apply patches for VDPA support posted recently by Jonathon Jongsma
> > > <jjongsma redhat com>.
> > > 
> > > I am following the instrutions in https://libvirt.org/contribute.html
> 
> Link above is wrong, I really meant https://libvirt.org/compiling.html
> 
> > > and running from the root directory:
> > > 
> > > meson build --prefix=/usr
> > > 
> > > I fail on the following error:
> > > meson.build:921:2: ERROR: Program 'rpcgen portable-rpcgen' not found
> > >
> > > I can't find any reference how to overcome this obstacle.
> > 
> > The rpcgen program is provided by the rpcgen RPM. eg
> > 
> >   $ dnf install  rpcgen
> >
> 
> > Or more generally you can get almost everything libvirt needs by
> > doing
> > 
> >   $ dnf builddep libvirt
> 
> This does not work in my RHEL 8.3 machine but it does work on FC32.
> After this I can successfuly run meson build --prefix=/usr
> 
> Now after running ninja -C build
> 
> I am getting some errors. Here's just the first two.
> 
> $ ninja -C build
> ninja: Entering directory `build'
> [1124/1210] 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

We'd expect to see that in /usr/bin/rst2html5 - it looks lke you've
installed a non-standard docutils build / version and that appears to
be breaking docs generation.


> 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.
> [1140/1210] 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.

Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|


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