[MacPorts] #36752: expat: sed and expr commands not found (was: trying to install git-core...nothing but errors)
MacPorts
noreply at macports.org
Fri Oct 26 21:46:12 PDT 2012
#36752: expat: sed and expr commands not found
--------------------------+--------------------------
Reporter: tai.vegas@… | Owner: ryandesign@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: base | Version: 2.1.2
Resolution: | Keywords:
Port: expat |
--------------------------+--------------------------
Changes (by ryandesign@…):
* priority: High => Normal
* owner: macports-tickets@… => ryandesign@…
* port: => expat
Old description:
> sudo port install git-core +svn
>
> ---> Computing dependencies for git-core
> ---> Dependencies to be installed: bash-completion bash gettext expat
> libiconv gperf ncurses grep pcre bzip2 libedit zlib xz curl curl-ca-
> bundle perl5 perl5.12 gdbm libidn openssl pkgconfig p5.12-error p5.12
> -libwww-perl p5.12-encode-locale p5.12-file-listing p5.12-http-date p5.12
> -html-form p5.12-html-parser p5.12-html-tagset p5.12-http-message p5.12
> -lwp-mediatypes p5.12-uri p5.12-mime-base64 p5.12-http-cookies p5.12
> -http-daemon p5.12-http-negotiate p5.12-lwp-protocol-https p5.12-io-
> socket-ssl p5.12-net-libidn p5.12-net-ssleay p5.12-mozilla-ca p5.12-net-
> http p5.12-www-robotrules p5.12-svn-simple subversion-perlbindings-5.12
> apr apr-util db46 sqlite3 cyrus-sasl2 kerberos5 neon serf1 subversion
> p5.12-term-readkey python27 python_select rsync popt
> ---> Configuring expat
> Error: org.macports.configure for port expat returned: configure failure:
> command execution failed
> Error: Failed to install expat
> 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
> Error: The following dependencies were not installed: bash-completion
> bash gettext expat libiconv gperf ncurses grep pcre bzip2 libedit zlib xz
> curl curl-ca-bundle perl5 perl5.12 gdbm libidn openssl pkgconfig
> p5.12-error p5.12-libwww-perl p5.12-encode-locale p5.12-file-listing
> p5.12-http-date p5.12-html-form p5.12-html-parser p5.12-html-tagset p5.12
> -http-message p5.12-lwp-mediatypes p5.12-uri p5.12-mime-base64 p5.12
> -http-cookies p5.12-http-daemon p5.12-http-negotiate p5.12-lwp-protocol-
> https p5.12-io-socket-ssl p5.12-net-libidn p5.12-net-ssleay p5.12
> -mozilla-ca p5.12-net-http p5.12-www-robotrules p5.12-svn-simple
> subversion-perlbindings-5.12 apr apr-util db46 sqlite3 cyrus-sasl2
> kerberos5 neon serf1 subversion p5.12-term-readkey python27 python_select
> rsync popt
> To report a bug, follow the instructions in the guide:
> http://guide.macports.org/#project.tickets
> Error: Processing of port git-core failed
>
> I'm running the command above trying to install git-core and I don't
> understand what the log is telling me.
>
> 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 (expat)
> :debug:main Privilege de-escalation not attempted as not running as root.
> :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:main Skipping completed org.macports.extract (expat)
> :debug:main Privilege de-escalation not attempted as not running as root.
> :debug:main Skipping completed org.macports.patch (expat)
> :debug:main Privilege de-escalation not attempted as not running as root.
> :debug:configure configure phase started at Fri Oct 26 23:20:07 EDT 2012
> :notice:configure ---> Configuring expat
> :debug:configure Using compiler 'Mac OS X clang'
> :debug:configure Executing org.macports.configure (expat)
> :debug:configure Environment: CPATH='/opt/local/include' CFLAGS='-pipe
> -O2 -arch x86_64' CPPFLAGS='-I/opt/local/include' CXXFLAGS='-pipe -O2
> -arch x86_64' LIBRARY_PATH='/opt/local/lib'
> MACOSX_DEPLOYMENT_TARGET='10.8' CXX='/usr/bin/clang++'
> 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'
> F90FLAGS='-pipe -O2 -m64' LDFLAGS='-L/opt/local/lib -arch x86_64'
> OBJC='/usr/bin/clang' FCFLAGS='-pipe -O2 -m64' INSTALL='/usr/bin/install
> -c' OBJCFLAGS='-pipe -O2 -arch x86_64' FFLAGS='-pipe -O2 -m64'
> CC_PRINT_OPTIONS='YES' CC='/usr/bin/clang'
> :debug:configure Assembled command: 'cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_expat/expat/work/expat-2.1.0"
> && ./configure --prefix=/opt/local'
> :debug:configure Executing command line: cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_expat/expat/work/expat-2.1.0"
> && ./configure --prefix=/opt/local
> :info:configure ./configure: line 416: sed: not found
> :info:configure ./configure[442]: eval: line 2: expr: not found
> :info:configure ./configure: line 445: sed: not found
> :info:configure ./configure: line 449: sed: not found
> :info:configure : error: cannot create .lineno; rerun with a POSIX shell
> :info:configure Command failed: cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_expat/expat/work/expat-2.1.0"
> && ./configure --prefix=/opt/local
> :info:configure Exit code: 1
> :error:configure org.macports.configure for port expat returned:
> configure failure: command execution failed
> :debug:configure Error code: NONE
> :debug:configure Backtrace: configure failure: command execution failed
> while executing
> "$procedure $targetname"
> :info:configure Warning: targets not executed for expat:
> org.macports.activate org.macports.configure org.macports.build
> org.macports.destroot org.macports.install
> :error:configure Failed to install expat
> :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 expat for details:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_expat/expat/main.log
> ======
> end log
New description:
sudo port install git-core +svn
{{{
---> Computing dependencies for git-core
---> Dependencies to be installed: bash-completion bash gettext expat
libiconv gperf ncurses grep pcre bzip2 libedit zlib xz curl curl-ca-bundle
perl5 perl5.12 gdbm libidn openssl pkgconfig p5.12-error p5.12-libwww-perl
p5.12-encode-locale p5.12-file-listing p5.12-http-date p5.12-html-form
p5.12-html-parser p5.12-html-tagset p5.12-http-message p5.12-lwp-
mediatypes p5.12-uri p5.12-mime-base64 p5.12-http-cookies p5.12-http-
daemon p5.12-http-negotiate p5.12-lwp-protocol-https p5.12-io-socket-ssl
p5.12-net-libidn p5.12-net-ssleay p5.12-mozilla-ca p5.12-net-http p5.12
-www-robotrules p5.12-svn-simple subversion-perlbindings-5.12 apr apr-util
db46 sqlite3 cyrus-sasl2 kerberos5 neon serf1 subversion p5.12-term-
readkey python27 python_select rsync popt
---> Configuring expat
Error: org.macports.configure for port expat returned: configure failure:
command execution failed
Error: Failed to install expat
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
Error: The following dependencies were not installed: bash-completion bash
gettext expat libiconv gperf ncurses grep pcre bzip2 libedit zlib xz curl
curl-ca-bundle perl5 perl5.12 gdbm libidn openssl pkgconfig p5.12-error
p5.12-libwww-perl p5.12-encode-locale p5.12-file-listing p5.12-http-date
p5.12-html-form p5.12-html-parser p5.12-html-tagset p5.12-http-message
p5.12-lwp-mediatypes p5.12-uri p5.12-mime-base64 p5.12-http-cookies p5.12
-http-daemon p5.12-http-negotiate p5.12-lwp-protocol-https p5.12-io-
socket-ssl p5.12-net-libidn p5.12-net-ssleay p5.12-mozilla-ca p5.12-net-
http p5.12-www-robotrules p5.12-svn-simple subversion-perlbindings-5.12
apr apr-util db46 sqlite3 cyrus-sasl2 kerberos5 neon serf1 subversion
p5.12-term-readkey python27 python_select rsync popt
To report a bug, follow the instructions in the guide:
http://guide.macports.org/#project.tickets
Error: Processing of port git-core failed
}}}
I'm running the command above trying to install git-core and I don't
understand what the log is telling me.
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 (expat)
:debug:main Privilege de-escalation not attempted as not running as root.
: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:main Skipping completed org.macports.extract (expat)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.patch (expat)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:configure configure phase started at Fri Oct 26 23:20:07 EDT 2012
:notice:configure ---> Configuring expat
:debug:configure Using compiler 'Mac OS X clang'
:debug:configure Executing org.macports.configure (expat)
:debug:configure Environment: CPATH='/opt/local/include' CFLAGS='-pipe -O2
-arch x86_64' CPPFLAGS='-I/opt/local/include' CXXFLAGS='-pipe -O2 -arch
x86_64' LIBRARY_PATH='/opt/local/lib' MACOSX_DEPLOYMENT_TARGET='10.8'
CXX='/usr/bin/clang++'
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'
F90FLAGS='-pipe -O2 -m64' LDFLAGS='-L/opt/local/lib -arch x86_64'
OBJC='/usr/bin/clang' FCFLAGS='-pipe -O2 -m64' INSTALL='/usr/bin/install
-c' OBJCFLAGS='-pipe -O2 -arch x86_64' FFLAGS='-pipe -O2 -m64'
CC_PRINT_OPTIONS='YES' CC='/usr/bin/clang'
:debug:configure Assembled command: 'cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_expat/expat/work/expat-2.1.0"
&& ./configure --prefix=/opt/local'
:debug:configure Executing command line: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_expat/expat/work/expat-2.1.0"
&& ./configure --prefix=/opt/local
:info:configure ./configure: line 416: sed: not found
:info:configure ./configure[442]: eval: line 2: expr: not found
:info:configure ./configure: line 445: sed: not found
:info:configure ./configure: line 449: sed: not found
:info:configure : error: cannot create .lineno; rerun with a POSIX shell
:info:configure Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_expat/expat/work/expat-2.1.0"
&& ./configure --prefix=/opt/local
:info:configure Exit code: 1
:error:configure org.macports.configure for port expat returned: configure
failure: command execution failed
:debug:configure Error code: NONE
:debug:configure Backtrace: configure failure: command execution failed
while executing
"$procedure $targetname"
:info:configure Warning: targets not executed for expat:
org.macports.activate org.macports.configure org.macports.build
org.macports.destroot org.macports.install
:error:configure Failed to install expat
: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 expat for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_expat/expat/main.log
}}}
end log
--
Comment:
Please remember to use WikiFormatting when writing in Trac.
The log appears to be telling you that the `sed` and `expr` commands
cannot be found. These are standard UNIX commands that are part of every
OS X install; if they're missing on your system, other commands may be
missing as well, and the simplest way to get them back would be to
reinstall OS X.
--
Ticket URL: <https://trac.macports.org/ticket/36752#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list