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

Build Error: undefined_arch

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Done
    • Component/s: None
    • Labels:
      None
    • Environment:

      OS: High Sierra 10.13.4 (17E202)

      xCode version: Xcode 10.0 (10L176w)

      Swift version: 4.2 (swiftlang-1000.0.16.7 clang-1000.10.25.3)

      Target: x86_64-apple-darwin17.5.0

       

      Description

      The build-script stops unexpectedly trying to access files in an not existing folder:

      clang: error: no such file or directory: '/Users/giuseppelanza/Developer/OpenSource/swift/build/Xcode-DebugAssert/swift-macosx-x86_64/stdlib/public/runtime/Swift.build/Debug/swiftRuntime-macosx-x86_64.build/Objects-normal/undefined_arch/AnyHashableSupport.o' clang: error: no such file or directory: '/Users/giuseppelanza/Developer/OpenSource/swift/build/Xcode-DebugAssert/swift-macosx-x86_64/stdlib/public/runtime/Swift.build/Debug/swiftRuntime-macosx-x86_64.build/Objects-normal/undefined_arch/Array.o' clang: error: no such file or directory: '/Users/giuseppelanza/Developer/OpenSource/swift/build/Xcode-DebugAssert/swift-macosx-x86_64/stdlib/public/runtime/Swift.build/Debug/swiftRuntime-macosx-x86_64.build/Objects-normal/undefined_arch/Casting.o' clang: error: no such file or directory: '/Users/giuseppelanza/Developer/OpenSource/swift/build/Xcode-DebugAssert/swift-macosx-x86_64/stdlib/public/runtime/Swift.build/Debug/swiftRuntime-macosx-x86_64.build/Objects-normal/undefined_arch/CompatibilityOverride.o' clang : error : no such file or directory: '/Users/giuseppelanza/Developer/OpenSource/swift/build/Xcode-DebugAssert/swift-macosx-x86_64/stdlib/public/runtime/Swift.build/Debug/swiftRuntime-macosx-x86_64.build/Objects-normal/undefined_arch/CygwinPort.o' clang: error : no such file or directory: '/Users/giuseppelanza/Developer/OpenSource/swift/build/Xcode-DebugAssert/swift-macosx-x86_64/stdlib/public/runtime/Swift.build/Debug/swiftRuntime-macosx-x86_64.build/Objects-normal/undefined_arch/Demangle.o' clang: error: no such file or directory: '/Users/giuseppelanza/Developer/OpenSource/swift/build/Xcode-DebugAssert/swift-macosx-x86_64/stdlib/public/runtime/Swift.build/Debug/swiftRuntime-macosx-x86_64.build/Objects-normal/undefined_arch/Enum.o' clang: error: no such file or directory: '/Users/giuseppelanza/Developer/OpenSource/swift/build/Xcode-DebugAssert/swift-macosx-x86_64/stdlib/public/runtime/Swift.build/Debug/swiftRuntime-macosx-x86_64.build/Objects-normal/undefined_arch/ErrorObjectConstants.o' clang: error: no such file or directory: '/Users/giuseppelanza/Developer/OpenSource/swift/build/Xcode-DebugAssert/swift-macosx-x86_64/stdlib/public/runtime/Swift.build/Debug/swiftRuntime-macosx-x86_64.build/Objects-normal/undefined_arch/ErrorObjectNative.o' clang: error : no such file or directory: '/Users/giuseppelanza/Developer/OpenSource/swift/build/Xcode-DebugAssert/swift-macosx-x86_64/stdlib/public/runtime/Swift.build/Debug/swiftRuntime-macosx-x86_64.build/Objects-normal/undefined_arch/Errors.o' clang: error: no such file or directory: '/Users/giuseppelanza/Developer/OpenSource/swift/build/Xcode-DebugAssert/swift-macosx-x86_64/stdlib/public/runtime/Swift.build/Debug/swiftRuntime-macosx-x86_64.build/Objects-normal/undefined_arch/ErrorDefaultImpls.o' clang: error : no such file or directory: '/Users/giuseppelanza/Developer/OpenSource/swift/build/Xcode-DebugAssert/swift-macosx-x86_64/stdlib/public/runtime/Swift.build/Debug/swiftRuntime-macosx-x86_64.build/Objects-normal/undefined_arch/Exclusivity.o' clang: error: no such file or directory: '/Users/giuseppelanza/Developer/OpenSource/swift/build/Xcode-DebugAssert/swift-macosx-x86_64/stdlib/public/runtime/Swift.build/Debug/swiftRuntime-macosx-x86_64.build/Objects-normal/undefined_arch/ExistentialContainer.o' clang: error: no such file or directory: '/Users/giuseppelanza/Developer/OpenSource/swift/build/Xcode-DebugAssert/swift-macosx-x86_64/stdlib/public/runtime/Swift.build/Debug/swiftRuntime-macosx-x86_64.build/Objects-normal/undefined_arch/Heap.o' clang: error: no such file or directory: '/Users/giuseppelanza/Developer/OpenSource/swift/build/Xcode-DebugAssert/swift-macosx-x86_64/stdlib/public/runtime/Swift.build/Debug/swiftRuntime-macosx-x86_64.build/Objects-normal/undefined_arch/HeapObject.o' clang: error: no such file or directory: '/Users/giuseppelanza/Developer/OpenSource/swift/build/Xcode-DebugAssert/swift-macosx-x86_64/stdlib/public/runtime/Swift.build/Debug/swiftRuntime-macosx-x86_64.build/Objects-normal/undefined_arch/ImageInspectionMachO.o' clang: error : no such file or directory: '/Users/giuseppelanza/Developer/OpenSource/swift/build/Xcode-DebugAssert/swift-macosx-x86_64/stdlib/public/runtime/Swift.build/Debug/swiftRuntime-macosx-x86_64.build/Objects-normal/undefined_arch/ImageInspectionELF.o' clang: error: no such file or directory: '/Users/giuseppelanza/Developer/OpenSource/swift/build/Xcode-DebugAssert/swift-macosx-x86_64/stdlib/public/runtime/Swift.build/Debug/swiftRuntime-macosx-x86_64.build/Objects-normal/undefined_arch/ImageInspectionCOFF.o' clang: error : no such file or directory: '/Users/giuseppelanza/Developer/OpenSource/swift/build/Xcode-DebugAssert/swift-macosx-x86_64/stdlib/public/runtime/Swift.build/Debug/swiftRuntime-macosx-x86_64.build/Objects-normal/undefined_arch/KnownMetadata.o' clang: error: no such file or directory: '/Users/giuseppelanza/Developer/OpenSource/swift/build/Xcode-DebugAssert/swift-macosx-x86_64/stdlib/public/runtime/Swift.build/Debug/swiftRuntime-macosx-x86_64.build/Objects-normal/undefined_arch/Metadata.o' clang: error: no such file or directory: '/Users/giuseppelanza/Developer/OpenSource/swift/build/Xcode-DebugAssert/swift-macosx-x86_64/stdlib/public/runtime/Swift.build/Debug/swiftRuntime-macosx-x86_64.build/Objects-normal/undefined_arch/MetadataLookup.o' clang: error: no such file or directory: '/Users/giuseppelanza/Developer/OpenSource/swift/build/Xcode-DebugAssert/swift-macosx-x86_64/stdlib/public/runtime/Swift.build/Debug/swiftRuntime-macosx-x86_64.build/Objects-normal/undefined_arch/MutexPThread.o' clang: error: no such file or directory: '/Users/giuseppelanza/Developer/OpenSource/swift/build/Xcode-DebugAssert/swift-macosx-x86_64/stdlib/public/runtime/Swift.build/Debug/swiftRuntime-macosx-x86_64.build/Objects-normal/undefined_arch/MutexWin32.o' clang: error: no such file or directory: '/Users/giuseppelanza/Developer/OpenSource/swift/build/Xcode-DebugAssert/swift-macosx-x86_64/stdlib/public/runtime/Swift.build/Debug/swiftRuntime-macosx-x86_64.build/Objects-normal/undefined_arch/Once.o' clang: error: no such file or directory: '/Users/giuseppelanza/Developer/OpenSource/swift/build/Xcode-DebugAssert/swift-macosx-x86_64/stdlib/public/runtime/Swift.build/Debug/swiftRuntime-macosx-x86_64.build/Objects-normal/undefined_arch/Portability.o' clang : error: no such file or directory: '/Users/giuseppelanza/Developer/OpenSource/swift/build/Xcode-DebugAssert/swift-macosx-x86_64/stdlib/public/runtime/Swift.build/Debug/swiftRuntime-macosx-x86_64.build/Objects-normal/undefined_arch/ProtocolConformance.o' clang: error : no such file or directory: '/Users/giuseppelanza/Developer/OpenSource/swift/build/Xcode-DebugAssert/swift-macosx-x86_64/stdlib/public/runtime/Swift.build/Debug/swiftRuntime-macosx-x86_64.build/Objects-normal/undefined_arch/RefCount.o' clang: error: no such file or directory: '/Users/giuseppelanza/Developer/OpenSource/swift/build/Xcode-DebugAssert/swift-macosx-x86_64/stdlib/public/runtime/Swift.build/Debug/swiftRuntime-macosx-x86_64.build/Objects-normal/undefined_arch/RuntimeInvocationsTracking.o' clang: error: no such file or directory: '/Users/giuseppelanza/Developer/OpenSource/swift/build/Xcode-DebugAssert/swift-macosx-x86_64/stdlib/public/runtime/Swift.build/Debug/swiftRuntime-macosx-x86_64.build/Objects-normal/undefined_arch/SwiftDtoa.o' clang: error: no such file or directory: '/Users/giuseppelanza/Developer/OpenSource/swift/build/Xcode-DebugAssert/swift-macosx-x86_64/stdlib/public/runtime/Swift.build/Debug/swiftRuntime-macosx-x86_64.build/Objects-normal/undefined_arch/OldDemangler.o' clang: error : no such file or directory: '/Users/giuseppelanza/Developer/OpenSource/swift/build/Xcode-DebugAssert/swift-macosx-x86_64/stdlib/public/runtime/Swift.build/Debug/swiftRuntime-macosx-x86_64.build/Objects-normal/undefined_arch/Demangler.o' clang: error : no such file or directory: '/Users/giuseppelanza/Developer/OpenSource/swift/build/Xcode-DebugAssert/swift-macosx-x86_64/stdlib/public/runtime/Swift.build/Debug/swiftRuntime-macosx-x86_64.build/Objects-normal/undefined_arch/NodePrinter.o' clang: error : no such file or directory: '/Users/giuseppelanza/Developer/OpenSource/swift/build/Xcode-DebugAssert/swift-macosx-x86_64/stdlib/public/runtime/Swift.build/Debug/swiftRuntime-macosx-x86_64.build/Objects-normal/undefined_arch/Context.o' clang: error: no such file or directory: '/Users/giuseppelanza/Developer/OpenSource/swift/build/Xcode-DebugAssert/swift-macosx-x86_64/stdlib/public/runtime/Swift.build/Debug/swiftRuntime-macosx-x86_64.build/Objects-normal/undefined_arch/ManglingUtils.o' clang: error: no such file or directory: '/Users/giuseppelanza/Developer/OpenSource/swift/build/Xcode-DebugAssert/swift-macosx-x86_64/stdlib/public/runtime/Swift.build/Debug/swiftRuntime-macosx-x86_64.build/Objects-normal/undefined_arch/Punycode.o' clang: error : no such file or directory: '/Users/giuseppelanza/Developer/OpenSource/swift/build/Xcode-DebugAssert/swift-macosx-x86_64/stdlib/public/runtime/Swift.build/Debug/swiftRuntime-macosx-x86_64.build/Objects-normal/undefined_arch/NodeDumper.o' clang: error: no such file or directory: '/Users/giuseppelanza/Developer/OpenSource/swift/build/Xcode-DebugAssert/swift-macosx-x86_64/stdlib/public/runtime/Swift.build/Debug/swiftRuntime-macosx-x86_64.build/Objects-normal/undefined_arch/ErrorObject.o' clang: error: no such file or directory: '/Users/giuseppelanza/Developer/OpenSource/swift/build/Xcode-DebugAssert/swift-macosx-x86_64/stdlib/public/runtime/Swift.build/Debug/swiftRuntime-macosx-x86_64.build/Objects-normal/undefined_arch/SwiftObject.o' clang: error: no such file or directory: '/Users/giuseppelanza/Developer/OpenSource/swift/build/Xcode-DebugAssert/swift-macosx-x86_64/stdlib/public/runtime/Swift.build/Debug/swiftRuntime-macosx-x86_64.build/Objects-normal/undefined_arch/SwiftValue.o' clang: error: no such file or directory: '/Users/giuseppelanza/Developer/OpenSource/swift/build/Xcode-DebugAssert/swift-macosx-x86_64/stdlib/public/runtime/Swift.build/Debug/swiftRuntime-macosx-x86_64.build/Objects-normal/undefined_arch/ReflectionMirror.o' clang: error: no such file or directory: '/Users/giuseppelanza/Developer/OpenSource/swift/build/Xcode-DebugAssert/swift-macosx-x86_64/stdlib/public/runtime/Swift.build/Debug/swiftRuntime-macosx-x86_64.build/Objects-normal/undefined_arch/OldRemangler.o' clang: error: no such file or directory: '/Users/giuseppelanza/Developer/OpenSource/swift/build/Xcode-DebugAssert/swift-macosx-x86_64/stdlib/public/runtime/Swift.build/Debug/swiftRuntime-macosx-x86_64.build/Objects-normal/undefined_arch/Remangler.o' clang: error : no such file or directory: '/Users/giuseppelanza/Developer/OpenSource/swift/build/Xcode-DebugAssert/swift-macosx-x86_64/stdlib/public/runtime/Swift.build/Debug/swiftRuntime-macosx-x86_64.build/Objects-normal/undefined_arch/TypeDecoder.o' clang: error : no such file or directory: '/Users/giuseppelanza/Developer/OpenSource/swift/build/Xcode-DebugAssert/swift-macosx-x86_64/stdlib/public/runtime/Swift.build/Debug/swiftRuntime-macosx-x86_64.build/Objects-normal/undefined_arch/dummy.o' clang: error: no such file or directory: '/Users/giuseppelanza/Developer/OpenSource/swift/build/Xcode-DebugAssert/swift-macosx-x86_64/stdlib/public/stubs/Swift.build/Debug/swiftStdlibStubs-macosx-x86_64.build/Objects-normal/undefined_arch/Assert.o' clang: error: no such file or directory: '/Users/giuseppelanza/Developer/OpenSource/swift/build/Xcode-DebugAssert/swift-macosx-x86_64/stdlib/public/stubs/Swift.build/Debug/swiftStdlibStubs-macosx-x86_64.build/Objects-normal/undefined_arch/CommandLine.o' clang: error: no such file or directory: '/Users/giuseppelanza/Developer/OpenSource/swift/build/Xcode-DebugAssert/swift-macosx-x86_64/stdlib/public/stubs/Swift.build/Debug/swiftStdlibStubs-macosx-x86_64.build/Objects-normal/undefined_arch/GlobalObjects.o' clang: error: no such file or directory: '/Users/giuseppelanza/Developer/OpenSource/swift/build/Xcode-DebugAssert/swift-macosx-x86_64/stdlib/public/stubs/Swift.build/Debug/swiftStdlibStubs-macosx-x86_64.build/Objects-normal/undefined_arch/KeyPaths.o' clang: error: no such file or directory: '/Users/giuseppelanza/Developer/OpenSource/swift/build/Xcode-DebugAssert/swift-macosx-x86_64/stdlib/public/stubs/Swift.build/Debug/swiftStdlibStubs-macosx-x86_64.build/Objects-normal/undefined_arch/LibcShims.o' clang: error: no such file or directory: '/Users/giuseppelanza/Developer/OpenSource/swift/build/Xcode-DebugAssert/swift-macosx-x86_64/stdlib/public/stubs/Swift.build/Debug/swiftStdlibStubs-macosx-x86_64.build/Objects-normal/undefined_arch/Stubs.o' clang: error: no such file or directory: '/Users/giuseppelanza/Developer/OpenSource/swift/build/Xcode-DebugAssert/swift-macosx-x86_64/stdlib/public/stubs/Swift.build/Debug/swiftStdlibStubs-macosx-x86_64.build/Objects-normal/undefined_arch/MathStubs.o' clang: error: no such file or directory: '/Users/giuseppelanza/Developer/OpenSource/swift/build/Xcode-DebugAssert/swift-macosx-x86_64/stdlib/public/stubs/Swift.build/Debug/swiftStdlibStubs-macosx-x86_64.build/Objects-normal/undefined_arch/Availability.o' clang: error : no such file or directory: '/Users/giuseppelanza/Developer/OpenSource/swift/build/Xcode-DebugAssert/swift-macosx-x86_64/stdlib/public/stubs/Swift.build/Debug/swiftStdlibStubs-macosx-x86_64.build/Objects-normal/undefined_arch/FoundationHelpers.o' clang: error: no such file or directory: '/Users/giuseppelanza/Developer/OpenSource/swift/build/Xcode-DebugAssert/swift-macosx-x86_64/stdlib/public/stubs/Swift.build/Debug/swiftStdlibStubs-macosx-x86_64.build/Objects-normal/undefined_arch/OptionalBridgingHelper.o' clang: error: no such file or directory: '/Users/giuseppelanza/Developer/OpenSource/swift/build/Xcode-DebugAssert/swift-macosx-x86_64/stdlib/public/stubs/Swift.build/Debug/swiftStdlibStubs-macosx-x86_64.build/Objects-normal/undefined_arch/Reflection.o' clang: error: no such file or directory: '/Users/giuseppelanza/Developer/OpenSource/swift/build/Xcode-DebugAssert/swift-macosx-x86_64/stdlib/public/stubs/Swift.build/Debug/swiftStdlibStubs-macosx-x86_64.build/Objects-normal/undefined_arch/SwiftNativeNSXXXBaseARC.o' clang : error: no such file or directory: '/Users/giuseppelanza/Developer/OpenSource/swift/build/Xcode-DebugAssert/swift-macosx-x86_64/stdlib/public/stubs/Swift.build/Debug/swiftStdlibStubs-macosx-x86_64.build/Objects-normal/undefined_arch/SwiftNativeNSXXXBase.o' clang: error: no such file or directory: '/Users/giuseppelanza/Developer/OpenSource/swift/build/Xcode-DebugAssert/swift-macosx-x86_64/stdlib/public/stubs/Swift.build/Debug/swiftStdlibStubs-macosx-x86_64.build/Objects-normal/undefined_arch/UnicodeNormalization.o' clang: error: no such file or directory: '/Users/giuseppelanza/Developer/OpenSource/swift/build/Xcode-DebugAssert/swift-macosx-x86_64/stdlib/public/stubs/Swift.build/Debug/swiftStdlibStubs-macosx-x86_64.build/Objects-normal/undefined_arch/dummy.o' PhaseScriptExecution CMake\ Rules /Users/giuseppelanza/Developer/OpenSource/swift/build/Xcode-DebugAssert/swift-macosx-x86_64/stdlib/public/SDK/Dispatch/Swift.build/Debug/swiftDispatch-swiftmodule-macosx-x86_64.build/Script-2C9A7771D0E948BB90A7CF13.sh (in target: swiftDispatch-swiftmodule-macosx-x86_64) cd /Users/giuseppelanza/Developer/OpenSource/swift/swift /bin/sh -c /Users/giuseppelanza/Developer/OpenSource/swift/build/Xcode-DebugAssert/swift-macosx-x86_64/stdlib/public/SDK/Dispatch/Swift.build/Debug/swiftDispatch-swiftmodule-macosx-x86_64.build/Script-2C9A7771D0E948BB90A7CF13.sh ** BUILD FAILED ** The following build commands failed: Ld /Users/giuseppelanza/Developer/OpenSource/swift/build/Xcode-DebugAssert/swift-macosx-x86_64/Debug/lib/swift/macosx/x86_64/libswiftCore.dylib normal x86_64 (1 failure) ./utils/build-script: fatal error: command terminated with a non-zero exit status 65, aborting 

      Apparently in this phase the builder is trying to access the folder at  

      {PATH}/swift/build/Xcode-DebugAssert/swift-macosx-x86_64/stdlib/public/stubs/Swift.build/Debug/swiftStdlibStubs-macosx-x86_64.build/Objects-normal/undefined_arch/

      which does not exist.

      Navigating to the path .../Objects-normal/ I can see that the folder named with the proper architecture exists.

       

      Command issued to trigger the build:

      /utils/build-script --debug --xcode

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              GLanza Giuseppe Lanza
              Votes:
              2 Vote for this issue
              Watchers:
              16 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: