Bug#798652: scilab: scilab doesn't work on ppc64el: could not find the Java configuration for the model <>

Gilles Filippini pini at debian.org
Tue Oct 20 17:14:30 UTC 2015


Hi Erwan,

On Fri, 11 Sep 2015 15:45:19 +0200 Erwan Prioul
<erwan at linux.vnet.ibm.com> wrote:
> Package: scilab
> Version: 5.5.2-1
> Severity: normal
> 
> While scilab is available on ppc64el, it doesn't actually work:
> > $ /usr/bin/scilab
> > Could not find the Java configuration for the model <ppc64le>. 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
> 
> I apply this patch to get rid of the error:
> > --- scilab-5.5.2.orig/bin/scilab
> > +++ scilab-5.5.2/bin/scilab
> > @@ -528,7 +528,7 @@
> >                          "ppc"|"powerpc")
> >                              proc="ppc"
> >                              ;;
> > -                        "ppc64"|"ppc64el")
> > +                        "ppc64"|"ppc64el"|"ppc64le")
> >                              proc="ppc64"
> >                              ;;
> >                          "s390")
> 
> Unfortunately, we then get another error:
> > $ /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/ppc64)
> > 	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).

Could you please give a try at release 5.5.2-2~exp3 currently in
unstable? A lot of work was done to have libgluegen2 and libjogl2-java
functional on ppc64el (see #779482). Unfortunately I can't test the
resulting scilab build myself because I don"t have access to a baremetal
ppc64el machine. A test on a porter box with VNC makes the X server
segfault but that could be a driver issue.

Thanks in advance,

_g.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20151020/5d0a986e/attachment.sig>


More information about the debian-science-maintainers mailing list