[swift-users] Error building Swift
Brandon Knope
bknope at me.com
Fri Feb 19 17:03:30 CST 2016
I built with the -x flag and it still had errors:
“
make: *** [swift-benchmark-macosx-x86_64_buildpart_0] Error 1
** BUILD FAILED **
The following build commands failed:
PhaseScriptExecution CMake\ Rules /Users/bknope/Documents/Development/HomeDev/SwiftOpenSource/Git/build/Xcode-DebugAssert/swift-macosx-x86_64/Swift.build/Debug/xcode_generate_for_ide_only_dummy.build/Script-19AF2BBC53484AC9B43441A2.sh
CompileC /Users/bknope/Documents/Development/HomeDev/SwiftOpenSource/Git/build/Xcode-DebugAssert/swift-macosx-x86_64/lib/ClangImporter/Swift.build/Debug/swiftClangImporter.build/Objects-normal/x86_64/ImportDecl.o lib/ClangImporter/ImportDecl.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
Libtool /Users/bknope/Documents/Development/HomeDev/SwiftOpenSource/Git/build/Xcode-DebugAssert/swift-macosx-x86_64/Debug/lib/libswiftClangImporter.a normal x86_64
Ld /Users/bknope/Documents/Development/HomeDev/SwiftOpenSource/Git/build/Xcode-DebugAssert/swift-macosx-x86_64/Debug/bin/lldb-moduleimport-test normal x86_64
Ld /Users/bknope/Documents/Development/HomeDev/SwiftOpenSource/Git/build/Xcode-DebugAssert/swift-macosx-x86_64/Debug/bin/swift-llvm-opt normal x86_64
Ld /Users/bknope/Documents/Development/HomeDev/SwiftOpenSource/Git/build/Xcode-DebugAssert/swift-macosx-x86_64/Debug/bin/swift-ide-test normal x86_64
Ld /Users/bknope/Documents/Development/HomeDev/SwiftOpenSource/Git/build/Xcode-DebugAssert/swift-macosx-x86_64/Debug/bin/swift normal x86_64
Ld /Users/bknope/Documents/Development/HomeDev/SwiftOpenSource/Git/build/Xcode-DebugAssert/swift-macosx-x86_64/Debug/bin/sil-opt normal x86_64
Ld /Users/bknope/Documents/Development/HomeDev/SwiftOpenSource/Git/build/Xcode-DebugAssert/swift-macosx-x86_64/Debug/bin/sil-extract normal x86_64
Ld /Users/bknope/Documents/Development/HomeDev/SwiftOpenSource/Git/build/Xcode-DebugAssert/swift-macosx-x86_64/Debug/lib/sourcekitd.framework/Versions/A/XPCServices/SourceKitService.xpc/Contents/MacOS/SourceKitService normal x86_64
Ld /Users/bknope/Documents/Development/HomeDev/SwiftOpenSource/Git/build/Xcode-DebugAssert/swift-macosx-x86_64/Debug/lib/libsourcekitdInProc.dylib normal x86_64
PhaseScriptExecution CMake\ Rules /Users/bknope/Documents/Development/HomeDev/SwiftOpenSource/Git/build/Xcode-DebugAssert/swift-macosx-x86_64/stdlib/public/core/Swift.build/Debug/swiftCore-macosx-x86_64.build/Script-C79F976947BF4FC68B197DDF.sh
Ld /Users/bknope/Documents/Development/HomeDev/SwiftOpenSource/Git/build/Xcode-DebugAssert/swift-macosx-
… More that are clipped out …
PhaseScriptExecution CMake\ Rules /Users/bknope/Documents/Development/HomeDev/SwiftOpenSource/Git/build/Xcode-DebugAssert/swift-macosx-x86_64/stdlib/public/SDK/GameKit/Swift.build/Debug/swiftGameKit-macosx.build/Script-9A57381FBBDA4BE2BC5044CA.sh
PhaseScriptExecution CMake\ Rules /Users/bknope/Documents/Development/HomeDev/SwiftOpenSource/Git/build/Xcode-DebugAssert/swift-macosx-x86_64/benchmark/Swift.build/Debug/copy-swift-stdlib-macosx.build/Script-583EE90CD65D411E89A1A95C.sh
PhaseScriptExecution CMake\ Rules /Users/bknope/Documents/Development/HomeDev/SwiftOpenSource/Git/build/Xcode-DebugAssert/swift-macosx-x86_64/benchmark/Swift.build/Debug/adhoc-sign-swift-stdlib-macosx.build/Script-39E097D2B5814E57AE617C72.sh
PhaseScriptExecution CMake\ Rules /Users/bknope/Documents/Development/HomeDev/SwiftOpenSource/Git/build/Xcode-DebugAssert/swift-macosx-x86_64/benchmark/Swift.build/Debug/swift-benchmark-macosx-x86_64.build/Script-F429CA210C3E428BB0799A93.sh
PhaseScriptExecution CMake\ PostBuild\ Rules /Users/bknope/Documents/Development/HomeDev/SwiftOpenSource/Git/build/Xcode-DebugAssert/swift-macosx-x86_64/benchmark/Swift.build/Debug/swift-benchmark-macosx-x86_64.build/Script-31C012A16FC14BD48BAEFF45.sh
(120 failures)
utils/build-script: command terminated with a non-zero exit status 65, aborting
"
Should this still be happening with the -x flag then?
Thanks,
Brandon
> On Feb 18, 2016, at 4:10 PM, Jordan Rose <jordan_rose at apple.com> wrote:
>
>
>> On Feb 17, 2016, at 19:44, Dmitri Gribenko via swift-users <swift-users at swift.org> wrote:
>>
>> On Wed, Feb 17, 2016 at 7:41 PM, Brandon Knope <bknope at me.com> wrote:
>>> Quick update: I ran the command to build for Xcode:
>>>
>>> utils/build-scripts -X
>>>
>>> And it got some errors toward the end:
>>>
>>> “
>>> ** BUILD FAILED **
>>
>> The Xcode generator can't be used to build, see build-script --help:
>>
>> Select the CMake generator:
>> -X, --xcode-ide-only use CMake's Xcode generator, with only IDE support (no
>> build)
>>
>> I recommend to use the default, Ninja, to build. You can use -X for
>> the IDE experience.
>
> This is misleading. -x can be used to build, although it will only build for OS X. -X does IDE-only, and should probably go away.
>
> Jordan
More information about the swift-users
mailing list