-
Couldn't load subscription status.
- Fork 71
Closed
Labels
regressionMajor regressions that were not caught in advance and were discovered after the releaseMajor regressions that were not caught in advance and were discovered after the releaseroot-cause-definedThe root cause of the regression is defined and preventive steps are taken.The root cause of the regression is defined and preventive steps are taken.
Description
When building my library after updating atomicfu to 0.23.0, I get this error:
> Task :couchbase-lite:cinteropCouchbaseLiteIosSimulatorArm64 FAILED
w: skipping /Users/jeff/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlinx/atomicfu-iossimulatorarm64/0.23.0/10b6de0b94aceaca2bf723ec1cdedc261232cfd5/atomicfu-cinterop-interop.klib. The library versions don't match. Expected 'unspecified', found '0.23.0'
e: Could not find "org.jetbrains.kotlinx:atomicfu-cinterop-interop" in [/Users/jeff/Documents/GitHub/kotbase/couchbase-lite, /Users/jeff/.konan/klib, /Users/jeff/.konan/kotlin-native-prebuilt-macos-x86_64-1.9.20/klib/common, /Users/jeff/.konan/kotlin-native-prebuilt-macos-x86_64-1.9.20/klib/platform/ios_simulator_arm64]
Based on this Slack thread, this seems to be caused by another dependency (kotlinx-coroutines) depending on an older version of atomicfu (0.21.0), which is published with cinterop version "unspecified", which conflicts with the newer version, published with cinterop version 0.23.0 because it was built with Kotlin 1.9.20.
You may be able to work around this by forcing the publication to behave as it used to with Kotlin 1.9.10, as is done here.
adrianolc, GuilhE, illarionov, mediavrog, JochenGuckSnk and 2 more
Metadata
Metadata
Assignees
Labels
regressionMajor regressions that were not caught in advance and were discovered after the releaseMajor regressions that were not caught in advance and were discovered after the releaseroot-cause-definedThe root cause of the regression is defined and preventive steps are taken.The root cause of the regression is defined and preventive steps are taken.