[100611] trunk/dports/net/youtube-dl/Portfile

Ryan Schmidt ryandesign at macports.org
Tue Dec 18 16:03:38 PST 2012


On Dec 18, 2012, at 06:38, Andrea D'Amore wrote:

> On Tue, Dec 18, 2012 at 1:45 AM, Ryan Schmidt wrote:
>> 
>> On Dec 17, 2012, at 14:53, and.damore at macports.org wrote:
>> 
>>> Revision: 100611
>>>         https://trac.macports.org/changeset/100611
>>> Author:   and.damore at macports.org
>>> Date:     2012-12-17 12:53:34 -0800 (Mon, 17 Dec 2012)
>>> Log Message:
>>> -----------
>>> port youtube-dl: currently broken from last update, it was trying to selfupdate the binary in $prefix; openmaintainer
>>> 
>>> Modified Paths:
>>> --------------
>>>   trunk/dports/net/youtube-dl/Portfile
>> 
>> Could you elaborate on what problem you were experiencing?
> 
> Sure:
> 
> 
> 
> me at biboop ~> port installed youtube-dl
> The following ports are currently installed:
>  youtube-dl @2012.12.11_0
>  youtube-dl @2012.12.11_1
> me at biboop ~> sudo port activate youtube-dl @2012.12.11_0
> --->  Computing dependencies for youtube-dl
> --->  Activating youtube-dl @2012.12.11_0
> --->  Cleaning youtube-dl
> me at biboop ~> which youtube-dl
> /opt/local/bin/youtube-dl
> me at biboop ~> youtube-dl
> Hi! We changed distribution method and now youtube-dl needs to update
> itself one more time.
> This will only happen once. Simply press enter to go on. Sorry for the trouble!
> The new location of the binaries is
> https://github.com/rg3/youtube-dl/downloads, not the git repository.
> 
> 
> ERROR: no write permissions on /opt/local/bin/youtube-dl
> me at biboop ~> sudo port deactivate youtube-dl @2012.12.11_0
> --->  Deactivating youtube-dl @2012.12.11_0
> --->  Cleaning youtube-dl
> me at biboop ~> sudo port activate youtube-dl @2012.12.11_1
> --->  Computing dependencies for youtube-dl
> --->  Activating youtube-dl @2012.12.11_1
> --->  Cleaning youtube-dl
> me at biboop ~> port installed youtube-dl
> The following ports are currently installed:
>  youtube-dl @2012.12.11_0
>  youtube-dl @2012.12.11_1 (active)
> me at biboop ~> which youtube-dl
> /opt/local/bin/youtube-dl
> me at biboop ~> youtube-dl foo
> [youtube] Setting language
> [youtube] foo: Downloading video webpage
> ERROR: unable to download video webpage: HTTP Error 404: Not Found
> me at biboop ~>

Goodness!


> I was filing a ticket with a description and a patch, then the whole
> "it's a bug, no it's openmaintainer, no it's Superman" thing hit me
> and I just committed.

Absolutely; thanks for fixing it.


>> It installed fine for me before I committed the last update, but I didn't test it beyond that.
> 
> Then you probably don't actually use the port, I do quite often but I
> hadn't update the tree in a couple days so I only noticed yesterday,
> after the upgrade.

Indeed, I don't use it; I just made it because it was requested, and I try to keep it updated and follow the several changes they've already made in their build system.

Since you actually use it, if you'd like to take over maintaining it you're welcome to. Otherwise I'll try to continue to update it as needed.


On Dec 18, 2012, at 07:07, Rainer Müller wrote:

> This file on their downloads page is not versioned, so this will be
> subject to the problem of stealth updates when the file in the download
> section is replaced.

Well in light of github's discontinuation of their uploads feature last week, the developers are going to have to rethink their distribution strategy anyway.





More information about the macports-dev mailing list