If 'emerge -uvDN scilab' passes the configure script (compare Bug 373565) it fails on two of three systems with: ... Buildfile: /var/tmp/portage/sci-mathematics/scilab-5.3.2/work/scilab-5.3.2/modules/graph/build.xml init: [mkdir] Created dir: /var/tmp/portage/sci-mathematics/scilab-5.3.2/work/scilab-5.3.2/modules/graph/build/classes [mkdir] Created dir: /var/tmp/portage/sci-mathematics/scilab-5.3.2/work/scilab-5.3.2/modules/graph/build/test/classes [mkdir] Created dir: /var/tmp/portage/sci-mathematics/scilab-5.3.2/work/scilab-5.3.2/modules/graph/jar compile: [javac] Compiling 48 source files to /var/tmp/portage/sci-mathematics/scilab-5.3.2/work/scilab-5.3.2/modules/graph/build/classes ... [javac] /var/tmp/portage/sci-mathematics/scilab-5.3.2/work/scilab-5.3.2/modules/graph/src/java/org/scilab/modules/graph/ScilabCanvas.java:33: package com.mxgraph.canvas does not exist [javac] import com.mxgraph.canvas.mxGraphics2DCanvas; [javac] ^ [javac] /var/tmp/portage/sci-mathematics/scilab-5.3.2/work/scilab-5.3.2/modules/graph/src/java/org/scilab/modules/graph/ScilabCanvas.java:34: package com.mxgraph.shape does not exist [javac] import com.mxgraph.shape.mxITextShape; [javac] ^ ... [javac] /var/tmp/portage/sci-mathematics/scilab-5.3.2/work/scilab-5.3.2/modules/graph/src/java/org/scilab/modules/graph/ScilabCanvas.java:46: cannot find symbol [javac] symbol: class mxInteractiveCanvas [javac] public class ScilabCanvas extends mxInteractiveCanvas { [javac] ^ ... [javac] /var/tmp/portage/sci-mathematics/scilab-5.3.2/work/scilab-5.3.2/modules/graph/src/java/org/scilab/modules/graph/io/ScilabObjectCodec.java:27: package com.mxgraph.io does not exist [javac] import com.mxgraph.io.mxObjectCodec; [javac] ^ [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 100 errors BUILD FAILED /var/tmp/portage/sci-mathematics/scilab-5.3.2/work/scilab-5.3.2/build.incl.xml:163: Compile failed; see the compiler error output for details. Total time: 2 seconds make[3]: *** [java] Error 1 If I search for installed version of jgraph*, I find at system, where 'emerge scilab' is succesfull: root@moose:/root(16)# eix jgraph [I] dev-java/jgraph Available versions: 5.10.1.2 5.12.0.4 {doc elibc_FreeBSD examples source} Installed versions: 5.12.0.4(23:08:26 11/29/10)(doc examples -elibc_FreeBSD -source) Homepage: http://www.jgraph.com Description: Open-source graph component for Java [I] dev-java/jgrapht Available versions: 0.7.3 {doc elibc_FreeBSD source test} Installed versions: 0.7.3(00:03:29 11/30/10)(doc -elibc_FreeBSD -source -test) Homepage: http://jgrapht.sourceforge.net Description: Graph library that is a simpler and faster alternative to JGraph [I] dev-java/jgraphx Available versions: (~)1.2.0.7[1] (~)1.2.0.7[2] (~)1.3.0.2[1] (~)1.3.0.2[2] (~)1.4.0.2[2] (~)1.4.1.0[1] (~)1.4.1.0[2] [m](~)1.4.1.2[1] {doc elibc_FreeBSD examples source} Installed versions: 1.4.1.0[?](16:48:17 06/16/11)(doc examples -elibc_FreeBSD -source) Homepage: http://www.jgraph.com Description: Open-source graph component for Java [1] "science" /var/lib/layman/science [2] /usr/local/portage Found 3 matches. root@moose:/root(17)# emerge -pvD jgraphx These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] dev-java/jgraphx-1.4.1.0 USE="doc examples -source" 0 kB [1] Total: 1 package (1 reinstall), Size of downloads: 0 kB Portage tree and overlays: [0] /usr/portage [1] /usr/local/portage Where I find on the systems with failing 'emerge scilab': rose@lynx:/home/rose(8)$ eix jgraph [I] dev-java/jgraph Available versions: 5.10.1.2 5.12.0.4 {doc elibc_FreeBSD examples source} Installed versions: 5.12.0.4(01:13:09 28.09.2009)(doc examples -elibc_FreeBSD -source) Homepage: http://www.jgraph.com Description: Open-source graph component for Java * dev-java/jgrapht Available versions: 0.7.3 {doc elibc_FreeBSD source test} Homepage: http://jgrapht.sourceforge.net Description: Graph library that is a simpler and faster alternative to JGraph [I] dev-java/jgraphx Available versions: (~)1.2.0.7[1] (~)1.2.0.7[2] (~)1.3.0.2[1] (~)1.3.0.2[2] (~)1.4.0.2[2] (~)1.4.1.0[2] [m](~)1.4.1.2[1] {doc elibc_FreeBSD examples source} Installed versions: 1.4.1.0[2](18:06:03 30.06.2011)(doc examples -elibc_FreeBSD -source) Homepage: http://www.jgraph.com Description: Open-source graph component for Java [1] "science" /var/lib/layman/science [2] "local" /usr/local/portage 3 Treffer. rose@lynx:/home/rose(9)$ emerge -pvD jgraphx These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] dev-java/jgraphx-1.4.1.0 USE="doc examples -source" 0 kB [1=>2] Total: 1 package (1 reinstall), Size of downloads: 0 kB Portage tree and overlays: [0] /usr/portage [1] /usr/local/portage [2] /var/lib/layman/science So I have in both cases the same version 1.4.1.0 of jgraphx, in both cases installed from /usr/local/portage/dev-java/jgraphx. The additional jgrapht on moose is installed as a dependency of jruby. Any hint what I still could test?
Created attachment 280461 [details] bzip2ed /var/tmp/portage/sci-mathematics/scilab-5.3.2/temp/build.log
looks like you can't build scilab without xcos actually. If --whitout-xcos is passed, then the jgraphx configure part is skipped, but this causes an error down the line in the compilation. Can you check with xcos set, and let me know if it fixes it for you. I'll report the bug upstream.
This was fixed upstream, and will be part of the 5.4 release. See http://codereview.scilab.org/#change,5090
fixed in scilab-5.3.3-r1. thanks.