[MacPorts] #49840: install youtube-dl fails, depends on newer Python
#49840: install youtube-dl fails, depends on newer Python --------------------+-------------------------------- Reporter: rb@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: | Port: --------------------+-------------------------------- 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. -- Ticket URL: <https://trac.macports.org/ticket/49840> MacPorts <https://www.macports.org/> Ports system for OS X
#49840: install youtube-dl fails, depends on newer Python ---------------------+-------------------------------- Reporter: rb@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: | ---------------------+-------------------------------- Comment (by rb@…): Arg, pressed submit too soon. The title should mention that it is "youtube-dl @2015.11.21". Thanks. -- Ticket URL: <https://trac.macports.org/ticket/49840#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#49840: youtube-dl @2015.11.21: build fails, depends on newer Python -------------------------+-------------------------- Reporter: rb@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: youtube-dl | -------------------------+-------------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => ryandesign@… * port: => youtube-dl Old description:
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.
New description: 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. }}} -- -- Ticket URL: <https://trac.macports.org/ticket/49840#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#49840: youtube-dl @2015.11.21: build fails, depends on newer Python -------------------------+-------------------------- Reporter: rb@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: youtube-dl | -------------------------+-------------------------- Comment (by ryandesign@…): Replying to [ticket:49840 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. -- Ticket URL: <https://trac.macports.org/ticket/49840#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#49840: youtube-dl @2015.11.21: build fails, depends on newer Python -------------------------+-------------------------- Reporter: rb@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: fixed | Keywords: Port: youtube-dl | -------------------------+-------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => fixed Comment: Fixed in r142952. -- Ticket URL: <https://trac.macports.org/ticket/49840#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts