[MacPorts] #13756: py25-wxpython fails to build on Leopard
#13756: py25-wxpython fails to build on Leopard --------------------------------+------------------------------------------- Reporter: gjznituv@gmail.com | Owner: macports-tickets@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
#13756: py25-wxpython fails to build on Leopard ---------------------------------+------------------------------------------ Reporter: gjznituv@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Resolution: | Keywords: ---------------------------------+------------------------------------------ Comment (by skip@pobox.com): I get the same error (PB G4, OS X 10.4.11, Xcode 2.5, wxWidgets 2.8.7). Skip Montanaro -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13756#comment:1> MacPorts </projects/macports> Ports system for Mac OS
#13756: py25-wxpython fails to build on Leopard ---------------------------------+------------------------------------------ Reporter: gjznituv@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Resolution: | Keywords: ---------------------------------+------------------------------------------ Comment (by mdickens@nd.edu): Ticket #11267 has a tarball for python25 that might resolve this ticket. At least for me, this tarball fixes the python25 install, which corrects the py25-wxpython install issue on 10.5, but still works on 10.4. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13756#comment:2> MacPorts </projects/macports> Ports system for Mac OS
#13756: py25-wxpython fails to build on Leopard ---------------------------------+------------------------------------------ Reporter: gjznituv@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Resolution: | Keywords: ---------------------------------+------------------------------------------ Comment (by gjznituv@gmail.com): I downloaded it, but how should I use it? Where can I find proper instructions? Thanks -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13756#comment:3> MacPorts </projects/macports> Ports system for Mac OS
#13756: py25-wxpython fails to build on Leopard ---------------------------------+------------------------------------------ Reporter: gjznituv@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: ---------------------------------+------------------------------------------ Changes (by jmpp@macports.org): * milestone: => Port Bugs -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13756#comment:4> MacPorts </projects/macports> Ports system for Mac OS
#13756: py25-wxpython fails to build on Leopard ---------------------------------+------------------------------------------ Reporter: gjznituv@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: ---------------------------------+------------------------------------------ Comment (by mdickens@nd.edu): Some re-Build instructions are in ticket #11267, but I don't think that's the issue ... the install of python25, in my testing, has no impact on the error documented here. Following those re-Build instructions, in particular step (1) to update the installed ports {{{ sudo port selfupdate sudo port upgrade installed }}} should have taken care of this issue for most folks. For some reason it hasn't or didn't for the ticket issuer, {{{gjznituv@gmail.com}}} . After some discussion back and forth with the ticket issuer, I believe it's a version mismatch between wxWidgets and py25-wxpython. In my testing, reverting back to wxWidgets 2.8.6, and trying to install py25-wxpython 2.8.7.1 results in the exact same error as documented in this ticket. I would suggest that the Portfile for py-wxpython, py25-wxpython, py30-wxpython, and so forth, include some check to make sure the version of wxWidgets is correct, as this has been an issue before and will continue to be an issue so long as the versions of wxWidgets and wxpython need to be closely linked. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13756#comment:5> MacPorts </projects/macports> Ports system for Mac OS
#13756: py25-wxpython fails to build on Leopard ---------------------------------+------------------------------------------ Reporter: gjznituv@gmail.com | Owner: mww@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: ---------------------------------+------------------------------------------ Changes (by jmr@macports.org): * cc: jwa@macports.org (added) * owner: macports-tickets@lists.macosforge.org => mww@macports.org Comment: Assigning to maintainer. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13756#comment:6> MacPorts </projects/macports> Ports system for Mac OS
participants (1)
-
MacPorts