[MacPorts] #17620: Problem with Installing python_select

MacPorts noreply at macports.org
Fri Dec 12 11:48:11 PST 2008


#17620: Problem with Installing python_select
-------------------------------------+--------------------------------------
 Reporter:  sean.b.palmer@…          |       Owner:  macports-tickets@…                   
     Type:  defect                   |      Status:  new                                  
 Priority:  Normal                   |   Milestone:  Port Bugs                            
Component:  ports                    |     Version:  1.6.0                                
 Keywords:                           |        Port:                                       
-------------------------------------+--------------------------------------
 When I try to install python_select, I get the following:

 * * *


 {{{
 $ sudo port install python_select
 --->  Staging python_select into destroot
 Error: Target org.macports.destroot returned: shell command
 "/opt/local/var/macports/build
 /_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_python_select
 /work/destroot/opt/local/bin/python_select -i
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_python_select
 /work/destroot python23-apple" returned error 12
 Command output: /opt/local/var/macports/build
 /_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_python_select
 /work/destroot/opt/local/bin/python_select: line 124: [: /: unary
 operator expected
 ln:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_python_select
 /work/destroot/opt/local/Library/Frameworks/Python.framework/Resources: No
 such file or directory
 Unknown option: n
 Usage: head [-options] <url>...
     -m <method>   use method for the request (default is 'HEAD')
     -f            make request even if head believes method is illegal
     -b <base>     Use the specified URL as base
     -t <timeout>  Set timeout value
     -i <time>     Set the If-Modified-Since header on the request
     -c <conttype> use this content-type for POST, PUT, CHECKIN
     -a            Use text mode for content I/O
     -p <proxyurl> use this as a proxy
     -P            don't load proxy settings from environment
     -H <header>   send this HTTP header (you can specify several)

     -u            Display method and URL before any response
     -U            Display request headers (implies -u)
     -s            Display response status code
     -S            Display response status chain
     -e            Display response headers
     -d            Do not display content
     -o <format>   Process HTML content in various ways

     -v            Show program version
     -h            Print this message

     -x            Extra debugging output
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_python_select
 /work/destroot/opt/local/bin/python_select: line 121: [: -: unary operator
 expected
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_python_select
 /work/destroot/opt/local/bin/python_select: line 124: [: /: unary operator
 expected
 ln:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_python_select
 /work/destroot/opt/local/Library/Frameworks/Python.framework/Python: No
 such file or directory

 Error: Status 1 encountered during processing.
 }}}

 * * *

 When I tried to fix this by editing the problematic file, macports
 overwrote it on the next installation attempt. I suppose there's probably
 some way to get around that too, but either way this needs fixing upstream
 I presume.

-- 
Ticket URL: <http://trac.macports.org/ticket/17620>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list