Re: [gentoo-user] mpv no longer compiles
Am 17. März 2023 06:42:11 UTC schrieb John Covici : >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
Re: [gentoo-user] mpv no longer compiles
On Fri, 17 Mar 2023 03:03:37 -0400, Daniel Pielmeier wrote: > > Am 17. März 2023 06:42:11 UTC schrieb John Covici : > >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 cov...@ccs.covici.com
Re: [gentoo-user] mpv no longer compiles
Am 17. März 2023 08:52:53 UTC schrieb John Covici : > >On Fri, 17 Mar 2023 03:03:37 -0400, >Daniel Pielmeier wrote: >> >> Am 17. März 2023 06:42:11 UTC schrieb John Covici : >> >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
Re: [gentoo-user] mpv no longer compiles
On Fri, 17 Mar 2023 07:07:49 -0400, Daniel Pielmeier wrote: > > Am 17. März 2023 08:52:53 UTC schrieb John Covici : > > > >On Fri, 17 Mar 2023 03:03:37 -0400, > >Daniel Pielmeier wrote: > >> > >> Am 17. März 2023 06:42:11 UTC schrieb John Covici : > >> >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 cov...@ccs.covici.com
Re: [gentoo-user] mpv no longer compiles
Am 17. März 2023 11:57:41 UTC schrieb John Covici : >On Fri, 17 Mar 2023 07:07:49 -0400, >Daniel Pielmeier wrote: >> >> Am 17. März 2023 08:52:53 UTC schrieb John Covici : >> > >> >On Fri, 17 Mar 2023 03:03:37 -0400, >> >Daniel Pielmeier wrote: >> >> >> >> Am 17. März 2023 06:42:11 UTC schrieb John Covici : >> >> >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
Re: [gentoo-user] mpv no longer compiles
On Fri, 2023-03-17 at 12:21 +, 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.
Re: [gentoo-user] mpv no longer compiles
On Fri, 17 Mar 2023 09:56:26 -0400, Michael Orlitzky wrote: > > On Fri, 2023-03-17 at 12:21 +, 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 cov...@ccs.covici.com
Re: [gentoo-user] mpv no longer compiles
On Fri, Mar 17, 2023 at 11:07:49AM +, Daniel Pielmeier wrote: > Am 17. März 2023 08:52:53 UTC schrieb John Covici : > > > >On Fri, 17 Mar 2023 03:03:37 -0400, > >Daniel Pielmeier wrote: > >> > >> Am 17. März 2023 06:42:11 UTC schrieb John Covici : > >> >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
Re: [gentoo-user] mpv no longer compiles
On Fri, 17 Mar 2023 14:39:04 -0400, Ionen Wolkens wrote: > > [1 ] > On Fri, Mar 17, 2023 at 11:07:49AM +, Daniel Pielmeier wrote: > > Am 17. März 2023 08:52:53 UTC schrieb John Covici : > > > > > >On Fri, 17 Mar 2023 03:03:37 -0400, > > >Daniel Pielmeier wrote: > > >> > > >> Am 17. März 2023 06:42:11 UTC schrieb John Covici > > >> : > > >> >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 cov...@ccs.covici.com