Bug 66649 - Build error in sc/inc/mtvelements.hxx
Summary: Build error in sc/inc/mtvelements.hxx
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
4.1.0.1 rc
Hardware: Other Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-06 18:04 UTC by Nicolas Christener
Modified: 2013-07-20 09:26 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nicolas Christener 2013-07-06 18:04:12 UTC
Hi

I tried to build 4.1.0.1 and got the following error:

[...]
[build CMP] framework/util/fwk
[build CXX] sc/source/core/data/attarray.cxx
[build CXX] sc/source/core/data/attrib.cxx
[build CXX] sc/source/core/data/autonamecache.cxx
[build CXX] sc/source/core/data/bcaslot.cxx
[build CXX] sc/source/core/data/bigrange.cxx
[build CXX] sc/source/core/data/cell.cxx
[build CXX] sc/source/core/data/cell2.cxx
[build CXX] sc/source/core/data/cellvalue.cxx
In file included from /home/nicolas/paldo/spielwiese/libo/sc/inc/column.hxx:28:0,
                 from /home/nicolas/paldo/spielwiese/libo/sc/inc/table.hxx:28,
                 from /home/nicolas/paldo/spielwiese/libo/sc/source/core/data/bcaslot.cxx:30:
/home/nicolas/paldo/spielwiese/libo/sc/inc/mtvelements.hxx:66:97: error: wrong number of template arguments (2, should be 1)
In file included from /home/nicolas/paldo/spielwiese/libo/sc/inc/mtvelements.hxx:27:0,
                 from /home/nicolas/paldo/spielwiese/libo/sc/inc/column.hxx:28,
                 from /home/nicolas/paldo/spielwiese/libo/sc/inc/table.hxx:28,
                 from /home/nicolas/paldo/spielwiese/libo/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 /home/nicolas/paldo/spielwiese/libo/sc/inc/column.hxx:28:0,
                 from /home/nicolas/paldo/spielwiese/libo/sc/inc/table.hxx:28,
                 from /home/nicolas/paldo/spielwiese/libo/sc/source/core/data/bcaslot.cxx:30:
/home/nicolas/paldo/spielwiese/libo/sc/inc/mtvelements.hxx:66:108: error: invalid type in declaration before ‘;’ token
/home/nicolas/paldo/spielwiese/libo/sc/inc/mtvelements.hxx:70:99: error: wrong number of template arguments (2, should be 1)
In file included from /home/nicolas/paldo/spielwiese/libo/sc/inc/mtvelements.hxx:27:0,
                 from /home/nicolas/paldo/spielwiese/libo/sc/inc/column.hxx:28,
                 from /home/nicolas/paldo/spielwiese/libo/sc/inc/table.hxx:28,
                 from /home/nicolas/paldo/spielwiese/libo/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 /home/nicolas/paldo/spielwiese/libo/sc/inc/column.hxx:28:0,
                 from /home/nicolas/paldo/spielwiese/libo/sc/inc/table.hxx:28,
                 from /home/nicolas/paldo/spielwiese/libo/sc/source/core/data/bcaslot.cxx:30:
/home/nicolas/paldo/spielwiese/libo/sc/inc/mtvelements.hxx:70:111: error: invalid type in declaration before ‘;’ token
make[1]: *** [/home/nicolas/paldo/spielwiese/libo/workdir/unxlngx6.pro/CxxObject/sc/source/core/data/bcaslot.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: write error
make: *** [build] Error 1

I used:
./autogen.sh   --disable-epm   --disable-extra-font   --disable-fetch-external   --disable-gnome-vfs   --disable-kde   --disable-kdeab   --with-system-npapi-headers=no   --disable-online-update   --disable-postgresql-sdbc   --disable-systray   --enable-dbus   --enable-evolution2   --enable-gio   --enable-graphite   --enable-gstreamer   --disable-gstreamer-0-10   --enable-lockdown   --enable-python=system   --enable-release-build   --enable-vba   --enable-hardlink-deliver --with-external-dict-dir=/usr/share/hunspell   --with-external-hyph-dir=/usr/share/hyphen   --with-external-thes-dir=/usr/share/mythes   --with-lang="en-US de fr it es"   --with-system-nss   --without-afms   --without-fonts   --without-java   --without-myspell-dicts   --without-ppds   --without-system-beanshell   --without-system-hsqldb   --with-system-cairo   --with-system-clucene   --with-system-ucpp   --with-system-dicts   --with-system-headers   --with-system-libs   --with-system-mythes

GCC is:
$ gcc -v
[...]
gcc version 4.7.2 (GCC)

Any idea?
Comment 1 Jorendc 2013-07-11 21:24:59 UTC
@Bug reporter: is this still reproducible after you pull (update) again? Please make sure you do a 'make clean' before you 'make' again. If this doesn't help, please subscribe to the developers mailinglist and send a mail to it (http://lists.freedesktop.org/mailman/listinfo/libreoffice). Developers doesn't look that much to reported build errors in our bug database.

Kind regards,
Joren
Comment 2 Nicolas Christener 2013-07-16 18:58:25 UTC
Hi Joren

I downloaded the source of 4.1.0.2 today, did a clean rebuild and got the same error again :(

Should I send/ask this to the devel mailinglist?

Kind regards,
nicolas
Comment 3 Nicolas Christener 2013-07-17 19:43:39 UTC
It seems, that I found the reason for the problem. I used mdds 0.9.0 which triggers the error, switching back to mdds 0.8.1 seems to fix the problem.

Maybe one could check for this during the configure step. I'll ask kohei what he thinks.
Comment 4 Nicolas Christener 2013-07-20 09:26:16 UTC
This issue was discussed (by others) on the ML by now:
http://www.mail-archive.com/libreoffice@lists.freedesktop.org/msg72243.html

I think we can close the issue.