aleksgapp
(Aleksey Gaponov)
1
Hi all, I'm trying to build a swift toolchain - swift-5.1.3-RELEASE, but, unfortunately, it's failing with the following error:
./swift/utils/update-checkout --scheme swift-5.1-branch --reset-to-remote --clone
...
./swift/utils/build-toolchain dev.swift
...
CMake Error in cmake/modules/CMakeLists.txt:
export called with target "swiftSwiftLang-macosx-x86_64" which requires
target "sourcekitd" that is not in any export set.
Same error happens with swift-5.1.3-RELEASE tag. Not building sourcekitd isn't an option, the build fails later on with different errors.
Everything works fine on master branch, anything I'm missing here?
freddi
(freddi(Yuki Aki))
2
I did not find root cause, but I think you can build it by using cmake 3.15.5
@aleksgapp I wouldn't be surprised if this is: [5.2][cmake] Add support for exporting frameworks/libraries into cmake exp… by atrick · Pull Request #29282 · apple/swift · GitHub.
That being said, this is swift-5.1.3 and I don't know if we are going to make another tag of this.
@mishal_shah your thoughts?
We are planning on releasing Swift 5.1.4 soon, Development open for Swift 5.1.4 for Linux
qtfreet00
(qtfreet00)
5
did you solved this problem?
aleksgapp
(Aleksey Gaponov)
6
1 Like
WXKernel
(WXKernel)
8
I also have this problem. How can I solve it?