https://kotlinlang.org logo
Title
s

SerVB

01/26/2022, 6:45 PM
Trying to set up kotlin-python on a new computer but having the following error:
> Task :compiler:resolution:compileKotlin
e: error while writing /home/servb/IdeaProjects/kotlin-python/compiler/resolution/build/classes/kotlin/main/org/jetbrains/kotlin/resolve/calls/components/CollectionTypeVariableUsagesInfo$isContainedInInvariantOrContravariantPositionsWithDependencies$isContainedAnyDependentTypeInReturnType$1$1.class (Permission denied)
Any ideas what the problem is? Probably too long path but then I'm wondering why it's worked before...
p

Piotr Krzemiński

01/26/2022, 6:54 PM
Welcome back! :) Hmm, permission denied... Can you check permissions in the relevant directory?
:tnx: 1
Maybe something went wrong during cloning, I'd try re-cloning
👀 1
s

SerVB

01/28/2022, 11:30 AM
Looks like ecryptfs is the problem: https://stackoverflow.com/a/49759124...
👍 1
p

Piotr Krzemiński

01/28/2022, 11:49 AM
Let me know once it works
s

SerVB

01/28/2022, 8:35 PM
Well, I've just switched to an OS without ecryptfs and compiled and tested the project successfully. JFTR, on this 16-thread mobile CPU, tests take 22 minutes, 3 times slower than on my desktop 24-thread CPU 😞 Will think what to do, probably will avoid using this laptop. Anyway, now I'm in again. Will review remaining PRs and then decide what to do!
💪 1
p

Piotr Krzemiński

01/28/2022, 8:37 PM
I had this crazy idea to ask JetBrains to sponsor cloud machines for development, through Gatway and IntelliJ. AFAIK they get suspended in case of no use so the cost would be minimal. WDYT? :)
s

SerVB

01/28/2022, 8:48 PM
That's an interesting idea but I haven't heard of such practices and I'm unsure who to ask. I'll ask our admins
👍 1
p

Piotr Krzemiński

01/28/2022, 8:59 PM
I thought about going through the community manager (@Alina Dolgikh [JB]), as a part of supporting open source community around Kotlin, but of course please try your path as well
👍 2