conflict with coroutines after updating from korio 1.12.0 to 2.0.3 #115
Comments
I'm trying to trigger this: https://github.com/korlibs/korio/actions/runs/400884601 It Ktor is using it, maybe we should use
Found this: I guess you have tried:
already right? |
Are you also aware of this?
|
Correct, I'm forcing the mt-version via the
I am but because ktor forces us to also use the mt-version, we're all doomed ;-)
This might help. Currently, I cannot use korlibs. |
I think I will change to whatever ktor uses (-mt) in the next version if all the stack works, and I will provide a It seems that the deploy failed due to a failing test, I still have to check why it failed and redeploy. |
I'm closing this for now. There are plans to change the memory model on Kotlin/Native, so probably in the future there will be only one single kotlinx.coroutines, and right now I don't have the bandwidth to handle this |
Shouldn't this issue stay open until the problem is resolved? Even when there is no time currently to dig into it or there might be a change in kotlinx.coroutines the actual problem won't go away, right? We might come back in the future when new versions of coroutines/ktor etc. are available and they might fix the issue and then we can close this issue here. I fear that a closed (but unresolved) issue will be easily looked over and never be fixed. |
Checking previous comments it seems that I did not explain my findings about this: I tried to use the I already released a version of korio supporting mt: https://github.com/korlibs/korio/releases/tag/v2.0.3-native-mt I can move this issue to paused instead of closing it if you prefer that and you really believe it makes sense. |
Ah, thank you. This piece was missing - I've waited for a fix in the normal version and not a mt-version as you said in #115 (comment). I'll try your mt-version and come back if it does not fix my issue. This way, we can keep this issue closed until I respond that your fix (the mt-version) does not help. |
I'm using org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.2-native-mt and com.soywiz.korlibs.korio:korio 1.12.0 in a multiplatform app.
When trying to update korio it will no longer build on ios:
Reverting to coroutines 1.3.9-native-mt-2 seems to work on ios (I can use the newer korio-version) but this will result in a build-error on android. I get the same error when trying to use coroutines 1.4 with korio 2.0.3:
The libraries libhttp and liboauth are mine and they're using ktor. They needed an update to ktor 1.4.3 so my main project (myapp) could build with the new coroutines-versions.
So I'm stuck being able to build only one of both platforms. The only workaround seems to remove korio (I'm also using klock 2.0.0 and * krypto 2.0.1* which are working fine).
The text was updated successfully, but these errors were encountered: