Bug 10154 - Eclipse-poky-neon requires java 1.8.0 to build
Summary: Eclipse-poky-neon requires java 1.8.0 to build
Status: RESOLVED FIXED
Alias: None
Product: AutoBuilder
Classification: Infrastructure
Component: autobuilder (show other bugs)
Version: 2.2
Hardware: x86 Multiple
: Undecided normal
Target Milestone: 2.2 M3
Assignee: Michael Halstead
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks: 9562 9940
  Show dependency tree
 
Reported: 2016-08-16 20:57 UTC by Bill Randle
Modified: 2016-08-18 00:33 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bill Randle 2016-08-16 20:57:50 UTC
The autobuilders need to be updated to java/jdk 1.8.0 in order to build the eclipse-poky-neon plugin.
Comment 1 Michael Halstead 2016-08-17 00:29:41 UTC
Will the eclipse-poky plugin build for all maintained releases with a 1.8.x jdk?
Comment 2 Bill Randle 2016-08-17 14:42:48 UTC
My understanding from Tim is that the older plugins will build under 1.8.0, as well. He can chime in, if I have that wrong.
Comment 3 Michael Halstead 2016-08-18 00:33:00 UTC
Here are the current default java versions:

1.8.x
centos7.osl.yoctoproject.org: openjdk version "1.8.0_101"
fedora23.osl.yoctoproject.org:openjdk version "1.8.0_101"
fedora24.osl.yoctoproject.org:openjdk version "1.8.0_101"
opensuse132.osl.yoctoproject.org: openjdk version "1.8.0_101"
opensuse421.i.yoctoproject.org:openjdk version "1.8.0_101"
ubuntu1604.osl.yoctoproject.org:openjdk version "1.8.0_91"

1.7.x
ubuntu1404.i.yoctoproject.org:java version "1.7.0_111"
debian8.osl.yoctoproject.org:java version "1.7.0_111"

We could provide 1.8.x on the debian8 and ubuntu1404 builders using Oracle's jdk but avoiding them when building for neon is a better option. That can be done when creating eclipse-plugin-neon.conf with the line below.

builders: ['centos7.osl.yoctoproject.org', 'fedora24.osl.yoctoproject.org', 'fedora23.osl.yoctoproject.org', 'opensuse132.osl.yoctoproject.org', 'opensuse421.osl.yoctoproject.org', 'ubuntu1604.osl.yoctoproject.org']