[MacPorts] #44524: wxWidgets-3.0.1 build failing
#44524: wxWidgets-3.0.1 build failing ----------------------+-------------------------------- Reporter: nvdchr@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Keywords: | Port: ----------------------+-------------------------------- 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> MacPorts <http://www.macports.org/> Ports system for OS X
#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
#44524: wxWidgets-3.0: build failing on Yosemite ----------------------------+---------------------- Reporter: nvdchr@… | Owner: jwa@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: yosemite Port: wxWidgets-3.0 | ----------------------------+---------------------- Changes (by mojca@…): * version: 2.3.1 => Comment: Please report the problem upstream and put a link to the ticket here. I would also suggest you to try to use a different compiler (for example `macports-clang-3.4` or 3.3) just to check if that makes any difference. -- Ticket URL: <https://trac.macports.org/ticket/44524#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#44524: wxWidgets-3.0: build failing on Yosemite ----------------------------+---------------------- Reporter: nvdchr@… | Owner: jwa@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: yosemite Port: wxWidgets-3.0 | ----------------------------+---------------------- Comment (by mschamschula@…): Ran into this this morning. I found the following upstream report: http://trac.wxwidgets.org/ticket/16329 -- Ticket URL: <https://trac.macports.org/ticket/44524#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#44524: wxWidgets-3.0: build failing on Yosemite ----------------------------+---------------------- Reporter: nvdchr@… | Owner: jwa@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: yosemite Port: wxWidgets-3.0 | ----------------------------+---------------------- Comment (by mojca@…): Thank you for the link. Can someone with Yosemite please try to prepare a patch that works for you? -- Ticket URL: <https://trac.macports.org/ticket/44524#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#44524: wxWidgets-3.0: build failing on Yosemite ----------------------------+---------------------- Reporter: nvdchr@… | Owner: jwa@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: yosemite Port: wxWidgets-3.0 | ----------------------------+---------------------- Comment (by mf2k@…): The attached patches work for me on Yosemite beta 3. -- Ticket URL: <https://trac.macports.org/ticket/44524#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#44524: wxWidgets-3.0: build failing on Yosemite ----------------------------+---------------------- Reporter: nvdchr@… | Owner: jwa@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: yosemite Port: wxWidgets-3.0 | ----------------------------+---------------------- Comment (by mojca@…): Please commit it then. Out of curiosity: does `wxgtk-2.8` work on Yosemite then? -- Ticket URL: <https://trac.macports.org/ticket/44524#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#44524: wxWidgets-3.0: build failing on Yosemite ----------------------------+---------------------- Reporter: nvdchr@… | Owner: jwa@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: yosemite Port: wxWidgets-3.0 | ----------------------------+---------------------- Comment (by mojca@…): But please add the source of the patch if one exists (http://trac.wxwidgets.org/changeset/xyz) or at least the reference to the ticket. The ticket mentions three commits, but none of those match the change that you used (even though they mention this patch as a possible candidate). -- Ticket URL: <https://trac.macports.org/ticket/44524#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
#44524: wxWidgets-3.0: build failing on Yosemite ----------------------------+---------------------- Reporter: nvdchr@… | Owner: jwa@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: yosemite Port: wxWidgets-3.0 | ----------------------------+---------------------- Comment (by mf2k@…): r125408. I'll leave this ticket open for other user comments and potentially a better fix. But feel free to close it. I have not tested wxgtk-2.8 on Yosemite yet. -- Ticket URL: <https://trac.macports.org/ticket/44524#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X
#44524: wxWidgets-3.0: build failing on Yosemite ----------------------------+---------------------- Reporter: nvdchr@… | Owner: jwa@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: yosemite Port: wxWidgets-3.0 | ----------------------------+---------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => fixed -- Ticket URL: <https://trac.macports.org/ticket/44524#comment:10> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts