Gentoo Archives: gentoo-user

From: Ionen Wolkens <ionen@g.o>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] mpv no longer compiles
Date: Fri, 17 Mar 2023 18:39:13
Message-Id: ZBSzyEWeB9TdUVU8@eversor
In Reply to: Re: [gentoo-user] mpv no longer compiles by Daniel Pielmeier
1 On Fri, Mar 17, 2023 at 11:07:49AM +0000, Daniel Pielmeier wrote:
2 > Am 17. März 2023 08:52:53 UTC schrieb John Covici <covici@××××××××××.com>:
3 > >
4 > >On Fri, 17 Mar 2023 03:03:37 -0400,
5 > >Daniel Pielmeier wrote:
6 > >>
7 > >> Am 17. März 2023 06:42:11 UTC schrieb John Covici <covici@××××××××××.com>:
8 > >> >media-video/mpv-0.35.1-r1 will not compile -- here is a portion of the
9 > >> >build log.
10 > >> >[19/438] /usr/bin/rst2man.py --strip-elements-with-class=contents
11 > >> >../mpv-0.35.1/DOCS/man/mpv.rst mpv.1
12 > >> >[20/438] /usr/bin/rst2html ../mpv-0.35.1/DOCS/man/mpv.rst mpv.html
13 > >> >^[[31mFAILED: ^[[0mmpv.html
14 > >> >/usr/bin/rst2html ../mpv-0.35.1/DOCS/man/mpv.rst mpv.html
15 > >> >/bin/sh: line 1: /usr/bin/rst2html: cannot execute: required file not
16 > >> >found
17 > >> >ninja: build stopped: subcommand failed.
18 > >> >
19 > >> >I looked on bgo, but found nothing -- anyone seen this or should I
20 > >> >file a bug?
21 > >>
22 > >> Do you have dev-python/docutils installed and if not does it compile if you install it?
23 > >
24 > >Thanks for your quick response. I have 0.19 of that package.
25 > >
26 >
27 > 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.
28 >
29
30 It's not, docutils only ships rst2html.py and it's the normal name to
31 use ("some" distros rename it or make a symlink, but Gentoo only use
32 the upstream intended name, you wouldn't get a rst2html if you
33 installed it with e.g. pip too).
34
35 Because of these distros, mpv tries rst2html then rst2html.py if it's
36 not found.
37
38 Error is confusing, thing is that rst2html was found, but the "not found"
39 error was about the python interpreter (as noted in another mail). Long
40 story short, it'd be fine if this broken /usr/bin/rst2html simply didn't
41 exist, no need for a symlink or anything like that.
42
43 --
44 ionen

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] mpv no longer compiles John Covici <covici@××××××××××.com>