Created attachment 439110 [details] build log Upgrading boinc from 7.6.31-r3 to 7.6.33 I'm encountering linker errors: boincmgr-NoticeListCtrl.o: In function `wxString::ImplStr(char const*, wxMBConv const&)': /usr/include/wx-3.0/wx/string.h:477: undefined reference to `wxWebViewNameStr' /usr/include/wx-3.0/wx/string.h:477: undefined reference to `wxWebViewBackendDefault' /usr/include/wx-3.0/wx/string.h:477: undefined reference to `wxWebViewDefaultURLStr' boincmgr-NoticeListCtrl.o: In function `CNoticeListCtrl::Create(wxWindow*)': /var/tmp/portage/sci-misc/boinc-7.6.33/work/boinc-client_release-7.6-7.6.33/clientgui/NoticeListCtrl.cpp:87: undefined reference to `wxWebView::New(wxWindow*, int, wxString const&, wxPoint const&, wxSize const&, wxString const&, long, wxString const&)' boincmgr-NoticeListCtrl.o: In function `wxEventTableEntry::wxEventTableEntry(int const&, int, int, wxEventFunctor*, wxObject*)': /usr/include/wx-3.0/wx/event.h:3201: undefined reference to `wxEVT_WEBVIEW_NAVIGATING' /usr/include/wx-3.0/wx/event.h:3201: undefined reference to `wxEVT_WEBVIEW_ERROR' collect2: error: ld returned 1 exit status make[2]: *** [Makefile:683: boincmgr] Error 1 make[2]: Leaving directory '/var/tmp/portage/sci-misc/boinc-7.6.33/work/boinc-client_release-7.6-7.6.33/clientgui' make[1]: *** [Makefile:642: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/sci-misc/boinc-7.6.33/work/boinc-client_release-7.6-7.6.33' make: *** [Makefile:546: all] Error 2 * ERROR: sci-misc/boinc-7.6.33::gentoo failed (compile phase): * emake failed This looks like an incompatibility with the wxGTK installed, which in my case is x11-libs/wxGTK-3.0.2.0-r3 in slot 3.0, although I also have 2.8.12.1-r2 installed in slot 2.8.
Created attachment 439112 [details] emerge --info
I get no errors with x11-libs/wxGTK-3.0.2.0-r2. I'll try with -r3 to see what happens.
Okay. I see that the -r3 adds a patch that *removes* (!!!) the webview library from the standard libraries. The next step for me is to come up with a patch for boinc to get along with that situation.
Meanwhile, a workaround is to add =x11-libs/wxGTK-3.0.2.0-r3 to package.mask. This appears to have worked here anyway. Surely, removing a whole facility is a bigger job than a -r3 patch is meant for?
I am looking at the GNU building tools (which I have not used before) to try and find where to fix the call to wx-config. The wx-config for 3.0* needs to be: wx-config --libs all and its ooutput should be placed in the CLIENTGUILIBS variable of configure for passing down to the clientgui sub-tree. This will make the wx-config program emit the proper libs [with webview]. I hope this give you some direction, Meanwhile, I just massage the ./configure program after _autosetup in a local copy of the source tree.
Created attachment 451472 [details, diff] patch in webview lib This patch fixed the issue for me. I am rather busy right now, but will add it next week unless someone answers here that this patch is not enough. Thank you very much.
I have eventually managed to put the patch into commit for a pull request. https://github.com/gentoo/gentoo/pull/2768/commits/edb3c9cb2a5d87ddb6a8847f47bc9bdb7e710e1d
The fix is in the tree now.
This patch should be upstreamed in boinc... I think the appropriate issue is https://github.com/BOINC/boinc/issues/2271