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-11406] Swift build crashes with local dependency #4667

Closed
swift-ci opened this issue Aug 31, 2019 · 1 comment
Closed

[SR-11406] Swift build crashes with local dependency #4667

swift-ci opened this issue Aug 31, 2019 · 1 comment
Labels

Comments

@swift-ci
Copy link
Contributor

Previous ID SR-11406
Radar None
Original Reporter nealsid (JIRA User)
Type Bug
Status Resolved
Resolution Cannot Reproduce

Attachment: Download

Environment

testpackageswiftbuildcrash.tar.gz

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

md5: b8beaa894e25c48f1c96162545384f76

Issue Description:

I'm trying to use a local dependency in the package manager and running into a crash in swift build. I tried to debug with lldb/gdb but didn't get much useful info. Stricty for personal interest I tried rebuilding swift with debug info but ran into another error when running swift build (it complained about the Package.swift file not importing required module Foundation, but when I imported it in the Package.swift file, it gave me another error).

Anyways, to repro, you just need one package that depends on another using a .path dependency. Attaching a tarball. When I run 'swift build' in the testpackage directory, it core dumps. THanks and let me know if I can provide anything else.

Environment: Ubuntu 18.0.4 (AWS image)

Swift version 5.0.2 (swift-5.0.2-RELEASE)
Target: x86_64-unknown-linux-gnu

Nea

@ankitspd
Copy link
Member

ankitspd commented Sep 3, 2019

This was fixed a while back. You get this error now: `'file:///home/ubuntu/testpackagedep' is not a valid path for path-based dependencies; use relative or absolute path instead.`

@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