Summary: | [science overlay] sci-mathematics/scilab-5.3.3-r1 - .../work/scilab-5.3.3/modules/renderer/src/java/org/scilab/modules/renderer/utils/textRendering/*.java:[N]: package com.sun.opengl.util.[*] does not exist | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Juergen Rose <rose> |
Component: | Current packages | Assignee: | Gentoo Science Mathematics related packages <sci-mathematics> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | guillaume.horel, kripton |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build.log.bz2 |
Description
Juergen Rose
2012-05-30 18:11:15 UTC
Which version of java did you use? (java-config -L) and which version of jogl and gluegen do you have installed? I have Sun JDK 1.6.0.32: root@moose:/root(54)# java-config -L The following VMs are available for generation-2: 1) IcedTea JDK 7.2.2 [icedtea-7] *) Sun JDK 1.6.0.32 [sun-jdk-1.6] moose ~ # qlist -Iv gluegen dev-java/gluegen-1_p20080421 dev-java/gluegen-2.0_rc8 moose ~ # qlist -Iv jogl dev-java/jogl-1.1.1 dev-java/jogl-2.0_rc8 If I switch to IcedTea JDK 7.2.2, 'emerge scilab' fails with the same error:
root@moose:/root(2)# java-config -L
The following VMs are available for generation-2:
*) IcedTea JDK 7.2.2 [icedtea-7]
2) Sun JDK 1.6.0.32 [sun-jdk-1.6]
root@moose:/root(3)# emerge -vuND --resume world
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild U ] sci-mathematics/scilab-5.3.3-r1::science [5.3.3::science] USE="bash-completion%* doc fftw gui hdf5* matio nls openmp%* tk umfpack xcos -debug% -static-libs% -test%" LINGUAS="de%* -ca_ES% -es_ES% -fr_FR% -it% -ja% -pl% -pt_BR% -ru% -uk% -zh_CN% -zh_TW%" 0 kB
Total: 1 package (1 upgrade), Size of downloads: 0 kB
*** Resuming merge...
...
>>> Emerging (1 of 1) sci-mathematics/scilab-5.3.3-r1 from science
* scilab-5.3.3-src.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ]
* Using: icedtea-7
...
Using JAVAC=/usr/lib64/icedtea7/bin/javac
Java found in /usr/lib64/icedtea7
checking type of jvm... jdk
checking java API version... 1.6
Using the following JNI include flags -I/usr/lib64/icedtea7/include -I/usr/lib64/icedtea7/include/linux
...
[javac] /var/tmp/portage/sci-mathematics/scilab-5.3.3-r1/work/scilab-5.3.3/modules/renderer/src/java/org/scilab/modules/renderer/utils/TexturedColorMap.java:18: error: package com.sun.opengl.util.texture does not exist
[javac] import com.sun.opengl.util.texture.Texture;
[javac] ^
...
[javac] /var/tmp/portage/sci-mathematics/scilab-5.3.3-r1/work/scilab-5.3.3/modules/renderer/src/java/org/scilab/modules/renderer/arcDrawing/ArcFillTools.java:60: error: cannot find symbol
[javac] gl.glPopMatrix();
[javac] ^
[javac] symbol: method glPopMatrix()
[javac] location: variable gl of type GL
[javac] 100 errors
[javac] 1 warning
BUILD FAILED
/var/tmp/portage/sci-mathematics/scilab-5.3.3-r1/work/scilab-5.3.3/build.incl.xml:163: Compile failed; see the compiler error output for details.
Total time: 2 seconds
make[3]: *** [java] Error 1
It's because you have both jogl-1 and jogl-2 installed at the same time. The scilab configure script gets confused and picks up the location of jogl-2. If you remove jogl-2, it should compile fine. I'm working on a fix. Thanks Guillaume, your recipe worked. But what I don't understand, is that, it seems me, that jogl-2.0_rc8 was installed as dependency of scilab-5.3.3: root@moose:/root(44)# emerge -pv --depclean =jogl-2.0_rc8 Calculating dependencies... done! dev-java/jogl-2.0_rc8 pulled in by: sci-mathematics/scilab-5.3.3 If I remove forcible jogl-2.0_rc8: root@moose:/root(45)# emerge -C =jogl-2.0_rc8 ..., the next: root@moose:/root(50)# emerge -vuND world emerges scilab-5.3.3-r1. was fixed. |