On Mon, Sep 14, 2020 at 02:49:20PM +0200, Erik Skultety wrote: > On Mon, Sep 14, 2020 at 02:44:16PM +0300, Eli Cohen wrote: > > On Mon, Sep 14, 2020 at 12:14:40PM +0100, Daniel P. Berrangé wrote: > > > > > > > > $ 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. > > > > > > > > > > Looks to me like the build scripts look for rst2html5 in > > /usr/local/bin/. In anycase I did not put any package in /usr/local. In > > any case, I see different versions of rst2html5 in both /usr/bin and > > /usr/local/bin. > > It's not the build script that looks under /usr/local/bin, it's the PATH > variable which likely lists /usr/local/bin before /usr/bin. So, the only > explanation I have for you as for how rst2html5 appeared under /usr/local/bin > is that you or someone else installed it with pip as root. > And the new docutils 0.16 looks like broke libvirt, so please stick with 0.15. It isn't docutils version that matters actually. It turns out there are 2 completely separate impls of rst2html5. One that is bundled with docutils on pip, which is the one libvirt works with. The other is in a rst2html5 package on pip. Basically need to remove the standalone rst2html5 pacakge that was installed from pip, or remove /usr/local/bin from $PATH so that it finds the from one docutils in /usr/bin 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 :|