Package: scilab Version: 5.5.2-1 Severity: important Tags: patch Forwarded: http://bugzilla.scilab.org/show_bug.cgi?id=13931 User: debian-...@lists.debian.org Usertags: arm64 port
While scilab is available on arm64, it doesn't actually work: $ /usr/bin/scilab Could not find the Java configuration for the model <aarch64>. Please contact us on http://bugzilla.scilab.org /usr/bin/scilab-bin: error while loading shared libraries: libjava.so: cannot open shared object file: No such file or directory A patch is attached. Unfortunately, we then get another error, which seems to be a problem in gluegen2. I'll file a bug. (sid)112:tbm@m400-c2n1: ..cilab-5.5.2/debian/patches] /usr/bin/scilab Could not create a Scilab main class. Error: Exception in thread "main" java.lang.ExceptionInInitializerError at javax.media.opengl.GLProfile.<clinit>(GLProfile.java:120) at org.scilab.modules.gui.SwingView.<init>(Unknown Source) at org.scilab.modules.gui.SwingView.registerSwingView(Unknown Source) at org.scilab.modules.core.Scilab.<init>(Unknown Source) Caused by: java.lang.RuntimeException: Please port CPU detection to your platform (linux/aarch64) at jogamp.common.os.PlatformPropsImpl.getCPUTypeImpl(PlatformPropsImpl.java:304) at jogamp.common.os.PlatformPropsImpl.<clinit>(PlatformPropsImpl.java:134) ... 4 more Scilab cannot create Scilab Java Main-Class (we have not been able to find the main Scilab class. Check if the Scilab and thirdparty packages are available). -- Martin Michlmayr Linux for HP Helion, Hewlett-Packard
Description: Fix Aarch64 detection Author: Martin Michlmayr <t...@cyrius.com> --- scilab-5.5.2.orig/bin/scilab +++ scilab-5.5.2/bin/scilab @@ -540,6 +540,9 @@ detect_java_vm() { armv*) proc="arm" ;; + aarch64) + proc="aarch64" + ;; *) echo "Could not find the Java configuration for the model <${MODEL}>. Please contact us on http://bugzilla.scilab.org" ;;