Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SR-13590] swift run fails to resolve dependencies #4497

Closed
compnerd opened this issue Sep 23, 2020 · 1 comment
Closed

[SR-13590] swift run fails to resolve dependencies #4497

compnerd opened this issue Sep 23, 2020 · 1 comment
Labels

Comments

@compnerd
Copy link
Collaborator

Previous ID SR-13590
Radar None
Original Reporter @compnerd
Type Bug
Environment

This seems to be limited to Linux.

Additional Detail from JIRA
Votes 0
Component/s Package Manager
Labels Bug
Assignee None
Priority Medium

md5: f3c43116cd9bb29c38c3dc744bda0dd0

Issue Description:

It seems that swift run can fail to resolve dependencies in some cases. The following manifest (reduced from a report by RezaHussain (JIRA User)) demonstrates the issue. It seems to be a regression in mainline, dating to at least 7/21/20.

// swift-tools-version:5.2
import PackageDescription
let package = Package(
  name: "P",
  dependencies: [
    .package(url: "https://github.com/codewinsdotcom/PostgresCLientKit", from: "1.1.1"),
  ],
  targets: [
    .target(name: "t", dependencies: ["PostgresClientKit"]),
  ]
)

(Sources/t/main.swift can be empty)

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 4, 2022
@compnerd
Copy link
Collaborator Author

I'm going to close this off. I think that the underlying issue has been resolved. Testing this currently results in an error due to the dependency not supporting Windows. Especially with the SPM test suite now nearly passing on Windows, I don't think that this is likely an issue, but if it is, feel free to re-open.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants