From owner-freebsd-current@FreeBSD.ORG Tue Sep 17 15:51:42 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 7B20B599; Tue, 17 Sep 2013 15:51:42 +0000 (UTC) (envelope-from lattera@gmail.com) Received: from mail-vc0-x235.google.com (mail-vc0-x235.google.com [IPv6:2607:f8b0:400c:c03::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 27AF12E15; Tue, 17 Sep 2013 15:51:42 +0000 (UTC) Received: by mail-vc0-f181.google.com with SMTP id hz10so4079472vcb.26 for ; Tue, 17 Sep 2013 08:51:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=G6DKKx54iJJBVaRLMf71JwW2ycGyAFX0rYBiOtEaxq4=; b=YKILiJEbgux9uvkuC8EXgaL4bdBRi4PMoD1mtGnukwWdSgf+5J75xoXcWGKvkXKT+8 dfuF8rssG/gUL7B1V3zYD8buMuC7hwKHgvwA8k+lFoboAkUgj2RwVpd0t8O4x+egBRz2 ugGtahLrdg/Fpb4g2ctdn7DMtcK2CXLAKweaIHYMv4W/G2rn268CNxZI8rF/UraXvK0K G9zL6ZsO/FAI0YprmNWcmw++lrLuep+XSGjVby235GFiFDHEeel58CBl8/cUuPapo4bi yDZg52IGEjvbiBKlYkmj9g9LYAvJG02bG35PAXoB5VaOkE2bBPWvYNf/1/H7L4704lw2 L56w== MIME-Version: 1.0 X-Received: by 10.220.166.77 with SMTP id l13mr47582vcy.60.1379433101185; Tue, 17 Sep 2013 08:51:41 -0700 (PDT) Received: by 10.58.168.132 with HTTP; Tue, 17 Sep 2013 08:51:41 -0700 (PDT) In-Reply-To: <20130917154914.GD31894@ithaqua.etoilebsd.net> References: <104781379415439@web14h.yandex.ru> <20130917162045.5b0fc356@thor.walstatt.dyndns.org> <20130917154914.GD31894@ithaqua.etoilebsd.net> Date: Tue, 17 Sep 2013 11:51:41 -0400 Message-ID: Subject: Re: libreoffice build error From: Shawn Webb To: Baptiste Daroussin Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "S.N.Grigoriev" , FreeBSD-current , "O. Hartmann" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Sep 2013 15:51:42 -0000 I'm getting a build error as well, but on 9-STABLE under Poudriere. Relevant part of the logfile: In file included from /wrkdirs/usr/ports/editors/libreoffice/work/libreoffice-4.0.5.2/sc/source/core/tool/scmatrix.cxx:34: In file included from /usr/local/include/mdds/multi_type_matrix.hpp:31: /usr/local/include/mdds/multi_type_vector.hpp:85:46: error: cannot initialize a parameter of type 'mdds::mtv::base_element_block *' with an lvalue of type 'const element_block_type *' (aka 'const mdds::mtv::base_element_block *') element_block_func::delete_block(p); ^ /usr/local/include/boost/interprocess/smart_ptr/unique_ptr.hpp:312:13: note: in instantiation of member function 'mdds::multi_type_vector::element_block_deleter::operator()' requested here ptr_.second()(ptr_.first()); ^ /usr/local/include/boost/interprocess/smart_ptr/unique_ptr.hpp:196:7: note: in instantiation of member function 'boost::interprocess::unique_ptr::element_block_deleter>::reset' requested here { reset(); } ^ /usr/local/include/mdds/compat/unique_ptr.hpp:38:7: note: in instantiation of member function 'boost::interprocess::unique_ptr::element_block_deleter>::~unique_ptr' requested here class unique_ptr : public boost::interprocess::unique_ptr<_T, _Deleter> ^ /usr/local/include/mdds/multi_type_vector_def.inl:2376:16: note: in instantiation of function template specialization 'mdds::multi_type_vector::set_cells_to_single_block' requested here return set_cells_to_single_block(row, end_row, block_index1, start_row1, it_begin, it_end); ^ /usr/local/include/mdds/multi_type_vector_def.inl:406:12: note: in instantiation of function template specialization 'mdds::multi_type_vector::set_cells_impl' requested here return set_cells_impl(pos, end_pos, start_row1, block_index1, it_begin, it_end); ^ /usr/local/include/mdds/multi_type_matrix_def.inl:239:13: note: in instantiation of function template specialization 'mdds::multi_type_vector::set' requested here m_store.set(get_pos(row,col), it_begin, it_end); ^ /wrkdirs/usr/ports/editors/libreoffice/work/libreoffice-4.0.5.2/sc/source/core/tool/scmatrix.cxx:502:15: note: in instantiation of function template specialization 'mdds::multi_type_matrix::set' requested here maMat.set(nR, nC, pArray, pArray + nLen); ^ /wrkdirs/usr/ports/editors/libreoffice/work/libreoffice-4.0.5.2/sc/source/core/tool/scmatrix.cxx:92:65: note: passing argument to parameter 'p' here static void delete_block(mdds::mtv::base_element_block* p) ^ 1 error generated. gmake[2]: *** [/wrkdirs/usr/ports/editors/libreoffice/work/workdir/unxfbsd.pro/CxxObject/sc/source/core/tool/scmatrix.o] Error 1 On Tue, Sep 17, 2013 at 11:49 AM, Baptiste Daroussin wrote: > On Tue, Sep 17, 2013 at 04:20:45PM +0200, O. Hartmann wrote: > > On Tue, 17 Sep 2013 14:57:19 +0400 > > S.N.Grigoriev wrote: > > > > > > > > Hi list, > > > > > > the following error occures when I try to build editors/libreoffice: > > > > > > [build CXX] sal/rtl/source/ustrbuf.cxx > > > In file included > > > from > /usr/ports/editors/libreoffice/work/libreoffice-4.0.5.2/sal/rtl/source/bootstrap.cxx:22: > > > In file included > > > from /usr/ports/editors/libreoffice/work/solver/ > unxfbsd.pro/inc/rtl/bootstrap.hxx:21: > > > In file included > > > from /usr/ports/editors/libreoffice/work/solver/ > unxfbsd.pro/inc/rtl/ustring.hxx:26: > > > In file included from /usr/include/c++/v1/ostream:130: 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:434: In file included > > > from /usr/include/c++/v1/algorithm:627: > /usr/include/c++/v1/memory:1616:18: > > > error: no matching member function for call to > > > 'construct' {__a.construct(__p, _VSTD::forward<_Args>(__args)...);} > > > ~~~~^~~~~~~~~ /usr/include/c++/v1/memory:1497:14: note: in > > > instantiation of function template specialization > > > > 'std::__1::allocator_traits > > void *> > >::__construct > > rtl_bootstrap_NameValue &>' requested here > > > {__construct(__has_construct(), > > > ^ /usr/include/c++/v1/list:1499:26: note: in instantiation of > > > function template specialization > > > > 'std::__1::allocator_traits > > void *> > >::construct > > rtl_bootstrap_NameValue &>' requested here > > > __node_alloc_traits::construct(__na, > > > _VSTD::addressof(__hold->__value_), __x); > > > > > > > > > Any tips? > > > > > > > No sulution, but the very same here ... I also rebuild everything > > necessary with "portmaster -r" - no luck :-( > > libreoffice is broken due to 2 reason, first rigth now we don't yet have > patches for libc++. > > but even with a working libc++ patch it is broken on all arches due to the > mdds > update which is incompatible. > > regards, > Bapt >