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

Andrea D'Amore and.damore at macports.org
Tue Dec 18 04:38:43 PST 2012


On Tue, Dec 18, 2012 at 1:45 AM, Ryan Schmidt <ryandesign at macports.org> 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 ~>



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.

> 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.


--
Andrea


More information about the macports-dev mailing list