$ sudo port install py25-wxpython -d -v Password: ---> Computing dependencies for py25-wxpython ---> Building py25-wxpython Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py25-wxpython/work/wxPython-src-2.8.9.1/wxPython" && /opt/local/bin/python2.5 setup.py build " returned error 1 Command output: from include/wx/wxPython/wxPython.h:22, from src/mac/_gdi_wrap.cpp:2736: /opt/local/lib/wx/include/mac-unicode-release-2.8/wx/setup.h:962:1: warning: "SIZEOF_SIZE_T" redefined In file included from /opt/local/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5/Python.h:8, from src/mac/_gdi_wrap.cpp:129: /opt/local/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5/pyconfig.h:830:1: warning: this is the location of the previous definition src/mac/_gdi_wrap.cpp: In function 'void SWIG_Python_AddErrorMsg(const char*)': src/mac/_gdi_wrap.cpp:864: warning: format not a string literal and no format arguments In file included from src/mac/_gdi_wrap.cpp:2736: include/wx/wxPython/wxPython.h: In function 'bool wxPyCoreAPI_IMPORT()': include/wx/wxPython/wxPython.h:39: warning: deprecated conversion from string constant to 'char*' include/wx/wxPython/wxPython.h:39: warning: deprecated conversion from string constant to 'char*' src/mac/_gdi_wrap.cpp: In function 'wxPalette* new_wxPalette(const wxArrayInt&, const wxArrayInt&, const wxArrayInt&)': src/mac/_gdi_wrap.cpp:2883: warning: comparison between signed and unsigned integer expressions src/mac/_gdi_wrap.cpp:2883: warning: comparison between signed and unsigned integer expressions src/mac/_gdi_wrap.cpp: In function 'PyObject* _wrap_Font_MacGetATSUFontID(PyObject*, PyObject*)': src/mac/_gdi_wrap.cpp:15850: error: 'class wxFont' has no member named 'MacGetATSUFontID' src/mac/_gdi_wrap.cpp: In function 'PyObject* _wrap_PenList_AddPen(PyObject*, PyObject*, PyObject*)': src/mac/_gdi_wrap.cpp:32884: warning: 'AddPen' is deprecated (declared at /opt/local/include/wx-2.8/wx/gdicmn.h:516) src/mac/_gdi_wrap.cpp: In function 'PyObject* _wrap_PenList_RemovePen(PyObject*, PyObject*, PyObject*)': src/mac/_gdi_wrap.cpp:32922: warning: 'RemovePen' is deprecated (declared at /opt/local/include/wx-2.8/wx/gdicmn.h:517) src/mac/_gdi_wrap.cpp: In function 'PyObject* _wrap_BrushList_AddBrush(PyObject*, PyObject*, PyObject*)': src/mac/_gdi_wrap.cpp:33015: warning: 'AddBrush' is deprecated (declared at /opt/local/include/wx-2.8/wx/gdicmn.h:526) src/mac/_gdi_wrap.cpp: In function 'PyObject* _wrap_BrushList_RemoveBrush(PyObject*, PyObject*, PyObject*)': src/mac/_gdi_wrap.cpp:33053: warning: 'RemoveBrush' is deprecated (declared at /opt/local/include/wx-2.8/wx/gdicmn.h:527) src/mac/_gdi_wrap.cpp: In function 'PyObject* _wrap_FontList_AddFont(PyObject*, PyObject*, PyObject*)': src/mac/_gdi_wrap.cpp:33205: warning: 'AddFont' is deprecated (declared at /opt/local/include/wx-2.8/wx/gdicmn.h:539) src/mac/_gdi_wrap.cpp: In function 'PyObject* _wrap_FontList_RemoveFont(PyObject*, PyObject*, PyObject*)': src/mac/_gdi_wrap.cpp:33243: warning: 'RemoveFont' is deprecated (declared at /opt/local/include/wx-2.8/wx/gdicmn.h:540) error: command '/usr/bin/gcc-4.2' failed with exit status 1 Error: Status 1 encountered during processing. Before reporting a bug, first run the command again with the -d flag to get complete output.