-
Notifications
You must be signed in to change notification settings - Fork 566
Could not find "stdlib" - build failing sporadically due to missing konan libs #3415
Comments
Hello! Thank you for the report. |
We're working on getting better info. It seems like this starts happening after a while, and then the local build stops working, but I can't quite confirm that yet. Clearing |
I have more info now. There was one developer who saw this on their local machine consistently for sure. I got a snapshot of the I was able to repro this locally by killing the build process while the archive is being extracted. For reference, see NativeCompilerDownloader. It looks to see if the folder is there. If not, it'll download and extract. If yes, the build process assumes everything is OK. If you kill the process while extracting, future builds will think the runtime is there, but they'll fail because the whole thing isn't actually extracted. It seems safer to extract to a temp location, then rename to the final when the extract is complete. While I was able to repro this locally by killing the build mid-extract, I'm not very confident that this is causing the issues we've seen. However, if the user does manage to do this, their local build will certainly be broken from then on until they clean and rebuild |
Thank you for the investigation! I'll fix the downloader as you suggested to avoid this problem in future. |
Just fyi, I ran into same problem, my machine ran out of disk space while downloading: |
Same issue for me. Also due to running out of disk space during the download on update |
According to migrating issue tracking to YouTrack, closing this issue in favour of https://youtrack.jetbrains.com/issue/KT-39016 |
Still have this issue |
I have 20 GB left isn't it enough? Still have this |
This only started happening recently - really hard to diagnose what's going on but my only two hypotheses are its related to a mac osx update or something in kotlin native, i've seen it occur in 1.3.30 up to 1.3.50
here is the full error:
It also happens semi-frequently with CI builds, but its not every time. if there's more info i can get to help in debugging please let me know.
The text was updated successfully, but these errors were encountered: