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-5592] swift build
fails on Xcode 9 beta 4
#4972
Comments
@aciidb0mb3r, this sounds like the sandbox thing? |
@belkadan Yeah, looks like it. kzaher (JIRA User) can you please try the latest snapshot from Swift.org and check if that fixes your issue? |
Comment by Krunoslav Zaher (JIRA) @aciidb0mb3r Are you sure this is duplicate of SR-5061? It says this was resolved 19 Jul 2017 12:26 AM but the issue is reproducible on https://swift.org/builds/swift-4.0-branch/ubuntu1610/swift-4.0-DEVELOPMENT-SNAPSHOT-2017-07-28-a/swift-4.0-DEVELOPMENT-SNAPSHOT-2017-07-28-a-ubuntu16.10.tar.gz and it has a different error message. |
The difference is message is because swift.org are assertion enabled builds. Thanks for checking with the 07/28 toolchain. I'll investigate. |
@swift-ci create |
Comment by Krunoslav Zaher (JIRA) @aciidb0mb3r Oh, sorry, it works with https://swift.org/builds/swift-4.0-branch/ubuntu1610/swift-4.0-DEVELOPMENT-SNAPSHOT-2017-07-28-a/swift-4.0-DEVELOPMENT-SNAPSHOT-2017-07-28-a-ubuntu16.10.tar.gz I've had some older snapshot. Thnx |
kzaher (JIRA User) I can't reproduce this issue with latest snapshot (swift-DEVELOPMENT-SNAPSHOT-2017-07-30-a-osx). You provided link to the linux snapshot, are you seeing this on linux as well? Also, please attach a verbose log (`swift build -v`). |
Ah, great. Thanks! |
Attachment: Download
Environment
Xcode 9 beta 4
macOS 10.12.5 (16F73)
Additional Detail from JIRA
md5: 9d71158f3c85894140ba0ecdc685907e
duplicates:
Issue Description:
STR:
Create target containing 200 empty files.
```
mkdir -p Sources/A; for i in {1..200}; do touch Sources/A/$i.swift ;
```
Package.swift
```
import PackageDescription
let package = Package(
name: "A",
targets: [Target(name: "A")]
)
```
Result:
`swift build` command fails with
```
Compile Swift Module 'A' (200 sources)
LLVM ERROR: IO failure on output stream.
```
Expected result:
Compiler shouldn't crash.
I've attached zip file also.
The text was updated successfully, but these errors were encountered: