Comment 9 for bug 718150

Revision history for this message
Ilya Barygin (randomaction) wrote :

Debian's version has libucommon5. ccscript 4.2.0 doesn't build with it:

libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../inc -Wno-long-long -fno-exceptions -fno-rtti -fno-enforce-eh-specs -pthread -fno-check-new -finline -fvisibility-inlines-hidden -fvisibility=hidden -DUCOMMON_VISIBILITY=1 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -g -O2 -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -Wall -c common.cpp -fPIC -DPIC -o .libs/common.o
common.cpp: In constructor 'ucommon::script::script()':
common.cpp:287:27: error: call of overloaded 'pointer()' is ambiguous
common.cpp:287:27: note: candidates are:
/usr/include/ucommon/generics.h:105:21: note: ucommon::pointer<T>::pointer(T*) [with T = ucommon::script]
/usr/include/ucommon/generics.h:100:12: note: ucommon::pointer<T>::pointer() [with T = ucommon::script]
common.cpp: In static member function 'static ucommon::script* ucommon::script::append(ucommon::script*, const char*, ucommon::script*)':
common.cpp:518:35: error: 'getline' is not a member of 'ucommon::String {aka ucommon::string}'
common.cpp:586:41: error: no matching function for call to 'ucommon::script::find(ucommon::script&, const char*&)'
common.cpp:586:41: note: candidates are:
common.cpp:330:20: note: static ucommon::script::keyword_t* ucommon::script::find(const char*)
common.cpp:330:20: note: candidate expects 1 argument, 2 provided
common.cpp:397:17: note: static ucommon::script::header* ucommon::script::find(ucommon::script*, const char*)
common.cpp:397:17: note: no known conversion for argument 1 from 'ucommon::script' to 'ucommon::script*'
common.cpp:712:82: error: no matching function for call to 'ucommon::script::find(ucommon::script&, const char*&)'
common.cpp:712:82: note: candidates are:
common.cpp:330:20: note: static ucommon::script::keyword_t* ucommon::script::find(const char*)
common.cpp:330:20: note: candidate expects 1 argument, 2 provided
common.cpp:397:17: note: static ucommon::script::header* ucommon::script::find(ucommon::script*, const char*)
common.cpp:397:17: note: no known conversion for argument 1 from 'ucommon::script' to 'ucommon::script*'
make[3]: *** [common.lo] Error 1

Debian also has newer version of sipwitch, which build with libucommon5. However, sipwitch was removed from Ubuntu.