[
https://issues.apache.org/jira/browse/THRIFT-5775?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sylwester Lachiewicz resolved THRIFT-5775.
------------------------------------------
Fix Version/s: 0.22.0
Resolution: Fixed
Fixed by [PR #3043|https://github.com/apache/thrift/pull/3043]
([5d0205d43|https://github.com/apache/thrift/commit/5d0205d43d28ff88194f711156ed3a562e636afc]),
released in 0.22.0. The Kotlin build no longer requires a Java 8 toolchain.
> Kotlin build failed
> -------------------
>
> Key: THRIFT-5775
> URL: https://issues.apache.org/jira/browse/THRIFT-5775
> Project: Thrift
> Issue Type: Bug
> Components: Kotlin - Compiler, Kotlin - Library
> Reporter: Volodymyr Panivko
> Assignee: Thomas Bruggink
> Priority: Major
> Fix For: 0.22.0
>
> Time Spent: 1h 20m
> Remaining Estimate: 0h
>
> I'm trying to run cross test in docker but i'm getting an error
>
>
> {code:java}
> Making all in kotlin
> make[3]: Entering directory '/thrift/src/lib/kotlin'
> /usr/local/bin/gradle assemble \
> -Pthrift.version=0.21.0 \
> -Pthrift.compiler=/thrift/src/compiler/cpp/thrift \
> --console=plain
> FAILURE: Build failed with an exception.
> * What went wrong:
> A problem occurred configuring root project 'libthrift-kotlin'.
> > Failed to calculate the value of task ':compileJava' property
> > 'javaCompiler'.
> > No matching toolchains found for requested specification:
> {languageVersion=8, vendor=any, implementation=vendor-specific} for LINUX on
> x86_64.
> > No locally installed toolchains match and toolchain download
> repositories have not been configured.
> * Try:
> > Learn more about toolchain auto-detection at
> > https://docs.gradle.org/8.4/userguide/toolchains.html#sec:auto_detection.
> > Learn more about toolchain repositories at
> > https://docs.gradle.org/8.4/userguide/toolchains.html#sub:download_repositories.
> > 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.
> {code}
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)