Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 564100 - net-analyzer/fe3d-0.11.2 with x11-libs/wxGTK:3.0 - fe_tools.cpp: In member function 'bool FeTool::launch(std::vector<wxString>*)': fe_tools.cpp:53:55: error: call of overloaded 'wxString(wxCStrData, wxMBConvStrictUTF8&)' is ambiguous
Summary: net-analyzer/fe3d-0.11.2 with x11-libs/wxGTK:3.0 - fe_tools.cpp: In member fu...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Deadline: 2017-07-05
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PMASKED
Depends on:
Blocks: wxwidgets-3.0
  Show dependency tree
 
Reported: 2015-10-25 15:31 UTC by Pacho Ramos
Modified: 2017-07-05 13:49 UTC (History)
2 users (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 15:31:55 UTC
fe_port.cpp: In member function 'virtual wxXmlNode* FePort::GetXMLNode()':
fe_port.cpp:95:49: warning: 'virtual void wxXmlNode::AddProperty(const wxString&, const wxString&)' is deprecated (declared at /usr/include/wx-3.0/wx/xml/xml.h:196) [-Wdeprecated-declarations]
  node->AddProperty(wxT("protocol"), wxString(_T("tcp")));
                                                 ^
fe_port.cpp:96:62: warning: 'virtual void wxXmlNode::AddProperty(const wxString&, const wxString&)' is deprecated (declared at /usr/include/wx-3.0/wx/xml/xml.h:196) [-Wdeprecated-declarations]
  node->AddProperty(wxT("portid"), wxString::Format(_T("%i"), m_Port));
                                                              ^
fe_port.cpp:101:40: warning: 'virtual void wxXmlNode::AddProperty(const wxString&, const wxString&)' is deprecated (declared at /usr/include/wx-3.0/wx/xml/xml.h:196) [-Wdeprecated-declarations]
   node->AddProperty(wxT("state"), wxT("closed"));
                                        ^
fe_port.cpp:105:38: warning: 'virtual void wxXmlNode::AddProperty(const wxString&, const wxString&)' is deprecated (declared at /usr/include/wx-3.0/wx/xml/xml.h:196) [-Wdeprecated-declarations]
   node->AddProperty(wxT("state"), wxT("open"));
                                      ^
fe_port.cpp:109:42: warning: 'virtual void wxXmlNode::AddProperty(const wxString&, const wxString&)' is deprecated (declared at /usr/include/wx-3.0/wx/xml/xml.h:196) [-Wdeprecated-declarations]
   node->AddProperty(wxT("state"), wxT("filtered"));
                                          ^
fe_port.cpp:116:37: warning: 'virtual void wxXmlNode::AddProperty(const wxString&, const wxString&)' is deprecated (declared at /usr/include/wx-3.0/wx/xml/xml.h:196) [-Wdeprecated-declarations]
   node->AddProperty(wxT("proto"), wxT("tcp"));
                                     ^
fe_port.cpp:120:37: warning: 'virtual void wxXmlNode::AddProperty(const wxString&, const wxString&)' is deprecated (declared at /usr/include/wx-3.0/wx/xml/xml.h:196) [-Wdeprecated-declarations]
   node->AddProperty(wxT("proto"), wxT("udp"));
                                     ^
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../src/include -I../include -I../src/include -DFE_DATA_DIR="\"/usr/share/fe3d/\"" -I/usr/lib64/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DNDEBUG  -O2 -pipe -march=native -fno-stack-protector -c -o fe3d-libfe3d.o `test -f 'libfe3d.cpp' || echo './'`libfe3d.cpp
fe_tools.cpp: In member function 'bool FeTool::launch(std::vector<wxString>*)':
fe_tools.cpp:53:55: error: call of overloaded 'wxString(wxCStrData, wxMBConvStrictUTF8&)' is ambiguous
   wxString arg(args->at(i).c_str(), wxConvUTF8);
                                                       ^
fe_tools.cpp:53:55: 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 ../src/include/fe_include.hpp:40,
                 from fe_tools.cpp:21:
/usr/include/wx-3.0/wx/string.h:1269:3: note: wxString::wxString(const wchar_t*, const wxMBConv&)
   wxString(const wchar_t *pwz, const wxMBConv& WXUNUSED(conv))
   ^
/usr/include/wx-3.0/wx/string.h:1256:3: note: wxString::wxString(const unsigned char*, const wxMBConv&)
   wxString(const unsigned char *psz, const wxMBConv& conv)
   ^
/usr/include/wx-3.0/wx/string.h:1243:3: note: wxString::wxString(const char*, const wxMBConv&)
   wxString(const char *psz, const wxMBConv& conv)
   ^
Makefile:615: recipe for target 'fe3d-fe_tools.o' failed
make[1]: *** [fe3d-fe_tools.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/var/tmp/portage/net-analyzer/fe3d-0.11.2/work/fe3d_0.11.2/src'
Makefile:372: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2015-10-27 03:54:23 UTC
I don't see how this is happening. The ebuild sets WX_GTK_VER="2.8" and depends on x11-libs/wxGTK:2.8[opengl].
Comment 2 Pacho Ramos gentoo-dev 2015-10-27 18:50:57 UTC
No, this is when trying to adapt it to use wxGTK:3.0 (as 2.8 is deprecated for a long time and won't receive fixes). This is part of a bigger effort to try to move reverse deps to use wxGTK3... but for this case I couldn't find any fix or patch :/ I am neither sure if upstream is even aware of the issue (if they are still taking care of the package)
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2015-10-30 04:40:42 UTC
fe3d is a bit of a toy, so once it's time to remove x11-libs/wxGTK:2.8, this can probably go away, too.
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-06-05 21:45:03 UTC
# Michał Górny <mgorny@gentoo.org> (05 Jun 2017)
# (on behalf of Treecleaner project)
# Unmaintained upstream and in Gentoo. Requires old wxGTK version.
# Removal in 30 days. Bug #564100.
net-analyzer/fe3d
Comment 5 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-07-05 13:49:09 UTC
commit 0fb9429930c4c8ffac3e125d9f95e063cc185013
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: Wed Jul 5 15:39:54 2017
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: Wed Jul 5 15:47:52 2017

    net-analyzer/fe3d: Remove last-rited pkg, #564100