From owner-freebsd-ports@freebsd.org Sun May 21 06:58:03 2017 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0E060D77F36 for ; Sun, 21 May 2017 06:58:03 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D6F2D1BFA; Sun, 21 May 2017 06:58:02 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1354) id 0C7167DF0; Sun, 21 May 2017 06:58:02 +0000 (UTC) From: Jan Beich To: Matthias Apitz Cc: Kevin Oberman , FreeBSD Ports ML Subject: Re: chromium-58.0.3029.110_1 fails to build with cllang40 References: <20170520194704.GA15638@c720-r314251> <20170521053953.GA6008@sh4-5.1blu.de> Date: Sun, 21 May 2017 08:57:56 +0200 In-Reply-To: <20170521053953.GA6008@sh4-5.1blu.de> (Matthias Apitz's message of "Sun, 21 May 2017 07:39:53 +0200") Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 May 2017 06:58:03 -0000 Matthias Apitz writes: >> > The full log is here >> > >> > http://www.unixarea.de/chromium-58.0.3029.110_1.log.gz [...] >> > 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:62: >> > 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' >> > second(__p.second) >> > ^ ~~~~~~~~~~ >> > /usr/include/c++/v1/memory:1747:31: note: in instantiation of member function 'std::__1::pair >::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 > >::construct >, const std::__1::pair > &>' 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 > > >::__construct >, const std::__1::pair > &>' requested here >> > {__construct(__has_construct(), >> > ^ >> > /usr/include/c++/v1/memory:1620:17: note: in instantiation of function template specialization 'std::__1::allocator_traits > > >::construct >, const std::__1::pair > &>' 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 > > >::__construct_backward > *>' 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::allocator > > >::__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::allocator > > >::__push_back_slow_path > >' requested here >> > __push_back_slow_path(_VSTD::move(__x)); >> > ^ >> > ../../services/ui/ws/user_activity_monitor.cc:63:23: note: in instantiation of member function 'std::__1::vector >, std::__1::allocator > > >::push_back' requested here >> > activity_observers_.push_back(std::make_pair(info, std::move(observer))); >> > ^ >> > ../../mojo/public/cpp/bindings/interface_ptr.h:224:28: note: 'InterfacePtr' has been explicitly marked deleted here >> > DISALLOW_COPY_AND_ASSIGN(InterfacePtr); >> > ^ Looks like https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217948 >> Mathias, what platform and version? I had no problem building with clang40 >> on 11-STABLE on amd64. > > Sorry. I'm on 12-CURRENT r314251 amd64. More details in the above log > file. That's before libc++ 4.0 merge. Arbitrarily old -CURRENT/-STABLE snapshots are not supported (for any port). Either upgrade to latest base revision or dowgrade the ports tree to a similar date.