[MacPorts] #41996: expat @2.1.0 command execution failed
MacPorts
noreply at macports.org
Wed Jan 1 16:16:47 PST 2014
#41996: expat @2.1.0 command execution failed
----------------------------+--------------------------------
Reporter: glowworm4200@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.2.1
Keywords: | Port:
----------------------------+--------------------------------
{{{
$ sudo port install expat
Password:
---> Extracting expat
'''Error: org.macports.extract for port expat returned: command execution
failed'''
Please see the log file for port expat for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_expat/expat/main.log
To report a bug, follow the instructions in the guide:
http://guide.macports.org/#project.tickets
Error: Processing of port expat failed
}}}
{{{
$ cat
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_expat/expat/main.log
version:1
:debug:main expat has no conflicts
:debug:main Executing org.macports.main (expat)
:debug:main changing euid/egid - current euid: 0 - current egid: 0
:debug:main egid changed to: 500
:debug:main euid changed to: 502
:debug:main Skipping completed org.macports.archivefetch (expat)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.fetch (expat)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.checksum (expat)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:extract extract phase started at Wed Jan 1 18:47:59 EST 2014
:notice:extract ---> Extracting expat
:debug:extract Executing org.macports.extract (expat)
:info:extract ---> Extracting expat-2.1.0.tar.gz
:debug:extract setting option extract.args to
'/opt/local/var/macports/distfiles/expat/expat-2.1.0.tar.gz'
:debug:extract 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_textproc_expat/expat/work/.CC_PRINT_OPTIONS'
LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES'
MACOSX_DEPLOYMENT_TARGET='10.5'
:debug:extract Assembled command: 'cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_expat/expat/work"
&& /usr/bin/gzip -dc
'/opt/local/var/macports/distfiles/expat/expat-2.1.0.tar.gz' |
/usr/bin/gnutar --no-same-owner -xf -'
:debug:extract Executing command line: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_expat/expat/work"
&& /usr/bin/gzip -dc
'/opt/local/var/macports/distfiles/expat/expat-2.1.0.tar.gz' |
/usr/bin/gnutar --no-same-owner -xf -
:info:extract sh: /usr/bin/gnutar: No such file or directory
:info:extract
:info:extract gzip: stdout: Broken pipe
''':info:extract Command failed: cd'''
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_expat/expat/work"
&& /usr/bin/gzip -dc
'/opt/local/var/macports/distfiles/expat/expat-2.1.0.tar.gz' |
/usr/bin/gnutar --no-same-owner -xf -
:info:extract Exit code: 127
''':error:extract org.macports.extract for port expat returned: command
execution failed'''
:debug:extract Error code: NONE
:debug:extract Backtrace:''' command execution failed'''
while executing
"$procedure $targetname"
:info:extract Warning: targets not executed for expat:
org.macports.activate org.macports.extract org.macports.patch
org.macports.configure org.macports.build org.macports.destroot
org.macports.install
:notice:extract Please see the log file for port expat for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_expat/expat/main.log
}}}
I'm on OSX 10.5.8 (PPC G4), with Macports 2.2.1, and I downloaded and
installed Xcode 3.1.4
I've used macports in the past on OSX 10.4.11 without issue. I must have
done something wrong or am missing something, but I can't figure out what.
All attempts to install anything fail.
I'm not sure if the Command Line Utitilites from Xcode are installed, but
from other errors caused by that problem, this doesn't appear to look the
same. All guides point to going into Xcode > Preferences > Downloads, but
either I"m overlooking it or that option doesn't exist in my version.
There is no "Downloads" tab.
Another thing I would like to mention, which may or may not be causing
problems are the $PATH and $MANPATH values which return:
{{{
$ $PATH
-bash:
/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin::
No such file or directory
}}}
{{{
$ $MANPATH
-bash:
/opt/local/share/man:/opt/local/share/man:/usr/share/man:/usr/local/share/man:/usr/X11/man:
No such file or directory
}}}
I'm pretty sure that it shouldn't contain "No such file or directory", but
without going into vim and deleting it manually, I don't know how to fix
it. The installer script backed up my .bash_profile and created a new
one. I don't know if that "if" block running in there is causing issues or
what.
{{{
$ cat .bash_profile
# System-wide .profile for sh(1)
PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:"
export PATH
if [ "${BASH-no}" != "no" ]; then
[ -r /etc/bashrc ] && . /etc/bashrc
fi
##
# Your previous /Users/phil/.bash_profile file was backed up as
/Users/phil/.bash_profile.macports-saved_2014-01-01_at_03:50:42
##
# MacPorts Installer addition on 2014-01-01_at_03:50:42: adding an
appropriate PATH variable for use with MacPorts.
export PATH=/opt/local/bin:/opt/local/sbin:$PATH
# Finished adapting your PATH environment variable for use with MacPorts.
# MacPorts Installer addition on 2014-01-01_at_03:50:42: adding an
appropriate MANPATH variable for use with MacPorts.
export MANPATH=/opt/local/share/man:$MANPATH
# Finished adapting your MANPATH environment variable for use with
MacPorts.
##
# Your previous /Users/phil/.bash_profile file was backed up as
/Users/phil/.bash_profile.macports-saved_2014-01-01_at_17:47:24
##
# MacPorts Installer addition on 2014-01-01_at_17:47:24: adding an
appropriate PATH variable for use with MacPorts.
export PATH=/opt/local/bin:/opt/local/sbin:$PATH
# Finished adapting your PATH environment variable for use with MacPorts.
# MacPorts Installer addition on 2014-01-01_at_17:47:24: adding an
appropriate MANPATH variable for use with MacPorts.
export MANPATH=/opt/local/share/man:$MANPATH
# Finished adapting your MANPATH environment variable for use with
MacPorts.
}}}
I'm guessing I'm either missing some component or something is setup
incorrectly. Unfortunately I don't know where to look to see what's
missing. I've searched the internet for two days, with no progress. Any
help would be appreciated.
--
Ticket URL: <https://trac.macports.org/ticket/41996>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list