Package Details: kotlin-native-bin 1.3.60-1

Git Clone URL: https://aur.archlinux.org/kotlin-native-bin.git (read-only, click to copy)
Package Base: kotlin-native-bin
Description: A LLVM backend for the Kotlin compiler
Upstream URL: https://github.com/JetBrains/kotlin-native
Licenses: Apache
Conflicts: kotlin-native, kotlin-native-git
Provides: kotlin-native
Submitter: zhangkaizhao
Maintainer: zhangkaizhao
Last Packager: zhangkaizhao
Votes: 8
Popularity: 0.67
First Submitted: 2018-04-11 08:07
Last Updated: 2019-11-22 13:28

Latest Comments

zhangkaizhao commented on 2019-09-14 02:30

Hi @gusbemacbe . You can list all files owned by a given package, e.g. for kotlin-native-bin using pacman -Ql kotlin-native-bin. The kotlin command is not provided due to the conflict with kotlin package. And there is no kotlin-native provided by the official binary package. Please use kotlinc-native instead.

gusbemacbe commented on 2019-09-13 19:21

Hello, there are errors:

which kotlin
kotlin not found
zsh: exit 1

which kotlin-native
kotlin-native not found
zsh: exit 1

aaulia commented on 2019-09-08 17:07

@zhangkaizhao that seems to fix it. Thank you.

zhangkaizhao commented on 2019-09-08 10:02

@aaulia I have fixed permissions for some files. Can you try it again? Thanks!

aaulia commented on 2019-09-08 03:46

There seems to be permission issue? I'm trying to compile a hello world and got this

➜ kotlinc-native hello.kt -o hello
error: compilation failed: /usr/lib/kotlin-native/klib/common/stdlib/ir/ir_tables/strings.knt (Permission denied)

 * Source files: hello.kt
 * Compiler version info: Konan: 1.3.50 / Kotlin: 1.3.50
 * Output kind: PROGRAM

