[MacPorts] #39700: llvm-3.3 upgrade error: invalid syntax

MacPorts noreply at macports.org
Wed Jul 10 11:24:59 PDT 2013


#39700: llvm-3.3 upgrade error: invalid syntax
----------------------+--------------------------------
 Reporter:  deesto@…  |      Owner:  macports-tickets@…
     Type:  defect    |     Status:  new
 Priority:  Normal    |  Milestone:
Component:  ports     |    Version:  2.1.3
 Keywords:            |       Port:  llvm-3.3
----------------------+--------------------------------
 It looks like llvm-3.3 for 10.6 won't build unless [ v2.4 <
 `/opt/local/bin/python` < v3 ]? I've been unable to upgrade llvm and clang
 for a few weeks.

 {{{
 ...
 checking for python >= 2.5...   File "<string>", line 1
     import sys; print sys.version.split()[0]
                         ^
 SyntaxError: invalid syntax
 ./configure: line 12394: test: : integer expression expected
 not found
 configure: error: found python  (/opt/local/bin/python); required >= 2.5
 See `config.log' for more details.
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_lang_llvm-3.3/llvm-3.3/work/llvm-3.3.src"
 && ./configure --build=x86_64-apple-darwin10 --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" --enable-assertions
 ....
 }}}

 {{{
 $ /opt/local/bin/python -V
 Python 3.2.5
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/39700>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list