Date: Sun, 29 Aug 2010 20:48:20 +0200 From: Rainer Hurling <rhurlin@gwdg.de> To: "freebsd-ports@freebsd.org" <freebsd-ports@freebsd.org> Subject: Re: [SOLVED] Work on update for math/saga Message-ID: <4C7AAB74.7040103@gwdg.de> In-Reply-To: <4C769F2A.7020003@gwdg.de> References: <4C769F2A.7020003@gwdg.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On 26.08.2010 19:06 (UTC+1), Rainer Hurling wrote: > Now it is time to update math/saga from version 2.0.4 to 2.0.5. > > In the actual state the port is able to fetch the source, to patch and > then to start make. > > The build process stops with the following error messages. Obviously > there is a problem with converting 'wxString' to 'const wchar_t*'. The described error depends on a small inaccuracy with unicode handling in the original linux sources. It is identified and will be corrected. In the meantime I am working with a small extra patch. The updated port is basically ready and running now ;-) > I have no clue what to do next. Some help is greatly appreciated. > > Thanks in advance, > Rainer Hurling > > > -------------------------------------- > Making all in saga_cmd > Making all in man > c++ -DPACKAGE_NAME=\"saga\" -DPACKAGE_TARNAME=\"saga\" > -DPACKAGE_VERSION=\"2.0.5\" -DPACKAGE_STRING=\"saga\ 2.0.5\" > -DPACKAGE_BUGREPORT=\"BUG-REPORT-ADDRESS\" -DPACKAGE=\"saga\" > -DVERSION=\"2.0.5\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 > -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 > -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 > -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 > -DLT_OBJDIR=\".libs/\" -DSTDC_HEADERS=1 -DHAVE_FLOAT_H=1 > -DHAVE_STDLIB_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 > -DHAVE_UNISTD_H=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 -DHAVE_STDLIB_H=1 > -DHAVE_MALLOC=1 -DHAVE_STDLIB_H=1 -DHAVE_REALLOC=1 > -DLSTAT_FOLLOWS_SLASHED_SYMLINK=1 -DHAVE_VPRINTF=1 -DHAVE_MEMMOVE=1 > -DHAVE_MEMSET=1 -DHAVE_MODF=1 -DHAVE_STRCHR=1 -DHAVE_STRDUP=1 > -DHAVE_STRERROR=1 -DHAVE_STRRCHR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -I. > -fPIC `/usr/local/bin/wxgtk2-2.8-config --unicode=no --cxxflags` > -D_SAGA_LINUX -D_SAGA_UNICODE -D_TYPEDEF_BYTE -D_TYPEDEF_WORD -I.. > -D"MODULE_LIBRARY_PATH=\"/usr/local/lib/saga\"" -O2 -pipe > -I/usr/local/include -fno-strict-aliasing -MT callback.o -MD -MP -MF > .deps/callback.Tpo -c -o callback.o callback.cpp > mv -f .deps/callback.Tpo .deps/callback.Po > c++ -DPACKAGE_NAME=\"saga\" -DPACKAGE_TARNAME=\"saga\" > -DPACKAGE_VERSION=\"2.0.5\" -DPACKAGE_STRING=\"saga\ 2.0.5\" > -DPACKAGE_BUGREPORT=\"BUG-REPORT-ADDRESS\" -DPACKAGE=\"saga\" > -DVERSION=\"2.0.5\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 > -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 > -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 > -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 > -DLT_OBJDIR=\".libs/\" -DSTDC_HEADERS=1 -DHAVE_FLOAT_H=1 > -DHAVE_STDLIB_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 > -DHAVE_UNISTD_H=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 -DHAVE_STDLIB_H=1 > -DHAVE_MALLOC=1 -DHAVE_STDLIB_H=1 -DHAVE_REALLOC=1 > -DLSTAT_FOLLOWS_SLASHED_SYMLINK=1 -DHAVE_VPRINTF=1 -DHAVE_MEMMOVE=1 > -DHAVE_MEMSET=1 -DHAVE_MODF=1 -DHAVE_STRCHR=1 -DHAVE_STRDUP=1 > -DHAVE_STRERROR=1 -DHAVE_STRRCHR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -I. > -fPIC `/usr/local/bin/wxgtk2-2.8-config --unicode=no --cxxflags` > -D_SAGA_LINUX -D_SAGA_UNICODE -D_TYPEDEF_BYTE -D_TYPEDEF_WORD -I.. > -D"MODULE_LIBRARY_PATH=\"/usr/local/lib/saga\"" -O2 -pipe > -I/usr/local/include -fno-strict-aliasing -MT module_library.o -MD -MP > -MF .deps/module_library.Tpo -c -o module_library.o module_library.cpp > module_library.cpp: In member function 'bool > CModule_Library::Create(const wchar_t*, const wchar_t*)': > module_library.cpp:139: error: cannot convert 'wxString' to 'const > wchar_t*' in argument passing > module_library.cpp: In member function 'void > CModule_Library::_Set_CMD(CSG_Parameters*, bool)': > module_library.cpp:320: error: no matching function for call to > 'wxString::Format(const wchar_t*)' > /usr/local/include/wx-2.8/wx/string.h:1208: note: candidates are: static > wxString wxString::Format(const wxChar*, ...) > module_library.cpp:333: error: no matching function for call to > 'wxString::Format(const wchar_t*)' > /usr/local/include/wx-2.8/wx/string.h:1208: note: candidates are: static > wxString wxString::Format(const wxChar*, ...) > module_library.cpp:337: error: no matching function for call to > 'wxString::Format(const wchar_t*)' > /usr/local/include/wx-2.8/wx/string.h:1208: note: candidates are: static > wxString wxString::Format(const wxChar*, ...) > module_library.cpp:342: error: no matching function for call to > 'wxString::Format(const wchar_t*)' > /usr/local/include/wx-2.8/wx/string.h:1208: note: candidates are: static > wxString wxString::Format(const wxChar*, ...) > module_library.cpp:347: error: no matching function for call to > 'wxString::Format(const wchar_t*)' > /usr/local/include/wx-2.8/wx/string.h:1208: note: candidates are: static > wxString wxString::Format(const wxChar*, ...) > module_library.cpp:351: error: no matching function for call to > 'wxString::Format(const wchar_t*)' > /usr/local/include/wx-2.8/wx/string.h:1208: note: candidates are: static > wxString wxString::Format(const wxChar*, ...) > module_library.cpp:352: error: no matching function for call to > 'wxString::Format(const wchar_t*)' > /usr/local/include/wx-2.8/wx/string.h:1208: note: candidates are: static > wxString wxString::Format(const wxChar*, ...) > module_library.cpp:358: error: no matching function for call to > 'wxString::Format(const wchar_t*)' > /usr/local/include/wx-2.8/wx/string.h:1208: note: candidates are: static > wxString wxString::Format(const wxChar*, ...) > module_library.cpp:362: error: no matching function for call to > 'wxString::Format(const wchar_t*)' > /usr/local/include/wx-2.8/wx/string.h:1208: note: candidates are: static > wxString wxString::Format(const wxChar*, ...) > module_library.cpp:368: error: no matching function for call to > 'wxString::Format(const wchar_t*)' > /usr/local/include/wx-2.8/wx/string.h:1208: note: candidates are: static > wxString wxString::Format(const wxChar*, ...) > module_library.cpp:369: error: no matching function for call to > 'wxString::Format(const wchar_t*)' > /usr/local/include/wx-2.8/wx/string.h:1208: note: candidates are: static > wxString wxString::Format(const wxChar*, ...) > module_library.cpp:370: error: no matching function for call to > 'wxString::Format(const wchar_t*)' > /usr/local/include/wx-2.8/wx/string.h:1208: note: candidates are: static > wxString wxString::Format(const wxChar*, ...) > module_library.cpp:371: error: no matching function for call to > 'wxString::Format(const wchar_t*)' > /usr/local/include/wx-2.8/wx/string.h:1208: note: candidates are: static > wxString wxString::Format(const wxChar*, ...) > module_library.cpp:372: error: no matching function for call to > 'wxString::Format(const wchar_t*)' > /usr/local/include/wx-2.8/wx/string.h:1208: note: candidates are: static > wxString wxString::Format(const wxChar*, ...) > module_library.cpp: In member function 'bool > CModule_Library::_Get_CMD(CSG_Parameters*)': > module_library.cpp:420: error: no matching function for call to > 'wxString::Format(const wchar_t*)' > /usr/local/include/wx-2.8/wx/string.h:1208: note: candidates are: static > wxString wxString::Format(const wxChar*, ...) > module_library.cpp:424: error: no matching function for call to > 'wxString::Format(const wchar_t*)' > /usr/local/include/wx-2.8/wx/string.h:1208: note: candidates are: static > wxString wxString::Format(const wxChar*, ...) > module_library.cpp:432: error: no matching function for call to > 'wxString::Format(const wchar_t*)' > /usr/local/include/wx-2.8/wx/string.h:1208: note: candidates are: static > wxString wxString::Format(const wxChar*, ...) > module_library.cpp:440: error: call of overloaded 'Set_Value(const > wxChar*)' is ambiguous > ../saga_api/parameters.h:1018: note: candidates are: bool > CSG_Parameter::Set_Value(int) <near match> > ../saga_api/parameters.h:1020: note: bool > CSG_Parameter::Set_Value(void*) <near match> > module_library.cpp:447: error: no matching function for call to > 'wxString::Format(const wchar_t*)' > /usr/local/include/wx-2.8/wx/string.h:1208: note: candidates are: static > wxString wxString::Format(const wxChar*, ...) > module_library.cpp:454: error: no matching function for call to > 'wxString::Format(const wchar_t*)' > /usr/local/include/wx-2.8/wx/string.h:1208: note: candidates are: static > wxString wxString::Format(const wxChar*, ...) > module_library.cpp:459: error: no matching function for call to > 'wxString::Format(const wchar_t*)' > /usr/local/include/wx-2.8/wx/string.h:1208: note: candidates are: static > wxString wxString::Format(const wxChar*, ...) > module_library.cpp:466: error: no matching function for call to > 'wxString::Format(const wchar_t*)' > /usr/local/include/wx-2.8/wx/string.h:1208: note: candidates are: static > wxString wxString::Format(const wxChar*, ...) > module_library.cpp:468: error: call of overloaded 'Set_Value(const > wxChar*)' is ambiguous > ../saga_api/parameters.h:1018: note: candidates are: bool > CSG_Parameter::Set_Value(int) <near match> > ../saga_api/parameters.h:1020: note: bool > CSG_Parameter::Set_Value(void*) <near match> > module_library.cpp:473: error: no matching function for call to > 'wxString::Format(const wchar_t*)' > /usr/local/include/wx-2.8/wx/string.h:1208: note: candidates are: static > wxString wxString::Format(const wxChar*, ...) > module_library.cpp:487: error: call of overloaded 'Set_Value(const > wxChar*)' is ambiguous > ../saga_api/parameters.h:1018: note: candidates are: bool > CSG_Parameter::Set_Value(int) <near match> > ../saga_api/parameters.h:1020: note: bool > CSG_Parameter::Set_Value(void*) <near match> > module_library.cpp:493: error: no matching function for call to > 'wxString::Format(const wchar_t*)' > /usr/local/include/wx-2.8/wx/string.h:1208: note: candidates are: static > wxString wxString::Format(const wxChar*, ...) > module_library.cpp:502: error: call of overloaded 'Set_Value(const > wxChar*)' is ambiguous > ../saga_api/parameters.h:1018: note: candidates are: bool > CSG_Parameter::Set_Value(int) <near match> > ../saga_api/parameters.h:1020: note: bool > CSG_Parameter::Set_Value(void*) <near match> > module_library.cpp:507: error: no matching function for call to > 'wxString::Format(const wchar_t*)' > /usr/local/include/wx-2.8/wx/string.h:1208: note: candidates are: static > wxString wxString::Format(const wxChar*, ...) > module_library.cpp:520: error: no matching function for call to > 'wxString::Format(const wchar_t*)' > /usr/local/include/wx-2.8/wx/string.h:1208: note: candidates are: static > wxString wxString::Format(const wxChar*, ...) > module_library.cpp:521: error: no matching function for call to > 'wxString::Format(const wchar_t*)' > /usr/local/include/wx-2.8/wx/string.h:1208: note: candidates are: static > wxString wxString::Format(const wxChar*, ...) > module_library.cpp:522: error: no matching function for call to > 'wxString::Format(const wchar_t*)' > /usr/local/include/wx-2.8/wx/string.h:1208: note: candidates are: static > wxString wxString::Format(const wxChar*, ...) > module_library.cpp:523: error: no matching function for call to > 'wxString::Format(const wchar_t*)' > /usr/local/include/wx-2.8/wx/string.h:1208: note: candidates are: static > wxString wxString::Format(const wxChar*, ...) > module_library.cpp:524: error: no matching function for call to > 'wxString::Format(const wchar_t*)' > /usr/local/include/wx-2.8/wx/string.h:1208: note: candidates are: static > wxString wxString::Format(const wxChar*, ...) > module_library.cpp: In member function 'bool > CModule_Library::_Create_DataObjects(CSG_Parameters*)': > module_library.cpp:575: error: no matching function for call to > 'wxString::Format(const wchar_t*)' > /usr/local/include/wx-2.8/wx/string.h:1208: note: candidates are: static > wxString wxString::Format(const wxChar*, ...) > module_library.cpp:583: error: no matching function for call to > 'Print_Error(const wchar_t*, wxString&)' > callback.h:92: note: candidates are: void Print_Error(const wchar_t*) > callback.h:93: note: void Print_Error(const wchar_t*, const wchar_t*) > module_library.cpp:594: error: no matching function for call to > 'wxString::Format(const wchar_t*)' > /usr/local/include/wx-2.8/wx/string.h:1208: note: candidates are: static > wxString wxString::Format(const wxChar*, ...) > module_library.cpp: In member function 'bool > CModule_Library::_Create_DataObject(CSG_Parameter*, const wxChar*)': > module_library.cpp:625: error: cannot convert 'const wxChar*' to 'const > wchar_t*' for argument '1' to 'bool SG_File_Exists(const wchar_t*)' > module_library.cpp: In member function 'bool > CModule_Library::_Create_DataObject_List(CSG_Parameter*, wxString)': > module_library.cpp:717: error: no matching function for call to > 'Print_Error(const wchar_t*, wxString&)' > callback.h:92: note: candidates are: void Print_Error(const wchar_t*) > callback.h:93: note: void Print_Error(const wchar_t*, const wchar_t*) > module_library.cpp: In member function 'bool > CModule_Library::_Destroy_DataObjects(bool, CSG_Parameters*)': > module_library.cpp:775: error: no matching function for call to > 'wxString::Format(const wchar_t*)' > /usr/local/include/wx-2.8/wx/string.h:1208: note: candidates are: static > wxString wxString::Format(const wxChar*, ...) > *** Error code 1 > Stop in /usr/ports/math/saga/work/saga-2.0.5/src/saga_core/saga_cmd.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C7AAB74.7040103>