[ 83%] Building CXX object CMakeFiles/weather_routing_pi.dir/src/RouteMap.cpp.o /usr/lib64/ccache/bin/x86_64-pc-linux-gnu-g++ -DTIXML_USE_STL -DWXUSINGDLL -D_FILE_OFFSET_BITS=64 -D__WXGTK__ -DocpnUSE_GL -Dweather_routing_pi_EXPORTS -DNDEBUG -DNDEBUG -O2 -pipe -march=native -fno-stack-protector -pthread -fPIC -I/var/tmp/portage/sci-geosciences/opencpn-plugin-weather_routing-1.2/work/weather_routing_pi-1.2/include -I/var/tmp/portage/sci-geosciences/opencpn-plugin-weather_routing-1.2/work/weather_routing_pi-1.2/src -isystem /usr/lib64/wx/include/gtk2-unicode-3.0 -isystem /usr/include/wx-3.0 -Wall -g -O0 -fexceptions -o CMakeFiles/weather_routing_pi.dir/src/RouteMap.cpp.o -c /var/tmp/portage/sci-geosciences/opencpn-plugin-weather_routing-1.2/work/weather_routing_pi-1.2/src/RouteMap.cpp /var/tmp/portage/sci-geosciences/opencpn-plugin-weather_routing-1.2/work/weather_routing_pi-1.2/src/BoatPlan.cpp: In member function 'bool BoatPlan::Open(const char*, wxString&)': /var/tmp/portage/sci-geosciences/opencpn-plugin-weather_routing-1.2/work/weather_routing_pi-1.2/src/BoatPlan.cpp:538:19: error: conversion from 'wxString' to 'bool' is ambiguous PARSE_ERROR(_("Failed to open.")); ^ /var/tmp/portage/sci-geosciences/opencpn-plugin-weather_routing-1.2/work/weather_routing_pi-1.2/src/BoatPlan.cpp:538:19: note: candidates are: In file included from /usr/include/wx-3.0/wx/memory.h:15:0, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from /var/tmp/portage/sci-geosciences/opencpn-plugin-weather_routing-1.2/work/weather_routing_pi-1.2/src/BoatPlan.cpp:27: /usr/include/wx-3.0/wx/string.h:1629:5: note: wxString::operator const void*() const operator const void*() const { return c_str(); } ^ /usr/include/wx-3.0/wx/string.h:1624:5: note: wxString::operator const wchar_t*() const operator const wchar_t*() const { return c_str(); } ^ /usr/include/wx-3.0/wx/string.h:1623:5: note: wxString::operator const char*() const operator const char*() const { return c_str(); } ^ /var/tmp/portage/sci-geosciences/opencpn-plugin-weather_routing-1.2/work/weather_routing_pi-1.2/src/BoatPlan.cpp:543:23: error: conversion from 'wxString' to 'bool' is ambiguous PARSE_ERROR(_("Failed to read.")); ^ /var/tmp/portage/sci-geosciences/opencpn-plugin-weather_routing-1.2/work/weather_routing_pi-1.2/src/BoatPlan.cpp:543:23: note: candidates are: In file included from /usr/include/wx-3.0/wx/memory.h:15:0, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from /var/tmp/portage/sci-geosciences/opencpn-plugin-weather_routing-1.2/work/weather_routing_pi-1.2/src/BoatPlan.cpp:27: /usr/include/wx-3.0/wx/string.h:1629:5: note: wxString::operator const void*() const operator const void*() const { return c_str(); } ^ /usr/include/wx-3.0/wx/string.h:1624:5: note: wxString::operator const wchar_t*() const operator const wchar_t*() const { return c_str(); } ^ /usr/include/wx-3.0/wx/string.h:1623:5: note: wxString::operator const char*() const operator const char*() const { return c_str(); } ^ /var/tmp/portage/sci-geosciences/opencpn-plugin-weather_routing-1.2/work/weather_routing_pi-1.2/src/BoatPlan.cpp:557:23: error: conversion from 'wxString' to 'bool' is ambiguous PARSE_ERROR(_("Unrecognized format.")); ^ /var/tmp/portage/sci-geosciences/opencpn-plugin-weather_routing-1.2/work/weather_routing_pi-1.2/src/BoatPlan.cpp:557:23: note: candidates are: In file included from /usr/include/wx-3.0/wx/memory.h:15:0, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from /var/tmp/portage/sci-geosciences/opencpn-plugin-weather_routing-1.2/work/weather_routing_pi-1.2/src/BoatPlan.cpp:27: /usr/include/wx-3.0/wx/string.h:1629:5: note: wxString::operator const void*() const operator const void*() const { return c_str(); } ^ /usr/include/wx-3.0/wx/string.h:1624:5: note: wxString::operator const wchar_t*() const operator const wchar_t*() const { return c_str(); } ^ /usr/include/wx-3.0/wx/string.h:1623:5: note: wxString::operator const char*() const operator const char*() const { return c_str(); } ^ /var/tmp/portage/sci-geosciences/opencpn-plugin-weather_routing-1.2/work/weather_routing_pi-1.2/src/BoatPlan.cpp:563:23: error: conversion from 'wxString' to 'bool' is ambiguous PARSE_ERROR(_("Too many wind speeds.")); ^ /var/tmp/portage/sci-geosciences/opencpn-plugin-weather_routing-1.2/work/weather_routing_pi-1.2/src/BoatPlan.cpp:563:23: note: candidates are: In file included from /usr/include/wx-3.0/wx/memory.h:15:0, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from /var/tmp/portage/sci-geosciences/opencpn-plugin-weather_routing-1.2/work/weather_routing_pi-1.2/src/BoatPlan.cpp:27: /usr/include/wx-3.0/wx/string.h:1629:5: note: wxString::operator const void*() const operator const void*() const { return c_str(); } ^ /usr/include/wx-3.0/wx/string.h:1624:5: note: wxString::operator const wchar_t*() const operator const wchar_t*() const { return c_str(); } ^ /usr/include/wx-3.0/wx/string.h:1623:5: note: wxString::operator const char*() const operator const char*() const { return c_str(); } ^ /var/tmp/portage/sci-geosciences/opencpn-plugin-weather_routing-1.2/work/weather_routing_pi-1.2/src/BoatPlan.cpp: At global scope: /var/tmp/portage/sci-geosciences/opencpn-plugin-weather_routing-1.2/work/weather_routing_pi-1.2/src/BoatPlan.cpp:42:21: warning: 'computed_max_knots' defined but not used [-Wunused-variable] static const double computed_max_knots = computed_wind_speeds[num_computed_wind_speeds - 1]; ^ CMakeFiles/weather_routing_pi.dir/build.make:330: recipe for target 'CMakeFiles/weather_routing_pi.dir/src/BoatPlan.cpp.o' failed make[2]: *** [CMakeFiles/weather_routing_pi.dir/src/BoatPlan.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/var/tmp/portage/sci-geosciences/opencpn-plugin-weather_routing-1.2/work/opencpn-plugin-weather_routing-1.2_build' CMakeFiles/Makefile2:153: recipe for target 'CMakeFiles/weather_routing_pi.dir/all' failed make[1]: *** [CMakeFiles/weather_routing_pi.dir/all] Error 2 make[1]: Leaving directory '/var/tmp/portage/sci-geosciences/opencpn-plugin-weather_routing-1.2/work/opencpn-plugin-weather_routing-1.2_build' Makefile:136: recipe for target 'all' failed make: *** [all] Error 2
The ebuild has WX_GTK_VER="2.8", did you change that? Can we close this bug?
2.8 slot is completely dead and deprecated, and won't get any fixes in the future. That is the reason we are trying to move to 3.0 slot... is this plugin still alive? In that case, is upstream aware of the issue for trying to fix it in the future? :/
Or we should simply treeclean this when cleaning wxGTK:2.8
Real life is a bit challenging atm. I will try to update the package ASAP and what I can do to make it comaptible to wxGTK:3.0.
Bumped and removed old version. New version works with wxwidgets-3.0
Thanks a lot!