Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"make tests" has build errors on Ubuntu 12.10 #877

Closed
eschnett opened this issue Sep 25, 2013 · 0 comments
Closed

"make tests" has build errors on Ubuntu 12.10 #877

eschnett opened this issue Sep 25, 2013 · 0 comments
Assignees
Labels
category: tests difficulty: easy Good issues for starting out with HPX development type: defect
Milestone

Comments

@eschnett
Copy link
Contributor

After "make; make examples; make install", a "make tests" fails to build on Ubuntu 12.10 with the error message below.

This is with gcc 4.7.2.

[ 62%] Building CXX object tests/unit/components/CMakeFiles/copy_component_test_exe.dir/copy_component.cpp.o
In file included from /xfs1/eschnetter/src/hpx/hpx/runtime/components/server/preprocessed/create_component_with_args.hpp:11:0,
                 from /xfs1/eschnetter/src/hpx/hpx/runtime/components/server/create_component_with_args.hpp:47,
                 from /xfs1/eschnetter/src/hpx/hpx/runtime/components/server/runtime_support.hpp:29,
                 from /xfs1/eschnetter/src/hpx/hpx/runtime/components/stubs/runtime_support.hpp:14,
                 from /xfs1/eschnetter/src/hpx/hpx/runtime/components/stubs/stub_base.hpp:11,
                 from /xfs1/eschnetter/src/hpx/hpx/runtime/components/stubs/memory_block.hpp:15,
                 from /xfs1/eschnetter/src/hpx/hpx/runtime/components/memory_block.hpp:14,
                 from /xfs1/eschnetter/src/hpx/hpx/include/components.hpp:22,
                 from /xfs1/eschnetter/src/hpx/tests/unit/components/copy_component.cpp:7:
