Opened 19 years ago

Closed 19 years ago

#3740 closed defect (fixed)

py-wxpython is broken

Reported by: m@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port:

Description

Mac OS X 10.4.1, XCode 2.1.

/opt/local/etc/ports/variants.conf: +ipv6 +no_x11 -mod_dav_svn -mac-os-x-server-mod_dav_svn +python +perl -javahl

Trying to build py-wxpython produces: $ sudo port -cs install py-wxpython ... [snip building dependencies, configuring etc.] ... ---> Building py-wxpython with target build Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_python_py- wxpython/work/wxPython-src-2.6.0.0/wxPython" && WX_CONFIG="/opt/local/bin/wx-config" UNICODE="1" WXPORT="mac" /opt/local/bin/python2.4 setup.py build" returned error 1 Command output: creating build.unicode/temp.darwin-8.1.0-Power_Macintosh-2.4/src/mac gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -fno-common -fno- common -dynamic -DNDEBUG -g -O3 -Wall -Wstrict-prototypes - DSWIG_TYPE_TABLE=_wxPython_table -DHAVE_CONFIG_H -DWXP_USE_THREAD=1 -UNDEBUG - DWXMAC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA -Iinclude -Isrc -I/opt/ local/lib/wx/include/mac-unicode-release-2.6 -I/opt/local/include/wx-2.6 -I/Library/Frameworks/ Python.framework/Versions/2.4/include/python2.4 -c src/helpers.cpp -o build.unicode/ temp.darwin-8.1.0-Power_Macintosh-2.4/src/helpers.o -O2 cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++ /opt/local/include/wx-2.6/wx/mac/carbon/private.h: In constructor 'wxMacPortSaver::wxMacPortSaver (OpaqueGrafPtr*)': /opt/local/include/wx-2.6/wx/mac/carbon/private.h:101: warning: 'GetPort' is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ Quickdraw.h:1862) /opt/local/include/wx-2.6/wx/mac/carbon/private.h:101: warning: 'GetPort' is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ Quickdraw.h:1862) /opt/local/include/wx-2.6/wx/mac/carbon/private.h:102: warning: 'SetPort' is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ Quickdraw.h:1847) /opt/local/include/wx-2.6/wx/mac/carbon/private.h:102: warning: 'SetPort' is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ Quickdraw.h:1847) /opt/local/include/wx-2.6/wx/mac/carbon/private.h: In destructor 'wxMacPortSaver::~wxMacPortSaver ()': /opt/local/include/wx-2.6/wx/mac/carbon/private.h:106: warning: 'SetPort' is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ Quickdraw.h:1847) /opt/local/include/wx-2.6/wx/mac/carbon/private.h:106: warning: 'SetPort' is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ Quickdraw.h:1847) src/helpers.cpp: In destructor 'wxPyCBInputStream::~wxPyCBInputStream()': src/helpers.cpp:1392: warning: 'blocked' may be used uninitialized in this function src/helpers.cpp: In destructor 'virtual wxPyCBInputStream::~wxPyCBInputStream()': src/helpers.cpp:1392: warning: 'blocked' may be used uninitialized in this function src/helpers.cpp: In destructor 'virtual wxPyCBInputStream::~wxPyCBInputStream()': src/helpers.cpp:1392: warning: 'blocked' may be used uninitialized in this function src/helpers.cpp: In static member function 'static wxPyCBInputStream* wxPyCBInputStream::create (PyObject*, bool)': src/helpers.cpp:1402: warning: 'blocked' may be used uninitialized in this function gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -fno-common -fno- common -dynamic -DNDEBUG -g -O3 -Wall -Wstrict-prototypes - DSWIG_TYPE_TABLE=_wxPython_table -DHAVE_CONFIG_H -DWXP_USE_THREAD=1 -UNDEBUG - DWXMAC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA -Iinclude -Isrc -I/opt/ local/lib/wx/include/mac-unicode-release-2.6 -I/opt/local/include/wx-2.6 -I/Library/Frameworks/ Python.framework/Versions/2.4/include/python2.4 -c src/mac/_core_wrap.cpp -o build.unicode/ temp.darwin-8.1.0-Power_Macintosh-2.4/src/mac/_core_wrap.o -O2 cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++ src/mac/_core_wrap.cpp: In function 'PyObject* _wrap_MenuBar_FindMenu(PyObject*, PyObject*, PyObject*)': src/mac/_core_wrap.cpp:35449: error: passing 'const wxMenuBar' as 'this' argument of 'int wxMenuBar::FindMenu(const wxString&)' discards qualifiers src/mac/_core_wrap.cpp: At global scope: src/mac/_core_wrap.cpp:231: warning: 'swig_type_info* SWIG_TypeDynamicCast(swig_type_info*, void)' defined but not used src/mac/_core_wrap.cpp:419: warning: 'const char* SWIG_UnpackDataName(const char*, void*, size_t, const char*)' defined but not used src/mac/_core_wrap.cpp:499: warning: 'void SWIG_PropagateClientData(swig_type_info*)' defined but not used src/mac/_core_wrap.cpp:1199: warning: 'void* SWIG_Python_MustGetPtr(PyObject*, swig_type_info*, int, int)' defined but not used src/mac/_core_wrap.cpp:1213: warning: 'int SWIG_Python_ConvertPacked(PyObject*, void*, size_t, swig_type_info*, int)' defined but not used error: command 'gcc' failed with exit status 1

