#44524: wxWidgets-3.0: build failing on Yosemite ----------------------------+---------------------- Reporter: nvdchr@… | Owner: jwa@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: yosemite Port: wxWidgets-3.0 | ----------------------------+---------------------- Changes (by ryandesign@…): * cc: mojca@… (added) * keywords: => yosemite * owner: macports-tickets@… => jwa@… * port: => wxWidgets-3.0 Old description:
On a Yosemite Mac OSX 10.10 mac pro
Christophes-Mac-Pro:~ cngo$ sudo port -v MacPorts 2.3.1
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_wxWidgets-3.0/wxWidgets-3.0/work/wxWidgets-3.0.1/build /bk-deps /usr/bin/clang++ -c -o xrcdll_xh_listbk.o -I./.pch/wxprec_xrcdll -D__WXOSX_COCOA__ -DWXBUILDING -I../src/regex -DWXUSINGDLL -DWXMAKINGDLL_XRC -dynamic -fPIC -DPIC -Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy -Woverloaded-virtual -Wno-deprecated-declarations -D_FILE_OFFSET_BITS=64 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_wxWidgets-3.0/wxWidgets-3.0/work/wxWidgets-3.0.1/build/lib/wx/include /osx_cocoa-unicode-3.0 -I../include -I/opt/local/include -I/opt/local/include -DWX_PRECOMP -pipe -Os -arch x86_64 -stdlib=libc++ -fno-common ../src/xrc/xh_listbk.cpp :info:build ../src/osx/webview_webkit.mm:392:30: warning: incompatible pointer types sending 'WebViewUIDelegate *' to parameter of type 'id<WKUIDelegate>' [-Wincompatible-pointer-types] :info:build [m_webView setUIDelegate:uiDelegate]; :info:build ^~~~~~~~~~ :info:build ../src/osx/webview_webkit.mm:464:34: warning: 'WKPreferences' may not respond to 'setUsesPageCache:' :info:build [[m_webView preferences] setUsesPageCache:NO]; :info:build ~~~~~~~~~~~~~~~~~~~~~~~ ^ :info:build ../src/osx/webview_webkit.mm:466:34: warning: 'WKPreferences' may not respond to 'setUsesPageCache:' :info:build [[m_webView preferences] setUsesPageCache:YES]; :info:build ~~~~~~~~~~~~~~~~~~~~~~~ ^ :info:build ../src/osx/webview_webkit.mm:936:25: error: cannot initialize a variable of type 'WebBackForwardList *' with an rvalue of type 'WKBackForwardList *' :info:build WebBackForwardList* history = [m_webView backForwardList]; :info:build ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ :info:build ../src/osx/webview_webkit.mm:954:25: error: cannot initialize a variable of type 'WebBackForwardList *' with an rvalue of type 'WKBackForwardList *' :info:build WebBackForwardList* history = [m_webView backForwardList]; :info:build ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ :info:build 3 warnings and 2 errors generated. :info:build make: *** [webviewdll_osx_webview_webkit.o] Error 1 :info:build make: *** Waiting for unfinished jobs.... :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_wxWidgets-3.0/wxWidgets-3.0/work/wxWidgets-3.0.1/build' :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_wxWidgets-3.0/wxWidgets-3.0/work/wxWidgets-3.0.1/build" && /usr/bin/make -j12 -w all :info:build Exit code: 2
New description: On a Yosemite Mac OSX 10.10 mac pro {{{ Christophes-Mac-Pro:~ cngo$ sudo port -v MacPorts 2.3.1 }}} {{{ :info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_wxWidgets-3.0/wxWidgets-3.0/work/wxWidgets-3.0.1/build /bk-deps /usr/bin/clang++ -c -o xrcdll_xh_listbk.o -I./.pch/wxprec_xrcdll -D__WXOSX_COCOA__ -DWXBUILDING -I../src/regex -DWXUSINGDLL -DWXMAKINGDLL_XRC -dynamic -fPIC -DPIC -Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy -Woverloaded-virtual -Wno-deprecated-declarations -D_FILE_OFFSET_BITS=64 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_wxWidgets-3.0/wxWidgets-3.0/work/wxWidgets-3.0.1/build/lib/wx/include /osx_cocoa-unicode-3.0 -I../include -I/opt/local/include -I/opt/local/include -DWX_PRECOMP -pipe -Os -arch x86_64 -stdlib=libc++ -fno-common ../src/xrc/xh_listbk.cpp :info:build ../src/osx/webview_webkit.mm:392:30: warning: incompatible pointer types sending 'WebViewUIDelegate *' to parameter of type 'id<WKUIDelegate>' [-Wincompatible-pointer-types] :info:build [m_webView setUIDelegate:uiDelegate]; :info:build ^~~~~~~~~~ :info:build ../src/osx/webview_webkit.mm:464:34: warning: 'WKPreferences' may not respond to 'setUsesPageCache:' :info:build [[m_webView preferences] setUsesPageCache:NO]; :info:build ~~~~~~~~~~~~~~~~~~~~~~~ ^ :info:build ../src/osx/webview_webkit.mm:466:34: warning: 'WKPreferences' may not respond to 'setUsesPageCache:' :info:build [[m_webView preferences] setUsesPageCache:YES]; :info:build ~~~~~~~~~~~~~~~~~~~~~~~ ^ :info:build ../src/osx/webview_webkit.mm:936:25: error: cannot initialize a variable of type 'WebBackForwardList *' with an rvalue of type 'WKBackForwardList *' :info:build WebBackForwardList* history = [m_webView backForwardList]; :info:build ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ :info:build ../src/osx/webview_webkit.mm:954:25: error: cannot initialize a variable of type 'WebBackForwardList *' with an rvalue of type 'WKBackForwardList *' :info:build WebBackForwardList* history = [m_webView backForwardList]; :info:build ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ :info:build 3 warnings and 2 errors generated. :info:build make: *** [webviewdll_osx_webview_webkit.o] Error 1 :info:build make: *** Waiting for unfinished jobs.... :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_wxWidgets-3.0/wxWidgets-3.0/work/wxWidgets-3.0.1/build' :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_wxWidgets-3.0/wxWidgets-3.0/work/wxWidgets-3.0.1/build" && /usr/bin/make -j12 -w all :info:build Exit code: 2 }}} -- -- Ticket URL: <https://trac.macports.org/ticket/44524#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X