Re: libreoffice build error

From: Jung-uk Kim <jkim_at_FreeBSD.org>
Date: Tue, 17 Sep 2013 13:24:41 -0400
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.21 (FreeBSD)

iQEcBAEBAgAGBQJSOJBZAAoJECXpabHZMqHOuroH/RckD3Ui2dbce2YwIi2iLps6
X4+vaZ0Nhn6eGts46OywoFxUKdHg7F8A8V5mgK3aWYPlO7OtzC1kRZDNpcysAWa6
6v8E8+GjCGlVvVfto9VOKbLKugkChsNm5u0ZZjahDX1aD9T6wH81kfU4JelYgif3
o+SmZA4gCYpiifDXxy6a5ShGqjVMdjZpTFGXRzlcYncfiNP+aaPX+Cg1yRooZMeX
HKrYyPUsIePLPjZrZr5bj89BuqAgyruLA4m9FYH1YDDeJkl5XiJBmNT2oa/grbKs
pWwqAD/d8gSpAyfG6pWYyGf4ObbHnzR4HiZths+xx6vT0EGrXrhrMrRjUu864kY=
=YQox
-----END PGP SIGNATURE-----
Received on Tue Sep 17 2013 - 15:27:18 UTC

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