Change History (6)

comment:1 Changed 19 years ago by mww@…

Owner: changed from darwinports-bugs@… to mww@…

assign to maintainer

comment:2 Changed 19 years ago by mww@…

Resolution: fixed
Status: newclosed

updated to 2.6.1.0 - works here;

comment:3 Changed 19 years ago by m@…

Resolution: fixed
Status: closedreopened

Still doesn't work for me:

% sudo port -cs install py-wxpython ---> Fetching py-wxpython ---> Attempting to fetch wxPython-src-2.6.1.0.tar.gz from http://puzzle.dl.sourceforge.net/ wxpython ---> Verifying checksum(s) for py-wxpython ---> Extracting py-wxpython ---> Applying patches to py-wxpython ---> Configuring py-wxpython ---> Building py-wxpython with target build Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_python_py- wxpython/work/wxPython-src-2.6.1.0/wxPython" && WX_CONFIG="/opt/local/bin/wx-config" UNICODE="1" WXPORT="mac" /opt/local/bin/python2.4 setup.py build" returned error 1 Command output: src/mac/_core_wrap.cpp:49506: error: 'wxPAPER_PENV_2' was not declared in this scope src/mac/_core_wrap.cpp:49509: error: 'wxPAPER_PENV_3' was not declared in this scope src/mac/_core_wrap.cpp:49512: error: 'wxPAPER_PENV_4' was not declared in this scope src/mac/_core_wrap.cpp:49515: error: 'wxPAPER_PENV_5' was not declared in this scope src/mac/_core_wrap.cpp:49518: error: 'wxPAPER_PENV_6' was not declared in this scope src/mac/_core_wrap.cpp:49521: error: 'wxPAPER_PENV_7' was not declared in this scope src/mac/_core_wrap.cpp:49524: error: 'wxPAPER_PENV_8' was not declared in this scope src/mac/_core_wrap.cpp:49527: error: 'wxPAPER_PENV_9' was not declared in this scope src/mac/_core_wrap.cpp:49530: error: 'wxPAPER_PENV_10' was not declared in this scope src/mac/_core_wrap.cpp:49533: error: 'wxPAPER_P16K_ROTATED' was not declared in this scope src/mac/_core_wrap.cpp:49536: error: 'wxPAPER_P32K_ROTATED' was not declared in this scope src/mac/_core_wrap.cpp:49539: error: 'wxPAPER_P32KBIG_ROTATED' was not declared in this scope src/mac/_core_wrap.cpp:49542: error: 'wxPAPER_PENV_1_ROTATED' was not declared in this scope src/mac/_core_wrap.cpp:49545: error: 'wxPAPER_PENV_2_ROTATED' was not declared in this scope src/mac/_core_wrap.cpp:49548: error: 'wxPAPER_PENV_3_ROTATED' was not declared in this scope src/mac/_core_wrap.cpp:49551: error: 'wxPAPER_PENV_4_ROTATED' was not declared in this scope src/mac/_core_wrap.cpp:49554: error: 'wxPAPER_PENV_5_ROTATED' was not declared in this scope src/mac/_core_wrap.cpp:49557: error: 'wxPAPER_PENV_6_ROTATED' was not declared in this scope src/mac/_core_wrap.cpp:49560: error: 'wxPAPER_PENV_7_ROTATED' was not declared in this scope src/mac/_core_wrap.cpp:49563: error: 'wxPAPER_PENV_8_ROTATED' was not declared in this scope src/mac/_core_wrap.cpp:49566: error: 'wxPAPER_PENV_9_ROTATED' was not declared in this scope src/mac/_core_wrap.cpp:49569: error: 'wxPAPER_PENV_10_ROTATED' was not declared in this scope src/mac/_core_wrap.cpp:49980: error: 'wxEVT_SCROLL_CHANGED' was not declared in this scope src/mac/_core_wrap.cpp: At global scope: src/mac/_core_wrap.cpp:231: warning: 'swig_type_info* SWIG_TypeDynamicCast(swig_type_info*, void)' defined but not used src/mac/_core_wrap.cpp:419: warning: 'const char* SWIG_UnpackDataName(const char*, void*, size_t, const char*)' defined but not used src/mac/_core_wrap.cpp:499: warning: 'void SWIG_PropagateClientData(swig_type_info*)' defined but not used src/mac/_core_wrap.cpp:1199: warning: 'void* SWIG_Python_MustGetPtr(PyObject*, swig_type_info*, int, int)' defined but not used src/mac/_core_wrap.cpp:1213: warning: 'int SWIG_Python_ConvertPacked(PyObject*, void*, size_t, swig_type_info*, int)' defined but not used error: command 'gcc' failed with exit status 1

comment:4 Changed 19 years ago by mww@…

what version of wxWidgets do you have installed?

comment:5 Changed 19 years ago by m@…

wxWidgets 2.6.0_1+darwin_8

comment:6 Changed 19 years ago by mww@…

Resolution: fixed
Status: reopenedclosed

wxWidgets 2.6.1 is needed to run wxPython 2.6.1.0; please reopen if problem persists with most recent version of wxWidgets!

Note: See TracTickets for help on using tickets.