Bug#760931: scilab: ftbfs with OpenJDK 8
Matthias Klose
doko at debian.org
Tue Sep 9 08:52:05 UTC 2014
Package: src:scilab
Version: 5.5.0-3
Severity: important
User: debian-java at lists.debian.org
Usertags: openjdk-8-transition
The package fails to build in a test rebuild on at least amd64 with
openjdk-8 as the default java version, but succeeds to build with
openjdk-7.
The full build log can be found at:
http://people.debian.org/~doko/logs/java8-20140908/logs-failed-ref/scilab_5.5.0-3_unstable_ref.log
The last lines of the build log are at the end of this report.
To build with openjdk-8 explicitly, install the openjdk-8-jdk package
from experimental,
apt-get -t experimental install g++
and install the default-jdk package from
deb https://people.debian.org/~doko/tmp/20140820 ./
[...]
[javac] ^
[javac] /«PKGBUILDDIR»/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/jogl/JoGLCanvas.java:274: warning: [deprecation] GLPbuffer in javax.media.opengl has been deprecated
[javac] ((GLPbuffer) autoDrawable).destroy();
[javac] ^
[javac] /«PKGBUILDDIR»/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/jogl/JoGLCanvas.java:294: warning: [deprecation] createGLPbuffer(AbstractGraphicsDevice,GLCapabilitiesImmutable,GLCapabilitiesChooser,int,int,GLContext) in GLDrawableFactory has been deprecated
[javac] return factory.createGLPbuffer(null, capabilities, null, width, height, null);
[javac] ^
[javac] /«PKGBUILDDIR»/modules/scirenderer/src/org/scilab/forge/scirenderer/ruler/graduations/TinyIntervalFormat.java:24: warning: [serial] serializable class TinyIntervalFormat has no definition of serialVersionUID
[javac] public class TinyIntervalFormat extends DecimalFormat {
[javac] ^
[javac] /«PKGBUILDDIR»/modules/scirenderer/src/org/scilab/forge/scirenderer/ruler/graduations/UserDefinedFormat.java:26: warning: [serial] serializable class UserDefinedFormat has no definition of serialVersionUID
[javac] public class UserDefinedFormat extends DecimalFormat {
[javac] ^
[javac] 9 warnings
noversion:
[echo] Using:
[echo] ${thirdparty.dir}
[echo] /usr/share/java/jogl2.jar
[echo] /usr/share/java/gluegen2-rt.jar
[echo] /usr/share/java/jlatexmath.jar
init:
compile:
jar:
[jar] Building jar: /«PKGBUILDDIR»/modules/scirenderer/jar/scirenderer.jar
localization:
[taskdef] Could not load definitions from resource checkstyletask.properties. It could not be found.
init:
BUILD FAILED
/«PKGBUILDDIR»/modules/prebuildjava/build.xml:83: The following error occurred while executing this line:
/«PKGBUILDDIR»/build.incl.xml:88: JDK 1.6 or 1.7 required. Found 1.8
Total time: 9 seconds
make[3]: *** [java] Error 1
Makefile:718: recipe for target 'java' failed
make[3]: Leaving directory '/«PKGBUILDDIR»/modules/prebuildjava'
make[2]: *** [all-recursive] Error 1
Makefile:796: recipe for target 'all-recursive' failed
make[2]: Leaving directory '/«PKGBUILDDIR»/modules'
make[1]: *** [all-recursive] Error 1
Makefile:1534: recipe for target 'all-recursive' failed
make[1]: Leaving directory '/«PKGBUILDDIR»'
make: *** [debian/stamp-makefile-build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
More information about the debian-science-maintainers
mailing list