Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 415821 - [science overlay] sci-mathematics/scilab-5.3.3 compile fails with "error: dereferencing pointer to incomplete type"
Summary: [science overlay] sci-mathematics/scilab-5.3.3 compile fails with "error: der...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-13 23:30 UTC by Pariksheet Nanda
Modified: 2012-05-25 22:01 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge log (sci-mathematics:scilab-5.3.3:20120513-215904.log,19.60 KB, text/plain)
2012-05-13 23:31 UTC, Pariksheet Nanda
Details
build.log.bz2 (build.log.bz2,120.29 KB, application/bzip2)
2012-05-13 23:37 UTC, Pariksheet Nanda
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pariksheet Nanda 2012-05-13 23:30:47 UTC
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'
Comment 1 Pariksheet Nanda 2012-05-13 23:31:43 UTC
Created attachment 311703 [details]
emerge log
Comment 2 Pariksheet Nanda 2012-05-13 23:37:26 UTC
Created attachment 311705 [details]
build.log.bz2

whoops... attaching correct log this time
Comment 3 Rafał Mużyło 2012-05-14 01:37:18 UTC
Going by git logs, this version of scilab is incompatible with >=matio-1.5.0, but looking at matio.h, the fix seems trivial.
Comment 4 Sébastien Fabbro (RETIRED) gentoo-dev 2012-05-25 22:01:17 UTC
resolved in scilab-5.3.3-r1 by forcing matio < 1.5