Discussion:
[MacPorts] #57663: (mpv@snow_leopard)(upgrade outdated) - failed to apply patch mpv: command execution failed
MacPorts
2018-11-22 21:41:47 UTC
Permalink
#57663: (***@snow_leopard)(upgrade outdated) - failed to apply patch mpv: command
execution failed
------------------------------+--------------------
Reporter: mrkapqa | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.5.4
Keywords: mpv snow leopard | Port: mpv
------------------------------+--------------------
sudo port install mpv
+audiocd+bundle+dvd+libarchive+network+opengl+osd+python27+rubberband+x11
---> Computing dependencies for mpv
---> Fetching archive for mpv
---> Attempting to fetch
mpv-0.29.1_1+audiocd+bundle+dvd+libarchive+network+opengl+osd+python27+rubberband+x11.darwin_10.x86_64.tbz2
from http://fco.it.packages.macports.org/mirrors/macports-packages/mpv
---> Attempting to fetch
mpv-0.29.1_1+audiocd+bundle+dvd+libarchive+network+opengl+osd+python27+rubberband+x11.darwin_10.x86_64.tbz2
from http://lil.fr.packages.macports.org/mpv
---> Attempting to fetch
mpv-0.29.1_1+audiocd+bundle+dvd+libarchive+network+opengl+osd+python27+rubberband+x11.darwin_10.x86_64.tbz2
from https://packages.macports.org/mpv
---> Fetching distfiles for mpv
---> Verifying checksums for mpv
---> Extracting mpv
---> Applying patches to mpv
Error: Failed to patch mpv: command execution failed



Hello , i had an working mpv on snow leopard , but today i evoked an "sudo
port upgrade outdated" , which in the end resulted in the above.

It seems to to try to install mpv 0.29 latest in 10.6.8, maybe therefore
the error?
--
Ticket URL: <https://trac.macports.org/ticket/57663>
MacPorts <https://www.macports.org/>
Ports system for macOS
MacPorts
2018-11-22 22:31:51 UTC
Permalink
#57663: (***@snow_leopard)(upgrade outdated) - failed to apply patch mpv: command
execution failed
----------------------+------------------------------
Reporter: mrkapqa | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.5.4
Resolution: | Keywords: mpv snow leopard
Port: mpv |
----------------------+------------------------------

Comment (by kencu):

What is the last version you have installed?
{{{
sudo port -v installed mpv
}}}
--
Ticket URL: <https://trac.macports.org/ticket/57663#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
MacPorts
2018-11-22 22:33:51 UTC
Permalink
#57663: ***@20.1_1: failed to apply patch on SnowLeopard
----------------------+---------------------------------------
Reporter: mrkapqa | Owner: Ionic
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.5.4
Resolution: | Keywords: snowleopard leopard tiger
Port: mpv |
----------------------+---------------------------------------
Changes (by kencu):

* owner: (none) => Ionic
* status: new => assigned
* keywords: mpv snow leopard => snowleopard leopard tiger
Post by MacPorts
sudo port install mpv
+audiocd+bundle+dvd+libarchive+network+opengl+osd+python27+rubberband+x11
---> Computing dependencies for mpv
---> Fetching archive for mpv
---> Attempting to fetch
mpv-0.29.1_1+audiocd+bundle+dvd+libarchive+network+opengl+osd+python27+rubberband+x11.darwin_10.x86_64.tbz2
from http://fco.it.packages.macports.org/mirrors/macports-packages/mpv
---> Attempting to fetch
mpv-0.29.1_1+audiocd+bundle+dvd+libarchive+network+opengl+osd+python27+rubberband+x11.darwin_10.x86_64.tbz2
from http://lil.fr.packages.macports.org/mpv
---> Attempting to fetch
mpv-0.29.1_1+audiocd+bundle+dvd+libarchive+network+opengl+osd+python27+rubberband+x11.darwin_10.x86_64.tbz2
from https://packages.macports.org/mpv
---> Fetching distfiles for mpv
---> Verifying checksums for mpv
---> Extracting mpv
---> Applying patches to mpv
Error: Failed to patch mpv: command execution failed
Hello , i had an working mpv on snow leopard , but today i evoked an
"sudo port upgrade outdated" , which in the end resulted in the above.
It seems to to try to install mpv 0.29 latest in 10.6.8, maybe therefore
the error?
New description:

