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-10998] Build-script error with --release-debuginfo --debug-swift --xcode #53388

Closed
swift-ci opened this issue Jun 23, 2019 · 4 comments
Closed
Assignees
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself

Comments

@swift-ci
Copy link
Collaborator

swift-ci commented Jun 23, 2019

Previous ID SR-10998
Radar None
Original Reporter owenvoorhees (JIRA User)
Type Bug
Status Resolved
Resolution Done
Environment

macOS: 10.15 Beta (19A487l)

Xcode: 11.0 beta 2 (11M337n)

Clean checkout of master from 6/21, swift commit 17d65dc

Additional Detail from JIRA
Votes 1
Component/s Compiler, Project Infrastructure
Labels Bug
Assignee @belkadan
Priority Medium

md5: 10ffa1909eeee03ebdfb4c64aa1b3057

Issue Description:

For the past few days, I've been unable to do a clean build of the compiler using Xcode. It gets all of the way to the end of the LLVM build step, and then fails saying it can't find clang. The relevant output is pasted below:

=== BUILD AGGREGATE TARGET ALL_BUILD OF PROJECT LLVM WITH CONFIGURATION RelWithDebInfo ===
Check dependenciesPhaseScriptExecution CMake\ Rules /Users/owenvoorhees/Documents/Development/swift-source/build/Xcode-RelWithDebInfoAssert+swift-DebugAssert/llvm-macosx-x86_64/LLVM.build/RelWithDebInfo/ALL_BUILD.build/Script-B5BE8A1AC3E94E98A51D14AF.sh
 cd /Users/owenvoorhees/Documents/Development/swift-source/llvm
 /bin/sh -c /Users/owenvoorhees/Documents/Development/swift-source/build/Xcode-RelWithDebInfoAssert+swift-DebugAssert/llvm-macosx-x86_64/LLVM.build/RelWithDebInfo/ALL_BUILD.build/Script-B5BE8A1AC3E94E98A51D14AF.sh
 echo ""echo Build\ all\ projects
 Build all projects

** BUILD SUCCEEDED **
ls: /Users/owenvoorhees/Documents/Development/swift-source/build/Xcode-RelWithDebInfoAssert+swift-DebugAssert/llvm-macosx-x86_64/lib/clang: No such file or directory
 ./utils/build-script: fatal error: command terminated with a non-zero exit status 1, aborting

This is after invoking build script like this:

./utils/build-script --release-debuginfo --debug-swift --xcode
@belkadan
Copy link
Contributor

@hyp, I think this is your recent compiler-rt change—it needs to account for Xcode builds, which have an extra path component for the build configuration.

@belkadan
Copy link
Contributor

Owen, if I'm correct about this, you should be able to locally revert e11e127 and d66caf0 to make progress.

@belkadan
Copy link
Contributor

#25769

@belkadan
Copy link
Contributor

5.1: #25774

@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. compiler The Swift compiler in itself
Projects
None yet
Development

No branches or pull requests

2 participants