cosmos-ibook-g4:~ cosmos$ sudo port sync
cosmos-ibook-g4:~ cosmos$ sudo port selfupdate

MacPorts base version 1.710 installed
Downloaded MacPorts base version 1.710

The MacPorts installation is not outdated so it was not updated
cosmos-ibook-g4:~ cosmos$ sudo port sync
cosmos-ibook-g4:~ cosmos$ sudo port install py25-wxpython
--->  Fetching python25
--->  Verifying checksum(s) for python25
--->  Extracting python25
--->  Applying patches to python25
--->  Configuring python25
--->  Building python25
--->  Staging python25 into destroot
--->  Installing python25 @2.5.4_6+darwin_8+macosx
--->  Activating python25 @2.5.4_6+darwin_8+macosx

To fully complete your installation and make python 2.5 the default, please run

        sudo port install python_select  
        sudo python_select python25

--->  Cleaning python25
--->  Fetching wxWidgets
--->  Verifying checksum(s) for wxWidgets
--->  Extracting wxWidgets
--->  Applying patches to wxWidgets
--->  Configuring wxWidgets
--->  Building wxWidgets
--->  Staging wxWidgets into destroot
--->  Installing wxWidgets @2.8.9_0
--->  Activating wxWidgets @2.8.9_0
--->  Cleaning wxWidgets
--->  Fetching py25-wxpython
--->  Verifying checksum(s) for py25-wxpython
--->  Extracting py25-wxpython
--->  Configuring 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.2/wxPython" && /opt/local/bin/python2.5 setup.py build " returned error 1
Command output: src/mac/_gdi_wrap.cpp:30211: error: 'arg2' was not declared in this scope
src/mac/_gdi_wrap.cpp:30251: error: expected type-specifier before 'wxGraphicsBitmap'
src/mac/_gdi_wrap.cpp:30251: error: expected `>' before 'wxGraphicsBitmap'
src/mac/_gdi_wrap.cpp:30251: error: expected `(' before 'wxGraphicsBitmap'
src/mac/_gdi_wrap.cpp:30251: error: expected primary-expression before '>' token
src/mac/_gdi_wrap.cpp:30251: error: expected `)' before ';' token
src/mac/_gdi_wrap.cpp:30273: error: 'class wxGraphicsContext' has no member named 'DrawGraphicsBitmap'
src/mac/_gdi_wrap.cpp:30273: error: expected `)' before 'const'
src/mac/_gdi_wrap.cpp:30273: error: expected `)' before ';' token
src/mac/_gdi_wrap.cpp: In function 'PyObject* _wrap_PenList_AddPen(PyObject*, PyObject*, PyObject*)':
src/mac/_gdi_wrap.cpp:33140: 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:33178: 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:33271: 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:33309: 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:33461: 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:33499: warning: 'RemoveFont' is deprecated (declared at /opt/local/include/wx-2.8/wx/gdicmn.h:540)
src/mac/_gdi_wrap.cpp: In function 'void* _p_wxGraphicsBitmapTo_p_wxGraphicsObject(void*)':
src/mac/_gdi_wrap.cpp:40941: error: 'wxGraphicsBitmap' was not declared in this scope
src/mac/_gdi_wrap.cpp:40941: error: expected primary-expression before 'void'
src/mac/_gdi_wrap.cpp:40941: error: expected `)' before 'void'
src/mac/_gdi_wrap.cpp: In function 'void* _p_wxGraphicsBitmapTo_p_wxObject(void*)':
src/mac/_gdi_wrap.cpp:41154: error: 'wxGraphicsBitmap' was not declared in this scope
src/mac/_gdi_wrap.cpp:41154: error: expected primary-expression before 'void'
src/mac/_gdi_wrap.cpp:41154: error: expected `)' before 'void'
error: command '/usr/bin/gcc-4.0' failed with exit status 1

Error: Status 1 encountered during processing.
cosmos-ibook-g4:~ cosmos$