On Fri, Mar 17, 2023 at 11:07:49AM +0000, Daniel Pielmeier wrote: > Am 17. März 2023 08:52:53 UTC schrieb John Covici <cov...@ccs.covici.com>: > > > >On Fri, 17 Mar 2023 03:03:37 -0400, > >Daniel Pielmeier wrote: > >> > >> Am 17. März 2023 06:42:11 UTC schrieb John Covici <cov...@ccs.covici.com>: > >> >media-video/mpv-0.35.1-r1 will not compile -- here is a portion of the > >> >build log. > >> >[19/438] /usr/bin/rst2man.py --strip-elements-with-class=contents > >> >../mpv-0.35.1/DOCS/man/mpv.rst mpv.1 > >> >[20/438] /usr/bin/rst2html ../mpv-0.35.1/DOCS/man/mpv.rst mpv.html > >> >^[[31mFAILED: ^[[0mmpv.html > >> >/usr/bin/rst2html ../mpv-0.35.1/DOCS/man/mpv.rst mpv.html > >> >/bin/sh: line 1: /usr/bin/rst2html: cannot execute: required file not > >> >found > >> >ninja: build stopped: subcommand failed. > >> > > >> >I looked on bgo, but found nothing -- anyone seen this or should I > >> >file a bug? > >> > >> Do you have dev-python/docutils installed and if not does it compile if > >> you install it? > > > >Thanks for your quick response. I have 0.19 of that package. > > > > I am asking because I think rst2html is shipped with the docutils package. > Does /usr/bin/rst2html exist on your system? Maybe also search for anything > on the system containing rst2html. >
It's not, docutils only ships rst2html.py and it's the normal name to use ("some" distros rename it or make a symlink, but Gentoo only use the upstream intended name, you wouldn't get a rst2html if you installed it with e.g. pip too). Because of these distros, mpv tries rst2html then rst2html.py if it's not found. Error is confusing, thing is that rst2html was found, but the "not found" error was about the python interpreter (as noted in another mail). Long story short, it'd be fine if this broken /usr/bin/rst2html simply didn't exist, no need for a symlink or anything like that. -- ionen
signature.asc
Description: PGP signature