Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 514668

Summary: [science overlay] sci-mathematics/scilab-5.5.0 does not build with jdk-1.8
Product: Gentoo Linux Reporter: José Romildo Malaquias <jrmalaq>
Component: Current packagesAssignee: Gentoo Science Related Packages <sci>
Status: RESOLVED FIXED    
Severity: normal CC: andrewammerlaan, yamadharma
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 556992    
Attachments: The output of "emerge --info"
scilab-5.5.0-jdk18.patch
scilab-5.5.0.ebuild.patch

Description José Romildo Malaquias 2014-06-23 11:56:38 UTC
Created attachment 379466 [details]
The output of "emerge --info"

When emerging sci-mathematics/scilab-5.5.0::science on my ~amd64 system with the system java vm oracle-jdk-bin-1.8, I am getting the error:

BUILD FAILED
/tmp/portage/sci-mathematics/scilab-5.5.0/work/scilab-5.5.0/modules/prebuildjava/build.xml:83: The following error occurred while executing this line:
/tmp/portage/sci-mathematics/scilab-5.5.0/work/scilab-5.5.0/build.incl.xml:88: JDK 1.6 or 1.7 required. Found 1.8
Comment 1 José Romildo Malaquias 2014-06-23 12:31:57 UTC
Created attachment 379478 [details, diff]
scilab-5.5.0-jdk18.patch

A patch to enable compilation with jdk-1.8.
Comment 2 José Romildo Malaquias 2014-06-23 12:32:57 UTC
Created attachment 379480 [details, diff]
scilab-5.5.0.ebuild.patch

The modification to the ebuild so that it applies the jdk18 patch.
Comment 3 Guillaume Horel 2014-06-29 19:02:15 UTC
Hi José, thanks for the patch. I have backported a patch from upstream which is slightly more complete and pushed it the science overlay. Let me know if you encounter any issue.