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'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
The text was updated successfully, but these errors were encountered:
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.`
Attachment: Download
Environment
testpackageswiftbuildcrash.tar.gz
Additional Detail from JIRA
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
The text was updated successfully, but these errors were encountered: