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-5911] utils/build-script regression #48470

Closed
davezarzycki opened this issue Sep 17, 2017 · 8 comments
Closed

[SR-5911] utils/build-script regression #48470

davezarzycki opened this issue Sep 17, 2017 · 8 comments
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. build-script Area → utils: The build script compiler The Swift compiler in itself

Comments

@davezarzycki
Copy link
Collaborator

Previous ID SR-5911
Radar rdar://problem/34526897
Original Reporter @davezarzycki
Type Bug
Status Closed
Resolution Done
Environment

macOS 17A362a; Xcode 9A235

Additional Detail from JIRA
Votes 0
Component/s Compiler
Labels Bug, BuildScript
Assignee Rostepher (JIRA)
Priority Medium

md5: 1e62d93d31d86fecebd759c2f56bc141

Issue Description:

PR#11952 broke my "quick debug build" script. It now fails with this error:

'/Volumes/data/wt/swift/master/swift/tools/SwiftSyntax/swiftFoundation-swiftmodule-macosx-x86_64', needed by 'tools/SwiftSyntax/macosx/x86_64/SwiftSyntax.o', missing and no known rule to make it

Here is the script:

#!/bin/sh

time nice ./utils/build-script \
    --build-subdir="$(dirname $PWD)/d" \
    --llvm-targets-to-build X86 \
    --skip-ios --skip-tvos --skip-watchos \
    --skip-build-benchmarks true \
    --build-swift-static-stdlib false \
    --build-swift-static-sdk-overlay false \
    --build-swift-dynamic-sdk-overlay false \
    --build-swift-stdlib-unittest-extra false \
    -r \
    --debug-swift \
    --debug-swift-stdlib \
    "$@"
@swift-ci
Copy link
Collaborator

Comment by Ross Bayer (JIRA)

I'll take a look at this today. I'm not sure exactly why my changes from Friday would have caused this kind of regression, might be a sign of a deeper problem with how SwiftSyntax builds.

@swift-ci
Copy link
Collaborator

Comment by Ross Bayer (JIRA)

I'm pretty sure I tracked down the source of this error, I should have a PR to fix this issue in the morning. Thanks for being patient!

@davezarzycki
Copy link
Collaborator Author

Thanks for looking into this so quickly :-)

@swift-ci
Copy link
Collaborator

Comment by Ross Bayer (JIRA)

I've opened a PR to resolve this issue: #12005

@swift-ci
Copy link
Collaborator

Comment by Ross Bayer (JIRA)

@swift-ci create

@davezarzycki
Copy link
Collaborator Author

Pull request 12005 was merged. I think we can close this, right?

@davezarzycki
Copy link
Collaborator Author

Ping. I think we can close this, right?

@swift-ci
Copy link
Collaborator

Comment by Ross Bayer (JIRA)

This issue has been resolved. Closing.

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. build-script Area → utils: The build script compiler The Swift compiler in itself
Projects
None yet
Development

No branches or pull requests

2 participants