wxPython build fails look for llvm-gcc-4.2

Dave Curtis dave at dave-curtis.com
Wed Mar 21 10:47:33 PDT 2012


Dependency build seemed to complete happily, and after this:

david-curtiss-macbook:wxtab dave$ sudo port clean py27-wxpython
--->  Cleaning py27-wxpython
david-curtiss-macbook:wxtab dave$ sudo port install py27-wxpython
--->  Computing dependencies for py27-wxpython
--->  Fetching archive for py27-wxpython
--->  Attempting to fetch py27-wxpython-2.8.12.1_0.darwin_10.i386.tgz from http://packages.macports.org/py27-wxpython
--->  Fetching py27-wxpython
--->  Verifying checksum(s) for py27-wxpython
--->  Extracting py27-wxpython
--->  Applying patches to py27-wxpython
--->  Configuring py27-wxpython
--->  Building py27-wxpython
Error: Target org.macports.build returned: shell command failed (see log for details)
Log for py27-wxpython is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py-wxpython/py27-wxpython/main.log
Error: Status 1 encountered during processing.

Inspection of the log file shows these last few lines:

:info:build copying wxPython/tools/dbg.py -> build.unicode/lib.macosx-10.6-x86_64-2.7/wxPython/tools
:info:build copying wxPython/tools/helpviewer.py -> build.unicode/lib.macosx-10.6-x86_64-2.7/wxPython/tools
:info:build copying wxPython/tools/img2img.py -> build.unicode/lib.macosx-10.6-x86_64-2.7/wxPython/tools
:info:build copying wxPython/tools/img2png.py -> build.unicode/lib.macosx-10.6-x86_64-2.7/wxPython/tools
:info:build copying wxPython/tools/img2py.py -> build.unicode/lib.macosx-10.6-x86_64-2.7/wxPython/tools
:info:build copying wxPython/tools/img2xpm.py -> build.unicode/lib.macosx-10.6-x86_64-2.7/wxPython/tools
:info:build package init file 'wx/lib/pubsub/pubsub1/__init__.py' not found (or not a regular file)
:info:build package init file 'wx/lib/pubsub/pubsub2/__init__.py' not found (or not a regular file)
:info:build package init file 'wx/tools/XRCed/plugins/__init__.py' not found (or not a regular file)
:info:build running build_ext
:info:build building '_core_' extension
:info:build creating build.unicode/temp.macosx-10.6-x86_64-2.7
:info:build creating build.unicode/temp.macosx-10.6-x86_64-2.7/src
:info:build creating build.unicode/temp.macosx-10.6-x86_64-2.7/src/mac
:info:build llvm-gcc-4.2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -DSWIG_TYPE_TABLE=_wxPython_table -DSWIG_PYTHON_OUTPUT_TUPLE -DWXP_USE_THREAD=1 -UNDEBUG -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXMAC__ -Iinclude -Isrc -I/opt/local/lib/wx/include/mac-unicode-release-2.8 -I/opt/local/include/wx-2.8 -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/helpers.cpp -o build.unicode/temp.macosx-10.6-x86_64-2.7/src/helpers.o -O3 -isysroot /Developer/SDKs/MacOSX10.6.sdk
:info:build unable to execute llvm-gcc-4.2: No such file or directory
:info:build error: command 'llvm-gcc-4.2' failed with exit status 1
:info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py-wxpython/py27-wxpython/work/wxPython-src-2.8.12.1/wxPython" && /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 setup.py --no-user-cfg build " returned error 1
:error:build Target org.macports.build returned: shell command failed (see log for details)
:debug:build Backtrace: shell command failed (see log for details)
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: the following items did not execute (for py27-wxpython): org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Log for py27-wxpython is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py-wxpython/py27-wxpython/main.log

So.. am I interpreting this correctly?  That the build is looking for llvm-gcc-4.2 in the path someplace?
Because `which llvm-gcc-4.2` comes up empty.

-dave


More information about the macports-users mailing list