{{{
sudo port install mpv
+audiocd+bundle+dvd+libarchive+network+opengl+osd+python27+rubberband+x11
---> Computing dependencies for mpv
---> Fetching archive for mpv
---> Attempting to fetch
mpv-0.29.1_1+audiocd+bundle+dvd+libarchive+network+opengl+osd+python27+rubberband+x11.darwin_10.x86_64.tbz2
from http://fco.it.packages.macports.org/mirrors/macports-packages/mpv
---> Attempting to fetch
mpv-0.29.1_1+audiocd+bundle+dvd+libarchive+network+opengl+osd+python27+rubberband+x11.darwin_10.x86_64.tbz2
from http://lil.fr.packages.macports.org/mpv
---> Attempting to fetch
mpv-0.29.1_1+audiocd+bundle+dvd+libarchive+network+opengl+osd+python27+rubberband+x11.darwin_10.x86_64.tbz2
from https://packages.macports.org/mpv
---> Fetching distfiles for mpv
---> Verifying checksums for mpv
---> Extracting mpv
---> Applying patches to mpv
Error: Failed to patch mpv: command execution failed
}}}


Hello , i had an working mpv on snow leopard , but today i evoked an "sudo
port upgrade outdated" , which in the end resulted in the above.

It seems to to try to install mpv 0.29 latest in 10.6.8, maybe therefore
the error?

--
--
Ticket URL: <https://trac.macports.org/ticket/57663#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
MacPorts
2018-11-22 22:36:14 UTC
Permalink
#57663: ***@20.1_1: failed to apply patch on SnowLeopard
----------------------+---------------------------------------
Reporter: mrkapqa | Owner: Ionic
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.5.4
Resolution: | Keywords: snowleopard leopard tiger
Port: mpv |
----------------------+---------------------------------------

Comment (by kencu):

FYI -- Not many people have a working SnowLeopard installation any longer,
and of those, even fewer are capable of sorting out the patches needed to
make it work the way Ionic did several years ago.

SO - we can peg it at a previous version (use my SnowLeopardFixes port
repo if you want), or help dig in on how this might be repaired, if indeed
it can be repaired.
--
Ticket URL: <https://trac.macports.org/ticket/57663#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
MacPorts
2018-11-22 22:36:50 UTC
Permalink
#57663: ***@0.29.1_1: failed to apply patch on SnowLeopard
----------------------+---------------------------------------
Reporter: mrkapqa | Owner: Ionic
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.5.4
Resolution: | Keywords: snowleopard leopard tiger
Port: mpv |
----------------------+---------------------------------------
--
Ticket URL: <https://trac.macports.org/ticket/57663#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
MacPorts
2018-11-22 22:40:34 UTC
Permalink
#57663: ***@0.29.1_1: failed to apply patch on SnowLeopard
----------------------+---------------------------------------
Reporter: mrkapqa | Owner: Ionic
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.5.4
Resolution: | Keywords: snowleopard leopard tiger
Port: mpv |
----------------------+---------------------------------------

Comment (by kencu):

The last one that I have installed is
{{{
$ port -v installed mpv
The following ports are currently installed:
mpv
@0.26.0_8+audiocd+bundle+dvd+libarchive+network+opengl+osd+python27+rubberband+smb+x11
(active) platform='darwin 10' archs='x86_64'
date='2018-11-18T21:19:11-0800'
}}}
--
Ticket URL: <https://trac.macports.org/ticket/57663#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
MacPorts
2018-11-23 09:22:49 UTC
Permalink
#57663: ***@0.29.1_1: failed to apply patch on SnowLeopard
----------------------+---------------------------------------
Reporter: mrkapqa | Owner: Ionic
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.5.4
Resolution: | Keywords: snowleopard leopard tiger
Port: mpv |
----------------------+---------------------------------------

Comment (by mrkapqa):

Thank you, it gives

The following ports are currently installed:
mpv
@0.26.0_0+audiocd+bundle+dvd+libarchive+network+opengl+osd+python27+rubberband+x11
(active) platform='darwin 10' archs='x86_64'
date='2018-08-08T18:35:00+0200'


upon evoking mpv


