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-7662] Building foundation on Linux failes with 'Block.h' file not found in CFInternal.h:96 #3705

Closed
swift-ci opened this issue May 11, 2018 · 2 comments

Comments

@swift-ci
Copy link
Contributor

Previous ID SR-7662
Radar None
Original Reporter andreasw (JIRA User)
Type Bug
Status Closed
Resolution Done
Environment

Ubuntu 17.10

Swift version 4.2-dev (LLVM ab46ecfd93, Clang ed8876508e, Swift 867ffdd16c)
Target: x86_64-unknown-linux-gnu

Additional Detail from JIRA
Votes 0
Component/s Foundation
Labels Bug
Assignee None
Priority Medium

md5: 81b4a48dbe028965eeff89b5fcb73dfa

Issue Description:

Command to build:

./utils/build-script --release --no-assertions --foundation

Error:

In file included from CoreFoundation/Collections.subproj/CFArray.c:13:
../build/Ninja-Release/foundation-linux-x86_64/Foundation/usr//lib/swift/CoreFoundation/CFInternal.h:96:10: fatal error: 'Block.h' file not found
#include <Block.h>
^~~~~~~~~

@belkadan
Copy link

Did you remember to install libblocksruntime-dev?

@swift-ci
Copy link
Contributor Author

Comment by Andreas Wendleder (JIRA)

No. Thanks.

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 5, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants