[MacPorts] #33918: py27-wxpython fails with Xcode 4.3.2
MacPorts
noreply at macports.org
Fri Apr 6 18:46:40 PDT 2012
#33918: py27-wxpython fails with Xcode 4.3.2
------------------------------------+---------------------------------------
Reporter: martin.kastner@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.4
Keywords: | Port:
------------------------------------+---------------------------------------
'''Symptom:'''
:info:build compiler_so = _darwin_compiler_fixup(compiler_so, cc_args
+ extra_postargs)
:info:build File
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_python_py-wxpython/py27-wxpython/work
/wxPython-src-2.8.12.1/wxPython/config.py", line 770, in
_darwin_compiler_fixup
:info:build log.warn("Compiling with an SDK that doesn't seem to
exist: %s",
:info:build NameError: global name 'log' is not defined
:info:build shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_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_tarballs_ports_python_py-wxpython/py27-wxpython/main.log
'''Culprit:'''
SDKs folder is hard coded in config.py
config.py:1041: cflags.append("/Developer/SDKs/MacOSX10.6.sdk")
'''Workaround:'''
Create some links ...
#cd /
#ln -s /Applications/Xcode.app/Contents/Developer Developer
#cd /Developer
#ln -s
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs
SDKs
--
Ticket URL: <https://trac.macports.org/ticket/33918>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list