Skip to content

[SR-9155] Swift 4.2.1 compilation on macOS Mojave #51651

Open
@swift-ci

Description

@swift-ci
Previous ID SR-9155
Radar None
Original Reporter fx (JIRA User)
Type Bug
Environment

macOS 10.14.1, Xcode 10.1 and command-line tools

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

Watchers: @shahmishal

md5: 2528e50b4bde985642ba2b83eaffd9ed

Issue Description:

Latest build error observed during Homebrew testing of Swift 4.2.1 on macOS Mojave. The error is:

CMake Error at stdlib/public/core/cmake_install.cmake:36 (file):
  file INSTALL cannot find
  "/tmp/swift-20181101-47303-hu8kms/build/swift-macosx-x86_64/./lib/swift/iphoneos/armv7/Swift.swiftmodule".
Call Stack (most recent call first):
  stdlib/public/cmake_install.cmake:40 (include)
  stdlib/cmake_install.cmake:37 (include)
  cmake_install.cmake:41 (include)

The compilation command is:

/private/tmp/swift-20181101-47303-hu8kms/swift-swift-4.2.1-RELEASE/utils/build-script --release --assertions --no-swift-stdlib-assertions --build-subdir=/private/tmp/swift-20181101-47303-hu8kms/build --llbuild --swiftpm -- --workspace=/private/tmp/swift-20181101-47303-hu8kms --build-args=-j12 --install-destdir=/usr/local/Cellar/swift/4.2.1 --toolchain-prefix=/Swift-4.2.1.xctoolchain --install-prefix=/Swift-4.2.1.xctoolchain/usr --host-target=macosx-x86_64 --build-swift-static-stdlib --build-swift-dynamic-stdlib --build-swift-dynamic-sdk-overlay --build-swift-static-sdk-overlay --build-swift-stdlib-unittest-extra --install-swift --swift-install-components=compiler;clang-resource-dir-symlink;clang-builtin-headers-in-clang-resource-dir;stdlib;sdk-overlay;tools;editor-integration;testsuite-tools;toolchain-dev-tools;license;sourcekit-inproc;sourcekit-xpc-service;swift-remote-mirror;swift-remote-mirror-headers --llvm-install-components=clang;libclang;libclang-headers --install-llbuild --install-swiftpm

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.cmake

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions