Hello all! I was trying to build a multiplatform p...
# multiplatform
y
Hello all! I was trying to build a multiplatform project in a linux arm64 machine. I’m getting the following error:
Copy code
* What went wrong:
Execution failed for task ':sqlx4k:cinteropFfiLinuxArm64'.
> Error while evaluating property 'kotlinNativeProvider$kotlin_gradle_plugin_common.kotlinNativeBundleVersion$kotlin_gradle_plugin_common' of task ':sqlx4k:cinteropFfiLinuxArm64'.
   > Could not resolve all files for configuration ':sqlx4k:kotlinNativeBundleConfiguration'.
      > Failed to transform kotlin-native-prebuilt-2.1.10-linux-aarch64.tar.gz (org.jetbrains.kotlin:kotlin-native-prebuilt:2.1.10) to match attributes {artifactType=tar.gz, kotlin.native.bundle.type=DIRECTORY, org.gradle.status=release}.
         > Could not find kotlin-native-prebuilt-2.1.10-linux-aarch64.tar.gz (org.jetbrains.kotlin:kotlin-native-prebuilt:2.1.10).
           Searched in the following locations:
               <https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-native-prebuilt/2.1.10/kotlin-native-prebuilt-2.1.10-linux-aarch64.tar.gz>
It seems that the toolchain for
linuxArm64
is missing. Why this is happening?
a
Can you make a reproducer? Doesnt look right to me.
y
If you open this link https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-native-prebuilt/2.1.10/ there are no prebuilt for
linux-aarch64
. I’ll try to make a small project later and I’ll send the link here.
If understand correctly it tries to download the toolchain but it does not exist for
linux-aarch64
also I checked some of the previous versions and also is missing. For macos is OK though
a
Ah I get it, here https://youtrack.jetbrains.com/issue/KT-36871 unfortunately no linux arm runners for now 😞
But we will work on better diagnostic to avoid such confusion
y
Thanks for your reply
a
and you can follow this: KT-75362 Add Kotlin Gradle Plugin diagnostic to warn about unsupported host machines