[MacPorts] #40007: Build failure with variant +carbon

MacPorts noreply at macports.org
Sun Aug 4 20:45:12 PDT 2013


#40007: Build failure with variant +carbon
------------------------+--------------------------------
 Reporter:  rharwood@…  |      Owner:  macports-tickets@…
     Type:  defect      |     Status:  new
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.2.0
 Keywords:              |       Port:  wxWidgets-python
------------------------+--------------------------------
 Mac OS 0.8, gcc is 4.7.3, clang is 3.3.  With the +gtk variant specified
 instead, wxWidgets-python builds and installs without a hitch.  If there's
 any more information I can provide, please let me know.

 {{{
 $ sudo port -v install wxWidgets-python +carbon
 --->  Computing dependencies for wxWidgets-python..
 --->  Dependencies to be installed: pkgconfig
 --->  Building wxWidgets-python
 make: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_graphics_wxWidgets-python/wxWidgets-
 python/work/wxPython-src-2.8.12.0/build'
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_graphics_wxWidgets-python/wxWidgets-
 python/work/wxPython-src-2.8.12.0/build/bk-deps /usr/bin/clang++ -c -o
 monodll_dynlib.o -I./.pch/wxprec_monodll -D__WXMAC__     -DWXBUILDING
 -I../src/regex  -DwxUSE_BASE=1 -DWXMAKINGDLL -dynamic -fPIC -DPIC
 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_graphics_wxWidgets-python/wxWidgets-
 python/work/wxPython-src-2.8.12.0/build/lib/wx/include/mac-unicode-
 release-2.8 -I../include -fpascal-strings -I../src/mac/carbon/morefilex
 -I/Developer/Headers/FlatCarbon -I/opt/local/include -arch i386
 -I/opt/local/include -DWX_PRECOMP -Wall -Wundef -Wno-ctor-dtor-privacy -O2
 -fno-strict-aliasing -I/opt/local/include/SDL -D_GNU_SOURCE=1
 -D_THREAD_SAFE -pipe -Os -arch i386 -arch i386 -fno-common
 ../src/common/dynlib.cpp
 In file included from ../src/common/dynlib.cpp:48:
 In file included from ../include/wx/mac/private.h:4:
 ../include/wx/mac/carbon/private.h:617:18: warning: unused variable 'err'
 [-Wunused-variable]
         OSStatus err = GetData<T>( inPartCode , inTag , &value );
                  ^
 ../include/wx/mac/carbon/private.h:1375:16: error: use of undeclared
 identifier 'QDGetPictureBounds'; did you mean 'wxMacGetPictureBounds'?
         return QDGetPictureBounds( pict , rect );
                ^~~~~~~~~~~~~~~~~~
                wxMacGetPictureBounds
 ../include/wx/mac/carbon/private.h:1373:18: note: 'wxMacGetPictureBounds'
 declared here
     inline Rect* wxMacGetPictureBounds( PicHandle pict , Rect* rect )
                  ^
 ../include/wx/mac/carbon/private.h:1459:9: error: unknown type name
 'Cursor'
 typedef Cursor ClassicCursor;
         ^
 1 warning and 2 errors generated.
 make: *** [monodll_dynlib.o] Error 1
 make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_graphics_wxWidgets-python/wxWidgets-
 python/work/wxPython-src-2.8.12.0/build'
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_graphics_wxWidgets-python/wxWidgets-
 python/work/wxPython-src-2.8.12.0/build" && /usr/bin/make -w
 Exit code: 2
 Error: org.macports.build for port wxWidgets-python returned: command
 execution failed
 Warning: targets not executed for wxWidgets-python: org.macports.activate
 org.macports.build org.macports.destroot org.macports.install
 Please see the log file for port wxWidgets-python for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_graphics_wxWidgets-python/wxWidgets-
 python/main.log
 To report a bug, follow the instructions in the guide:
     http://guide.macports.org/#project.tickets
 Error: Processing of port wxWidgets-python failed
 $
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/40007>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list