To get this far required the patch from bug# 413477 Reproducible: Always libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../modules/core/includes -rdynamic -I./includes/ -I./src/c/ -I./src/matio/ -I../../modules/output_stream/includes/ -I../../modules/string/includes/ -I../../modules/api_scilab/includes -mtune=athlon64 -O2 -pipe -D_LARGEFILE64_SOURCE -DNDEBUG -I../../modules/core/includes/ -I../../libs/MALLOC/includes/ -I../../modules/localization/includes/ -rdynamic -MT libscimatio_la-matfile_manager.lo -MD -MP -MF .deps/libscimatio_la-matfile_manager.Tpo -c src/c/matfile_manager.c -fPIC -DPIC -o .libs/libscimatio_la-matfile_manager.o src/c/matfile_manager.c: In function 'matfile_manager': src/c/matfile_manager.c:98: error: dereferencing pointer to incomplete type make[2]: *** [libscimatio_la-matfile_manager.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... src/c/CreateBooleanVariable.c: In function 'CreateBooleanVariable': src/c/CreateBooleanVariable.c:89: warning: passing argument 5 of 'CreateHyperMatrixVariable' from incompatible pointer type src/c/CreateMatlabVariable.h:66: note: expected 'int *' but argument is of type 'size_t *' In file included from src/c/CreateMatlabVariable.c:15: ../../modules/core/includes/stack-c.h:19: note: #pragma message: Using stack-c.h is deprecated. Please use api_scilab instead (try 'help api_scilab'). Note the stack-c.h API will be removed after Scilab 6.0. In file included from ../../modules/core/includes/stack-c.h:34, from src/c/CreateMatlabVariable.c:15: ../../modules/core/includes/stack-def.h:19: note: #pragma message: Using stack-def.h is deprecated. Please use api_scilab instead (try 'help api_scilab'). Note the stack-def.h API will be removed after Scilab 6.0. In file included from ../../modules/core/includes/stack-c.h:39, from src/c/CreateMatlabVariable.c:15: ../../modules/core/includes/stack1.h:16: note: #pragma message: Using stack1.h is deprecated. Please use api_scilab instead (try 'help api_scilab'). Note the stack1.h API will be removed after Scilab 6.0. In file included from ../../modules/core/includes/stack-c.h:40, from src/c/CreateMatlabVariable.c:15: ../../modules/core/includes/stack2.h:17: note: #pragma message: Using stack2.h is deprecated. Please use api_scilab instead (try 'help api_scilab'). Note the stack2.h API will be removed after Scilab 6.0. In file included from ../../modules/core/includes/stack-c.h:41, from src/c/CreateMatlabVariable.c:15: ../../modules/core/includes/stack3.h:25: note: #pragma message: Using stack3.h is deprecated. Please use api_scilab instead (try 'help api_scilab'). Note the stack3.h API will be removed after Scilab 6.0. mv -f .deps/libscimatio_la-CreateBooleanVariable.Tpo .deps/libscimatio_la-CreateBooleanVariable.Plo mv -f .deps/libscimatio_la-CreateMatlabVariable.Tpo .deps/libscimatio_la-CreateMatlabVariable.Plo make[2]: Leaving directory `/var/tmp/portage/sci-mathematics/scilab-5.3.3/work/scilab-5.3.3/modules/matio' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/sci-mathematics/scilab-5.3.3/work/scilab-5.3.3/modules' make: *** [all-recursive] Error 1 emake failed * ERROR: sci-mathematics/scilab-5.3.3 failed (compile phase): * emake failed * * Call stack: * ebuild.sh, line 85: Called src_compile * environment, line 4845: Called die * The specific snippet of code: * emake || die "emake failed"; * * If you need support, post the output of 'emerge --info =sci-mathematics/scilab-5.3.3', * the complete build log and the output of 'emerge -pqv =sci-mathematics/scilab-5.3.3'. * This ebuild is from an overlay named 'local': '/usr/local/portage/' !!! When you file a bug report, please include the following information: GENTOO_VM= CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.6.0.26" JAVACFLAGS="" COMPILER="" and of course, the output of emerge --info * The complete build log is located at '/var/tmp/portage/sci-mathematics/scilab-5.3.3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sci-mathematics/scilab-5.3.3/temp/environment'. * S: '/var/tmp/portage/sci-mathematics/scilab-5.3.3/work/scilab-5.3.3'
Created attachment 311703 [details] emerge log
Created attachment 311705 [details] build.log.bz2 whoops... attaching correct log this time
Going by git logs, this version of scilab is incompatible with >=matio-1.5.0, but looking at matio.h, the fix seems trivial.
resolved in scilab-5.3.3-r1 by forcing matio < 1.5