Re: libreoffice build error

From: S.N.Grigoriev <serguey-grigoriev_at_yandex.ru>
Date: Tue, 17 Sep 2013 22:01:53 +0400
17.09.2013, 21:27, "Jung-uk Kim" <jkim_at_FreeBSD.org>:

> On 2013-09-17 11:52:45 -0400, Baptiste Daroussin wrote:
>
>> š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.
>
> The mdds issue should be fixed by r327493. šI am still working on
> libc++ issues but it is much more complicated. :-(
>
> Jung-uk Kim


Thanks for all responses. As I can see the problem is much more complete then I thought initially.
-- 
Regards,
S.Grigoriev.
Received on Tue Sep 17 2013 - 16:01:58 UTC

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