Package: libcwd Version: 1.0.4-1.1 Severity: serious Tags: sid stretch Justification: fails to build from source
Hi, libcwd cannot be built in sid anymore: source='exec_prog.cc' object='libutils_r_la-exec_prog.lo' libtool=yes \ DEPDIR=.deps depmode=pch /bin/bash ../depcomp \ /bin/bash ../libtool --tag=CXX --mode=compile x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I./../include -I../include -DCWDEBUG -DLIBCWD_THREAD_SAFE -D_REENTRANT -pthread -g -c -o libutils_r_la-exec_prog.lo `test -f 'exec_prog.cc' || echo './'`exec_prog.cc libtool: compile: x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I./../include -I../include -DCWDEBUG -DLIBCWD_THREAD_SAFE -D_REENTRANT -pthread -g -c exec_prog.cc -fPIC -DPIC -o .libs/libutils_r_la-exec_prog.o In file included from ./../include/libcwd/libraries_debug.h:142:0, from ./../include/libcwd/debug.h:73, from ./../include/cwd_debug.h:17, from exec_prog.cc:25: ../../include/libcwd/private_allocator.inl: In instantiation of 'void libcwd::_private_::allocator_adaptor<T, CharAlloc, internal>::deallocate(libcwd::_private_::allocator_adaptor<T, CharAlloc, internal>::pointer, size_t) [with T = char; CharAlloc = libcwd::_private_::CharPoolAlloc<true, -3>; libcwd::_private_::pool_nt internal = (libcwd::_private_::pool_nt)0u; libcwd::_private_::allocator_adaptor<T, CharAlloc, internal>::pointer = char*; size_t = long unsigned int]': /usr/include/c++/5/ext/alloc_traits.h:185:7: required from 'static void __gnu_cxx::__alloc_traits<_Alloc>::deallocate(_Alloc&, __gnu_cxx::__alloc_traits<_Alloc>::pointer, __gnu_cxx::__alloc_traits<_Alloc>::size_type) [with _Alloc = libcwd::_private_::allocator_adaptor<char, libcwd::_private_::CharPoolAlloc<true, -3>, (libcwd::_private_::pool_nt)0u>; __gnu_cxx::__alloc_traits<_Alloc>::pointer = char*; __gnu_cxx::__alloc_traits<_Alloc>::size_type = long unsigned int]' /usr/include/c++/5/bits/basic_string.h:185:34: required from 'void std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_M_destroy(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = libcwd::_private_::allocator_adaptor<char, libcwd::_private_::CharPoolAlloc<true, -3>, (libcwd::_private_::pool_nt)0u>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]' /usr/include/c++/5/bits/basic_string.h:180:14: required from 'void std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_M_dispose() [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = libcwd::_private_::allocator_adaptor<char, libcwd::_private_::CharPoolAlloc<true, -3>, (libcwd::_private_::pool_nt)0u>]' /usr/include/c++/5/bits/basic_string.h:544:19: required from 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::~basic_string() [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = libcwd::_private_::allocator_adaptor<char, libcwd::_private_::CharPoolAlloc<true, -3>, (libcwd::_private_::pool_nt)0u>]' exec_prog.cc:213:52: required from here ../../include/libcwd/private_allocator.inl:93:5: error: no matching function for call to 'libcwd::_private_::CharPoolAlloc<true, -3>::deallocate(libcwd::_private_::CharPoolAlloc<true, -3>::pointer, size_t)' M_char_allocator.deallocate((typename CharAlloc::pointer)p, num * sizeof(T) ^ In file included from ./../include/libcwd/private_thread.h:25:0, from ./../include/libcwd/private_struct_TSD.h:107, from ./../include/libcwd/class_channel.h:31, from ./../include/libcwd/libraries_debug.h:41, from ./../include/libcwd/debug.h:73, from ./../include/cwd_debug.h:17, from exec_prog.cc:25: ../../include/libcwd/private_allocator.h:264:10: note: candidate: void libcwd::_private_::CharPoolAlloc<needs_lock, pool_instance>::deallocate(libcwd::_private_::CharPoolAlloc<needs_lock, pool_instance>::pointer, libcwd::_private_::CharPoolAlloc<needs_lock, pool_instance>::size_type, libcwd::_private_::TSD_st&) [with bool needs_lock = true; int pool_instance = -3; libcwd::_private_::CharPoolAlloc<needs_lock, pool_instance>::pointer = char*; libcwd::_private_::CharPoolAlloc<needs_lock, pool_instance>::size_type = long unsigned int] void deallocate(pointer p, size_type num, TSD_st&); ^ ../../include/libcwd/private_allocator.h:264:10: note: candidate expects 3 arguments, 2 provided In file included from ./../include/libcwd/libraries_debug.h:142:0, from ./../include/libcwd/debug.h:73, from ./../include/cwd_debug.h:17, from exec_prog.cc:25: ../../include/libcwd/private_allocator.inl: In instantiation of 'T* libcwd::_private_::allocator_adaptor<T, CharAlloc, internal>::allocate(size_t) [with T = char; CharAlloc = libcwd::_private_::CharPoolAlloc<true, - 3>; libcwd::_private_::pool_nt internal = (libcwd::_private_::pool_nt)0u; size_t = long unsigned int]': /usr/include/c++/5/ext/alloc_traits.h:182:30: required from 'static __gnu_cxx::__alloc_traits<_Alloc>::pointer __gnu_cxx::__alloc_traits<_Alloc>::allocate(_Alloc&, __gnu_cxx::__alloc_traits<_Alloc>::size_type) [w ith _Alloc = libcwd::_private_::allocator_adaptor<char, libcwd::_private_::CharPoolAlloc<true, -3>, (libcwd::_private_::pool_nt)0u>; __gnu_cxx::__alloc_traits<_Alloc>::pointer = char*; __gnu_cxx::__alloc_traits<_Al loc>::size_type = long unsigned int]' /usr/include/c++/5/bits/basic_string.tcc:157:37: required from 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::pointer std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_M_create(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = libcwd::_private_::allocator_adaptor<char, libcwd::_private_::CharPoolAlloc<true, -3>, (libcwd::_private_::pool_nt)0u>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::pointer = char*; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]' /usr/include/c++/5/bits/basic_string.tcc:321:30: required from 'void std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_M_mutate(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = libcwd::_private_::allocator_adaptor<char, libcwd::_private_::CharPoolAlloc<true, -3>, (libcwd::_private_::pool_nt)0u>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]' /usr/include/c++/5/bits/basic_string.h:1081:4: required from 'void std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::push_back(_CharT) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = libcwd::_private_::allocator_adaptor<char, libcwd::_private_::CharPoolAlloc<true, -3>, (libcwd::_private_::pool_nt)0u>]' /usr/include/c++/5/bits/basic_string.h:960:2: required from 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::operator+=(_CharT) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = libcwd::_private_::allocator_adaptor<char, libcwd::_private_::CharPoolAlloc<true, -3>, (libcwd::_private_::pool_nt)0u>]' exec_prog.cc:262:17: required from here ../../include/libcwd/private_allocator.inl:76:2: error: no matching function for call to 'libcwd::_private_::CharPoolAlloc<true, -3>::allocate(size_t)' ); ^ In file included from ./../include/libcwd/private_thread.h:25:0, from ./../include/libcwd/private_struct_TSD.h:107, from ./../include/libcwd/class_channel.h:31, from ./../include/libcwd/libraries_debug.h:41, from ./../include/libcwd/debug.h:73, from ./../include/cwd_debug.h:17, from exec_prog.cc:25: ../../include/libcwd/private_allocator.h:257:13: note: candidate: char* libcwd::_private_::CharPoolAlloc<needs_lock, pool_instance>::allocate(libcwd::_private_::CharPoolAlloc<needs_lock, pool_instance>::size_type, libcwd::_private_::TSD_st&) [with bool needs_lock = true; int pool_instance = -3; libcwd::_private_::CharPoolAlloc<needs_lock, pool_instance>::pointer = char*; libcwd::_private_::CharPoolAlloc<needs_lock, pool_instance>::size_type = long unsigned int] pointer allocate(size_type num, TSD_st&); ^ ../../include/libcwd/private_allocator.h:257:13: note: candidate expects 2 arguments, 1 provided Makefile:442: recipe for target 'libutils_r_la-exec_prog.lo' failed make[3]: *** [libutils_r_la-exec_prog.lo] Error 1 make[3]: Leaving directory '/tmp/buildd/libcwd-1.0.4/utils' Makefile:839: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/tmp/buildd/libcwd-1.0.4' Makefile:436: recipe for target 'all' failed make[1]: *** [all] Error 2 make[1]: Leaving directory '/tmp/buildd/libcwd-1.0.4' debian/rules:32: recipe for target 'build-stamp' failed make: *** [build-stamp] Error 2 Cheers, Andreas