Try “gradlew –stop” to make sure that the gradle build daemon does not stay 
resident.  Past that I think it might be a different issue then what we ran 
into locally.

And just to confirm, we are running the same openjdk, just on RHEL.

cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.9 (Maipo)

rpm -qa | grep openjdk
java-11-openjdk-11.0.12.0.7-0.el7_9.x86_64
java-11-openjdk-devel-11.0.12.0.7-0.el7_9.x86_64
java-11-openjdk-headless-11.0.12.0.7-0.el7_9.x86_64

From: cas-user@apereo.org <cas-user@apereo.org> On Behalf Of Marc MAURICE
Sent: Tuesday, October 19, 2021 11:52 AM
To: cas-user@apereo.org
Subject: Re: [EXTERNAL SENDER] [cas-user] Overlay template 6.4 build failed


Hello,

Thanks a lot Robert.

I was missing the package. Unfortunately the error is still there.

(also tried with an overlay from initializer : same error)

[root@15871ceb6a09 initializer]# cat /etc/redhat-release
CentOS Linux release 7.5.1804 (Core)

[root@15871ceb6a09 initializer]# rpm -qa| grep openjdk
java-11-openjdk-11.0.12.0.7-0.el7_9.x86_64
java-11-openjdk-headless-11.0.12.0.7-0.el7_9.x86_64
java-11-openjdk-devel-11.0.12.0.7-0.el7_9.x86_64







Le 19/10/2021 à 15:59, King, Robert a écrit :
You need the openjdk development packages.

For instance on RHEL7:

> yum install java-11-openjdk-devel

From: cas-user@apereo.org<mailto:cas-user@apereo.org> 
<cas-user@apereo.org><mailto:cas-user@apereo.org> On Behalf Of Marc Maurice
Sent: Tuesday, October 19, 2021 11:25 AM
To: CAS Community <cas-user@apereo.org><mailto:cas-user@apereo.org>
Subject: [EXTERNAL SENDER] [cas-user] Overlay template 6.4 build failed

Hello,

I'm trying to upgrade from cas 6.2 to 6.4.
As explained in the doc I want to start with a clean 6.4 overlay then reapply 
all my patches.

I cloned a fresh 6.4 overlay branch from the github project.
Openjdk 11 installed:

[root@15871ceb6a09 myclone]# java -version
openjdk version "11.0.12" 2021-07-20 LTS
OpenJDK Runtime Environment 18.9 (build 11.0.12+7-LTS)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.12+7-LTS, mixed mode, sharing)

I'm getting the following error. Tried to run gradle in debug mode, and 
googling the error with no success.
gradle is not giving me any clue why it doesn't like my java version...

[root@15871ceb6a09 myclone]# ./gradlew clean build
> Task :compileJava FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileJava'.
> error: release version 11 not supported

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug 
option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with 
Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings 
and determine if they come from your own scripts or plugins.

See 
https://docs.gradle.org/7.2/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 4s
6 actionable tasks: 6 executed


--
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
---
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cas-user+unsubscr...@apereo.org<mailto:cas-user+unsubscr...@apereo.org>.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/ac396421-ebbb-4f9f-b9c8-58b141c110f0n%40apereo.org<https://groups.google.com/a/apereo.org/d/msgid/cas-user/ac396421-ebbb-4f9f-b9c8-58b141c110f0n%40apereo.org?utm_medium=email&utm_source=footer>.
--
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
---
You received this message because you are subscribed to a topic in the Google 
Groups "CAS Community" group.
To unsubscribe from this topic, visit 
https://groups.google.com/a/apereo.org/d/topic/cas-user/HOiMGSumH5c/unsubscribe.
To unsubscribe from this group and all its topics, send an email to 
cas-user+unsubscr...@apereo.org<mailto:cas-user+unsubscr...@apereo.org>.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/2330c621312a41cb9bc2ecd304c7e815%40mun.ca<https://groups.google.com/a/apereo.org/d/msgid/cas-user/2330c621312a41cb9bc2ecd304c7e815%40mun.ca?utm_medium=email&utm_source=footer>.
--
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
---
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cas-user+unsubscr...@apereo.org<mailto:cas-user+unsubscr...@apereo.org>.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/9eb7a122-63de-cda1-5fcf-2f25021879d3%40clever-age.com<https://groups.google.com/a/apereo.org/d/msgid/cas-user/9eb7a122-63de-cda1-5fcf-2f25021879d3%40clever-age.com?utm_medium=email&utm_source=footer>.

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/9bcf4edb841847c586b212e5856bac15%40mun.ca.

Reply via email to