Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 514668 - [science overlay] sci-mathematics/scilab-5.5.0 does not build with jdk-1.8
Summary: [science overlay] sci-mathematics/scilab-5.5.0 does not build with jdk-1.8
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: jdk8-tracker
  Show dependency tree
 
Reported: 2014-06-23 11:56 UTC by José Romildo Malaquias
Modified: 2021-05-05 17:49 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
The output of "emerge --info" (nada.txt,17.71 KB, text/plain)
2014-06-23 11:56 UTC, José Romildo Malaquias
Details
scilab-5.5.0-jdk18.patch (scilab-5.5.0-jdk18.patch,829 bytes, patch)
2014-06-23 12:31 UTC, José Romildo Malaquias
Details | Diff
scilab-5.5.0.ebuild.patch (scilab-5.5.0.ebuild.patch,427 bytes, patch)
2014-06-23 12:32 UTC, José Romildo Malaquias
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.