Forwarding to dev mailing list. Any thoughts ?

Thanks
Ganesh Raju


---------- Forwarded message ----------
From: Jun He <jun...@linaro.org>
Date: Thu, Mar 23, 2017 at 5:10 AM
Subject: Build failed due to OpenJDK 1.8.0_121 changes
To: Roman Shaposhnik <r...@apache.org>, Ganesh Raju <ganesh.r...@linaro.org>
Cc: Naresh Bhat <naresh.b...@linaro.org>, Eugene Xie <eugene....@linaro.org>,
Tone Zhang <tone.zh...@linaro.org>, Yuqi Gu <yuqi...@linaro.org>


Hi, Roman,

Two components: ignite-hadoop, solr are failed to build when open-jdk-8_121
is used.
There are discussions for this issue:

https://issues.apache.org/jira/browse/IGNITE-4770
https://issues.apache.org/jira/browse/LUCENE-7651
http://mail.openjdk.java.net/pipermail/javadoc-dev/2017-January/000281.html

This jdk change should also impact x86_64/ppc64 build.
We did a test today on a X86_64 server:

./gradlew -POS=ubuntu-16.04 -Pprefix=1.1.0 bigtop-slaves
docker run -v `pwd`:/ws bigtop/slaves:1.1.0-ubuntu-16.04 bash -l -c 'cd /ws
; gradle solr-rpm'

It also failed as aarch64.

Now for the CI result, I believe that those two components passed build on
x86-64/ppc64 is because the docker images are using open-jdk-1.8.0_111
while aarch64's image uses 1.8.0_121.

So for the incoming 1.2.0 release, to fix this on aarch64/ubuntu-16.04 I
see two ways:
1. Downgrade open-jdk to 1.8.0_111. This needs to change bigtop_toolchain/
manifests/jdk.pp
2. Rebase patches from upstream to active version in bigtop
(ignite-1.5.0.final, solr-4.10.4)

What's your suggestion for this?

Thanks & regards,

Jun




-- 
IRC: ganeshraju@#linaro on irc.freenode.ne <http://irc.freenode.net/>t

Reply via email to