Gentoo Archives: gentoo-user

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