[MacPorts] #34547: python27: Failed to locate 'xz' in path

MacPorts noreply at macports.org
Tue Jun 5 13:23:54 PDT 2012


#34547: python27: Failed to locate 'xz' in path
------------------------------------+---------------------------------------
 Reporter:  fgermano@…              |       Owner:  jwa@…           
     Type:  defect                  |      Status:  new             
 Priority:  Normal                  |   Milestone:                  
Component:  ports                   |     Version:  2.1.1           
 Keywords:                          |        Port:  python27        
------------------------------------+---------------------------------------

Comment(by cmanbrown@…):

 Replying to [comment:2 ryandesign@…]:
 > fgermano, did my suggestions above help?

 ryandesign, I also hit this problem on my system.  I was attempting to
 install via the commands below.  Please see the entire CLI with the
 output:

 {{{
 $ POSIXLY_CORRECT=1 sudo port install gmake libsdl git-core gnupg
 --->  Computing dependencies for gmake
 --->  Cleaning gmake
 --->  Computing dependencies for libsdl
 --->  Dependencies to be installed: xorg-libXext xorg-libX11 xorg-libxcb
 python27 xorg-libpthread-stubs xorg-xcb-proto libxml2 xorg-xextproto xorg-
 libXrandr xorg-randrproto xrender xorg-renderproto
 --->  Fetching archive for python27
 --->  Attempting to fetch python27-2.7.3_0.darwin_11.x86_64.tbz2 from
 http://packages.macports.org/python27
 --->  Fetching distfiles for python27
 --->  Verifying checksum(s) for python27
 --->  Extracting python27
 Error: org.macports.extract for port python27 returned: Failed to locate
 'xz' in path:
 '/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin' or at its
 MacPorts configuration time location, did you move it?
 Error: Failed to install python27
 Please see the log file for port python27 for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python27/python27/main.log
 Error: The following dependencies were not installed: xorg-libXext xorg-
 libX11 xorg-libxcb python27 xorg-libpthread-stubs xorg-xcb-proto libxml2
 xorg-xextproto xorg-libXrandr xorg-randrproto xrender xorg-renderproto
 To report a bug, follow the instructions in the guide:
     http://guide.macports.org/#project.tickets
 Error: Processing of port libsdl failed
 }}}

 I tried your suggestion to "sudo port clean python27"and try again but I
 still hit the problem.  What I did next was to "sudo install xz" and then
 retried my original install command and it worked.

 I'm seeing some other errors related to failed dependencies... Could the
 dependency checker/installer be broken?

 I've tried to attach the latest log but it appears to be empty.

 Thanks!

-- 
Ticket URL: <https://trac.macports.org/ticket/34547#comment:3>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list