Skip to content

Build issue on nightly-6.0-amazonlinux2 #61

Closed
swiftlang/swift-corelibs-foundation
#5037
@AndrewBarba

Description

@AndrewBarba

I'm currently experiencing build issues on nightly-6.0-amazonlinux2. Appears related to the new Foundation on nightly:

/workspace/.build/checkouts/swift-http-types/Sources/HTTPTypesFoundation/HTTPRequest+URL.swift:15:8: error: no such module 'CoreFoundation'
 13 | //===----------------------------------------------------------------------===//
 14 | 
 15 | import CoreFoundation
    |        `- error: no such module 'CoreFoundation'
 16 | import Foundation
 17 | import HTTPTypes

Edit: Full command used to build

/usr/local/bin/docker run \
  --platform linux/arm64 \
  --rm \
  -v ./:/workspace \
  -w /workspace \
  swiftlang/swift:nightly-6.0-amazonlinux2 bash -cl swift build -c release -Xswiftc -Osize --static-swift-stdlib

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions