[MacPorts] #36555: python26: Failed to locate 'xz' in path (was: Python26 Error)

MacPorts noreply at macports.org
Thu Oct 11 04:27:01 PDT 2012


#36555: python26: Failed to locate 'xz' in path
-----------------------+--------------------------------
  Reporter:  rpn@…     |      Owner:  macports-tickets@…
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.1.2
Resolution:            |   Keywords:
      Port:  python26  |
-----------------------+--------------------------------
Changes (by ryandesign@…):

 * keywords:  python26 =>


Old description:

> Hi
>
> I'm trying to port rdiff-backup. one of the dependencies is python26 and
> it's failing with the following error. the log is also not very helpful.
>
> sudo port install rdiff-backup
> --->  Computing dependencies for rdiff-backup
> --->  Dependencies to be installed: py26-xattr python26
> --->  Extracting python26
> Error: org.macports.extract for port python26 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 python26
> Please see the log file for port python26 for details:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/python26/main.log
> Error: The following dependencies were not installed: py26-xattr python26
> To report a bug, follow the instructions in the guide:
>     http://guide.macports.org/#project.tickets
> Error: Processing of port rdiff-backup failed
>
> contents of log:
>
> cat
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/python26/main.log
> version:1
> :debug:main Executing org.macports.main (python26)
> :debug:main Skipping completed org.macports.archivefetch (python26)
> :debug:main Skipping completed org.macports.fetch (python26)
> :debug:main Skipping completed org.macports.checksum (python26)
> :debug:extract extract phase started at Wed Oct 10 18:37:17 BST 2012
> :notice:extract --->  Extracting python26
> :error:extract org.macports.extract for port python26 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?
> :debug:extract Error code: NONE
> :debug:extract Backtrace: 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?
>     invoked from within
> "findBinary xz ${portutil::autoconf::xz_path}"
>     (procedure "portextract::extract_start" line 21)
>     invoked from within
> "[ditem_key $ditem prerun] $targetname"
> :info:extract Warning: targets not executed for python26:
> org.macports.activate org.macports.extract org.macports.patch
> org.macports.configure org.macports.build org.macports.destroot
> org.macports.install
> :error:extract Failed to install python26
> :debug:extract 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?
> :notice:extract Please see the log file for port python26 for details:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/python26/main.log
>
> (I have successfully installed a number of other packages, this is the
> only dependency that seems to fail).

New description:

 Hi

 I'm trying to port rdiff-backup. one of the dependencies is python26 and
 it's failing with the following error. the log is also not very helpful.

 {{{
 sudo port install rdiff-backup
 --->  Computing dependencies for rdiff-backup
 --->  Dependencies to be installed: py26-xattr python26
 --->  Extracting python26
 Error: org.macports.extract for port python26 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 python26
 Please see the log file for port python26 for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/python26/main.log
 Error: The following dependencies were not installed: py26-xattr python26
 To report a bug, follow the instructions in the guide:
     http://guide.macports.org/#project.tickets
 Error: Processing of port rdiff-backup failed
 }}}

 contents of log:

 {{{
 cat
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/python26/main.log
 version:1
 :debug:main Executing org.macports.main (python26)
 :debug:main Skipping completed org.macports.archivefetch (python26)
 :debug:main Skipping completed org.macports.fetch (python26)
 :debug:main Skipping completed org.macports.checksum (python26)
 :debug:extract extract phase started at Wed Oct 10 18:37:17 BST 2012
 :notice:extract --->  Extracting python26
 :error:extract org.macports.extract for port python26 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?
 :debug:extract Error code: NONE
 :debug:extract Backtrace: 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?
     invoked from within
 "findBinary xz ${portutil::autoconf::xz_path}"
     (procedure "portextract::extract_start" line 21)
     invoked from within
 "[ditem_key $ditem prerun] $targetname"
 :info:extract Warning: targets not executed for python26:
 org.macports.activate org.macports.extract org.macports.patch
 org.macports.configure org.macports.build org.macports.destroot
 org.macports.install
 :error:extract Failed to install python26
 :debug:extract 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?
 :notice:extract Please see the log file for port python26 for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/python26/main.log
 }}}

 (I have successfully installed a number of other packages, this is the
 only dependency that seems to fail).

--

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


More information about the macports-tickets mailing list