Opened 15 years ago

Last modified 15 years ago

#23847 closed defect

py26-wxpython-2.8.9.1 build error — at Version 1

Reported by: macports@… Owned by: jameskyle@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc:
Port: py26-wxpython

Description (last modified by mf2k (Frank Schima))

Build of py26-wxpython failed on i386 snow leopard after successful build of wxWidgets

--->  Computing dependencies for py26-wxpython
--->  Building py26-wxpython
WARNING: WXWIN not set in environment. Assuming '..'
Found wx-config: /opt/local/bin/wx-config
    Using flags:  --toolkit=mac --unicode=yes --version=2.8
Preparing CORE...
Preparing GLCANVAS...
Preparing STC...
Preparing GIZMOS...
running build
running build_py
copying wx/__version__.py -> build.unicode/lib.macosx-10.6-i386-2.6/wx
copying wx/build/build_options.py -> build.unicode/lib.macosx-10.6-i386-2.6/wx/build
package init file 'wx/tools/XRCed/plugins/__init__.py' not found (or not a regular file)
package init file 'wx/tools/XRCed/plugins/__init__.py' not found (or not a regular file)
running build_ext
building '_gdi_' extension
/usr/bin/gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -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/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c src/mac/_gdi_wrap.cpp -o build.unicode/temp.macosx-10.6-i386-2.6/src/mac/_gdi_wrap.o -O3
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++
In file included from /opt/local/include/wx-2.8/wx/platform.h:196,
                 from /opt/local/include/wx-2.8/wx/defs.h:21,
                 from /opt/local/include/wx-2.8/wx/wx.h:15,
                 from include/wx/wxPython/wxPython_int.h:19,
                 from include/wx/wxPython/wxPython.h:22,
                 from src/mac/_gdi_wrap.cpp:2736:
/opt/local/lib/wx/include/mac-unicode-release-2.8/wx/setup.h:950:1: warning: "SIZEOF_VOID_P" redefined
In file included from /opt/local/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/Python.h:9,
                 from src/mac/_gdi_wrap.cpp:129:
/opt/local/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/pymacconfig.h:39:1: warning: this is the location of the previous definition
In file included from /opt/local/include/wx-2.8/wx/platform.h:196,
                 from /opt/local/include/wx-2.8/wx/defs.h:21,
                 from /opt/local/include/wx-2.8/wx/wx.h:15,
                 from include/wx/wxPython/wxPython_int.h:19,
                 from include/wx/wxPython/wxPython.h:22,
                 from src/mac/_gdi_wrap.cpp:2736:
/opt/local/lib/wx/include/mac-unicode-release-2.8/wx/setup.h:953:1: warning: "SIZEOF_LONG" redefined
In file included from /opt/local/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/Python.h:9,
                 from src/mac/_gdi_wrap.cpp:129:
/opt/local/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/pymacconfig.h:35:1: warning: this is the location of the previous definition
In file included from /opt/local/include/wx-2.8/wx/platform.h:196,
                 from /opt/local/include/wx-2.8/wx/defs.h:21,
                 from /opt/local/include/wx-2.8/wx/wx.h:15,
                 from include/wx/wxPython/wxPython_int.h:19,
                 from include/wx/wxPython/wxPython.h:22,
                 from src/mac/_gdi_wrap.cpp:2736:
/opt/local/lib/wx/include/mac-unicode-release-2.8/wx/setup.h:962:1: warning: "SIZEOF_SIZE_T" redefined
In file included from /opt/local/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/Python.h:9,
                 from src/mac/_gdi_wrap.cpp:129:
/opt/local/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/pymacconfig.h:37:1: warning: this is the location of the previous definition
src/mac/_gdi_wrap.cpp: In function 'void SWIG_Python_AddErrorMsg(const char*)':
src/mac/_gdi_wrap.cpp:864: warning: format not a string literal and no format arguments
In file included from src/mac/_gdi_wrap.cpp:2736:
include/wx/wxPython/wxPython.h: In function 'bool wxPyCoreAPI_IMPORT()':
include/wx/wxPython/wxPython.h:39: warning: deprecated conversion from string constant to 'char*'
include/wx/wxPython/wxPython.h:39: warning: deprecated conversion from string constant to 'char*'
src/mac/_gdi_wrap.cpp: In function 'wxPalette* new_wxPalette(const wxArrayInt&, const wxArrayInt&, const wxArrayInt&)':
src/mac/_gdi_wrap.cpp:2883: warning: comparison between signed and unsigned integer expressions
src/mac/_gdi_wrap.cpp:2883: warning: comparison between signed and unsigned integer expressions
src/mac/_gdi_wrap.cpp: In function 'PyObject* _wrap_Font_MacGetATSUFontID(PyObject*, PyObject*)':
src/mac/_gdi_wrap.cpp:15850: error: 'class wxFont' has no member named 'MacGetATSUFontID'
src/mac/_gdi_wrap.cpp: In function 'PyObject* _wrap_PenList_AddPen(PyObject*, PyObject*, PyObject*)':
src/mac/_gdi_wrap.cpp:32884: 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:32922: 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:33015: 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:33053: 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:33205: 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:33243: warning: 'RemoveFont' is deprecated (declared at /opt/local/include/wx-2.8/wx/gdicmn.h:540)
error: command '/usr/bin/gcc-4.2' failed with exit status 1
Warning: the following items did not execute (for py26-wxpython): org.macports.activate org.macports.build org.macports.destroot org.macports.install
To report a bug, see <http://guide.macports.org/#project.tickets>

Change History (1)

comment:1 Changed 15 years ago by mf2k (Frank Schima)

Description: modified (diff)
Owner: changed from macports-tickets@… to jameskyle@…
Port: py26-wxpython added
Note: See TracTickets for help on using tickets.