Skip to content

[SR-3919] SourceKit building failure on LFS #46504

Closed
@swift-ci

Description

@swift-ci
Previous ID SR-3919
Radar None
Original Reporter Vladislav (JIRA User)
Type Bug
Status Resolved
Resolution Done
Environment

Linux ved-hp-lfs6 4.9.9 #1 SMP Thu Feb 9 19:33:01 MSK 2017 x86_64 GNU/Linux

Additional Detail from JIRA
Votes 1
Component/s
Labels Bug, BuildScript, Linux
Assignee None
Priority Medium

md5: 521e8e2d46bce4b2d37ff7c3f1cf1b9f

Issue Description:

I use standard command to build Swift on Linux From Scratch:

ved [ /mnt/swift/swift-source/swift ]$ utils/build-script --preset=buildbot_linux install_destdir=/mnt/swift/lfs installable_package=/mnt/swift/lfs/swift.tar.gz

And got the error:

CoreFoundation/Collections.subproj/CFBasicHash.c:14:10: fatal error: 'Block.h' file not found
#include <Block.h>

The workaround is to create the symlink from compiler-rt/lib/BlocksRuntime/Block.h to /usr/Include but it is not good.

Metadata

Metadata

Assignees

No one assigned

    Labels

    LinuxPlatform: LinuxbugA deviation from expected or documented behavior. Also: expected but undesirable behavior.build-scriptArea → utils: The build scriptutilsArea: the build system and other accessory scripts under the "utils" directory

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions