New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build fails on AArch64, Fedora 33 #11229
Comments
See #11048 (comment), you'll need to set |
Thanks, that does the trick. However, building 'clean communityEditionDistTar' I get FAILURE: Build failed with an exception.
|
The community edition is gone because the entire code base is Apache 2 licensed again, so we don't have to make that distinction anymore and the task name is |
[jw@cn05 cratedb]$ ./gradlew --info -Dbundled_jdk_arch=aarch64 build
FAILURE: Build failed with an exception.
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0. BUILD FAILED in 7s |
We don't really use to |
On '... app:run' I get: ... FAILURE: Build failed with an exception.
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0. BUILD FAILED in 8s './app/build/install/crate/bin/crate' seems to work. |
Which The |
Java 11 is advised, I read.
|
Dear Lutz,
Thank you for your report on Java 16. May I ask which version of Gradle you are using now? Support for Gradle 7 is currently still in the making. In particular, issues like gradle/gradle#13774, gradle/gradle#15538 and gradle/gradle#16641 indicate some problems in this space, specifically with Java 16. To be on the safe side, maybe you can use Java 15 and Gradle 6 instead, as suggested by @mfussenegger?
We are constantly trying to keep our documentation updated, but sometimes things are slipping through. May I humbly ask where you read this? Then, I will try to update the relevant spot right away. With kind regards, Edit:
Ah, it is right here at https://github.com/crate/crate/blob/master/devs/docs/basics.rst. Sorry for the noise. |
Dear Lutz, as we want to keep the build process compatible with Java 11 (LTS), we will investigate the With kind regards, |
Closing this one so that we have a single issue to track the Thank you @LutzWeischerFujitsu for the report. |
(base) [jw@cn05 cratedb]$ gradle -version Gradle 6.8.3Build time: 2021-02-22 16:13:28 UTC Kotlin: 1.4.20 (base) [jw@cn05 cratedb]$ Java 11: https://crate.io/docs/crate/tutorials/en/latest/install.html |
Build for x86-64 only?
[jw@cn05 cratedb]$ ./gradlew compileJava
FAILURE: Build completed with 6 failures.
1: Task failed with an exception.
Execution failed for task ':libs:sql-parser:generateGrammarSource'.
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.
==============================================================================
2: Task failed with an exception.
Execution failed for task ':libs:pgwire:generateGrammarSource'.
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.
==============================================================================
3: Task failed with an exception.
Execution failed for task ':libs:shared:compileJava'.
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.
==============================================================================
4: Task failed with an exception.
Execution failed for task ':libs:es-plugin-classloader:compileJava'.
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.
==============================================================================
5: Task failed with an exception.
Execution failed for task ':libs:cli:compileJava'.
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.
==============================================================================
6: Task failed with an exception.
Execution failed for task ':libs:guice:compileJava'.
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 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.8/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 5s
13 actionable tasks: 9 executed, 4 up-to-date
[jw@cn05 cratedb]$
The text was updated successfully, but these errors were encountered: