On Tue, Dec 18, 2012 at 1:45 AM, Ryan Schmidt <[email protected]> wrote:
>
> On Dec 17, 2012, at 14:53, [email protected] wrote:
>
>> Revision: 100611
>>          https://trac.macports.org/changeset/100611
>> Author:   [email protected]
>> 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@biboop ~> port installed youtube-dl
The following ports are currently installed:
  youtube-dl @2012.12.11_0
  youtube-dl @2012.12.11_1
me@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@biboop ~> which youtube-dl
/opt/local/bin/youtube-dl
me@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@biboop ~> sudo port deactivate youtube-dl @2012.12.11_0
--->  Deactivating youtube-dl @2012.12.11_0
--->  Cleaning youtube-dl
me@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@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@biboop ~> which youtube-dl
/opt/local/bin/youtube-dl
me@biboop ~> youtube-dl foo
[youtube] Setting language
[youtube] foo: Downloading video webpage
ERROR: unable to download video webpage: HTTP Error 404: Not Found
me@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
_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to