[MacPorts] #40966: llvm-3.3 doesn't compile if python33 is selected
MacPorts
noreply at macports.org
Sat Oct 26 14:15:10 PDT 2013
#40966: llvm-3.3 doesn't compile if python33 is selected
------------------------+--------------------------------
Reporter: iemejia@… | Owner: macports-tickets@…
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.2.1
Resolution: duplicate | Keywords:
Port: llvm-3.3 |
------------------------+--------------------------------
Changes (by ryandesign@…):
* status: new => closed
* cc: jeremyhu@… (added)
* resolution: => duplicate
* port: => llvm-3.3
Old description:
> I was trying to compile the llvm-3.3 in mavericks (since it's still a
> dependency of many packages), but it fails. I activated 'sudo port select
> python python27' and everything went ok.
>
> The log in the configure part where it broke is this one:
> `
> :info:configure checking for python... /opt/local/bin/python
> :info:configure checking for python >= 2.5... File "<string>", line 1
> :info:configure import sys; print sys.version.split()[0]
> :info:configure ^
> :info:configure SyntaxError: invalid syntax
> :info:configure ./configure: line 12394: test: : integer expression
> expected
> :info:configure not found
> :info:configure configure: error: found python (/opt/local/bin/python);
> required >= 2.5
> :info:configure See `config.log' for more details.
> :info:configure Command failed: cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_lang_llvm-3.3/llvm-3.3/work/llvm-3.3.src"
> && ./configure --build=x86_64-apple-darwin13 --enable-bindings=none
> --enable-libffi --enable-shared --enable-jit --enable-optimized
> --disable-profiling --enable-pic --enable-debug-symbols --disable-debug-
> runtime --prefix="/opt/local/libexec/llvm-3.3"
> :info:configure Exit code: 1
> :error:configure Failed to configure llvm-3.3, consult
> /opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_lang_llvm-3.3/llvm-3.3/work/llvm-3.3.src/config.log
> :error:configure org.macports.configure for port llvm-3.3 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 llvm-3.3:
> org.macports.activate org.macports.configure org.macports.build
> org.macports.destroot org.macports.install
> :error:configure Failed to install llvm-3.3
> :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 llvm-3.3 for details:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_lang_llvm-3.3/llvm-3.3/main.log
> `
New description:
I was trying to compile the llvm-3.3 in mavericks (since it's still a
dependency of many packages), but it fails. I activated 'sudo port select
python python27' and everything went ok.
The log in the configure part where it broke is this one:
{{{
:info:configure checking for python... /opt/local/bin/python
:info:configure checking for python >= 2.5... File "<string>", line 1
:info:configure import sys; print sys.version.split()[0]
:info:configure ^
:info:configure SyntaxError: invalid syntax
:info:configure ./configure: line 12394: test: : integer expression
expected
:info:configure not found
:info:configure configure: error: found python (/opt/local/bin/python);
required >= 2.5
:info:configure See `config.log' for more details.
:info:configure Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_lang_llvm-3.3/llvm-3.3/work/llvm-3.3.src"
&& ./configure --build=x86_64-apple-darwin13 --enable-bindings=none
--enable-libffi --enable-shared --enable-jit --enable-optimized --disable-
profiling --enable-pic --enable-debug-symbols --disable-debug-runtime
--prefix="/opt/local/libexec/llvm-3.3"
:info:configure Exit code: 1
:error:configure Failed to configure llvm-3.3, consult
/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_lang_llvm-3.3/llvm-3.3/work/llvm-3.3.src/config.log
:error:configure org.macports.configure for port llvm-3.3 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 llvm-3.3:
org.macports.activate org.macports.configure org.macports.build
org.macports.destroot org.macports.install
:error:configure Failed to install llvm-3.3
: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 llvm-3.3 for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_lang_llvm-3.3/llvm-3.3/main.log
}}}
--
Comment:
Duplicate of #32575.
--
Ticket URL: <https://trac.macports.org/ticket/40966#comment:1>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list