You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need help with what appears like a changed behavior with Swift 5. In the repro example below, package `Kitura-NIO` is a dependency of `Kitura`. I first build Kitura, edit the Kitura-NIO dependency to point to a local copy and then rebuild Kitura. The rebuilding step succeeds with Swift 4.2.1 but fails with Swift 5. Here are the repro steps:
Step 6: swift package edit Kitura-NIO --path ../Kitura-NIO/
Step 7: swift build
The final step fails with this message:
'Kitura-NIO' /Kitura-NIO: error: product dependency 'NIOSSL' not found
An important piece of info here is that the set of dependencies of the Kitura-NIO before and after the edit is different.
Kitura-NIO dependencies before the edit: dependencies:["NIO", "NIOFoundationCompat", "NIOHTTP1", "NIOOpenSSL", "SSLService", "LoggerAPI", "NIOWebSocket", "CLinuxHelpers"]
Kitura-NIO dependencies after the edit: dependencies:["NIO", "NIOFoundationCompat", "NIOHTTP1", "NIOSSL", "SSLService", "LoggerAPI", "NIOWebSocket", "CLinuxHelpers"]
Environment details:
{{root@1cbe874cd748:/Kitura./swift5/usr/bin/swift --version
Swift version 5.0-dev (LLVM 3207a50965, Clang 107de882f4, Swift 4d6e741e32)
Target: x86_64-unknown-linux-gnu
root@1cbe874cd748:/Kitura# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.5 LTS
Release: 14.04
Codename: trusty}}
The text was updated successfully, but these errors were encountered:
Additional Detail from JIRA
md5: 602601553f7f876bf7cc85f9c6e84950
Issue Description:
I need help with what appears like a changed behavior with Swift 5. In the repro example below, package `Kitura-NIO` is a dependency of `Kitura`. I first build Kitura, edit the Kitura-NIO dependency to point to a local copy and then rebuild Kitura. The rebuilding step succeeds with Swift 4.2.1 but fails with Swift 5. Here are the repro steps:
Spte 1: git clone https://github.com/IBM-Swift/Kitura-NIO -b development && cd Kitura-NIO
Step 2: swift build
Step 3: cd .. && git clone https://github.com/IBM-Swift/Kitura && cd Kitura
Step 4: export KITURA_NIO=1
Step 5: swift build
Step 6: swift package edit Kitura-NIO --path ../Kitura-NIO/
Step 7: swift build
The final step fails with this message:
'Kitura-NIO' /Kitura-NIO: error: product dependency 'NIOSSL' not found
An important piece of info here is that the set of dependencies of the Kitura-NIO before and after the edit is different.
Kitura-NIO dependencies before the edit:
dependencies:["NIO", "NIOFoundationCompat", "NIOHTTP1", "NIOOpenSSL", "SSLService", "LoggerAPI", "NIOWebSocket", "CLinuxHelpers"]
Kitura-NIO dependencies after the edit:
dependencies:["NIO", "NIOFoundationCompat", "NIOHTTP1", "NIOSSL", "SSLService", "LoggerAPI", "NIOWebSocket", "CLinuxHelpers"]
Environment details:
{{root@1cbe874cd748:/Kitura./swift5/usr/bin/swift --version
Swift version 5.0-dev (LLVM 3207a50965, Clang 107de882f4, Swift 4d6e741e32)
Target: x86_64-unknown-linux-gnu
root@1cbe874cd748:/Kitura# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.5 LTS
Release: 14.04
Codename: trusty}}
The text was updated successfully, but these errors were encountered: