Hi all. Have an issue building in IDEA freshly che...
# kotlin-native
o
Hi all. Have an issue building in IDEA freshly checked out kotlin-native from master branch. Not able to resolve MetaVersion from generated KonanVersion. Any ideas? https://gist.github.com/oleksiyp/50bbcd1f0a80a475ebae56b2e5cfe7fa
o
Did
rm -rf shared/build
helped?
o
Nope, it didn't. I manually removed MetaVersion from KonanVersion and then get another set of errors. This is very weird because it was working on some previous(two weeks ago) 'master' revision. Tried to invalidate cache, git clone, update kotlin plugin, checked logs.
o
Hmm, which platform is it?
o
linux x64
o
Does fresh checkout help?
o
tried, no
now reverted back to old commit 7be3d120d
checking
o
Let me try fresh clone
hmm, interesting, I see some problem (unrelated to what you described, i.e. empty classpath exception), but cannot reproduce exactly same error. Which target do you build?
o
Thanks for checking it. I just build in IDEA, not sure I can choose target here. But first do
./gradlew dist distPlatformLibs
so linux_x64 is built
o
did you stop Gradle daemon between runs?
o
no
o
please try
./gradlew -stop
o
killed all IDEA caches and settings + fresh checkout. will try stopping gradle daemon
nothing helps
killing gradle caches no
*now
o
Hmm, that’s interesting. Try
jps
and kill all Java processes, and the n do fresh checkout
o
giving up on this machine đŸ™‚ need one more
o
<!here> anyone else having same issue?
m
Yes, somethin badly broken:
Copy code
FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':common:mingw_x64Hash'.
> A problem occurred starting process 'command 'F:\work\.konan\dependencies\msys2-mingw-w64-x86_64-gcc-7.2.0-clang-llvm-5.0.0-windows-x86-64/bin/clang++''
o
Hmm,
gradlew dependencies:update
?
@oleksiyp could you please retry with the fresh master?
o
checking
@olonho now it works
Thanks!
o
Cool