mpv
ffmpeg library versions:
libavutil 56.14.100 (runtime 56.22.100)
libavcodec 58.18.100 (runtime 58.35.100)
libavformat 58.12.100 (runtime 58.20.100)
libswscale 5.1.100 (runtime 5.3.100)
libavfilter 7.16.100 (runtime 7.40.101)
libswresample 3.1.100 (runtime 3.3.100)
ffmpeg version: 4.1

mpv was compiled against a different version of FFmpeg/Libav than the
shared
library it is linked against. This is most likely a broken build and could
result in misbehavior and crashes.

mpv does not support this configuration and will not run - rebuild mpv
instead.




i was under the impression that macports does only allow the last
succesful build for each iteration os macos to be compiled, even when
upgrading the ports.
tried also on a recently new installed leopard 10.5 macbook pro 32bit to
build mpv , and also there it failed. if there is a command to limit mpv
to version 0.26 i would like to use it.
--
Ticket URL: <https://trac.macports.org/ticket/57663#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS
MacPorts
2018-11-23 16:03:03 UTC
Permalink
#57663: ***@0.29.1_1: failed to apply patch on SnowLeopard
----------------------+---------------------------------------
Reporter: mrkapqa | Owner: Ionic
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.5.4
Resolution: | Keywords: snowleopard leopard tiger
Port: mpv |
----------------------+---------------------------------------
Post by MacPorts
i was under the impression that macports does only allow the last
succesful build for each iteration os macos to be compiled, even when
upgrading the ports.

Ah, if only it were that easy.
Post by MacPorts
tried also on a recently new installed leopard 10.5 macbook pro 32bit to
build mpv , and also there it failed.

Not a surprise. I have no idea about the 10.7 to 10.9 crowd. The buildbots
are not looking too friendly to older versions.
Post by MacPorts
if there is a command to limit mpv to version 0.26 i would like to use
it.

The `mpv` portfile is already very complex -- adding in a peg for `0.26.0`
is doable, but mind-melting.

I think we will probably see an `mpv-legacy` port someday, with an older
version updated less frequently that works on older systems.

For right now today, you're a bit stuck. My best suggestion is to read
this <https://guide.macports.org/chunked/development.local-
repositories.html>, and set up a local repository for yourself, possibly
using mine <https://github.com/kencu/SnowLeopardPorts> as a starting
point.
--
Ticket URL: <https://trac.macports.org/ticket/57663#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS
MacPorts
2018-11-23 17:44:01 UTC
Permalink
#57663: ***@0.29.1_1: failed to apply patch on SnowLeopard
----------------------+---------------------------------------
Reporter: mrkapqa | Owner: Ionic
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.5.4
Resolution: | Keywords: snowleopard leopard tiger
Port: mpv |
----------------------+---------------------------------------
Post by MacPorts
Post by MacPorts
i was under the impression that macports does only allow the last
succesful build for each iteration os macos to be compiled, even when
upgrading the ports.
Post by MacPorts
Ah, if only it were that easy.
It would be nice if there is such a fallback mechanism , eg. that in case
of failed build it would ask to build the last known succesful version or
something similar (maybe i am too easy here altogether)
Post by MacPorts
Post by MacPorts
tried also on a recently new installed leopard 10.5 macbook pro 32bit
to build mpv , and also there it failed.
Post by MacPorts
Not a surprise. I have no idea about the 10.7 to 10.9 crowd. The
buildbots are not looking too friendly to older versions.
I still have a working similar version running on my Lion 10.7.5

port -v installed mpv
Warning: port definitions are more than two weeks old, consider updating
them by running 'port selfupdate'.
The following ports are currently installed:
mpv
@0.26.0_7+audiocd+bundle+dvd+libarchive+network+opengl+osd+python27+rubberband+x11
platform='darwin 11' archs='x86_64' date='2018-03-29T13:21:07+0200'
mpv
@0.26.0_8+audiocd+bundle+dvd+libarchive+network+opengl+osd+python27+rubberband+x11
(active) platform='darwin 11'


