Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 564110 - sci-geosciences/opencpn-plugin-weather_routing-1.2 fails to build with wxGTK:3.0
Summary: sci-geosciences/opencpn-plugin-weather_routing-1.2 fails to build with wxGTK:3.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Marc Schiffbauer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: wxwidgets-3.0
  Show dependency tree
 
Reported: 2015-10-25 17:31 UTC by Pacho Ramos
Modified: 2016-12-30 12:24 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pacho Ramos gentoo-dev 2015-10-25 17:31:27 UTC
[ 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
Comment 1 Marc Schiffbauer gentoo-dev 2016-03-25 23:59:58 UTC
The ebuild has WX_GTK_VER="2.8", did you change that? Can we close this bug?
Comment 2 Pacho Ramos gentoo-dev 2016-04-02 12:13:04 UTC
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? :/
Comment 3 Pacho Ramos gentoo-dev 2016-11-16 10:23:53 UTC
Or we should simply treeclean this when cleaning wxGTK:2.8
Comment 4 Marc Schiffbauer gentoo-dev 2016-11-23 17:46:00 UTC
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.
Comment 5 Marc Schiffbauer gentoo-dev 2016-12-27 18:10:07 UTC
Bumped and removed old version. New version works with wxwidgets-3.0
Comment 6 Pacho Ramos gentoo-dev 2016-12-30 12:24:30 UTC
Thanks a lot!