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-14594] Swift 5.4 on Linux fails to build a project while producing no errors #4424

Closed
tsolomko opened this issue May 5, 2021 · 4 comments
Labels

Comments

@tsolomko
Copy link

tsolomko commented May 5, 2021

Previous ID SR-14594
Radar rdar://problem/77558631
Original Reporter @tsolomko
Type Bug
Status Closed
Resolution Done
Environment

Ubuntu 18.04, Swift 5.4

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

md5: 53993c74b725c45cdd283ceeb4a94aa1

Issue Description:

So I am trying to build this project on Linux (Ubuntu 18.04) with Swift 5.4: https://github.com/tsolomko/SWCompression

I am using the "swift build" command. Swift successfully downloads and builds the dependency library, but then it just stops when building the project itself. It doesn't produce any output about anything going wrong even with "--verbose" option. The exit code ("echo $?") is 1 though, so something clearly goes wrong. The .build/x84_64-unknown-linux-gnu/debug/ directory contains only files related to building the dependency library.

The same thing happens when building in release mode. Previous versions of Swift successfully build the project. I am unable to provide a reduced example since I can't even tell what is the problem.

@typesanitizer
Copy link

@swift-ci create

@tomerd
Copy link
Member

tomerd commented May 7, 2021

looks like a compile error, investigating

@tomerd
Copy link
Member

tomerd commented May 7, 2021

there are two issues here: one is a compiler issue, the other is SwiftPM silently failing due to issue parsing the compiler output. both are tracked by the teams

@tsolomko
Copy link
Author

As far as I can tell this issue is fixed with Swift 5.4.1: everything builds successfully. So I am marking this issue as resolved.

@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