libreoffice build error

S.N.Grigoriev serguey-grigoriev at yandex.ru
Tue Sep 17 18:01:58 UTC 2013



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.


More information about the freebsd-current mailing list