Opened 12 years ago

Closed 9 years ago

#34749 closed defect (duplicate)

coreutils: Failed to locate 'xz' in path

Reported by: liangguoqiu@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 2.1.1
Keywords: Cc:
Port:

Description (last modified by mf2k (Frank Schima))

--->  Computing dependencies for dpkg
--->  Dependencies to be installed: coreutils lzmautils perl5 perl5.12 gdbm zlib
--->  Extracting coreutils
Error: org.macports.extract for port coreutils 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 coreutils
Please see the log file for port coreutils for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_coreutils/coreutils/main.log
Error: The following dependencies were not installed: coreutils lzmautils perl5 perl5.12 gdbm zlib
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port dpkg failed

Change History (6)

comment:1 Changed 12 years ago by mf2k (Frank Schima)

Description: modified (diff)

What is the output of the following?

port installed xz

comment:2 in reply to:  1 Changed 12 years ago by liangguoqiu@…

Replying to macsforever2000@…:

What is the output of the following?

port installed xz

I have installed xz ,but still have another problem:

log:

Mac:Downloads liangguoqiu$ cat /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_coreutils/coreutils/main.log
version:1
:debug:main changing euid/egid - current euid: 0 - current egid: 0
:debug:main egid changed to: 501
:debug:main euid changed to: 502
:debug:main Executing org.macports.main (coreutils)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.archivefetch (coreutils)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.fetch (coreutils)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.checksum (coreutils)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.extract (coreutils)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.patch (coreutils)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:configure configure phase started at Fri Jun  8 11:47:13 CST 2012
:notice:configure --->  Configuring coreutils
:debug:configure Using compiler 'Mac OS X clang'
:debug:configure Executing org.macports.configure (coreutils)
:debug:configure Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_coreutils/coreutils/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.7'
:debug:configure Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_coreutils/coreutils/work/coreutils-8.17" && autoreconf --install -fvi'
:debug:configure Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_coreutils/coreutils/work/coreutils-8.17" && autoreconf --install -fvi 
:info:configure sh: autoreconf: command not found
:info:configure Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_coreutils/coreutils/work/coreutils-8.17" && autoreconf --install -fvi 
:info:configure Exit code: 127
:error:configure org.macports.configure for port coreutils returned: autoreconf failure: command execution failed
:debug:configure Error code: NONE
:debug:configure Backtrace: autoreconf failure: command execution failed
    while executing
"$procedure $targetname"
:info:configure Warning: targets not executed for coreutils: org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install
:error:configure Failed to install coreutils
:debug:configure couldn't open "/System/Library/Frameworks/Tcl.framework/Versions/8.5/Resources/tclIndex": no such file or directory
    while executing
"open [file join $dir tclIndex]"
:notice:configure Please see the log file for port coreutils for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_coreutils/coreutils/main.log

comment:3 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Port: coreutils added
Summary: Failed to locate 'xz' in pathcoreutils: Failed to locate 'xz' in path

You need to use WikiFormatting when writing in Trac.

So somehow you were able to overcome the nonexistence of xz; good. Now it says autoreconf is not found. But autoconf is a dependency of coreutils so it should be there. (What does "port installed autoconf" say?) Since the output you're showing us above is not from a clean attempt, please clean, selfupdate, and try again:

sudo port clean coreutils
sudo port selfupdate
sudo port install coreutils

If it fails again, attach (not paste) the new main.log.

comment:4 Changed 12 years ago by nerdling (Jeremy Lavergne)

Resolution: worksforme
Status: newclosed

Not enough information provided by the author.

comment:5 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: worksforme
Status: closedreopened

comment:6 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Component: portsbase
Port: coreutils removed
Resolution: duplicate
Status: reopenedclosed

I think this is a duplicate of #34547.

Note: See TracTickets for help on using tickets.