Re: libreoffice build error

From: Shawn Webb <lattera_at_gmail.com>
Date: Tue, 17 Sep 2013 11:51:41 -0400
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<custom_string_trait::element_block_func>::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<mdds::mtv::base_element_block,
mdds::multi_type_vector<custom_string_trait::element_block_func>::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<mdds::mtv::base_element_block,
mdds::multi_type_vector<custom_string_trait::element_block_func>::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<custom_string_trait::element_block_func>::set_cells_to_single_block<const
double *>' 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<custom_string_trait::element_block_func>::set_cells_impl<const
double *>' 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<custom_string_trait::element_block_func>::set<const
double *>' 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<custom_string_trait>::set<const double *>'
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 <bapt_at_freebsd.org>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 <serguey-grigoriev_at_yandex.ru> 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<rtl::Allocator<std::__1::__list_node<rtl_bootstrap_NameValue,
> > > void *> > >::__construct<rtl_bootstrap_NameValue, const
> > > rtl_bootstrap_NameValue &>' requested here
> > > {__construct(__has_construct<allocator_type, pointer, _Args...>(),
> > > ^ /usr/include/c++/v1/list:1499:26: note: in instantiation of
> > > function template specialization
> > >
> 'std::__1::allocator_traits<rtl::Allocator<std::__1::__list_node<rtl_bootstrap_NameValue,
> > > void *> > >::construct<rtl_bootstrap_NameValue, const
> > > 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
>
Received on Tue Sep 17 2013 - 13:51:42 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:41 UTC