[MacPorts] #20952: wxWidgets fails to build 64-bit

MacPorts noreply at macports.org
Wed Oct 7 08:53:14 PDT 2009


#20952: wxWidgets fails to build 64-bit
---------------------------------------+------------------------------------
 Reporter:  andrius.laikina@…          |       Owner:  mww@…           
     Type:  defect                     |      Status:  new             
 Priority:  Normal                     |   Milestone:                  
Component:  ports                      |     Version:                  
 Keywords:  LP64                       |        Port:  wxWidgets       
---------------------------------------+------------------------------------

Comment(by jakub.moskal@…):

 Replying to [comment:20 vince@…]:
 > You cannot install py26-wxpython, because only the svn version is
 compatible with wxwidgets-2.9.
 >
 > If you are not faint hearted, and you need it as badly as I did, I post
 you the contents of my private py26-wxwidgets-devel port which compiles
 and runs 64-bit (one Portfile and three patches). Enjoy.
 >

 I downloaded the Portfile and the patches for py26-wxpython-devel that you
 posted, I had to rename the dependent lib from wxWidgets-devel to
 wxWidgets (I installed the wxWidgets-2.9 under that name), but when the
 patches are applied I am getting this error:


 {{{
 --->  Computing dependencies for py26-wxpython-devel
 --->  Fetching py26-wxpython-devel
 --->  Verifying checksum(s) for py26-wxpython-devel
 --->  Extracting py26-wxpython-devel
 --->  Applying patches to py26-wxpython-devel
 Error: Target org.macports.patch returned: shell command " cd
 "/opt/local/var/macports/build/_Users_Jakub_ports_python_py26-wxpython-
 devel/work/trunk" && /usr/bin/patch -p0 < '/Users/Jakub/ports/python/py26
 -wxpython-devel/files/patch-propgrid_wrap.diff'" returned error 1
 Command output: patching file src/osx_cocoa/propgrid_wrap.cpp
 Hunk #1 FAILED at 3541.
 1 out of 1 hunk FAILED -- saving rejects to file
 src/osx_cocoa/propgrid_wrap.cpp.rej
 }}}

 Here's the contents of propgrid_wrap.cpp.rej:

 {{{
 ***************
 *** 3541,3547 ****
       }
       else if ( input == Py_None )
       {
 -         *v = new wxPGPropArgCls(NULL);
       }
       else
       {
 --- 3541,3547 ----
       }
       else if ( input == Py_None )
       {
 +         *v = new wxPGPropArgCls((const wxPGProperty*) NULL);
       }
       else
       {
 }}}

-- 
Ticket URL: <http://trac.macports.org/ticket/20952#comment:22>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list