Bug#652765: wesnoth-1.8: FTBFS: noncopyable.hpp:27:7: error: 'boost::noncopyable_::noncopyable::noncopyable(const boost::noncopyable_::noncopyable&)' is private

Lucas Nussbaum lucas at lucas-nussbaum.net
Tue Dec 20 14:50:58 UTC 2011


Source: wesnoth-1.8
Version: 1:1.8.6-1
Severity: serious
Tags: wheezy sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20111220 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part:
> 	x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I..   -I/usr/include -I/usr/include/lua5.1   -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include   -pthread -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/cairo     -DHAVE_REVISION -I../intl -I../intl -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -DWESNOTH_PATH=\"/usr/share/games/wesnoth/1.8\" -DLOCALEDIR=\"/usr/share/games/wesnoth/1.8/locale\" -DHAS_RELATIVE_LOCALEDIR=0 -DFIFODIR=\"/var/run/wesnothd\" -DWESNOTH_PREFIX=\"/usr\" -O2 -W -Wall -ansi  -DDISABLE_POOL_ALLOC  -DHAVE_FRIBIDI -I/usr/include/fribidi   -D_X11     -I/usr/include -MT scripting/lua.o -MD -MP -MF $depbase.Tpo -c -o scripting/lua.o scripting/lua.cpp &&\
> 	mv -f $depbase.Tpo $depbase.Po
> In file included from ./gui/widgets/grid.hpp:18:0,
>                  from ./gui/widgets/container.hpp:18,
>                  from ./gui/widgets/scrollbar_container.hpp:18,
>                  from ./gui/auxiliary/window_builder/tree_view.hpp:20,
>                  from ./gui/widgets/tree_view_node.hpp:18,
>                  from gui/widgets/tree_view_node.cpp:17:
> /usr/include/boost/noncopyable.hpp: In copy constructor 'gui2::twidget::twidget(const gui2::twidget&)':
> ./gui/widgets/widget.hpp:41:7:   instantiated from 'T* boost::new_clone(const T&) [with T = gui2::ttree_view_node]'
> /usr/include/boost/ptr_container/clone_allocator.hpp:68:33:   instantiated from 'static U* boost::heap_clone_allocator::allocate_clone(const U&) [with U = gui2::ttree_view_node]'
> /usr/include/boost/ptr_container/detail/reversible_ptr_container.hpp:110:63:   instantiated from 'static boost::ptr_container_detail::reversible_ptr_container<Config, CloneAllocator>::Ty_* boost::ptr_container_detail::reversible_ptr_container<Config, CloneAllocator>::null_clone_allocator<allow_null_values>::allocate_clone(const Ty_*) [with bool allow_null_values = false, Config = boost::ptr_container_detail::sequence_config<gui2::ttree_view_node, std::vector<void*, std::allocator<void*> > >, CloneAllocator = boost::heap_clone_allocator, boost::ptr_container_detail::reversible_ptr_container<Config, CloneAllocator>::Ty_ = gui2::ttree_view_node]'
> /usr/include/boost/ptr_container/detail/reversible_ptr_container.hpp:95:71:   instantiated from 'static boost::ptr_container_detail::reversible_ptr_container<Config, CloneAllocator>::Ty_* boost::ptr_container_detail::reversible_ptr_container<Config, CloneAllocator>::null_clone_allocator<allow_null_values>::allocate_clone_from_iterator(Iter) [with Iter = boost::void_ptr_iterator<__gnu_cxx::__normal_iterator<void* const*, std::vector<void*, std::allocator<void*> > >, const gui2::ttree_view_node>, bool allow_null_values = false, Config = boost::ptr_container_detail::sequence_config<gui2::ttree_view_node, std::vector<void*, std::allocator<void*> > >, CloneAllocator = boost::heap_clone_allocator, boost::ptr_container_detail::reversible_ptr_container<Config, CloneAllocator>::Ty_ = gui2::ttree_view_node]'
> /usr/include/boost/ptr_container/detail/scoped_deleter.hpp:70:21:   instantiated from 'boost::ptr_container_detail::scoped_deleter<T, CloneAllocator>::scoped_deleter(InputIterator, InputIterator) [with InputIterator = boost::void_ptr_iterator<__gnu_cxx::__normal_iterator<void* const*, std::vector<void*, std::allocator<void*> > >, const gui2::ttree_view_node>, T = gui2::ttree_view_node, CloneAllocator = boost::ptr_container_detail::reversible_ptr_container<boost::ptr_container_detail::sequence_config<gui2::ttree_view_node, std::vector<void*, std::allocator<void*> > >, boost::heap_clone_allocator>::null_clone_allocator<false>]'
> /usr/include/boost/ptr_container/detail/reversible_ptr_container.hpp:212:44:   instantiated from 'void boost::ptr_container_detail::reversible_ptr_container<Config, CloneAllocator>::clone_back_insert(ForwardIterator, ForwardIterator) [with ForwardIterator = boost::void_ptr_iterator<__gnu_cxx::__normal_iterator<void* const*, std::vector<void*, std::allocator<void*> > >, const gui2::ttree_view_node>, Config = boost::ptr_container_detail::sequence_config<gui2::ttree_view_node, std::vector<void*, std::allocator<void*> > >, CloneAllocator = boost::heap_clone_allocator]'
> /usr/include/boost/ptr_container/detail/reversible_ptr_container.hpp:303:13:   instantiated from 'void boost::ptr_container_detail::reversible_ptr_container<Config, CloneAllocator>::constructor_impl(I, I, std::forward_iterator_tag) [with I = boost::void_ptr_iterator<__gnu_cxx::__normal_iterator<void* const*, std::vector<void*, std::allocator<void*> > >, const gui2::ttree_view_node>, Config = boost::ptr_container_detail::sequence_config<gui2::ttree_view_node, std::vector<void*, std::allocator<void*> > >, CloneAllocator = boost::heap_clone_allocator]'
> /usr/include/boost/ptr_container/detail/reversible_ptr_container.hpp:348:13:   instantiated from 'boost::ptr_container_detail::reversible_ptr_container<Config, CloneAllocator>::reversible_ptr_container(const boost::ptr_container_detail::reversible_ptr_container<Config, CloneAllocator>&) [with Config = boost::ptr_container_detail::sequence_config<gui2::ttree_view_node, std::vector<void*, std::allocator<void*> > >, CloneAllocator = boost::heap_clone_allocator, boost::ptr_container_detail::reversible_ptr_container<Config, CloneAllocator> = boost::ptr_container_detail::reversible_ptr_container<boost::ptr_container_detail::sequence_config<gui2::ttree_view_node, std::vector<void*, std::allocator<void*> > >, boost::heap_clone_allocator>]'
> /usr/include/boost/ptr_container/ptr_sequence_adapter.hpp:203:26:   instantiated from 'boost::ptr_sequence_adapter<T, VoidPtrSeq, CloneAllocator>::ptr_sequence_adapter(const boost::ptr_sequence_adapter<T, VoidPtrSeq, CloneAllocator>&) [with T = gui2::ttree_view_node, VoidPtrSeq = std::vector<void*, std::allocator<void*> >, CloneAllocator = boost::heap_clone_allocator, boost::ptr_sequence_adapter<T, VoidPtrSeq, CloneAllocator> = boost::ptr_sequence_adapter<gui2::ttree_view_node, std::vector<void*, std::allocator<void*> >, boost::heap_clone_allocator>]'
> /usr/include/boost/ptr_container/ptr_vector.hpp:31:11:   instantiated from 'boost::foreach_detail_::simple_variant<T>::simple_variant(const T&) [with T = boost::ptr_vector<gui2::ttree_view_node>]'
> /usr/include/boost/foreach.hpp:648:95:   instantiated from 'boost::foreach_detail_::auto_any<boost::foreach_detail_::simple_variant<T> > boost::foreach_detail_::contain(const T&, bool*) [with T = boost::ptr_vector<gui2::ttree_view_node>]'
> gui/widgets/tree_view_node.cpp:316:2:   instantiated from here
> /usr/include/boost/noncopyable.hpp:27:7: error: 'boost::noncopyable_::noncopyable::noncopyable(const boost::noncopyable_::noncopyable&)' is private
> ./gui/widgets/widget.hpp:41:7: error: within this context
> In file included from gui/widgets/tree_view_node.cpp:17:0:
> ./gui/widgets/tree_view_node.hpp: In copy constructor 'gui2::ttree_view_node::ttree_view_node(const gui2::ttree_view_node&)':
> ./gui/widgets/tree_view_node.hpp:28:7: note: synthesized method 'gui2::twidget::twidget(const gui2::twidget&)' first required here 
> In file included from /usr/include/boost/ptr_container/detail/reversible_ptr_container.hpp:24:0,
>                  from /usr/include/boost/ptr_container/ptr_sequence_adapter.hpp:20,
>                  from /usr/include/boost/ptr_container/ptr_vector.hpp:20,
>                  from ./gui/widgets/tree_view_node.hpp:20,
>                  from gui/widgets/tree_view_node.cpp:17:
> /usr/include/boost/ptr_container/clone_allocator.hpp: In function 'T* boost::new_clone(const T&) [with T = gui2::ttree_view_node]':
> /usr/include/boost/ptr_container/clone_allocator.hpp:68:33:   instantiated from 'static U* boost::heap_clone_allocator::allocate_clone(const U&) [with U = gui2::ttree_view_node]'
> /usr/include/boost/ptr_container/detail/reversible_ptr_container.hpp:110:63:   instantiated from 'static boost::ptr_container_detail::reversible_ptr_container<Config, CloneAllocator>::Ty_* boost::ptr_container_detail::reversible_ptr_container<Config, CloneAllocator>::null_clone_allocator<allow_null_values>::allocate_clone(const Ty_*) [with bool allow_null_values = false, Config = boost::ptr_container_detail::sequence_config<gui2::ttree_view_node, std::vector<void*, std::allocator<void*> > >, CloneAllocator = boost::heap_clone_allocator, boost::ptr_container_detail::reversible_ptr_container<Config, CloneAllocator>::Ty_ = gui2::ttree_view_node]'
> /usr/include/boost/ptr_container/detail/reversible_ptr_container.hpp:95:71:   instantiated from 'static boost::ptr_container_detail::reversible_ptr_container<Config, CloneAllocator>::Ty_* boost::ptr_container_detail::reversible_ptr_container<Config, CloneAllocator>::null_clone_allocator<allow_null_values>::allocate_clone_from_iterator(Iter) [with Iter = boost::void_ptr_iterator<__gnu_cxx::__normal_iterator<void* const*, std::vector<void*, std::allocator<void*> > >, const gui2::ttree_view_node>, bool allow_null_values = false, Config = boost::ptr_container_detail::sequence_config<gui2::ttree_view_node, std::vector<void*, std::allocator<void*> > >, CloneAllocator = boost::heap_clone_allocator, boost::ptr_container_detail::reversible_ptr_container<Config, CloneAllocator>::Ty_ = gui2::ttree_view_node]'
> /usr/include/boost/ptr_container/detail/scoped_deleter.hpp:70:21:   instantiated from 'boost::ptr_container_detail::scoped_deleter<T, CloneAllocator>::scoped_deleter(InputIterator, InputIterator) [with InputIterator = boost::void_ptr_iterator<__gnu_cxx::__normal_iterator<void* const*, std::vector<void*, std::allocator<void*> > >, const gui2::ttree_view_node>, T = gui2::ttree_view_node, CloneAllocator = boost::ptr_container_detail::reversible_ptr_container<boost::ptr_container_detail::sequence_config<gui2::ttree_view_node, std::vector<void*, std::allocator<void*> > >, boost::heap_clone_allocator>::null_clone_allocator<false>]'
> /usr/include/boost/ptr_container/detail/reversible_ptr_container.hpp:212:44:   instantiated from 'void boost::ptr_container_detail::reversible_ptr_container<Config, CloneAllocator>::clone_back_insert(ForwardIterator, ForwardIterator) [with ForwardIterator = boost::void_ptr_iterator<__gnu_cxx::__normal_iterator<void* const*, std::vector<void*, std::allocator<void*> > >, const gui2::ttree_view_node>, Config = boost::ptr_container_detail::sequence_config<gui2::ttree_view_node, std::vector<void*, std::allocator<void*> > >, CloneAllocator = boost::heap_clone_allocator]'
> /usr/include/boost/ptr_container/detail/reversible_ptr_container.hpp:303:13:   instantiated from 'void boost::ptr_container_detail::reversible_ptr_container<Config, CloneAllocator>::constructor_impl(I, I, std::forward_iterator_tag) [with I = boost::void_ptr_iterator<__gnu_cxx::__normal_iterator<void* const*, std::vector<void*, std::allocator<void*> > >, const gui2::ttree_view_node>, Config = boost::ptr_container_detail::sequence_config<gui2::ttree_view_node, std::vector<void*, std::allocator<void*> > >, CloneAllocator = boost::heap_clone_allocator]'
> /usr/include/boost/ptr_container/detail/reversible_ptr_container.hpp:348:13:   instantiated from 'boost::ptr_container_detail::reversible_ptr_container<Config, CloneAllocator>::reversible_ptr_container(const boost::ptr_container_detail::reversible_ptr_container<Config, CloneAllocator>&) [with Config = boost::ptr_container_detail::sequence_config<gui2::ttree_view_node, std::vector<void*, std::allocator<void*> > >, CloneAllocator = boost::heap_clone_allocator, boost::ptr_container_detail::reversible_ptr_container<Config, CloneAllocator> = boost::ptr_container_detail::reversible_ptr_container<boost::ptr_container_detail::sequence_config<gui2::ttree_view_node, std::vector<void*, std::allocator<void*> > >, boost::heap_clone_allocator>]'
> /usr/include/boost/ptr_container/ptr_sequence_adapter.hpp:203:26:   instantiated from 'boost::ptr_sequence_adapter<T, VoidPtrSeq, CloneAllocator>::ptr_sequence_adapter(const boost::ptr_sequence_adapter<T, VoidPtrSeq, CloneAllocator>&) [with T = gui2::ttree_view_node, VoidPtrSeq = std::vector<void*, std::allocator<void*> >, CloneAllocator = boost::heap_clone_allocator, boost::ptr_sequence_adapter<T, VoidPtrSeq, CloneAllocator> = boost::ptr_sequence_adapter<gui2::ttree_view_node, std::vector<void*, std::allocator<void*> >, boost::heap_clone_allocator>]'
> /usr/include/boost/ptr_container/ptr_vector.hpp:31:11:   instantiated from 'boost::foreach_detail_::simple_variant<T>::simple_variant(const T&) [with T = boost::ptr_vector<gui2::ttree_view_node>]'
> /usr/include/boost/foreach.hpp:648:95:   instantiated from 'boost::foreach_detail_::auto_any<boost::foreach_detail_::simple_variant<T> > boost::foreach_detail_::contain(const T&, bool*) [with T = boost::ptr_vector<gui2::ttree_view_node>]'
> gui/widgets/tree_view_node.cpp:316:2:   instantiated from here
> /usr/include/boost/ptr_container/clone_allocator.hpp:34:27: note: synthesized method 'gui2::ttree_view_node::ttree_view_node(const gui2::ttree_view_node&)' first required here 
> make[3]: *** [gui/widgets/tree_view_node.o] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2011/12/20/wesnoth-1.8_1:1.8.6-1_lsid64.buildlog

A list of current common problems and possible solutions is available at 
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot.  Internet was not
accessible from the build systems.





More information about the Pkg-games-devel mailing list