Summary: | support for mips/mipsel in gluegen2 version 2.1.5 | ||
---|---|---|---|
Product: | [JogAmp] Gluegen | Reporter: | Dejan Latinovic <Dejan.Latinovic> |
Component: | core | Assignee: | Sven Gothel <sgothel> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | ||
Priority: | --- | ||
Version: | 2.3.0 | ||
Hardware: | Other | ||
OS: | linux | ||
Type: | --- | SCM Refs: | |
Workaround: | --- | ||
Bug Depends on: | 1126 | ||
Bug Blocks: | |||
Attachments: | proposed patch for mips/mipsel support |
Created attachment 615 [details] proposed patch for mips/mipsel support Package sivp fails to build on Debian for mips/mipsel arch with an error: CI_DISABLE_TK=1 SCI_JAVA_ENABLE_HEADLESS=1 DOCBOOK_ROOT=/usr/share/sgml/docbook/stylesheet/xsl/nwalsh \ /usr/bin/scilab -nw -f builder.sce Could not create a Scilab main class. Error: Exception in thread "main" java.lang.ExceptionInInitializerError at javax.media.opengl.GLProfile.<clinit>(GLProfile.java:83) 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/mipsel) at jogamp.common.os.PlatformPropsImpl.getCPUTypeImpl(PlatformPropsImpl.java:302) 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). debian/rules:9: recipe for target 'build-arch' failed The reason for this failure is a lack of support for mips/mipsel in Debian package gluegen2, version 2.1.5. Patch add-mips-support.patch that contains support for mips/mipsel is attached. After rebuilding gluegen2 with these changes, I was able to build sivp successfully. Could you please consider including these changes into gluegen? If you need any additional logs or info, please contact me, I am willing to contribute. Best Regards, Dejan Latinovic