[Bug 214654] www/chromium: fails to build with libc++ 3.9
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Nov 21 11:21:46 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214654
--- Comment #4 from Jan Beich (mail not working) <jbeich at FreeBSD.org> ---
(In reply to clutton from comment #3)
> Could you try removing _LIBCPP_TRIVIAL_PAIR_COPY_CTOR completely
> from build system?
Chromium 52 builds fine then.
> Or just remove the patch and build it again.
Chromium 54 fails with
In file included from ../../services/ui/ws/user_activity_monitor.cc:5:
In file included from ../../services/ui/ws/user_activity_monitor.h:8:
In file included from ../../base/time/tick_clock.h:9:
In file included from ../../base/time/time.h:60:
In file included from ../../base/numerics/safe_math.h:13:
In file included from ../../base/logging.h:12:
In file included from /usr/include/c++/v1/sstream:174:
In file included from /usr/include/c++/v1/ostream:138:
In file included from /usr/include/c++/v1/ios:216:
In file included from /usr/include/c++/v1/__locale:15:
In file included from /usr/include/c++/v1/string:442:
In file included from /usr/include/c++/v1/algorithm:633:
/usr/include/c++/v1/utility:316:11: error: call to deleted constructor of
'mojo::InterfacePtr<ui::mojom::UserActivityObserver>'
second(__p.second)
^ ~~~~~~~~~~
/usr/include/c++/v1/memory:1747:31: note: in instantiation of member function
'std::__1::pair<ui::ws::UserActivityMonitor::ActivityObserverInfo,
mojo::InterfacePtr<ui::mojom::UserActivityObserver> >::pair' requested here
::new((void*)__p) _Up(_VSTD::forward<_Args>(__args)...);
^
/usr/include/c++/v1/memory:1658:18: note: in instantiation of function
template specialization
'std::__1::allocator<std::__1::pair<ui::ws::UserActivityMonitor::ActivityObserverInfo,
mojo::InterfacePtr<ui::mojom::UserActivityObserver> >
>::construct<std::__1::pair<ui::ws::UserActivityMonitor::ActivityObserverInfo,
mojo::InterfacePtr<ui::mojom::UserActivityObserver> >, const
std::__1::pair<ui::ws::UserActivityMonitor::ActivityObserverInfo,
mojo::InterfacePtr<ui::mojom::UserActivityObserver> > &>' requested here
{__a.construct(__p, _VSTD::forward<_Args>(__args)...);}
^
/usr/include/c++/v1/memory:1504:14: note: in instantiation of function
template specialization
'std::__1::allocator_traits<std::__1::allocator<std::__1::pair<ui::ws::UserActivityMonitor::ActivityObserverInfo,
mojo::InterfacePtr<ui::mojom::UserActivityObserver> > >
>::__construct<std::__1::pair<ui::ws::UserActivityMonitor::ActivityObserverInfo,
mojo::InterfacePtr<ui::mojom::UserActivityObserver> >, const
std::__1::pair<ui::ws::UserActivityMonitor::ActivityObserverInfo,
mojo::InterfacePtr<ui::mojom::UserActivityObserver> > &>' requested here
{__construct(__has_construct<allocator_type, _Tp*, _Args...>(),
^
/usr/include/c++/v1/memory:1620:17: note: in instantiation of function
template specialization
'std::__1::allocator_traits<std::__1::allocator<std::__1::pair<ui::ws::UserActivityMonitor::ActivityObserverInfo,
mojo::InterfacePtr<ui::mojom::UserActivityObserver> > >
>::construct<std::__1::pair<ui::ws::UserActivityMonitor::ActivityObserverInfo,
mojo::InterfacePtr<ui::mojom::UserActivityObserver> >, const
std::__1::pair<ui::ws::UserActivityMonitor::ActivityObserverInfo,
mojo::InterfacePtr<ui::mojom::UserActivityObserver> > &>' requested here
construct(__a, _VSTD::__to_raw_pointer(__end2-1),
_VSTD::move_if_noexcept(*--__end1));
^
/usr/include/c++/v1/vector:892:21: note: in instantiation of function
template specialization
'std::__1::allocator_traits<std::__1::allocator<std::__1::pair<ui::ws::UserActivityMonitor::ActivityObserverInfo,
mojo::InterfacePtr<ui::mojom::UserActivityObserver> > >
>::__construct_backward<std::__1::pair<ui::ws::UserActivityMonitor::ActivityObserverInfo,
mojo::InterfacePtr<ui::mojom::UserActivityObserver> > *>' requested here
__alloc_traits::__construct_backward(this->__alloc(), this->__begin_,
this->__end_, __v.__begin_);
^
/usr/include/c++/v1/vector:1577:5: note: in instantiation of member function
'std::__1::vector<std::__1::pair<ui::ws::UserActivityMonitor::ActivityObserverInfo,
mojo::InterfacePtr<ui::mojom::UserActivityObserver> >,
std::__1::allocator<std::__1::pair<ui::ws::UserActivityMonitor::ActivityObserverInfo,
mojo::InterfacePtr<ui::mojom::UserActivityObserver> > >
>::__swap_out_circular_buffer' requested here
__swap_out_circular_buffer(__v);
^
/usr/include/c++/v1/vector:1614:9: note: in instantiation of function
template specialization
'std::__1::vector<std::__1::pair<ui::ws::UserActivityMonitor::ActivityObserverInfo,
mojo::InterfacePtr<ui::mojom::UserActivityObserver> >,
std::__1::allocator<std::__1::pair<ui::ws::UserActivityMonitor::ActivityObserverInfo,
mojo::InterfacePtr<ui::mojom::UserActivityObserver> > >
>::__push_back_slow_path<std::__1::pair<ui::ws::UserActivityMonitor::ActivityObserverInfo,
mojo::InterfacePtr<ui::mojom::UserActivityObserver> > >' requested here
__push_back_slow_path(_VSTD::move(__x));
^
../../services/ui/ws/user_activity_monitor.cc:62:23: note: in instantiation
of member function
'std::__1::vector<std::__1::pair<ui::ws::UserActivityMonitor::ActivityObserverInfo,
mojo::InterfacePtr<ui::mojom::UserActivityObserver> >,
std::__1::allocator<std::__1::pair<ui::ws::UserActivityMonitor::ActivityObserverInfo,
mojo::InterfacePtr<ui::mojom::UserActivityObserver> > > >::push_back' requested
here
activity_observers_.push_back(std::make_pair(info, std::move(observer)));
^
../../mojo/public/cpp/bindings/interface_ptr.h:214:28: note: 'InterfacePtr'
has been explicitly marked deleted here
DISALLOW_COPY_AND_ASSIGN(InterfacePtr);
^
In file included from ../../services/ui/ws/user_activity_monitor.cc:5:
In file included from ../../services/ui/ws/user_activity_monitor.h:8:
In file included from ../../base/time/tick_clock.h:9:
In file included from ../../base/time/time.h:60:
In file included from ../../base/numerics/safe_math.h:13:
In file included from ../../base/logging.h:12:
In file included from /usr/include/c++/v1/sstream:174:
In file included from /usr/include/c++/v1/ostream:138:
In file included from /usr/include/c++/v1/ios:216:
In file included from /usr/include/c++/v1/__locale:15:
In file included from /usr/include/c++/v1/string:442:
In file included from /usr/include/c++/v1/algorithm:633:
/usr/include/c++/v1/utility:316:11: error: call to deleted constructor of
'mojo::InterfacePtr<ui::mojom::UserIdleObserver>'
second(__p.second)
^ ~~~~~~~~~~
/usr/include/c++/v1/memory:1747:31: note: in instantiation of member function
'std::__1::pair<ui::ws::UserActivityMonitor::IdleObserverInfo,
mojo::InterfacePtr<ui::mojom::UserIdleObserver> >::pair' requested here
::new((void*)__p) _Up(_VSTD::forward<_Args>(__args)...);
^
/usr/include/c++/v1/memory:1658:18: note: in instantiation of function
template specialization
'std::__1::allocator<std::__1::pair<ui::ws::UserActivityMonitor::IdleObserverInfo,
mojo::InterfacePtr<ui::mojom::UserIdleObserver> >
>::construct<std::__1::pair<ui::ws::UserActivityMonitor::IdleObserverInfo,
mojo::InterfacePtr<ui::mojom::UserIdleObserver> >, const
std::__1::pair<ui::ws::UserActivityMonitor::IdleObserverInfo,
mojo::InterfacePtr<ui::mojom::UserIdleObserver> > &>' requested here
{__a.construct(__p, _VSTD::forward<_Args>(__args)...);}
^
/usr/include/c++/v1/memory:1504:14: note: in instantiation of function
template specialization
'std::__1::allocator_traits<std::__1::allocator<std::__1::pair<ui::ws::UserActivityMonitor::IdleObserverInfo,
mojo::InterfacePtr<ui::mojom::UserIdleObserver> > >
>::__construct<std::__1::pair<ui::ws::UserActivityMonitor::IdleObserverInfo,
mojo::InterfacePtr<ui::mojom::UserIdleObserver> >, const
std::__1::pair<ui::ws::UserActivityMonitor::IdleObserverInfo,
mojo::InterfacePtr<ui::mojom::UserIdleObserver> > &>' requested here
{__construct(__has_construct<allocator_type, _Tp*, _Args...>(),
^
/usr/include/c++/v1/memory:1620:17: note: in instantiation of function
template specialization
'std::__1::allocator_traits<std::__1::allocator<std::__1::pair<ui::ws::UserActivityMonitor::IdleObserverInfo,
mojo::InterfacePtr<ui::mojom::UserIdleObserver> > >
>::construct<std::__1::pair<ui::ws::UserActivityMonitor::IdleObserverInfo,
mojo::InterfacePtr<ui::mojom::UserIdleObserver> >, const
std::__1::pair<ui::ws::UserActivityMonitor::IdleObserverInfo,
mojo::InterfacePtr<ui::mojom::UserIdleObserver> > &>' requested here
construct(__a, _VSTD::__to_raw_pointer(__end2-1),
_VSTD::move_if_noexcept(*--__end1));
^
/usr/include/c++/v1/vector:892:21: note: in instantiation of function
template specialization
'std::__1::allocator_traits<std::__1::allocator<std::__1::pair<ui::ws::UserActivityMonitor::IdleObserverInfo,
mojo::InterfacePtr<ui::mojom::UserIdleObserver> > >
>::__construct_backward<std::__1::pair<ui::ws::UserActivityMonitor::IdleObserverInfo,
mojo::InterfacePtr<ui::mojom::UserIdleObserver> > *>' requested here
__alloc_traits::__construct_backward(this->__alloc(), this->__begin_,
this->__end_, __v.__begin_);
^
/usr/include/c++/v1/vector:1577:5: note: in instantiation of member function
'std::__1::vector<std::__1::pair<ui::ws::UserActivityMonitor::IdleObserverInfo,
mojo::InterfacePtr<ui::mojom::UserIdleObserver> >,
std::__1::allocator<std::__1::pair<ui::ws::UserActivityMonitor::IdleObserverInfo,
mojo::InterfacePtr<ui::mojom::UserIdleObserver> > >
>::__swap_out_circular_buffer' requested here
__swap_out_circular_buffer(__v);
^
/usr/include/c++/v1/vector:1614:9: note: in instantiation of function
template specialization
'std::__1::vector<std::__1::pair<ui::ws::UserActivityMonitor::IdleObserverInfo,
mojo::InterfacePtr<ui::mojom::UserIdleObserver> >,
std::__1::allocator<std::__1::pair<ui::ws::UserActivityMonitor::IdleObserverInfo,
mojo::InterfacePtr<ui::mojom::UserIdleObserver> > >
>::__push_back_slow_path<std::__1::pair<ui::ws::UserActivityMonitor::IdleObserverInfo,
mojo::InterfacePtr<ui::mojom::UserIdleObserver> > >' requested here
__push_back_slow_path(_VSTD::move(__x));
^
../../services/ui/ws/user_activity_monitor.cc:80:19: note: in instantiation
of member function
'std::__1::vector<std::__1::pair<ui::ws::UserActivityMonitor::IdleObserverInfo,
mojo::InterfacePtr<ui::mojom::UserIdleObserver> >,
std::__1::allocator<std::__1::pair<ui::ws::UserActivityMonitor::IdleObserverInfo,
mojo::InterfacePtr<ui::mojom::UserIdleObserver> > > >::push_back' requested
here
idle_observers_.push_back(std::make_pair(info, std::move(observer)));
^
../../mojo/public/cpp/bindings/interface_ptr.h:214:28: note: 'InterfacePtr'
has been explicitly marked deleted here
DISALLOW_COPY_AND_ASSIGN(InterfacePtr);
^
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-chromium
mailing list