Giter VIP home page Giter VIP logo

Comments (5)

olonho avatar olonho commented on May 22, 2024

Plugin with version 0.3 wasn't published yet. Please use released version 0.2 or wait few days for release of 0.3 plugin.

from kotlin-native.

ftomassetti avatar ftomassetti commented on May 22, 2024

I also tried specifying version 2. I get a different error but it does not work either:

17:06:57.328 [DEBUG] [org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter] Executing actions for task ':downloadKonanCompiler'.
17:06:57.329 [INFO] [org.gradle.api.Task] Downloading Kotlin Native compiler from http://download.jetbrains.com/kotlin/native/kotlin-native-macos-0.2 into /Users/federico/.konan
17:06:57.329 [DEBUG] [org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter] Removed task artifact state for {} from context.
17:06:57.329 [DEBUG] [org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter] Finished executing task ':downloadKonanCompiler'
17:06:57.329 [LIFECYCLE] [class org.gradle.internal.buildevents.TaskExecutionLogger] :downloadKonanCompiler FAILED
17:06:57.329 [INFO] [org.gradle.execution.taskgraph.AbstractTaskPlanExecutor] :downloadKonanCompiler (Thread[Daemon worker Thread 6,5,main]) completed. Took 0.002 secs.
17:06:57.329 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationWorkerRegistry] Worker root.1 completed (0 in use)
17:06:57.329 [DEBUG] [org.gradle.execution.taskgraph.AbstractTaskPlanExecutor] Task worker [Thread[Daemon worker Thread 6,5,main]] finished, busy: 0.002 secs, idle: 0.0 secs
17:06:57.330 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
17:06:57.330 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] FAILURE: Build failed with an exception.
17:06:57.330 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
17:06:57.330 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * What went wrong:
17:06:57.331 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Cannot download Kotlin Native compiler
17:06:57.331 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > java.nio.channels.OverlappingFileLockException (no error message)
17:06:57.331 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
17:06:57.331 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * Try:
17:06:57.331 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Run with --stacktrace option to get the stack trace.
17:06:57.331 [LIFECYCLE] [org.gradle.internal.buildevents.BuildResultLogger]
17:06:57.331 [LIFECYCLE] [org.gradle.internal.buildevents.BuildResultLogger] BUILD FAILED
17:06:57.331 [LIFECYCLE] [org.gradle.internal.buildevents.BuildResultLogger]

Also trying to download it from the browser I get an error:
screen shot 2017-06-19 at 17 07 58

Also, version 0.3 is the version suggested in https://github.com/JetBrains/kotlin-native/blob/master/GRADLE_PLUGIN.md

from kotlin-native.

ilmat192 avatar ilmat192 commented on May 22, 2024

The 0.3 Gradle plugin is published and the compiler will be ready soon. But it looks like your issue relates to our dependency downloading and I'm going to investigate it.

from kotlin-native.

ilmat192 avatar ilmat192 commented on May 22, 2024

A fix for the issue is ready (but is not merged into master yet). As a workaround you may remove $HOME/.konan/cache/.lock and try to rerun your build using Gradle plugin v0.2 and Kotlin/Native compiler v0.2.

from kotlin-native.

ilmat192 avatar ilmat192 commented on May 22, 2024

Merged: b7e868a

from kotlin-native.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.