You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That project is based on Kotlin Native with Python API and builds with Gradle.
After running local build for Linux python build-locally.py linux64, I got the following error:
Downloading native dependencies (LLVM, sysroot etc). This is a one-time action performed only on the first run of the compiler.
(KonanProperties) Downloading dependency: https://download.jetbrains.com/kotlin/native/x86_64-unknown-linux-gnu-gcc-8.3.0-glibc-2.19-kernel-4.9-2.tar.gz (0/101793914).
(KonanProperties) Downloading dependency: https://download.jetbrains.com/kotlin/native/x86_64-unknown-linux-gnu-gcc-8.3.0-glibc-2.19-kernel-4.9-2.tar.gz (56724351/101793914).
(KonanProperties) Downloading dependency: https://download.jetbrains.com/kotlin/native/x86_64-unknown-linux-gnu-gcc-8.3.0-glibc-2.19-kernel-4.9-2.tar.gz (101793914/101793914). Done.
Extracting dependency: /home/conda/.konan/dependencies/cache/x86_64-unknown-linux-gnu-gcc-8.3.0-glibc-2.19-kernel-4.9-2.tar.gz into /home/conda/.konan/dependencies
(KonanProperties) Downloading dependency: https://download.jetbrains.com/kotlin/native/lldb-4-linux.tar.gz (0/52150087).
(KonanProperties) Downloading dependency: https://download.jetbrains.com/kotlin/native/lldb-4-linux.tar.gz (52150087/52150087). Done.
Extracting dependency: /home/conda/.konan/dependencies/cache/lldb-4-linux.tar.gz into /home/conda/.konan/dependencies
(KonanProperties) Downloading dependency: https://download.jetbrains.com/kotlin/native/llvm-11.1.0-linux-x64-essentials.tar.gz (0/109668457).
(KonanProperties) Downloading dependency: https://download.jetbrains.com/kotlin/native/llvm-11.1.0-linux-x64-essentials.tar.gz (68668276/109668457).
(KonanProperties) Downloading dependency: https://download.jetbrains.com/kotlin/native/llvm-11.1.0-linux-x64-essentials.tar.gz (109668457/109668457). Done.
Extracting dependency: /home/conda/.konan/dependencies/cache/llvm-11.1.0-linux-x64-essentials.tar.gz into /home/conda/.konan/dependencies
(KonanProperties) Downloading dependency: https://download.jetbrains.com/kotlin/native/libffi-3.2.1-2-linux-x86-64.tar.gz (0/56412).
(KonanProperties) Downloading dependency: https://download.jetbrains.com/kotlin/native/libffi-3.2.1-2-linux-x86-64.tar.gz (56412/56412). Done.
Extracting dependency: /home/conda/.konan/dependencies/cache/libffi-3.2.1-2-linux-x86-64.tar.gz into /home/conda/.konan/dependencies
Exception in thread "main" org.jetbrains.kotlin.konan.KonanExternalToolFailure: The /home/conda/.konan/dependencies/llvm-11.1.0-linux-x64-essentials/bin/clang command returned non-zero exit code: 1.
output:
/home/conda/.konan/dependencies/llvm-11.1.0-linux-x64-essentials/bin/clang: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /home/conda/.konan/dependencies/llvm-11.1.0-linux-x64-essentials/bin/clang)
/home/conda/.konan/dependencies/llvm-11.1.0-linux-x64-essentials/bin/clang: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /home/conda/.konan/dependencies/llvm-11.1.0-linux-x64-essentials/bin/clang)
at org.jetbrains.kotlin.konan.exec.Command.handleExitCode(ExecuteCommand.kt:123)
at org.jetbrains.kotlin.konan.exec.Command.getResult(ExecuteCommand.kt:112)
at org.jetbrains.kotlin.konan.exec.Command.getOutputLines(ExecuteCommand.kt:87)
at org.jetbrains.kotlin.native.interop.gen.jvm.MainKt.runCmd(main.kt:134)
at org.jetbrains.kotlin.native.interop.gen.jvm.MainKt.processCLib(main.kt:419)
at org.jetbrains.kotlin.native.interop.gen.jvm.MainKt.processCLibSafe(main.kt:243)
at org.jetbrains.kotlin.native.interop.gen.jvm.MainKt.access$processCLibSafe(main.kt:1)
at org.jetbrains.kotlin.native.interop.gen.jvm.Interop.interop(main.kt:101)
at org.jetbrains.kotlin.cli.utilities.InteropCompilerKt.invokeInterop(InteropCompiler.kt:47)
at org.jetbrains.kotlin.cli.utilities.MainKt.mainImpl(main.kt:23)
at org.jetbrains.kotlin.cli.utilities.MainKt.main(main.kt:45)
> Task :python-extension:cinteropPythonNative FAILED
FAILURE: Build failed with an exception.
Bug:
Hello!
I am trying to contribute the Lets-Plot package to conda-forge:
https://github.com/JetBrains/lets-plot
That project is based on Kotlin Native with Python API and builds with Gradle.
After running local build for Linux
python build-locally.py linux64
, I got the following error:Conda recipe:
https://github.com/VDovidaytis-HORIS/staged-recipes/blob/lets-plot/recipes/lets-plot/meta.yaml
Build script:
https://github.com/VDovidaytis-HORIS/staged-recipes/blob/lets-plot/recipes/lets-plot/build.sh
The text was updated successfully, but these errors were encountered: