In file included from /var/tmp/portage/app-office/libreoffice-4.1.0.2/work/libreoffice-4.1.0.2/sc/inc/column.hxx:28:0, from /var/tmp/portage/app-office/libreoffice-4.1.0.2/work/libreoffice-4.1.0.2/sc/inc/table.hxx:28, from /var/tmp/portage/app-office/libreoffice-4.1.0.2/work/libreoffice-4.1.0.2/sc/source/core/data/bcaslot.cxx:30: /var/tmp/portage/app-office/libreoffice-4.1.0.2/work/libreoffice-4.1.0.2/sc/inc/mtvelements.hxx:66:97: error: wrong number of template arguments (2, should be 1) In file included from /var/tmp/portage/app-office/libreoffice-4.1.0.2/work/libreoffice-4.1.0.2/sc/inc/mtvelements.hxx:27:0, from /var/tmp/portage/app-office/libreoffice-4.1.0.2/work/libreoffice-4.1.0.2/sc/inc/column.hxx:28, from /var/tmp/portage/app-office/libreoffice-4.1.0.2/work/libreoffice-4.1.0.2/sc/inc/table.hxx:28, from /var/tmp/portage/app-office/libreoffice-4.1.0.2/work/libreoffice-4.1.0.2/sc/source/core/data/bcaslot.cxx:30: /usr/include/mdds/multi_type_vector_custom_func1.hpp:40:8: error: provided for ‘template<class _Block> struct mdds::mtv::custom_block_func1’ In file included from /var/tmp/portage/app-office/libreoffice-4.1.0.2/work/libreoffice-4.1.0.2/sc/inc/column.hxx:28:0, from /var/tmp/portage/app-office/libreoffice-4.1.0.2/work/libreoffice-4.1.0.2/sc/inc/table.hxx:28, from /var/tmp/portage/app-office/libreoffice-4.1.0.2/work/libreoffice-4.1.0.2/sc/source/core/data/bcaslot.cxx:30: /var/tmp/portage/app-office/libreoffice-4.1.0.2/work/libreoffice-4.1.0.2/sc/inc/mtvelements.hxx:66:108: error: invalid type in declaration before ‘;’ token /var/tmp/portage/app-office/libreoffice-4.1.0.2/work/libreoffice-4.1.0.2/sc/inc/mtvelements.hxx:70:99: error: wrong number of template arguments (2, should be 1) In file included from /var/tmp/portage/app-office/libreoffice-4.1.0.2/work/libreoffice-4.1.0.2/sc/inc/mtvelements.hxx:27:0, from /var/tmp/portage/app-office/libreoffice-4.1.0.2/work/libreoffice-4.1.0.2/sc/inc/column.hxx:28, from /var/tmp/portage/app-office/libreoffice-4.1.0.2/work/libreoffice-4.1.0.2/sc/inc/table.hxx:28, from /var/tmp/portage/app-office/libreoffice-4.1.0.2/work/libreoffice-4.1.0.2/sc/source/core/data/bcaslot.cxx:30: /usr/include/mdds/multi_type_vector_custom_func1.hpp:40:8: error: provided for ‘template<class _Block> struct mdds::mtv::custom_block_func1’ In file included from /var/tmp/portage/app-office/libreoffice-4.1.0.2/work/libreoffice-4.1.0.2/sc/inc/column.hxx:28:0, from /var/tmp/portage/app-office/libreoffice-4.1.0.2/work/libreoffice-4.1.0.2/sc/inc/table.hxx:28, from /var/tmp/portage/app-office/libreoffice-4.1.0.2/work/libreoffice-4.1.0.2/sc/source/core/data/bcaslot.cxx:30: /var/tmp/portage/app-office/libreoffice-4.1.0.2/work/libreoffice-4.1.0.2/sc/inc/mtvelements.hxx:70:111: error: invalid type in declaration before ‘;’ token make: *** [/var/tmp/portage/app-office/libreoffice-4.1.0.2/work/libreoffice-4.1.0.2/workdir/unxlngi6.pro/CxxObject/sc/source/core/data/bcaslot.o] Error 1 Looks like https://bugs.freedesktop.org/show_bug.cgi?id=66649 ; testing patch from http://lists.freedesktop.org/archives/libreoffice/2013-July/054411.html .
I reported the same in bug #474710
*** This bug has been marked as a duplicate of bug 474710 ***