Bug#750548: mips support for gluegen2

Dejan Latinovic Dejan.Latinovic at imgtec.com
Wed Jun 4 11:34:11 UTC 2014


Package: gluegen2
Version: 2.1.5-1
Tags: sid patch
Severity: important
User: debian-mips-dev-discuss at lists.alioth.debian.org
Usertags: mips-patch


Package sivp fails to build on Debian for mips/mipsel arch with an error:


> SCI_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 gluegen2?



Best regards,
Dejan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: add-mips-support.patch
Type: text/x-patch
Size: 8014 bytes
Desc: add-mips-support.patch
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20140604/ed070710/attachment.bin>


More information about the pkg-java-maintainers mailing list