/xfs1/eschnetter/src/hpx/hpx/runtime/components/server/preprocessed/create_component_with_args_5.hpp: In instantiation of ‘hpx::components::server::component_constructor_functor1<Component, A0>& hpx::components::server::component_constructor_functor1<Component, A0>::operator=(const hpx::components::server::component_constructor_functor1<Component, A0>&) [with Component = hpx::components::simple_component<test_server>; A0 = test_server; hpx::components::server::component_constructor_functor1<Component, A0> = hpx::components::server::component_constructor_functor1<hpx::components::simple_component<test_server>, test_server>]’:
/xfs1/eschnetter/src/hpx/hpx/util/detail/vtable.hpp:163:17:   required from ‘static void hpx::util::detail::vtable<false>::type_base<Functor>::copy(void* const*, void**) [with Functor = hpx::components::server::component_constructor_functor1<hpx::components::simple_component<test_server>, test_server>]’
/xfs1/eschnetter/src/hpx/hpx/util/detail/preprocessed/vtable_ptr_10.hpp:346:13:   required from ‘hpx::util::detail::vtable_ptr<R(A0), void, void, Vtable>::vtable_ptr() [with R = void; A0 = void*; Vtable = hpx::util::detail::vtable<false>::type<hpx::components::server::component_constructor_functor1<hpx::components::simple_component<test_server>, test_server>, void(void*), void, void>]’
/xfs1/eschnetter/src/hpx/hpx/util/detail/preprocessed/get_table_10.hpp:102:36:   required from ‘static hpx::util::detail::vtable_ptr_base<R(A0), IArchive, OArchive>* hpx::util::detail::get_table<Functor, R(A0)>::get() [with IArchive = void; OArchive = void; Functor = hpx::components::server::component_constructor_functor1<hpx::components::simple_component<test_server>, test_server>; R = void; A0 = void*]’
/xfs1/eschnetter/src/hpx/hpx/util/detail/preprocessed/function_template_10.hpp:471:23:   required from ‘static hpx::util::function_base<R(A0), IArchive, OArchive>::vtable_ptr_type* hpx::util::function_base<R(A0), IArchive, OArchive>::get_table_ptr() [with Functor = hpx::components::server::component_constructor_functor1<hpx::components::simple_component<test_server>, test_server>; R = void; A0 = void*; IArchive = void; OArchive = void; hpx::util::function_base<R(A0), IArchive, OArchive>::vtable_ptr_type = hpx::util::detail::vtable_ptr_base<void(void*), void, void>]’
/xfs1/eschnetter/src/hpx/hpx/util/detail/preprocessed/function_template_10.hpp:317:17:   required from ‘hpx::util::function_base<R(A0), IArchive, OArchive>::function_base(Functor&&, typename boost::disable_if<typename boost::is_same<hpx::util::function_base<R(A0), IArchive, OArchive>, typename hpx::util::decay<Functor>::type>::type>::type*) [with Functor = hpx::components::server::component_constructor_functor1<hpx::components::simple_component<test_server>, test_server>; R = void; A0 = void*; IArchive = void; OArchive = void; typename boost::disable_if<typename boost::is_same<hpx::util::function_base<R(A0), IArchive, OArchive>, typename hpx::util::decay<Functor>::type>::type>::type = void]’
/xfs1/eschnetter/src/hpx/hpx/util/detail/function_template.hpp:322:51:   [ skipping 5 instantiation contexts ]
/xfs1/eschnetter/src/hpx/hpx/runtime/components/server/copy_component.hpp:30:69:   required from ‘hpx::naming::id_type hpx::components::server::detail::copy_component_postproc(hpx::lcos::future<boost::shared_ptr<T> >&, const hpx::naming::id_type&) [with Component = test_server]’
/xfs1/eschnetter/src/hpx/hpx/runtime/components/server/copy_component.hpp:41:53:   required from ‘hpx::lcos::future<hpx::naming::id_type> hpx::components::server::copy_component(const hpx::naming::id_type&, const hpx::naming::id_type&) [with Component = test_server]’
/xfs1/eschnetter/src/hpx/hpx/runtime/components/server/copy_component.hpp:45:12:   required from ‘struct hpx::components::server::copy_component_action<test_server>’
/xfs1/eschnetter/src/hpx/hpx/runtime/components/copy_component.hpp:37:42:   required from ‘hpx::naming::id_type hpx::components::detail::copy_same_locality(const hpx::naming::id_type&, hpx::lcos::future<hpx::naming::id_type>&) [with Component = test_server]’
/xfs1/eschnetter/src/hpx/hpx/runtime/components/copy_component.hpp:90:49:   required from ‘typename boost::enable_if<hpx::traits::is_component<Component>, hpx::lcos::future<hpx::naming::id_type> >::type hpx::components::copy(const hpx::naming::id_type&, const hpx::naming::id_type&) [with Component = test_server; typename boost::enable_if<hpx::traits::is_component<Component>, hpx::lcos::future<hpx::naming::id_type> >::type = hpx::lcos::future<hpx::naming::id_type>]’
/xfs1/eschnetter/src/hpx/tests/unit/components/copy_component.cpp:68:71:   required from here
/xfs1/eschnetter/src/hpx/hpx/runtime/components/server/preprocessed/create_component_with_args_5.hpp:26:17: error: use of deleted function ‘test_server& test_server::operator=(const test_server&)’
/xfs1/eschnetter/src/hpx/tests/unit/components/copy_component.cpp:12:8: note: ‘test_server& test_server::operator=(const test_server&)’ is implicitly declared as deleted because ‘test_server’ declares a move constructor or move assignment operator
make[3]: *** [tests/unit/components/CMakeFiles/copy_component_test_exe.dir/copy_component.cpp.o] Error 1
make[2]: *** [tests/unit/components/CMakeFiles/copy_component_test_exe.dir/all] Error 2
make[1]: *** [CMakeFiles/tests.dir/rule] Error 2
make: *** [tests] Error 2
@ghost ghost assigned hkaiser Sep 25, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: tests difficulty: easy Good issues for starting out with HPX development type: defect
Projects
None yet
Development

No branches or pull requests

2 participants