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-12339] 5.2 Product dependency not found building error #4576

Closed
swift-ci opened this issue Mar 10, 2020 · 1 comment
Closed

[SR-12339] 5.2 Product dependency not found building error #4576

swift-ci opened this issue Mar 10, 2020 · 1 comment
Labels

Comments

@swift-ci
Copy link
Contributor

Previous ID SR-12339
Radar None
Original Reporter ltwyd (JIRA User)
Type Bug
Status Closed
Resolution Done
Environment

Not working: Ubuntu, 5.2-DEVELOPMENT-SNAPSHOT-2020-03-07-a

Working: macOS, Xcode 11.4 Beta 3

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

md5: 47eaa20471cae2ab0fafefe2fe7cfe5a

Issue Description:

Hi,

with newer 5.2 toolchains a package doesn't build anymore. It errors with:

'redis-kit' /home/a/Schreibtisch/redis-kit: error: product dependency 'RediStackTestUtils' in package 'swift-redi-stack' not found
'redis-kit' /home/a/Schreibtisch/redis-kit: error: product dependency 'RediStack' in package 'swift-redi-stack' not found

See https://github.com/vapor/redis-kit/blob/master/Package.swift

It can be fixed like this https://github.com/saicu/redis-kit/commit/d0bfe9e5cf93057e59bcab96d943dc9cc6f96ea4

On macOS it still builds fine without the fix.

Seems to be related that the package name and url of the dependency don't match (redi-stack / https://gitlab.com/mordil/swift-redi-stack.git).

Would be great if you could clarify which one is correct/buggy here.

@ankitspd
Copy link
Member

This was fixed here f2318da

The correct behavior is that you need to use the package name as you did in https://github.com/saicu/redis-kit/commit/d0bfe9e5cf93057e59bcab96d943dc9cc6f96ea4

@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

2 participants