• Re: [gentoo-user] mpv no longer compiles

    From Daniel Pielmeier@21:1/5 to All on Fri Mar 17 08:10:01 2023
    Am 17. März 2023 06:42:11 UTC schrieb John Covici <covici@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?

    --
    Best regards
    Daniel

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Covici@21:1/5 to All on Fri Mar 17 07:50:01 2023
    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?

    Thanks.

    --
    Your life is like a penny. You're going to lose it. The question is:
    How do
    you spend it?

    John Covici wb2una
    covici@ccs.covici.com

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Covici@21:1/5 to Daniel Pielmeier on Fri Mar 17 10:00:01 2023
    On Fri, 17 Mar 2023 03:03:37 -0400,
    Daniel Pielmeier wrote:

    Am 17. März 2023 06:42:11 UTC schrieb John Covici <covici@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.

    --
    Your life is like a penny. You're going to lose it. The question is:
    How do
    you spend it?

    John Covici wb2una
    covici@ccs.covici.com

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Daniel Pielmeier@21:1/5 to All on Fri Mar 17 12:10:01 2023
    Am 17. März 2023 08:52:53 UTC schrieb John Covici <covici@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 <covici@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.

    --
    Best regards
    Daniel

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Covici@21:1/5 to Daniel Pielmeier on Fri Mar 17 13:00:01 2023
    On Fri, 17 Mar 2023 07:07:49 -0400,
    Daniel Pielmeier wrote:

    Am 17. März 2023 08:52:53 UTC schrieb John Covici <covici@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 <covici@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.

    I did have /usr/bin/rst2html, but it was old and when I tried to
    execute it said bad interpreter python3.8, so I linked the name to /usr/bin/rst2html.py and that made everything work.

    Thanks a lot for the hint.

    --
    Your life is like a penny. You're going to lose it. The question is:
    How do
    you spend it?

    John Covici wb2una
    covici@ccs.covici.com

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Daniel Pielmeier@21:1/5 to All on Fri Mar 17 13:30:01 2023
    Am 17. März 2023 11:57:41 UTC schrieb John Covici <covici@ccs.covici.com>:
    On Fri, 17 Mar 2023 07:07:49 -0400,
    Daniel Pielmeier wrote:

    Am 17. März 2023 08:52:53 UTC schrieb John Covici <covici@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 <covici@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.

    I did have /usr/bin/rst2html, but it was old and when I tried to
    execute it said bad interpreter python3.8, so I linked the name to >/usr/bin/rst2html.py and that made everything work.

    Thanks a lot for the hint.


    I don't think this should be necessary. The docutils ebuild should take care of this. If it doesn't there is a bug in docutils or maybe the mpv ebuild should call the py script directly.


    --
    Best regards
    Daniel

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael Orlitzky@21:1/5 to Daniel Pielmeier on Fri Mar 17 15:00:01 2023
    On Fri, 2023-03-17 at 12:21 +0000, Daniel Pielmeier wrote:


    I don't think this should be necessary. The docutils ebuild should
    take care of this. If it doesn't there is a bug in docutils or maybe
    the mpv ebuild should call the py script directly.


    The ebuilds themselves don't really take care of it. You have to be
    using portage and run emerge --deep @world with either --changed-use or --newuse to make it notice the update when the python stuff changes in
    the profile.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Covici@21:1/5 to Michael Orlitzky on Fri Mar 17 15:10:01 2023
    On Fri, 17 Mar 2023 09:56:26 -0400,
    Michael Orlitzky wrote:

    On Fri, 2023-03-17 at 12:21 +0000, Daniel Pielmeier wrote:


    I don't think this should be necessary. The docutils ebuild should
    take care of this. If it doesn't there is a bug in docutils or maybe
    the mpv ebuild should call the py script directly.


    The ebuilds themselves don't really take care of it. You have to be
    using portage and run emerge --deep @world with either --changed-use or --newuse to make it notice the update when the python stuff changes in
    the profile.

    This is what I did using --changed-use, but the docutils hasn't been
    updated for a while, sounds like the ebuild should link rst2html,
    otherwise things are not going to work.

    --
    Your life is like a penny. You're going to lose it. The question is:
    How do
    you spend it?

    John Covici wb2una
    covici@ccs.covici.com

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Covici@21:1/5 to Ionen Wolkens on Fri Mar 17 20:10:01 2023
    On Fri, 17 Mar 2023 14:39:04 -0400,
    Ionen Wolkens wrote:

    [1 <text/plain; utf-8 (quoted-printable)>]
    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 <covici@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 <covici@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.
    OK, thanks, I will delete the simlink and see if it still works.

    --
    Your life is like a penny. You're going to lose it. The question is:
    How do
    you spend it?

    John Covici wb2una
    covici@ccs.covici.com

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ionen Wolkens@21:1/5 to Daniel Pielmeier on Fri Mar 17 19:40:01 2023
    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 <covici@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 <covici@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

    -----BEGIN PGP SIGNATURE-----

    iQEzBAABCAAdFiEEx3SLh1HBoPy/yLVYskQGsLCsQzQFAmQUs8gACgkQskQGsLCs QzSE+wgAnpCNvYch3Up4xVR+z+heKsd1LtGxu/FAR0YN39F44u8iBWAxoaHDaw38 v2gKeTwizsUZ8j3mB1Nha9X4VPv3sU6ZWX2VTXVae0PesMXJbjB9DC0KMTRG9Q2x 0RJlC9oifXihgQXnX1xBiSWA36jS5vQv+66yiw6wIKxYf3lvquwQJDfgs//48I/q wpupVsHxp7ENApCWF9jtDdp92ZG7APeRrYsg2TmM36xO9NilbIoANp4Rvsg4NGD3 yUUGtMXKt6OV0NdEJdsCGsGaARYjkpJOH09ZTBR4NK8Khe4M28GeYm+DCpvnwWd1 DEEe8duQv7gchT1zGX9hGrHNiEPMNQ==
    =wj09
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)