exception: java.io.FileNotFoundException: /usr/lib/kotlin-native/klib/common/stdlib/ir/ir_tables/strings.knt (Permission denied)
    at java.io.RandomAccessFile.open0(Native Method)
    at java.io.RandomAccessFile.open(RandomAccessFile.java:316)
    at java.io.RandomAccessFile.<init>(RandomAccessFile.java:243)
    at java.io.RandomAccessFile.<init>(RandomAccessFile.java:124)
    at org.jetbrains.kotlin.konan.file.File.map(File.kt:106)
    at org.jetbrains.kotlin.konan.file.File.map$default(File.kt:105)
    at org.jetbrains.kotlin.library.impl.SimpleIrTableFileReader.<init>(SimpleIrTableAccessor.kt:14)
    at org.jetbrains.kotlin.library.impl.IrLibraryImpl$strings$2.invoke(KotlinLibraryImpl.kt:113)
    at org.jetbrains.kotlin.library.impl.IrLibraryImpl$strings$2.invoke(KotlinLibraryImpl.kt:74)
    at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:74)
    at org.jetbrains.kotlin.library.impl.IrLibraryImpl.getStrings(KotlinLibraryImpl.kt)
    at org.jetbrains.kotlin.library.impl.IrLibraryImpl.string(KotlinLibraryImpl.kt:92)
    at org.jetbrains.kotlin.konan.library.impl.KonanLibraryImpl.string(KonanLibraryImpl.kt)
    at org.jetbrains.kotlin.backend.konan.serialization.KonanIrLinker.readString(KonanIrlinker.kt:54)
    at org.jetbrains.kotlin.backend.common.serialization.KotlinIrLinker.loadString(KotlinIrLinker.kt:343)
    at org.jetbrains.kotlin.backend.common.serialization.KotlinIrLinker.access$loadString(KotlinIrLinker.kt:38)
    at org.jetbrains.kotlin.backend.common.serialization.KotlinIrLinker$IrDeserializerForModule.loadString(KotlinIrLinker.kt:152)
    at org.jetbrains.kotlin.backend.common.serialization.KotlinIrLinker$IrDeserializerForModule.deserializeString(KotlinIrLinker.kt:167)
    at org.jetbrains.kotlin.backend.common.serialization.KotlinIrLinker$IrDeserializerForModule.deserializeIrFile(KotlinIrLinker.kt:228)
    at org.jetbrains.kotlin.backend.common.serialization.KotlinIrLinker$IrDeserializerForModule.deserializeIrModuleHeader(KotlinIrLinker.kt:272)
    at org.jetbrains.kotlin.backend.common.serialization.KotlinIrLinker$IrDeserializerForModule.<init>(KotlinIrLinker.kt:71)
    at org.jetbrains.kotlin.backend.common.serialization.KotlinIrLinker.deserializeIrModuleHeader(KotlinIrLinker.kt:457)
    at org.jetbrains.kotlin.backend.common.serialization.KotlinIrLinker.deserializeIrModuleHeader(KotlinIrLinker.kt:476)
    at org.jetbrains.kotlin.backend.konan.ToplevelPhasesKt$psiToIrPhase$1.invoke(ToplevelPhases.kt:156)
    at org.jetbrains.kotlin.backend.konan.ToplevelPhasesKt$psiToIrPhase$1.invoke(ToplevelPhases.kt)
    at org.jetbrains.kotlin.backend.common.phaser.PhaseBuildersKt$namedOpUnitPhase$1.invoke(PhaseBuilders.kt:115)
    at org.jetbrains.kotlin.backend.common.phaser.PhaseBuildersKt$namedOpUnitPhase$1.invoke(PhaseBuilders.kt:113)
    at org.jetbrains.kotlin.backend.common.phaser.AbstractNamedPhaseWrapper$runBody$1.invoke(CompilerPhase.kt:128)
    at org.jetbrains.kotlin.backend.common.phaser.CompilerPhaseKt.downlevel(CompilerPhase.kt:24)
    at org.jetbrains.kotlin.backend.common.phaser.AbstractNamedPhaseWrapper.runBody(CompilerPhase.kt:127)
    at org.jetbrains.kotlin.backend.common.phaser.AbstractNamedPhaseWrapper.invoke(CompilerPhase.kt:105)
    at org.jetbrains.kotlin.backend.common.phaser.CompositePhase.invoke(PhaseBuilders.kt:28)
    at org.jetbrains.kotlin.backend.common.phaser.AbstractNamedPhaseWrapper$runBody$1.invoke(CompilerPhase.kt:128)
    at org.jetbrains.kotlin.backend.common.phaser.CompilerPhaseKt.downlevel(CompilerPhase.kt:24)
    at org.jetbrains.kotlin.backend.common.phaser.AbstractNamedPhaseWrapper.runBody(CompilerPhase.kt:127)
    at org.jetbrains.kotlin.backend.common.phaser.AbstractNamedPhaseWrapper.invoke(CompilerPhase.kt:105)
    at org.jetbrains.kotlin.backend.common.phaser.CompilerPhaseKt.invokeToplevel(CompilerPhase.kt:42)
    at org.jetbrains.kotlin.backend.konan.KonanDriverKt.runTopLevelPhases(KonanDriver.kt:27)
    at org.jetbrains.kotlin.cli.bc.K2Native.doExecute(K2Native.kt:79)
    at org.jetbrains.kotlin.cli.bc.K2Native.doExecute(K2Native.kt:34)
    at org.jetbrains.kotlin.cli.common.CLICompiler.execImpl(CLICompiler.kt:84)
    at org.jetbrains.kotlin.cli.common.CLICompiler.execImpl(CLICompiler.kt:42)
    at org.jetbrains.kotlin.cli.common.CLITool.exec(CLITool.kt:104)
    at org.jetbrains.kotlin.cli.common.CLITool.exec(CLITool.kt:82)
    at org.jetbrains.kotlin.cli.common.CLITool.exec(CLITool.kt:50)
    at org.jetbrains.kotlin.cli.common.CLITool$Companion.doMainNoExit(CLITool.kt:215)
    at org.jetbrains.kotlin.cli.common.CLITool$Companion.doMain(CLITool.kt:207)
    at org.jetbrains.kotlin.cli.bc.K2Native$Companion$main$1.invoke(K2Native.kt:223)
    at org.jetbrains.kotlin.cli.bc.K2Native$Companion$main$1.invoke(K2Native.kt:220)
    at org.jetbrains.kotlin.konan.util.UtilKt.profileIf(Util.kt:26)
    at org.jetbrains.kotlin.konan.util.UtilKt.profile(Util.kt:21)
    at org.jetbrains.kotlin.cli.bc.K2Native$Companion.main(K2Native.kt:222)
    at org.jetbrains.kotlin.cli.bc.K2NativeKt.main(K2Native.kt:304)
    at org.jetbrains.kotlin.cli.utilities.MainKt.main(main.kt:16)

It only works if I'm using su

zhangkaizhao commented on 2019-06-07 10:05

Hi @beiranvand.karim . Seems there is no new release at the moment. Please update me if I missed any.

beiranvand.karim commented on 2019-06-07 09:02

please update the repo.

sergio_sierra commented on 2018-08-24 22:43

New version released today: 8.1-2 * https://blog.jetbrains.com/kotlin/2018/08/kotlin-native-0-8-2/

zhangkaizhao commented on 2018-04-28 11:21

@chocolateboy Good news. Thank you! I am on vocation now, and will be back in a few days.

chocolateboy commented on 2018-04-28 10:36

v0.7 has just been released: