Re: libreoffice build error

From: Baptiste Daroussin <bapt_at_freebsd.org>
Date: Tue, 17 Sep 2013 17:52:45 +0200
On Tue, Sep 17, 2013 at 11:51:41AM -0400, Shawn Webb wrote:
> 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
> 

That is the mdds error I was speaking about.

regards,
Bapt

Received on Tue Sep 17 2013 - 13:52:50 UTC

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