Uploaded image for project: 'Swift'
  1. Swift
  2. SR-9325

build failure on Amazon Linux June 2018 AMI

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Medium
    • Resolution: Unresolved
    • Component/s: Project Infrastructure
    • Labels:
      None
    • Environment:

      x86_64

       

       

      Description

      [ec2-user@ip-172-16-179-22 swift]$ ./utils/build-script -R   
      ./utils/build-script: note: Using toolchain default
      which: no ninja in (/home/ec2-user/swift/cmake-3.13.0-Linux-x86_64/bin:/home/ec2-user/.local/bin:/home/ec2-user/bin:/home/ec2-user/swift:/home/ec2-user/swift/build/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/ec2-user/.local/bin:/home/ec2-user/bin:/home/ec2-user/.local/bin:/home/ec2-user/bin:/home/ec2-user/swift:/home/ec2-user/swift/build/bin)
      which: no ninja-build in (/home/ec2-user/swift/cmake-3.13.0-Linux-x86_64/bin:/home/ec2-user/.local/bin:/home/ec2-user/bin:/home/ec2-user/swift:/home/ec2-user/swift/build/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/ec2-user/.local/bin:/home/ec2-user/bin:/home/ec2-user/.local/bin:/home/ec2-user/bin:/home/ec2-user/swift:/home/ec2-user/swift/build/bin)
      + mkdir -p /home/ec2-user/swift/build/Ninja-ReleaseAssert
      + env HOST_VARIABLE_linux_x86_64__SWIFT_BENCHMARK_TARGETS= HOST_VARIABLE_linux_x86_64__SWIFT_RUN_BENCHMARK_TARGETS= HOST_VARIABLE_linux_x86_64__SWIFT_SDKS=LINUX HOST_VARIABLE_linux_x86_64__SWIFT_STDLIB_TARGETS=swift-test-stdlib-linux-x86_64 HOST_VARIABLE_linux_x86_64__SWIFT_TEST_TARGETS= /home/ec2-user/swift/swift/utils/build-script-impl --workspace /home/ec2-user/swift --build-dir /home/ec2-user/swift/build/Ninja-ReleaseAssert --install-prefix /usr --host-target linux-x86_64 --stdlib-deployment-targets linux-x86_64 --host-cc /home/ec2-user/swift/build/bin/clang --host-cxx /home/ec2-user/swift/build/bin/clang++ --darwin-xcrun-toolchain default --darwin-deployment-version-osx=10.9 --darwin-deployment-version-ios=7.0 --darwin-deployment-version-tvos=9.0 --darwin-deployment-version-watchos=2.0 --cmake /home/ec2-user/swift/cmake-3.13.0-Linux-x86_64/bin/cmake --cmark-build-type Release --llvm-build-type Release --swift-build-type Release --swift-stdlib-build-type Release --lldb-build-type Release --lldb-build-with-xcode 1 --foundation-build-type Release --libdispatch-build-type Release --libicu-build-type Release --xctest-build-type Release --swiftpm-build-type Release --swiftsyntax-build-type Release --skstresstester-build-type Release --llbuild-build-type Release --swift-enable-assertions true --swift-stdlib-enable-assertions true --swift-analyze-code-coverage false --llbuild-enable-assertions true --lldb-assertions true --cmake-generator Ninja --build-jobs 16 '--common-cmake-options=-G Ninja -DCMAKE_C_COMPILER:PATH=/home/ec2-user/swift/build/bin/clang -DCMAKE_CXX_COMPILER:PATH=/home/ec2-user/swift/build/bin/clang++ -DCMAKE_LIBTOOL:PATH=/usr/bin/libtool -DLLVM_VERSION_MAJOR:STRING=7 -DLLVM_VERSION_MINOR:STRING=0 -DLLVM_VERSION_PATCH:STRING=0 -DCLANG_VERSION_MAJOR:STRING=7 -DCLANG_VERSION_MINOR:STRING=0 -DCLANG_VERSION_PATCH:STRING=0 -DCMAKE_MAKE_PROGRAM=/home/ec2-user/swift/build/Ninja-ReleaseAssert/ninja-build/ninja' --build-args=-j16 --cmark-cmake-options= '--llvm-cmake-options=-DLLVM_ENABLE_ASSERTIONS=TRUE -DLLVM_TARGETS_TO_BUILD=X86;ARM;AArch64;PowerPC;SystemZ;Mips' '--swift-cmake-options=-DSWIFT_STDLIB_ENABLE_SIL_OWNERSHIP=FALSE -DSWIFT_ENABLE_GUARANTEED_NORMAL_ARGUMENTS=TRUE -DCMAKE_EXPORT_COMPILE_COMMANDS=TRUE -DSWIFT_FORCE_OPTIMIZED_TYPECHECKER=FALSE -DSWIFT_STDLIB_ENABLE_STDLIBCORE_EXCLUSIVITY_CHECKING=FALSE' --build-stdlib-deployment-targets all --ninja-bin=/home/ec2-user/swift/build/Ninja-ReleaseAssert/ninja-build/ninja --skip-build-foundation --skip-build-xctest --skip-build-lldb --skip-build-llbuild --skip-build-libdispatch --skip-build-libicu --skip-build-swiftpm --skip-build-swiftsyntax --skip-build-skstresstester --skip-build-playgroundsupport --build-swift-dynamic-stdlib --build-swift-dynamic-sdk-overlay --skip-build-ios-device --skip-build-ios-simulator --skip-build-tvos-device --skip-build-tvos-simulator --skip-build-watchos-device --skip-build-watchos-simulator --skip-build-android --skip-test-swift --skip-test-cmark --skip-test-lldb --skip-test-llbuild --skip-test-swiftpm --skip-test-swiftsyntax --skip-test-skstresstester --skip-test-xctest --skip-test-foundation --skip-test-libdispatch --skip-test-libicu --skip-test-playgroundsupport --skip-test-linux --skip-test-freebsd --skip-test-cygwin --skip-test-osx --skip-test-ios-host --skip-test-ios-simulator --skip-test-tvos-host --skip-test-tvos-simulator --skip-test-watchos-host --skip-test-watchos-simulator --skip-test-android-host --skip-test-benchmarks --skip-test-optimized --skip-test-optimize-for-size --android-deploy-device-path /data/local/tmp --host-libtool /usr/bin/libtool --llvm-lit-args=-sv
      Building the standard library for: swift-test-stdlib-linux-x86_64
      + /home/ec2-user/swift/cmake-3.13.0-Linux-x86_64/bin/cmake --build /home/ec2-user/swift/build/Ninja-ReleaseAssert/cmark-linux-x86_64 -- -j16 all
      ninja: no work to do.
      symlinking the system headers (/usr/include/c++) into the local clang build directory (/home/ec2-user/swift/build/Ninja-ReleaseAssert/llvm-linux-x86_64/include).
      + ln -s -f /usr/include/c++ /home/ec2-user/swift/build/Ninja-ReleaseAssert/llvm-linux-x86_64/include
      + /home/ec2-user/swift/cmake-3.13.0-Linux-x86_64/bin/cmake --build /home/ec2-user/swift/build/Ninja-ReleaseAssert/llvm-linux-x86_64 -- -j16 all
      ninja: no work to do.
      + /home/ec2-user/swift/cmake-3.13.0-Linux-x86_64/bin/cmake --build /home/ec2-user/swift/build/Ninja-ReleaseAssert/swift-linux-x86_64 -- -j16 all swift-test-stdlib-linux-x86_64
      ninja: error: '/home/ec2-user/swift/build/Ninja-ReleaseAssert/llvm-linux-x86_64/lib/libclangAPINotes.a', needed by 'bin/swift', missing and no known rule to make it
      ./utils/build-script: fatal error: command terminated with a non-zero exit status 1, aborting
      

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            johanatan Jonathan Leonard
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: