In file included from /usr/include/x86_64-linux-gnu/c++/5/bits/c++allocator.h:33:0,
from /usr/include/c++/5/bits/allocator.h:46,
from /usr/include/c++/5/string:41,
from /usr/include/c++/5/random:40,
from /usr/include/c++/5/bits/stl_algo.h:66,
from /usr/include/c++/5/algorithm:62,
from /usr/include/gmock/gmock-actions.h:43,
from /usr/include/gmock/gmock.h:58,
from /home/lars/src/ubuntu/unity/build-area/unity-7.3.2+15.10.20151016/tests/test_switcher_view.cpp:21:
/usr/include/c++/5/ext/new_allocator.h: In instantiation of ‘void __gnu_cxx::new_allocator< <template-parameter-1-1> >::construct(_Up*, _Args&& ...) [with _Up = unity::switcher::SwitcherModel; _Args = {std::vector<nux::ObjectPtr<unity::launcher::AbstractLauncherIcon>, std::allocator<nux::ObjectPtr<unity::launcher::AbstractLauncherIcon> > >&}; _Tp = unity::switcher::SwitcherModel]’:
/usr/include/c++/5/bits/alloc_traits.h:256:4: required from ‘static std::_Require<typename std::allocator_traits<_Alloc>::__construct_helper<_Tp, _Args>::type> std::allocator_traits<_Alloc>::_S_construct(_Alloc&, _Tp*, _Args&& ...) [with _Tp = unity::switcher::SwitcherModel; _Args = {std::vector<nux::ObjectPtr<unity::launcher::AbstractLauncherIcon>, std::allocator<nux::ObjectPtr<unity::launcher::AbstractLauncherIcon> > >&}; _Alloc = std::allocator<unity::switcher::SwitcherModel>; std::_Require<typename std::allocator_traits<_Alloc>::__construct_helper<_Tp, _Args>::type> = void]’
/usr/include/c++/5/bits/alloc_traits.h:402:16: required from ‘static decltype (_S_construct(__a, __p, (forward<_Args>)(std::allocator_traits::construct::__args)...)) std::allocator_traits<_Alloc>::construct(_Alloc&, _Tp*, _Args&& ...) [with _Tp = unity::switcher::SwitcherModel; _Args = {std::vector<nux::ObjectPtr<unity::launcher::AbstractLauncherIcon>, std::allocator<nux::ObjectPtr<unity::launcher::AbstractLauncherIcon> > >&}; _Alloc = std::allocator<unity::switcher::SwitcherModel>; decltype (_S_construct(__a, __p, (forward<_Args>)(std::allocator_traits::construct::__args)...)) = <type error>]’
/usr/include/c++/5/bits/shared_ptr_base.h:522:39: required from ‘std::_Sp_counted_ptr_inplace<_Tp, _Alloc, _Lp>::_Sp_counted_ptr_inplace(_Alloc, _Args&& ...) [with _Args = {std::vector<nux::ObjectPtr<unity::launcher::AbstractLauncherIcon>, std::allocator<nux::ObjectPtr<unity::launcher::AbstractLauncherIcon> > >&}; _Tp = unity::switcher::SwitcherModel; _Alloc = std::allocator<unity::switcher::SwitcherModel>; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2u]’
/usr/include/c++/5/bits/shared_ptr_base.h:617:4: required from ‘std::__shared_count<_Lp>::__shared_count(std::_Sp_make_shared_tag, _Tp*, const _Alloc&, _Args&& ...) [with _Tp = unity::switcher::SwitcherModel; _Alloc = std::allocator<unity::switcher::SwitcherModel>; _Args = {std::vector<nux::ObjectPtr<unity::launcher::AbstractLauncherIcon>, std::allocator<nux::ObjectPtr<unity::launcher::AbstractLauncherIcon> > >&}; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2u]’
/usr/include/c++/5/bits/shared_ptr_base.h:1097:35: required from ‘std::__shared_ptr<_Tp, _Lp>::__shared_ptr(std::_Sp_make_shared_tag, const _Alloc&, _Args&& ...) [with _Alloc = std::allocator<unity::switcher::SwitcherModel>; _Args = {std::vector<nux::ObjectPtr<unity::launcher::AbstractLauncherIcon>, std::allocator<nux::ObjectPtr<unity::launcher::AbstractLauncherIcon> > >&}; _Tp = unity::switcher::SwitcherModel; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2u]’
/usr/include/c++/5/bits/shared_ptr.h:319:64: required from ‘std::shared_ptr<_Tp>::shared_ptr(std::_Sp_make_shared_tag, const _Alloc&, _Args&& ...) [with _Alloc = std::allocator<unity::switcher::SwitcherModel>; _Args = {std::vector<nux::ObjectPtr<unity::launcher::AbstractLauncherIcon>, std::allocator<nux::ObjectPtr<unity::launcher::AbstractLauncherIcon> > >&}; _Tp = unity::switcher::SwitcherModel]’
/usr/include/c++/5/bits/shared_ptr.h:614:39: required from ‘std::shared_ptr<_Tp1> std::allocate_shared(const _Alloc&, _Args&& ...) [with _Tp = unity::switcher::SwitcherModel; _Alloc = std::allocator<unity::switcher::SwitcherModel>; _Args = {std::vector<nux::ObjectPtr<unity::launcher::AbstractLauncherIcon>, std::allocator<nux::ObjectPtr<unity::launcher::AbstractLauncherIcon> > >&}]’
/usr/include/c++/5/bits/shared_ptr.h:629:39: required from ‘std::shared_ptr<_Tp1> std::make_shared(_Args&& ...) [with _Tp = unity::switcher::SwitcherModel; _Args = {std::vector<nux::ObjectPtr<unity::launcher::AbstractLauncherIcon>, std::allocator<nux::ObjectPtr<unity::launcher::AbstractLauncherIcon> > >&}]’
/home/lars/src/ubuntu/unity/build-area/unity-7.3.2+15.10.20151016/tests/test_switcher_view.cpp:99:61: required from here
/usr/include/c++/5/ext/new_allocator.h:120:4: error: no matching function for call to ‘unity::switcher::SwitcherModel::SwitcherModel(std::vector<nux::ObjectPtr<unity::launcher::AbstractLauncherIcon> >&)’
{ ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
^
In file included from /home/lars/src/ubuntu/unity/build-area/unity-7.3.2+15.10.20151016/tests/test_switcher_view.cpp:23:0:
/home/lars/src/ubuntu/unity/build-area/unity-7.3.2+15.10.20151016/launcher/SwitcherModel.h:64:3: note: candidate: unity::switcher::SwitcherModel::SwitcherModel(const Applications&, bool)
SwitcherModel(Applications const& icons, bool sort_by_priority);
^
/home/lars/src/ubuntu/unity/build-area/unity-7.3.2+15.10.20151016/launcher/SwitcherModel.h:64:3: note: candidate expects 2 arguments, 1 provided
tests/CMakeFiles/test-gtest.dir/build.make:1897: recipe for target 'tests/CMakeFiles/test-gtest.dir/test_switcher_view.cpp.o' failed
make[3]: *** [tests/CMakeFiles/test-gtest.dir/test_switcher_view.cpp.o] Error 1
make[3]: Leaving directory '/home/lars/src/ubuntu/unity/build-area/unity-7.3.2+15.10.20151016/obj-x86_64-linux-gnu'
CMakeFiles/Makefile2:5031: recipe for target 'tests/CMakeFiles/test-gtest.dir/all' failed
make[2]: *** [tests/CMakeFiles/test-gtest.dir/all] Error 2
make[2]: Leaving directory '/home/lars/src/ubuntu/unity/build-area/unity-7.3.2+15.10.20151016/obj-x86_64-linux-gnu'
Makefile:119: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/lars/src/ubuntu/unity/build-area/unity-7.3.2+15.10.20151016/obj-x86_64-linux-gnu'
dh_auto_build: make -j1 returned exit code 2
debian/rules:66: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
debuild: fatal error at line 1374:
dpkg-buildpackage -rfakeroot -D -us -uc failed
bzr: ERROR: The build failed.