Skip to content

Instantly share code, notes, and snippets.

@morganrallen
Created January 8, 2015 22:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save morganrallen/6678b11474574e975096 to your computer and use it in GitHub Desktop.
Save morganrallen/6678b11474574e975096 to your computer and use it in GitHub Desktop.
runtimejs build error
deps/libcxx/include/type_traits: In substitution of 'template<class _Tp, class ... _Args> typename std::__1::__select_2nd<decltype (std::__1::move((_Tp)((declval<_Args>)()...))), std::__1::integral_constant<bool, true> >::type std::__1::__is_constructible_test(_Tp&&, _Args&& ...) [with _Tp = v8::UniquePersistent<v8::Value>; _Args = {v8::UniquePersistent<v8::Value>&}]':
deps/libcxx/include/type_traits:2066:8: required from 'struct std::__1::__libcpp_is_constructible<false, v8::UniquePersistent<v8::Value>, v8::UniquePersistent<v8::Value>&>'
deps/libcxx/include/type_traits:2117:8: required from 'struct std::__1::__is_constructible_void_check<false, v8::UniquePersistent<v8::Value>, v8::UniquePersistent<v8::Value>&>'
deps/libcxx/include/type_traits:2143:30: required from 'struct std::__1::is_constructible<v8::UniquePersistent<v8::Value>, v8::UniquePersistent<v8::Value>&>'
deps/libcxx/include/type_traits:2358:30: required from 'struct std::__1::is_copy_constructible<v8::UniquePersistent<v8::Value> >'
deps/libcxx/include/utility:235:1: required by substitution of 'template<class _Tp> typename std::__1::conditional<((! std::__1::is_nothrow_move_constructible<_Tp>::value) && std::__1::is_copy_constructible<_Tp>::value), const _Tp&, _Tp&&>::type std::__1::move_if_noexcept(_Tp&) [with _Tp = v8::UniquePersistent<v8::Value>]'
deps/libcxx/include/memory:1535:17: required from 'static void std::__1::allocator_traits<_Alloc>::__construct_backward(std::__1::allocator_traits<_Alloc>::allocator_type&, _Ptr, _Ptr, _Ptr&) [with _Ptr = v8::UniquePersistent<v8::Value>*; _Alloc = rt::DefaultSTLAlloc<v8::UniquePersistent<v8::Value> >; std::__1::allocator_traits<_Alloc>::allocator_type = rt::DefaultSTLAlloc<v8::UniquePersistent<v8::Value> >]'
deps/libcxx/include/vector:878:5: required from 'void std::__1::vector<_Tp, _Allocator>::__swap_out_circular_buffer(std::__1::__split_buffer<_Tp, _Allocator&>&) [with _Tp = v8::UniquePersistent<v8::Value>; _Allocator = rt::DefaultSTLAlloc<v8::UniquePersistent<v8::Value> >]'
deps/libcxx/include/vector:1575:5: required from 'void std::__1::vector<_Tp, _Allocator>::__push_back_slow_path(_Up&&) [with _Up = v8::UniquePersistent<v8::Value>; _Tp = v8::UniquePersistent<v8::Value>; _Allocator = rt::DefaultSTLAlloc<v8::UniquePersistent<v8::Value> >]'
deps/libcxx/include/vector:1610:9: required from 'void std::__1::vector<_Tp, _Allocator>::push_back(std::__1::vector<_Tp, _Allocator>::value_type&&) [with _Tp = v8::UniquePersistent<v8::Value>; _Allocator = rt::DefaultSTLAlloc<v8::UniquePersistent<v8::Value> >; std::__1::vector<_Tp, _Allocator>::value_type = v8::UniquePersistent<v8::Value>]'
src/kernel/v8utils.h:196:9: required from 'uint32_t rt::UniquePersistentIndexedPool<T>::Push(v8::UniquePersistent<T>) [with T = v8::Value; uint32_t = unsigned int]'
src/kernel/thread.h:115:43: required from here
deps/v8/include/v8.h:781:3: error: 'v8::UniquePersistent<T>::UniquePersistent(v8::UniquePersistent<T>&) [with T = v8::Value; v8::UniquePersistent<T> = v8::UniquePersistent<v8::Value>]' is private
In file included from deps/libcxx/include/limits:110:0,
from deps/v8/src/platform/time.h:9,
from deps/v8/src/platform/time.cc:5:
deps/libcxx/include/type_traits:2059:1: error: within this context
In file included from deps/v8/src/v8.h:29:0,
from src/kernel/resource.h:26,
from src/kernel/engines.h:21,
from deps/v8/src/platform/time.cc:15:
deps/libcxx/include/type_traits: In instantiation of 'struct std::__1::__libcpp_is_constructible<false, v8::UniquePersistent<v8::Value>, v8::UniquePersistent<v8::Value>&>':
deps/libcxx/include/type_traits:2117:8: required from 'struct std::__1::__is_constructible_void_check<false, v8::UniquePersistent<v8::Value>, v8::UniquePersistent<v8::Value>&>'
deps/libcxx/include/type_traits:2143:30: required from 'struct std::__1::is_constructible<v8::UniquePersistent<v8::Value>, v8::UniquePersistent<v8::Value>&>'
deps/libcxx/include/type_traits:2358:30: required from 'struct std::__1::is_copy_constructible<v8::UniquePersistent<v8::Value> >'
deps/libcxx/include/utility:235:1: required by substitution of 'template<class _Tp> typename std::__1::conditional<((! std::__1::is_nothrow_move_constructible<_Tp>::value) && std::__1::is_copy_constructible<_Tp>::value), const _Tp&, _Tp&&>::type std::__1::move_if_noexcept(_Tp&) [with _Tp = v8::UniquePersistent<v8::Value>]'
deps/libcxx/include/memory:1535:17: required from 'static void std::__1::allocator_traits<_Alloc>::__construct_backward(std::__1::allocator_traits<_Alloc>::allocator_type&, _Ptr, _Ptr, _Ptr&) [with _Ptr = v8::UniquePersistent<v8::Value>*; _Alloc = rt::DefaultSTLAlloc<v8::UniquePersistent<v8::Value> >; std::__1::allocator_traits<_Alloc>::allocator_type = rt::DefaultSTLAlloc<v8::UniquePersistent<v8::Value> >]'
deps/libcxx/include/vector:878:5: required from 'void std::__1::vector<_Tp, _Allocator>::__swap_out_circular_buffer(std::__1::__split_buffer<_Tp, _Allocator&>&) [with _Tp = v8::UniquePersistent<v8::Value>; _Allocator = rt::DefaultSTLAlloc<v8::UniquePersistent<v8::Value> >]'
deps/libcxx/include/vector:1575:5: required from 'void std::__1::vector<_Tp, _Allocator>::__push_back_slow_path(_Up&&) [with _Up = v8::UniquePersistent<v8::Value>; _Tp = v8::UniquePersistent<v8::Value>; _Allocator = rt::DefaultSTLAlloc<v8::UniquePersistent<v8::Value> >]'
deps/libcxx/include/vector:1610:9: required from 'void std::__1::vector<_Tp, _Allocator>::push_back(std::__1::vector<_Tp, _Allocator>::value_type&&) [with _Tp = v8::UniquePersistent<v8::Value>; _Allocator = rt::DefaultSTLAlloc<v8::UniquePersistent<v8::Value> >; std::__1::vector<_Tp, _Allocator>::value_type = v8::UniquePersistent<v8::Value>]'
src/kernel/v8utils.h:196:9: required from 'uint32_t rt::UniquePersistentIndexedPool<T>::Push(v8::UniquePersistent<T>) [with T = v8::Value; uint32_t = unsigned int]'
src/kernel/thread.h:115:43: required from here
deps/v8/include/v8.h:781:3: error: 'v8::UniquePersistent<T>::UniquePersistent(v8::UniquePersistent<T>&) [with T = v8::Value; v8::UniquePersistent<T> = v8::UniquePersistent<v8::Value>]' is private
In file included from deps/libcxx/include/limits:110:0,
from deps/v8/src/platform/time.h:9,
from deps/v8/src/platform/time.cc:5:
deps/libcxx/include/type_traits:2066:8: error: within this context
In file included from deps/v8/src/v8.h:29:0,
from src/kernel/resource.h:26,
from src/kernel/engines.h:21,
from deps/v8/src/platform/time.cc:15:
deps/libcxx/include/type_traits: In substitution of 'template<class _Tp, class ... _Args> typename std::__1::__select_2nd<decltype (std::__1::move((_Tp)((declval<_Args>)()...))), std::__1::integral_constant<bool, true> >::type std::__1::__is_constructible_test(_Tp&&, _Args&& ...) [with _Tp = v8::UniquePersistent<v8::Promise::Resolver>; _Args = {v8::UniquePersistent<v8::Promise::Resolver>&}]':
deps/libcxx/include/type_traits:2066:8: required from 'struct std::__1::__libcpp_is_constructible<false, v8::UniquePersistent<v8::Promise::Resolver>, v8::UniquePersistent<v8::Promise::Resolver>&>'
deps/libcxx/include/type_traits:2117:8: required from 'struct std::__1::__is_constructible_void_check<false, v8::UniquePersistent<v8::Promise::Resolver>, v8::UniquePersistent<v8::Promise::Resolver>&>'
deps/libcxx/include/type_traits:2143:30: required from 'struct std::__1::is_constructible<v8::UniquePersistent<v8::Promise::Resolver>, v8::UniquePersistent<v8::Promise::Resolver>&>'
deps/libcxx/include/type_traits:2358:30: required from 'struct std::__1::is_copy_constructible<v8::UniquePersistent<v8::Promise::Resolver> >'
deps/libcxx/include/utility:235:1: required by substitution of 'template<class _Tp> typename std::__1::conditional<((! std::__1::is_nothrow_move_constructible<_Tp>::value) && std::__1::is_copy_constructible<_Tp>::value), const _Tp&, _Tp&&>::type std::__1::move_if_noexcept(_Tp&) [with _Tp = v8::UniquePersistent<v8::Promise::Resolver>]'
deps/libcxx/include/memory:1535:17: required from 'static void std::__1::allocator_traits<_Alloc>::__construct_backward(std::__1::allocator_traits<_Alloc>::allocator_type&, _Ptr, _Ptr, _Ptr&) [with _Ptr = v8::UniquePersistent<v8::Promise::Resolver>*; _Alloc = rt::DefaultSTLAlloc<v8::UniquePersistent<v8::Promise::Resolver> >; std::__1::allocator_traits<_Alloc>::allocator_type = rt::DefaultSTLAlloc<v8::UniquePersistent<v8::Promise::Resolver> >]'
deps/libcxx/include/vector:878:5: required from 'void std::__1::vector<_Tp, _Allocator>::__swap_out_circular_buffer(std::__1::__split_buffer<_Tp, _Allocator&>&) [with _Tp = v8::UniquePersistent<v8::Promise::Resolver>; _Allocator = rt::DefaultSTLAlloc<v8::UniquePersistent<v8::Promise::Resolver> >]'
deps/libcxx/include/vector:1575:5: required from 'void std::__1::vector<_Tp, _Allocator>::__push_back_slow_path(_Up&&) [with _Up = v8::UniquePersistent<v8::Promise::Resolver>; _Tp = v8::UniquePersistent<v8::Promise::Resolver>; _Allocator = rt::DefaultSTLAlloc<v8::UniquePersistent<v8::Promise::Resolver> >]'
deps/libcxx/include/vector:1610:9: required from 'void std::__1::vector<_Tp, _Allocator>::push_back(std::__1::vector<_Tp, _Allocator>::value_type&&) [with _Tp = v8::UniquePersistent<v8::Promise::Resolver>; _Allocator = rt::DefaultSTLAlloc<v8::UniquePersistent<v8::Promise::Resolver> >; std::__1::vector<_Tp, _Allocator>::value_type = v8::UniquePersistent<v8::Promise::Resolver>]'
src/kernel/v8utils.h:196:9: required from 'uint32_t rt::UniquePersistentIndexedPool<T>::Push(v8::UniquePersistent<T>) [with T = v8::Promise::Resolver; uint32_t = unsigned int]'
src/kernel/thread.h:132:50: required from here
deps/v8/include/v8.h:781:3: error: 'v8::UniquePersistent<T>::UniquePersistent(v8::UniquePersistent<T>&) [with T = v8::Promise::Resolver; v8::UniquePersistent<T> = v8::UniquePersistent<v8::Promise::Resolver>]' is private
In file included from deps/libcxx/include/limits:110:0,
from deps/v8/src/platform/time.h:9,
from deps/v8/src/platform/time.cc:5:
deps/libcxx/include/type_traits:2059:1: error: within this context
In file included from deps/v8/src/v8.h:29:0,
from src/kernel/resource.h:26,
from src/kernel/engines.h:21,
from deps/v8/src/platform/time.cc:15:
deps/libcxx/include/type_traits: In instantiation of 'struct std::__1::__libcpp_is_constructible<false, v8::UniquePersistent<v8::Promise::Resolver>, v8::UniquePersistent<v8::Promise::Resolver>&>':
deps/libcxx/include/type_traits:2117:8: required from 'struct std::__1::__is_constructible_void_check<false, v8::UniquePersistent<v8::Promise::Resolver>, v8::UniquePersistent<v8::Promise::Resolver>&>'
deps/libcxx/include/type_traits:2143:30: required from 'struct std::__1::is_constructible<v8::UniquePersistent<v8::Promise::Resolver>, v8::UniquePersistent<v8::Promise::Resolver>&>'
deps/libcxx/include/type_traits:2358:30: required from 'struct std::__1::is_copy_constructible<v8::UniquePersistent<v8::Promise::Resolver> >'
deps/libcxx/include/utility:235:1: required by substitution of 'template<class _Tp> typename std::__1::conditional<((! std::__1::is_nothrow_move_constructible<_Tp>::value) && std::__1::is_copy_constructible<_Tp>::value), const _Tp&, _Tp&&>::type std::__1::move_if_noexcept(_Tp&) [with _Tp = v8::UniquePersistent<v8::Promise::Resolver>]'
deps/libcxx/include/memory:1535:17: required from 'static void std::__1::allocator_traits<_Alloc>::__construct_backward(std::__1::allocator_traits<_Alloc>::allocator_type&, _Ptr, _Ptr, _Ptr&) [with _Ptr = v8::UniquePersistent<v8::Promise::Resolver>*; _Alloc = rt::DefaultSTLAlloc<v8::UniquePersistent<v8::Promise::Resolver> >; std::__1::allocator_traits<_Alloc>::allocator_type = rt::DefaultSTLAlloc<v8::UniquePersistent<v8::Promise::Resolver> >]'
deps/libcxx/include/vector:878:5: required from 'void std::__1::vector<_Tp, _Allocator>::__swap_out_circular_buffer(std::__1::__split_buffer<_Tp, _Allocator&>&) [with _Tp = v8::UniquePersistent<v8::Promise::Resolver>; _Allocator = rt::DefaultSTLAlloc<v8::UniquePersistent<v8::Promise::Resolver> >]'
deps/libcxx/include/vector:1575:5: required from 'void std::__1::vector<_Tp, _Allocator>::__push_back_slow_path(_Up&&) [with _Up = v8::UniquePersistent<v8::Promise::Resolver>; _Tp = v8::UniquePersistent<v8::Promise::Resolver>; _Allocator = rt::DefaultSTLAlloc<v8::UniquePersistent<v8::Promise::Resolver> >]'
deps/libcxx/include/vector:1610:9: required from 'void std::__1::vector<_Tp, _Allocator>::push_back(std::__1::vector<_Tp, _Allocator>::value_type&&) [with _Tp = v8::UniquePersistent<v8::Promise::Resolver>; _Allocator = rt::DefaultSTLAlloc<v8::UniquePersistent<v8::Promise::Resolver> >; std::__1::vector<_Tp, _Allocator>::value_type = v8::UniquePersistent<v8::Promise::Resolver>]'
src/kernel/v8utils.h:196:9: required from 'uint32_t rt::UniquePersistentIndexedPool<T>::Push(v8::UniquePersistent<T>) [with T = v8::Promise::Resolver; uint32_t = unsigned int]'
src/kernel/thread.h:132:50: required from here
deps/v8/include/v8.h:781:3: error: 'v8::UniquePersistent<T>::UniquePersistent(v8::UniquePersistent<T>&) [with T = v8::Promise::Resolver; v8::UniquePersistent<T> = v8::UniquePersistent<v8::Promise::Resolver>]' is private
In file included from deps/libcxx/include/limits:110:0,
from deps/v8/src/platform/time.h:9,
from deps/v8/src/platform/time.cc:5:
deps/libcxx/include/type_traits:2066:8: error: within this context
scons: *** [deps/v8/src/platform/time.o] Error 1
In file included from deps/v8/src/v8.h:29:0,
from src/kernel/resource.h:26,
from src/kernel/engines.h:21,
from src/kernel/keystorage.h:18,
from deps/v8/src/platform-runtimejs.cc:21:
deps/libcxx/include/type_traits: In substitution of 'template<class _Tp, class ... _Args> typename std::__1::__select_2nd<decltype (std::__1::move((_Tp)((declval<_Args>)()...))), std::__1::integral_constant<bool, true> >::type std::__1::__is_constructible_test(_Tp&&, _Args&& ...) [with _Tp = v8::UniquePersistent<v8::Value>; _Args = {v8::UniquePersistent<v8::Value>&}]':
deps/libcxx/include/type_traits:2066:8: required from 'struct std::__1::__libcpp_is_constructible<false, v8::UniquePersistent<v8::Value>, v8::UniquePersistent<v8::Value>&>'
deps/libcxx/include/type_traits:2117:8: required from 'struct std::__1::__is_constructible_void_check<false, v8::UniquePersistent<v8::Value>, v8::UniquePersistent<v8::Value>&>'
deps/libcxx/include/type_traits:2143:30: required from 'struct std::__1::is_constructible<v8::UniquePersistent<v8::Value>, v8::UniquePersistent<v8::Value>&>'
deps/libcxx/include/type_traits:2358:30: required from 'struct std::__1::is_copy_constructible<v8::UniquePersistent<v8::Value> >'
deps/libcxx/include/utility:235:1: required by substitution of 'template<class _Tp> typename std::__1::conditional<((! std::__1::is_nothrow_move_constructible<_Tp>::value) && std::__1::is_copy_constructible<_Tp>::value), const _Tp&, _Tp&&>::type std::__1::move_if_noexcept(_Tp&) [with _Tp = v8::UniquePersistent<v8::Value>]'
deps/libcxx/include/memory:1535:17: required from 'static void std::__1::allocator_traits<_Alloc>::__construct_backward(std::__1::allocator_traits<_Alloc>::allocator_type&, _Ptr, _Ptr, _Ptr&) [with _Ptr = v8::UniquePersistent<v8::Value>*; _Alloc = rt::DefaultSTLAlloc<v8::UniquePersistent<v8::Value> >; std::__1::allocator_traits<_Alloc>::allocator_type = rt::DefaultSTLAlloc<v8::UniquePersistent<v8::Value> >]'
deps/libcxx/include/vector:878:5: required from 'void std::__1::vector<_Tp, _Allocator>::__swap_out_circular_buffer(std::__1::__split_buffer<_Tp, _Allocator&>&) [with _Tp = v8::UniquePersistent<v8::Value>; _Allocator = rt::DefaultSTLAlloc<v8::UniquePersistent<v8::Value> >]'
deps/libcxx/include/vector:1575:5: required from 'void std::__1::vector<_Tp, _Allocator>::__push_back_slow_path(_Up&&) [with _Up = v8::UniquePersistent<v8::Value>; _Tp = v8::UniquePersistent<v8::Value>; _Allocator = rt::DefaultSTLAlloc<v8::UniquePersistent<v8::Value> >]'
deps/libcxx/include/vector:1610:9: required from 'void std::__1::vector<_Tp, _Allocator>::push_back(std::__1::vector<_Tp, _Allocator>::value_type&&) [with _Tp = v8::UniquePersistent<v8::Value>; _Allocator = rt::DefaultSTLAlloc<v8::UniquePersistent<v8::Value> >; std::__1::vector<_Tp, _Allocator>::value_type = v8::UniquePersistent<v8::Value>]'
src/kernel/v8utils.h:196:9: required from 'uint32_t rt::UniquePersistentIndexedPool<T>::Push(v8::UniquePersistent<T>) [with T = v8::Value; uint32_t = unsigned int]'
src/kernel/thread.h:115:43: required from here
deps/v8/include/v8.h:781:3: error: 'v8::UniquePersistent<T>::UniquePersistent(v8::UniquePersistent<T>&) [with T = v8::Value; v8::UniquePersistent<T> = v8::UniquePersistent<v8::Value>]' is private
In file included from deps/libcxx/include/algorithm:625:0,
from deps/libcxx/include/__bit_reference:15,
from deps/libcxx/include/vector:265,
from src/kernel/engines.h:17,
from src/kernel/keystorage.h:18,
from deps/v8/src/platform-runtimejs.cc:21:
deps/libcxx/include/type_traits:2059:1: error: within this context
In file included from deps/v8/src/v8.h:29:0,
from src/kernel/resource.h:26,
from src/kernel/engines.h:21,
from src/kernel/keystorage.h:18,
from deps/v8/src/platform-runtimejs.cc:21:
deps/libcxx/include/type_traits: In instantiation of 'struct std::__1::__libcpp_is_constructible<false, v8::UniquePersistent<v8::Value>, v8::UniquePersistent<v8::Value>&>':
deps/libcxx/include/type_traits:2117:8: required from 'struct std::__1::__is_constructible_void_check<false, v8::UniquePersistent<v8::Value>, v8::UniquePersistent<v8::Value>&>'
deps/libcxx/include/type_traits:2143:30: required from 'struct std::__1::is_constructible<v8::UniquePersistent<v8::Value>, v8::UniquePersistent<v8::Value>&>'
deps/libcxx/include/type_traits:2358:30: required from 'struct std::__1::is_copy_constructible<v8::UniquePersistent<v8::Value> >'
deps/libcxx/include/utility:235:1: required by substitution of 'template<class _Tp> typename std::__1::conditional<((! std::__1::is_nothrow_move_constructible<_Tp>::value) && std::__1::is_copy_constructible<_Tp>::value), const _Tp&, _Tp&&>::type std::__1::move_if_noexcept(_Tp&) [with _Tp = v8::UniquePersistent<v8::Value>]'
deps/libcxx/include/memory:1535:17: required from 'static void std::__1::allocator_traits<_Alloc>::__construct_backward(std::__1::allocator_traits<_Alloc>::allocator_type&, _Ptr, _Ptr, _Ptr&) [with _Ptr = v8::UniquePersistent<v8::Value>*; _Alloc = rt::DefaultSTLAlloc<v8::UniquePersistent<v8::Value> >; std::__1::allocator_traits<_Alloc>::allocator_type = rt::DefaultSTLAlloc<v8::UniquePersistent<v8::Value> >]'
deps/libcxx/include/vector:878:5: required from 'void std::__1::vector<_Tp, _Allocator>::__swap_out_circular_buffer(std::__1::__split_buffer<_Tp, _Allocator&>&) [with _Tp = v8::UniquePersistent<v8::Value>; _Allocator = rt::DefaultSTLAlloc<v8::UniquePersistent<v8::Value> >]'
deps/libcxx/include/vector:1575:5: required from 'void std::__1::vector<_Tp, _Allocator>::__push_back_slow_path(_Up&&) [with _Up = v8::UniquePersistent<v8::Value>; _Tp = v8::UniquePersistent<v8::Value>; _Allocator = rt::DefaultSTLAlloc<v8::UniquePersistent<v8::Value> >]'
deps/libcxx/include/vector:1610:9: required from 'void std::__1::vector<_Tp, _Allocator>::push_back(std::__1::vector<_Tp, _Allocator>::value_type&&) [with _Tp = v8::UniquePersistent<v8::Value>; _Allocator = rt::DefaultSTLAlloc<v8::UniquePersistent<v8::Value> >; std::__1::vector<_Tp, _Allocator>::value_type = v8::UniquePersistent<v8::Value>]'
src/kernel/v8utils.h:196:9: required from 'uint32_t rt::UniquePersistentIndexedPool<T>::Push(v8::UniquePersistent<T>) [with T = v8::Value; uint32_t = unsigned int]'
src/kernel/thread.h:115:43: required from here
deps/v8/include/v8.h:781:3: error: 'v8::UniquePersistent<T>::UniquePersistent(v8::UniquePersistent<T>&) [with T = v8::Value; v8::UniquePersistent<T> = v8::UniquePersistent<v8::Value>]' is private
In file included from deps/libcxx/include/algorithm:625:0,
from deps/libcxx/include/__bit_reference:15,
from deps/libcxx/include/vector:265,
from src/kernel/engines.h:17,
from src/kernel/keystorage.h:18,
from deps/v8/src/platform-runtimejs.cc:21:
deps/libcxx/include/type_traits:2066:8: error: within this context
In file included from deps/v8/src/v8.h:29:0,
from src/kernel/resource.h:26,
from src/kernel/engines.h:21,
from src/kernel/keystorage.h:18,
from deps/v8/src/platform-runtimejs.cc:21:
deps/libcxx/include/type_traits: In substitution of 'template<class _Tp, class ... _Args> typename std::__1::__select_2nd<decltype (std::__1::move((_Tp)((declval<_Args>)()...))), std::__1::integral_constant<bool, true> >::type std::__1::__is_constructible_test(_Tp&&, _Args&& ...) [with _Tp = v8::UniquePersistent<v8::Promise::Resolver>; _Args = {v8::UniquePersistent<v8::Promise::Resolver>&}]':
deps/libcxx/include/type_traits:2066:8: required from 'struct std::__1::__libcpp_is_constructible<false, v8::UniquePersistent<v8::Promise::Resolver>, v8::UniquePersistent<v8::Promise::Resolver>&>'
deps/libcxx/include/type_traits:2117:8: required from 'struct std::__1::__is_constructible_void_check<false, v8::UniquePersistent<v8::Promise::Resolver>, v8::UniquePersistent<v8::Promise::Resolver>&>'
deps/libcxx/include/type_traits:2143:30: required from 'struct std::__1::is_constructible<v8::UniquePersistent<v8::Promise::Resolver>, v8::UniquePersistent<v8::Promise::Resolver>&>'
deps/libcxx/include/type_traits:2358:30: required from 'struct std::__1::is_copy_constructible<v8::UniquePersistent<v8::Promise::Resolver> >'
deps/libcxx/include/utility:235:1: required by substitution of 'template<class _Tp> typename std::__1::conditional<((! std::__1::is_nothrow_move_constructible<_Tp>::value) && std::__1::is_copy_constructible<_Tp>::value), const _Tp&, _Tp&&>::type std::__1::move_if_noexcept(_Tp&) [with _Tp = v8::UniquePersistent<v8::Promise::Resolver>]'
deps/libcxx/include/memory:1535:17: required from 'static void std::__1::allocator_traits<_Alloc>::__construct_backward(std::__1::allocator_traits<_Alloc>::allocator_type&, _Ptr, _Ptr, _Ptr&) [with _Ptr = v8::UniquePersistent<v8::Promise::Resolver>*; _Alloc = rt::DefaultSTLAlloc<v8::UniquePersistent<v8::Promise::Resolver> >; std::__1::allocator_traits<_Alloc>::allocator_type = rt::DefaultSTLAlloc<v8::UniquePersistent<v8::Promise::Resolver> >]'
deps/libcxx/include/vector:878:5: required from 'void std::__1::vector<_Tp, _Allocator>::__swap_out_circular_buffer(std::__1::__split_buffer<_Tp, _Allocator&>&) [with _Tp = v8::UniquePersistent<v8::Promise::Resolver>; _Allocator = rt::DefaultSTLAlloc<v8::UniquePersistent<v8::Promise::Resolver> >]'
deps/libcxx/include/vector:1575:5: required from 'void std::__1::vector<_Tp, _Allocator>::__push_back_slow_path(_Up&&) [with _Up = v8::UniquePersistent<v8::Promise::Resolver>; _Tp = v8::UniquePersistent<v8::Promise::Resolver>; _Allocator = rt::DefaultSTLAlloc<v8::UniquePersistent<v8::Promise::Resolver> >]'
deps/libcxx/include/vector:1610:9: required from 'void std::__1::vector<_Tp, _Allocator>::push_back(std::__1::vector<_Tp, _Allocator>::value_type&&) [with _Tp = v8::UniquePersistent<v8::Promise::Resolver>; _Allocator = rt::DefaultSTLAlloc<v8::UniquePersistent<v8::Promise::Resolver> >; std::__1::vector<_Tp, _Allocator>::value_type = v8::UniquePersistent<v8::Promise::Resolver>]'
src/kernel/v8utils.h:196:9: required from 'uint32_t rt::UniquePersistentIndexedPool<T>::Push(v8::UniquePersistent<T>) [with T = v8::Promise::Resolver; uint32_t = unsigned int]'
src/kernel/thread.h:132:50: required from here
deps/v8/include/v8.h:781:3: error: 'v8::UniquePersistent<T>::UniquePersistent(v8::UniquePersistent<T>&) [with T = v8::Promise::Resolver; v8::UniquePersistent<T> = v8::UniquePersistent<v8::Promise::Resolver>]' is private
In file included from deps/libcxx/include/algorithm:625:0,
from deps/libcxx/include/__bit_reference:15,
from deps/libcxx/include/vector:265,
from src/kernel/engines.h:17,
from src/kernel/keystorage.h:18,
from deps/v8/src/platform-runtimejs.cc:21:
deps/libcxx/include/type_traits:2059:1: error: within this context
In file included from deps/v8/src/v8.h:29:0,
from src/kernel/resource.h:26,
from src/kernel/engines.h:21,
from src/kernel/keystorage.h:18,
from deps/v8/src/platform-runtimejs.cc:21:
deps/libcxx/include/type_traits: In instantiation of 'struct std::__1::__libcpp_is_constructible<false, v8::UniquePersistent<v8::Promise::Resolver>, v8::UniquePersistent<v8::Promise::Resolver>&>':
deps/libcxx/include/type_traits:2117:8: required from 'struct std::__1::__is_constructible_void_check<false, v8::UniquePersistent<v8::Promise::Resolver>, v8::UniquePersistent<v8::Promise::Resolver>&>'
deps/libcxx/include/type_traits:2143:30: required from 'struct std::__1::is_constructible<v8::UniquePersistent<v8::Promise::Resolver>, v8::UniquePersistent<v8::Promise::Resolver>&>'
deps/libcxx/include/type_traits:2358:30: required from 'struct std::__1::is_copy_constructible<v8::UniquePersistent<v8::Promise::Resolver> >'
deps/libcxx/include/utility:235:1: required by substitution of 'template<class _Tp> typename std::__1::conditional<((! std::__1::is_nothrow_move_constructible<_Tp>::value) && std::__1::is_copy_constructible<_Tp>::value), const _Tp&, _Tp&&>::type std::__1::move_if_noexcept(_Tp&) [with _Tp = v8::UniquePersistent<v8::Promise::Resolver>]'
deps/libcxx/include/memory:1535:17: required from 'static void std::__1::allocator_traits<_Alloc>::__construct_backward(std::__1::allocator_traits<_Alloc>::allocator_type&, _Ptr, _Ptr, _Ptr&) [with _Ptr = v8::UniquePersistent<v8::Promise::Resolver>*; _Alloc = rt::DefaultSTLAlloc<v8::UniquePersistent<v8::Promise::Resolver> >; std::__1::allocator_traits<_Alloc>::allocator_type = rt::DefaultSTLAlloc<v8::UniquePersistent<v8::Promise::Resolver> >]'
deps/libcxx/include/vector:878:5: required from 'void std::__1::vector<_Tp, _Allocator>::__swap_out_circular_buffer(std::__1::__split_buffer<_Tp, _Allocator&>&) [with _Tp = v8::UniquePersistent<v8::Promise::Resolver>; _Allocator = rt::DefaultSTLAlloc<v8::UniquePersistent<v8::Promise::Resolver> >]'
deps/libcxx/include/vector:1575:5: required from 'void std::__1::vector<_Tp, _Allocator>::__push_back_slow_path(_Up&&) [with _Up = v8::UniquePersistent<v8::Promise::Resolver>; _Tp = v8::UniquePersistent<v8::Promise::Resolver>; _Allocator = rt::DefaultSTLAlloc<v8::UniquePersistent<v8::Promise::Resolver> >]'
deps/libcxx/include/vector:1610:9: required from 'void std::__1::vector<_Tp, _Allocator>::push_back(std::__1::vector<_Tp, _Allocator>::value_type&&) [with _Tp = v8::UniquePersistent<v8::Promise::Resolver>; _Allocator = rt::DefaultSTLAlloc<v8::UniquePersistent<v8::Promise::Resolver> >; std::__1::vector<_Tp, _Allocator>::value_type = v8::UniquePersistent<v8::Promise::Resolver>]'
src/kernel/v8utils.h:196:9: required from 'uint32_t rt::UniquePersistentIndexedPool<T>::Push(v8::UniquePersistent<T>) [with T = v8::Promise::Resolver; uint32_t = unsigned int]'
src/kernel/thread.h:132:50: required from here
deps/v8/include/v8.h:781:3: error: 'v8::UniquePersistent<T>::UniquePersistent(v8::UniquePersistent<T>&) [with T = v8::Promise::Resolver; v8::UniquePersistent<T> = v8::UniquePersistent<v8::Promise::Resolver>]' is private
In file included from deps/libcxx/include/algorithm:625:0,
from deps/libcxx/include/__bit_reference:15,
from deps/libcxx/include/vector:265,
from src/kernel/engines.h:17,
from src/kernel/keystorage.h:18,
from deps/v8/src/platform-runtimejs.cc:21:
deps/libcxx/include/type_traits:2066:8: error: within this context
scons: *** [deps/v8/src/platform-runtimejs.o] Error 1
scons: building terminated because of errors.
@iefserge
Copy link

hey, sorry haven't seen your message in chat, you can open an issue anytime something like this happens. What compiler version are you using?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment