[MacPorts] #13756: py25-wxpython fails to build on Leopard

MacPorts trac at macosforge.org
Sun Dec 30 14:28:27 PST 2007


#13756: py25-wxpython fails to build on Leopard
--------------------------------+-------------------------------------------
 Reporter:  gjznituv at gmail.com  |       Owner:  macports-tickets at lists.macosforge.org
     Type:  defect              |      Status:  new                                  
 Priority:  Normal              |   Milestone:                                       
Component:  ports               |     Version:  1.6.0                                
 Keywords:                      |  
--------------------------------+-------------------------------------------
 {{{
 [~] sudo port install py25-wxpython
 --->  Fetching py25-wxpython
 --->  Verifying checksum(s) for py25-wxpython
 --->  Extracting py25-wxpython
 --->  Configuring py25-wxpython
 --->  Building py25-wxpython with target build
 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.7.1/wxPython" && /opt/local/bin/python2.5 setup.py build
 " returned error 1
 Command output: /usr/bin/g++-4.0 -L/opt/local/lib -bundle -undefined
 dynamic_lookup build.unicode/temp.macosx-10.3-i386-2.5/src/helpers.o
 build.unicode/temp.macosx-10.3-i386-2.5/src/mac/_core_wrap.o
 -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -lstdc++ -lwx_macu-2.8
 -o build.unicode/lib.macosx-10.3-i386-2.5/wx/_core_.so -framework IOKit
 -framework Carbon -framework Cocoa -framework System -framework QuickTime
 building '_gdi_' extension
 /usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp-precomp
 -mno-fused-madd -DNDEBUG -g -O3 -Wall -Wstrict-prototypes
 -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/include/python2.5 -c
 src/drawlist.cpp -o build.unicode/temp.macosx-10.3-i386-2.5/src/drawlist.o
 -O3
 cc1plus: warning: command line option "-Wstrict-prototypes" is valid for
 C/ObjC but not for C++
 /usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp-precomp
 -mno-fused-madd -DNDEBUG -g -O3 -Wall -Wstrict-prototypes
 -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/include/python2.5 -c
 src/pseudodc.cpp -o build.unicode/temp.macosx-10.3-i386-2.5/src/pseudodc.o
 -O3
 cc1plus: warning: command line option "-Wstrict-prototypes" is valid for
 C/ObjC but not for C++
 src/pseudodc.cpp: In function 'void GreyOutImage(wxImage&)':
 src/pseudodc.cpp:60: warning: 'mb' may be used uninitialized in this
 function
 src/pseudodc.cpp:60: warning: 'mg' may be used uninitialized in this
 function
 src/pseudodc.cpp:60: warning: 'mr' may be used uninitialized in this
 function
 /usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp-precomp
 -mno-fused-madd -DNDEBUG -g -O3 -Wall -Wstrict-prototypes
 -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/include/python2.5 -c
 src/mac/_gdi_wrap.cpp -o
 build.unicode/temp.macosx-10.3-i386-2.5/src/mac/_gdi_wrap.o -O3
 cc1plus: warning: command line option "-Wstrict-prototypes" is valid for
 C/ObjC but not for C++
 src/mac/_gdi_wrap.cpp: In function 'wxPalette* new_wxPalette(const
 wxArrayInt&, const wxArrayInt&, const wxArrayInt&)':
 src/mac/_gdi_wrap.cpp:2882: warning: comparison between signed and
 unsigned integer expressions
 src/mac/_gdi_wrap.cpp:2882: warning: comparison between signed and
 unsigned integer expressions
 src/mac/_gdi_wrap.cpp: In function 'PyObject* _wrap_GCDC_Flush(PyObject*,
 PyObject*)':
 src/mac/_gdi_wrap.cpp:31028: error: 'class wxDC' has no member named
 'Flush'
 src/mac/_gdi_wrap.cpp: In function 'PyObject*
 _wrap_PenList_AddPen(PyObject*, PyObject*, PyObject*)':
 src/mac/_gdi_wrap.cpp:32474: 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:32512: 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:32605: 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:32643: 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:32795: 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:32833: warning: 'RemoveFont' is deprecated (declared
 at /opt/local/include/wx-2.8/wx/gdicmn.h:540)
 error: command '/usr/bin/gcc-4.0' failed with exit status 1

 Error: Status 1 encountered during processing.
 [~]

 }}}

-- 
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13756>
MacPorts </projects/macports>
Ports system for Mac OS


More information about the macports-tickets mailing list