Build bug on wxPython trunk?

An hour ago I checked out wxWidgets and wxPython fresh from the trunk.

wxWidgets builds fine, but my wxPython setup.py dies as shown...is this a bug in the trunk code, or my problem?

% python setup.py build_ext --debug --inplace MONOLITHIC=0 UNICODE=1
# (rest of build snipped)
building '_windows_' extension
c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\cl.exe /c /nologo /Od /MDd /W3 /GS- /Z7 /D_DEBUG -DWIN32 -D_WINDOWS -D__WXMSW__ -DWXUSINGDLL=1 -DSWIG_TYPE_TABLE=_wxPython_table -DSWIG_PYTHON_OUTPUT_TUPLE -DWXP_USE_THREAD=1 -UNDEBUG -D__WXDEBUG__ -DwxUSE_UNICODE=1 -Iinclude -Isrc -Ic:\Users\rod\devel\3rdparty\wx\trunk\wxWidgets\lib\vc_dll\mswud -Ic:\Users\rod\devel\3rdparty\wx\trunk\wxWidgets\include -Ic:\Users\rod\devel\3rdparty\wx\trunk\wxWidgets\contrib\include -Ic:\Python26\include -Ic:\Python26\PC /Tpc:\Users\rod\devel\3rdparty\wx\trunk\wxWidgets\wxPython\src\msw\_windows_wrap.cpp /Fobuild.unicode\temp.win32-2.6\Debug\src\msw\_windows_wrap.obj /Gy /EHsc
_windows_wrap.cpp
c:\Users\rod\devel\3rdparty\wx\trunk\wxWidgets\wxPython\src\msw\_windows_wrap.cpp(3011) : warning C4996: 'wxVarVScrollLegacyAdaptor::OnGetLineHeight': was declared deprecated
      c:\Users\rod\devel\3rdparty\wx\trunk\wxWidgets\include\wx/vscroll.h(620) : see declaration of 'wxVarVScrollLegacyAdaptor::OnGetLineHeight'
c:\Users\rod\devel\3rdparty\wx\trunk\wxWidgets\wxPython\src\msw\_windows_wrap.cpp(3011) : warning C4996: 'wxVarVScrollLegacyAdaptor::OnGetLinesHint': was declared deprecated
      c:\Users\rod\devel\3rdparty\wx\trunk\wxWidgets\include\wx/vscroll.h(642) : see declaration of 'wxVarVScrollLegacyAdaptor::OnGetLinesHint'
c:\Users\rod\devel\3rdparty\wx\trunk\wxWidgets\wxPython\src\msw\_windows_wrap.cpp(3018) : warning C4996: 'wxVarVScrollLegacyAdaptor::OnGetLinesHint': was declared deprecated
      c:\Users\rod\devel\3rdparty\wx\trunk\wxWidgets\include\wx/vscroll.h(642) : see declaration of 'wxVarVScrollLegacyAdaptor::OnGetLinesHint'
c:\Users\rod\devel\3rdparty\wx\trunk\wxWidgets\wxPython\src\msw\_windows_wrap.cpp(3018) : warning C4996: 'wxVarVScrollLegacyAdaptor::OnGetLinesHint': was declared deprecated
      c:\Users\rod\devel\3rdparty\wx\trunk\wxWidgets\include\wx/vscroll.h(642) : see declaration of 'wxVarVScrollLegacyAdaptor::OnGetLinesHint'
c:\Users\rod\devel\3rdparty\wx\trunk\wxWidgets\wxPython\src\msw\_windows_wrap.cpp(26083) : error C2661: 'wxMDIClientWindow::wxMDIClientWindow' : no overloaded function takes 2 arguments
error: command '"c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\cl.exe"' failed with exit status 2

Hi,

Rod Morison wrote:

An hour ago I checked out wxWidgets and wxPython fresh from the trunk.

wxWidgets builds fine, but my wxPython setup.py dies as shown...is this a bug in the trunk code, or my problem?

The wxPython trunk is synchronized to the wxWidgets trunk at irregular intervals by Robin Dunn. Usually, some wxWidgets interfaces will change shortly afterwards, which will break the build process. According to the svn log, the last synchronization occurred during revision 56387 (see http://wx.ibaku.net/changelog/?t=2&d=RD). You can get that revision using
$ svn update -r56387
in your local wxWidgets and wxPython directories. I'm not sure whether this will build with Python 2.6 though, I have only tested with 2.5.
Good luck,
Christoph

Christoph Schmidt-Hieber wrote:

The wxPython trunk is synchronized to the wxWidgets trunk at irregular intervals by Robin Dunn. Usually, some wxWidgets interfaces will change shortly afterwards, which will break the build process. According to the svn log, the last synchronization occurred during revision 56387 (see http://wx.ibaku.net/changelog/?t=2&d=RD). You can get that revision using
$ svn update -r56387
in your local wxWidgets and wxPython directories. I'm not sure whether this will build with Python 2.6 though, I have only tested with 2.5.

Ok, this did give me a complete build off the trunk. However, the problem I was hoping to be fixed on the trunk is not, at least at the rev you gave. I'm hitting the crash described in wxTrac has been migrated to GitHub Issues - wxWidgets, supposedly fixed in wxTrac has been migrated to GitHub Issues - wxWidgets. Afaict I'm dead in the water on Vista 64 bit until I get 56863 working.

I'm wondering if I build wxWidgets and wxPython in 64 bit with 64 bit Python, things will work?

I suppose I could go back to my old/slow 32 bit Windows XP box for now. *sigh*