Opened 8 years ago

Closed 8 years ago

#49840 closed defect (fixed)

youtube-dl @2015.11.21: build fails, depends on newer Python

Reported by: rb@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc:
Port: youtube-dl

Description (last modified by ryandesign (Ryan Carsten Schmidt))

On OS X 10.5.8 on PowerPC G4 Mac Mini, port install youtube-dl fails because it is using /usr/bin/python (version 2.5.1) with a more modern syntax.

/opt/local/bin/python2.7 exists, but not /opt/local/bin/python.

Darwin chicken 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:57:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_PPC Power Macintosh

I tried "port clean youtube-dl", and also "port select python27" but the latter produced an error:

chicken$ sudo port select python27
Warning: Unable to get active selected version: The specified group 'python27' does not exist.
Error: The 'list' command failed: The specified group 'python27' does not exist.

Attachments (1)

main.log (86.6 KB) - added by rb@… 8 years ago.
main.log from failed install

Download all attachments as: .zip

Change History (5)

Changed 8 years ago by rb@…

Attachment: main.log added

main.log from failed install

comment:1 Changed 8 years ago by rb@…

Arg, pressed submit too soon. The title should mention that it is "youtube-dl @2015.11.21". Thanks.

comment:2 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Owner: changed from macports-tickets@… to ryandesign@…
Port: youtube-dl added
Summary: install youtube-dl fails, depends on newer Pythonyoutube-dl @2015.11.21: build fails, depends on newer Python

comment:3 in reply to:  description Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to rb@…:

I tried "port clean youtube-dl", and also "port select python27" but the latter produced an error:

chicken$ sudo port select python27
Warning: Unable to get active selected version: The specified group 'python27' does not exist.
Error: The 'list' command failed: The specified group 'python27' does not exist.

The correct syntax would be:

sudo port select --set python python27

However you are correct that it is a bug that the port does not build without that, and I will fix it.

comment:4 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed

Fixed in r142952.

Note: See TracTickets for help on using tickets.