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-6328] Cryptic SwiftPM error message #4925

Closed
swift-ci opened this issue Nov 8, 2017 · 6 comments
Closed

[SR-6328] Cryptic SwiftPM error message #4925

swift-ci opened this issue Nov 8, 2017 · 6 comments
Labels

Comments

@swift-ci
Copy link
Contributor

swift-ci commented Nov 8, 2017

Previous ID SR-6328
Radar rdar://problem/40205212
Original Reporter gmosx (JIRA User)
Type Bug
Status Resolved
Resolution Cannot Reproduce
Additional Detail from JIRA
Votes 0
Component/s Package Manager
Labels Bug
Assignee None
Priority Medium

md5: af23b4e515a815ed52de711c3406121b

Issue Description:

One more SwiftPM cryptic error:

error: terminated(128): git -C /Users/*//*/.build/repositories/CommonCrypto.git-1219305460334093717 remote update -p

A better error message would be great. Even better if no error was thrown 😉

@ankitspd
Copy link
Member

ankitspd commented Nov 9, 2017

I think this happens when the package location is changed. Did you move your project?

@hartbit
Copy link
Collaborator

hartbit commented Nov 11, 2017

Can you provide reproduction steps?

@swift-ci
Copy link
Contributor Author

Comment by Charlie Crisp (JIRA)

I've been getting the same issue after adding the following line to my Package.swift...

.package(url: "https://github.com/IBM-Swift/Kitura-Credentials.git", .upToNextMinor(from: "2.0.0"))

@swift-ci
Copy link
Contributor Author

Comment by Jared (JIRA)

I'm working with charliecrisp (JIRA User) and also running into this.

Struggling to provide any concrete reproduction steps but looks like the repo doesn't exist in /.build/repositories and is trying to be fetched.

We run this package in a docker container but the .build folder is persisted via volumes between container creation. Could that be causing this?

@ankitspd
Copy link
Member

@swift-ci create

@ankitspd
Copy link
Member

I am not able to reproduce this and we haven't had more reports of this. Please feel free to reopen if it reproduces. SwiftPM should at least provide more information about the error now.

@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
This issue was closed.
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

3 participants