Source: java3d Version: 1.5.2+dfsg Severity: normal User: debian-j...@lists.debian.org Usertags: default-java9
This package fails to build with default-jdk pointing to openjdk-9-jdk. Please fix it, so that we can start the transition to Java 9. The wiki has some common problems and their solutions: https://wiki.debian.org/Java/Java9Pitfalls jni has changed, and sun.awt.X11GraphicsDevice is pretty gone. Build log: compile-ogl: [echo] Executing 64 bit native renderer build [opt] [exec] /build/java3d-1.5.2+dfsg/j3d-core/src/native/ogl/DrawingSurfaceObjectAWT.c:38:10: fatal error: jni.h: No such file or directory [exec] #include <jni.h> [exec] ^~~~~~~ [exec] compilation terminated. [exec] /build/java3d-1.5.2+dfsg/j3d-core/src/native/ogl/Canvas3D.c:45:10: fatal error: jni.h: No such file or directory [exec] #include <jni.h> [exec] ^~~~~~~ [exec] compilation terminated. ... [javadoc] Constructing Javadoc information... [javadoc] /build/java3d-1.5.2+dfsg/j3d-core/src/classes/x11/javax/media/j3d/X11NativeScreenInfo.java:35: error: package sun.awt is not visible [javadoc] import sun.awt.X11GraphicsDevice; [javadoc] ^ [javadoc] (package sun.awt is declared in module java.desktop, which does not export it to the unnamed module) ... dh_installdirs -plibjava3d-jni \ dh_installdirs: Compatibility levels before 9 are deprecated (level 7 in use) install -m 644 -D j3d-core/build/default/opt/native/libj3dcore-ogl.so \ debian/libjava3d-jni/usr/lib/jni/libj3dcore-ogl.so install: cannot stat 'j3d-core/build/default/opt/native/libj3dcore-ogl.so': No such file or directory debian/rules:24: recipe for target 'install/libjava3d-jni' failed make: *** [install/libjava3d-jni] Error 1 Cheers, Chris. __ This is the maintainer address of Debian's Java team <http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers>. Please use debian-j...@lists.debian.org for discussions and questions.