now that i learned bit better i will think twice before runninng "port
selfupdate" :)
Post by MacPorts
Post by MacPorts
if there is a command to limit mpv to version 0.26 i would like to use
it.
Post by MacPorts
The `mpv` portfile is already very complex -- adding in a peg for
`0.26.0` is doable, but mind-melting.
Post by MacPorts
I think we will probably see an `mpv-legacy` port someday, with an older
version updated less frequently that works on older systems.
Post by MacPorts
For right now today, you're a bit stuck. My best suggestion is to read
this <https://guide.macports.org/chunked/development.local-
repositories.html>, and set up a local repository for yourself, possibly
using mine <https://github.com/kencu/SnowLeopardPorts> as a starting
point.
thank you , i hope to contribute in some way or another, as i really like
snow leopard very much.
--
Ticket URL: <https://trac.macports.org/ticket/57663#comment:8>
MacPorts <https://www.macports.org/>
Ports system for macOS
MacPorts
2018-11-23 19:22:12 UTC
Permalink
#57663: ***@0.29.1_1: failed to apply patch on SnowLeopard
----------------------+---------------------------------------
Reporter: mrkapqa | Owner: Ionic
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.5.4
Resolution: | Keywords: snowleopard leopard tiger
Port: mpv |
----------------------+---------------------------------------

Comment (by kencu):

Hmm. Not so hard to fix, in the end:
{{{
$ port -v installed mpv
mpv
@0.29.1_1+audiocd+bundle+dvd+libarchive+network+opengl+osd+python27+rubberband+x11
(active) platform='darwin 10' archs='x86_64'
date='2018-11-23T11:18:17-0800'
}}}
I have a couple of small tweaks to make, and we'll see if Ionic likes it.
--
Ticket URL: <https://trac.macports.org/ticket/57663#comment:9>
MacPorts <https://www.macports.org/>
Ports system for macOS
MacPorts
2018-11-24 14:08:00 UTC
Permalink
#57663: ***@0.29.1_1: failed to apply patch on SnowLeopard
----------------------+---------------------------------------
Reporter: mrkapqa | Owner: Ionic
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.5.4
Resolution: | Keywords: snowleopard leopard tiger
Port: mpv |
----------------------+---------------------------------------

Comment (by mrkapqa):

Hello , thanks, looking forward to that!

I have installed Xcode 3.2.6 and ve seen there is an Xcode 4 also
available for Snow Leopard on the Developer Downloads Page. Does this make
a difference or is it better to stick with with the 3.2.6?
--
Ticket URL: <https://trac.macports.org/ticket/57663#comment:10>
MacPorts <https://www.macports.org/>
Ports system for macOS
MacPorts
2018-12-07 15:48:44 UTC
Permalink
#57663: ***@0.29.1_1: failed to apply patch on SnowLeopard
----------------------+---------------------------------------
Reporter: mrkapqa | Owner: Ionic
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.5.4
Resolution: | Keywords: snowleopard leopard tiger
Port: mpv |
----------------------+---------------------------------------

Comment (by mrkapqa):

Hello ,

i have another question - crossreference -

do use a working port of Mpv 0.26 on a Lion 10.7.5 in combination with a
Firefox plugin "watch with mpv" and firefox 45 - 52. This works very well
on this Partition, and also on Linux systems (normally) and Windows.

However, i cannot seem to get this Extension to enable MPV any longer on a
fresh install, eg. on a Partition with MaVERICKS and MPV 0.29 and latest
youtube-dl and patches.

I don't understand what is causing this misbehaviour, and am not
experienced in troubleshooting such things.


So my question is , is it possible to copy over a whole working MacPorts
directory from the Lion Partition over to the freshly installed Mavericks
partition to see if it is working with the older installation of Mpv?

It could be that the issue is also caused by later changes in youtube-dl.
It is my understanding, that when i try to install an older port, eg. git
checkout Mpv at version 0.26, it still would try to install the latest
youtube-dl, and this could be troublesome as i understand it;
--
Ticket URL: <https://trac.macports.org/ticket/57663#comment:11>
MacPorts <https://www.macports.org/>
Ports system for macOS
MacPorts
2018-12-07 15:50:42 UTC
Permalink
#57663: ***@0.29.1_1: failed to apply patch on SnowLeopard
----------------------+---------------------------------------
Reporter: mrkapqa | Owner: Ionic
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.5.4
Resolution: | Keywords: snowleopard leopard tiger
Port: mpv |
----------------------+---------------------------------------

Comment (by mrkapqa):

The firefox extension is no longer available on the Firefox-Add-ons page,
but it is available on GitHub

https://github.com/antoniy/mpv-youtube-dl-binding
--
Ticket URL: <https://trac.macports.org/ticket/57663#comment:12>
MacPorts <https://www.macports.org/>
Ports system for macOS
Loading...