Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing master on Ubuntu 16.04 fails – DispatchQueue.global(qos:)? #94

Closed
Jeehut opened this issue Aug 3, 2018 · 12 comments
Closed

Comments

@Jeehut
Copy link

Jeehut commented Aug 3, 2018

I'm currently trying to get mint installed on an Ubuntu 16.04 system (CI) but I get the following error using Swift 4.1.3:

+ git clone --depth=1 https://github.com/yonaskolb/Mint.git
Cloning into 'Mint'...
+ cd Mint
+ make
swift build --disable-sandbox -c release -Xswiftc -static-stdlib
Compile clibc libc.c
Compile Swift Module 'PathKit' (1 sources)
Compile Swift Module 'Rainbow' (11 sources)
Compile Swift Module 'SwiftCLI' (20 sources)
Compile Swift Module 'SPMLibc' (1 sources)
Compile Swift Module 'POSIX' (11 sources)
Compile Swift Module 'Basic' (37 sources)
Compile Swift Module 'Utility' (19 sources)
Compile Swift Module 'MintKit' (9 sources)
Compile Swift Module 'MintCLI' (9 sources)
Foundation9OperationC6finishyyF: error: undefined reference to '_T08Dispatch0A5QueueC6globalAcA0A3QoSV0D6SClassO3qos_tFZ'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Operation.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Operation.swift.o:function _T010Foundation9OperationC6finishyyF: error: undefined reference to '_NSConcreteStackBlock'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Operation.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Operation.swift.o:function _T010Foundation9OperationC6finishyyF: error: undefined reference to '_Block_copy'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Operation.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Operation.swift.o:function _T010Foundation9OperationC6finishyyF: error: undefined reference to '_T08Dispatch0A5QueueC5asyncyAA0A5GroupCSg5group_AA0A3QoSV3qosAA0A13WorkItemFlagsV5flagsyyXB7executetF'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Operation.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Operation.swift.o:function _T010Foundation9OperationC13addDependencyyACF: error: undefined reference to '_T08Dispatch0A5GroupCN'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Operation.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Operation.swift.o:function _T010Foundation9OperationC13addDependencyyACF: error: undefined reference to '_T08Dispatch0A5GroupC5enteryyF'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Operation.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Operation.swift.o:function _T010Foundation9OperationC16removeDependencyyACF: error: undefined reference to '_T08Dispatch0A5GroupC5leaveyyF'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Operation.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Operation.swift.o:function _T010Foundation9OperationC17waitUntilFinishedyyF: error: undefined reference to '_T08Dispatch0A5GroupC4waityyF'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Operation.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Operation.swift.o:function _T010Foundation9OperationC15_waitUntilReadyyyF: error: undefined reference to '_T08Dispatch0A5GroupC4waityyF'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Operation.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Operation.swift.o:function _T010Foundation9OperationC15_waitUntilReadyyyF: error: undefined reference to '_T08Dispatch0A5GroupC4waityyF'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Operation.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Operation.swift.o:function _T010Foundation14OperationQueueC012__underlyingC08Dispatch0eC0CSgvmytfU_: error: undefined reference to '_T08Dispatch0A5QueueC11setSpecificyAA0aD3KeyCyxG3key_xSg5valuetlF'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Operation.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Operation.swift.o:function _T010Foundation14OperationQueueC012__underlyingC08Dispatch0eC0CSgvmytfU_: error: undefined reference to '_T08Dispatch0A5QueueC11setSpecificyAA0aD3KeyCyxG3key_xSg5valuetlF'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Operation.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Operation.swift.o:function _T010Foundation14OperationQueueC10queueGroup8Dispatch0fE0Cvpfi: error: undefined reference to '_T08Dispatch0A5GroupCMa'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Operation.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Operation.swift.o:function _T010Foundation14OperationQueueC10queueGroup8Dispatch0fE0Cvpfi: error: undefined reference to '_T08Dispatch0A5GroupCACycfc'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Operation.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Operation.swift.o:function _T010Foundation14OperationQueueC011_underlyingC08Dispatch0eC0Cvg: error: undefined reference to '_T08Dispatch0A5QueueC10AttributesV10concurrentAEvau'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Operation.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Operation.swift.o:function _T010Foundation14OperationQueueC011_underlyingC08Dispatch0eC0Cvg: error: undefined reference to '_T08Dispatch0A9SemaphoreCMa'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Operation.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Operation.swift.o:function _T010Foundation14OperationQueueC011_underlyingC08Dispatch0eC0Cvg: error: undefined reference to '_T08Dispatch0A9SemaphoreCACSi5value_tcfc'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Operation.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Operation.swift.o:function _T010Foundation14OperationQueueC011_underlyingC08Dispatch0eC0Cvg: error: undefined reference to '_T08Dispatch0A9SemaphoreCMa'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Operation.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Operation.swift.o:function _T010Foundation14OperationQueueC011_underlyingC08Dispatch0eC0Cvg: error: undefined reference to '_T08Dispatch0A9SemaphoreCACSi5value_tcfc'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Operation.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Operation.swift.o:function _T010Foundation14OperationQueueC011_underlyingC08Dispatch0eC0Cvg: error: undefined reference to '_T08Dispatch0A9SemaphoreCACSi5value_tcfc'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Operation.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Operation.swift.o:function _T010Foundation14OperationQueueC011_underlyingC08Dispatch0eC0Cvg: error: undefined reference to '_T08Dispatch0A6ObjectC7suspendyyF'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Operation.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Operation.swift.o:function _T010Foundation14OperationQueueCACycfc: error: undefined reference to '_T08Dispatch0A5GroupCMa'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Operation.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Operation.swift.o:function _T010Foundation14OperationQueueCACycfc: error: undefined reference to '_T08Dispatch0A5GroupCACycfc'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Operation.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Operation.swift.o:function _T010Foundation14OperationQueueC04_runB0yyF: error: undefined reference to '_T08Dispatch0A5GroupC4waityyF'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Operation.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Operation.swift.o:function _T010Foundation14OperationQueueC11isSuspendedSbvs: error: undefined reference to '_T08Dispatch0A6ObjectC7suspendyyF'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Operation.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Operation.swift.o:function _T010Foundation14OperationQueueC11isSuspendedSbvs: error: undefined reference to '_T08Dispatch0A6ObjectC6resumeyyF'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Operation.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Operation.swift.o:function globalinit_33_638D947C432FE0FF6C02252F78192DF4_func1: error: undefined reference to '_T08Dispatch0A11SpecificKeyCMa'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Operation.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Operation.swift.o:function globalinit_33_638D947C432FE0FF6C02252F78192DF4_func1: error: undefined reference to '_T08Dispatch0A11SpecificKeyCACyxGycfc'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Operation.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Operation.swift.o:function _T010Foundation14OperationQueueC7currentACSgvgZ: error: undefined reference to '_T08Dispatch0A5QueueC11getSpecificxSgAA0aD3KeyCyxG3key_tlFZ'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Operation.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Operation.swift.o:function globalinit_33_638D947C432FE0FF6C02252F78192DF4_func2: error: undefined reference to '_T08Dispatch0A5QueueC4mainACvgZ'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Operation.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Operation.swift.o:function _T0s20_ArrayBufferProtocolPsE025_forceCreateUniqueMutableB0s011_ContiguousaB0Vy7ElementQzGSi8newCount_Si16requiredCapacitytFAEy8Dispatch0N5GroupCG_Tg5: error: undefined reference to '_T08Dispatch0A5GroupCMa'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Operation.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Operation.swift.o:function _T010Foundation14OperationQueueC012__underlyingC08Dispatch0eC0CSgvWTf4gn_n: error: undefined reference to '_T08Dispatch0A5QueueC11setSpecificyAA0aD3KeyCyxG3key_xSg5valuetlF'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Operation.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Operation.swift.o:function _T010Foundation14OperationQueueC012__underlyingC08Dispatch0eC0CSgvWTf4gn_n: error: undefined reference to '_T08Dispatch0A5QueueC11setSpecificyAA0aD3KeyCyxG3key_xSg5valuetlF'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Operation.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Operation.swift.o:function _T010Foundation14OperationQueueC13addOperationsySayAA0B0CG_Sb17waitUntilFinishedtFTf4gnn_n: error: undefined reference to '_T08Dispatch0A13WorkItemFlagsV10enforceQoSACvau'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Operation.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Operation.swift.o:function _T010Foundation14OperationQueueC13addOperationsySayAA0B0CG_Sb17waitUntilFinishedtFTf4gnn_n: error: undefined reference to '_T08Dispatch0A5GroupC5enteryyF'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Operation.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Operation.swift.o:function _T010Foundation14OperationQueueC13addOperationsySayAA0B0CG_Sb17waitUntilFinishedtFTf4gnn_n: error: undefined reference to '_NSConcreteStackBlock'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Operation.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Operation.swift.o:function _T010Foundation14OperationQueueC13addOperationsySayAA0B0CG_Sb17waitUntilFinishedtFTf4gnn_n: error: undefined reference to '_Block_copy'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Operation.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Operation.swift.o:function _T010Foundation14OperationQueueC13addOperationsySayAA0B0CG_Sb17waitUntilFinishedtFTf4gnn_n: error: undefined reference to '_T08Dispatch0A8WorkItemCMa'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Operation.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Operation.swift.o:function _T010Foundation14OperationQueueC13addOperationsySayAA0B0CG_Sb17waitUntilFinishedtFTf4gnn_n: error: undefined reference to '_T08Dispatch0A8WorkItemCAcA0A3QoSV3qos_AA0abC5FlagsV5flagsyyXB5blocktcfc'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Operation.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Operation.swift.o:function _T010Foundation14OperationQueueC13addOperationsySayAA0B0CG_Sb17waitUntilFinishedtFTf4gnn_n: error: undefined reference to '_T08Dispatch0A5QueueC5asyncyAA0A5GroupC5group_AA0A8WorkItemC7executetF'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Operation.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Operation.swift.o:function _T010Foundation14OperationQueueC13addOperationsySayAA0B0CG_Sb17waitUntilFinishedtFyAFcfU0_yycfU_TA: error: undefined reference to '_T08Dispatch0A9SemaphoreC4waityyF'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Operation.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Operation.swift.o:function _T010Foundation14OperationQueueC13addOperationsySayAA0B0CG_Sb17waitUntilFinishedtFyAFcfU0_yycfU_TA: error: undefined reference to '_T08Dispatch0A9SemaphoreC6signalSiyF'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Operation.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Operation.swift.o:function _T010Foundation14OperationQueueC13addOperationsySayAA0B0CG_Sb17waitUntilFinishedtFyAFcfU0_yycfU_TA: error: undefined reference to '_T08Dispatch0A5GroupC5leaveyyF'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Process.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Process.swift.o:function _T010Foundation7ProcessC5setup33_05FBE738056ADAC488E6D2B534411459LLyyFZyycfU_yycfU_: error: undefined reference to '_NSConcreteStackBlock'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Process.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Process.swift.o:function _T010Foundation7ProcessC5setup33_05FBE738056ADAC488E6D2B534411459LLyyFZyycfU_yycfU_: error: undefined reference to '_Block_copy'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Process.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Process.swift.o:function _T010Foundation7ProcessC5setup33_05FBE738056ADAC488E6D2B534411459LLyyFZyycfU_yycfU_: error: undefined reference to '_Block_release'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(URLSession.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/URLSession.swift.o:function _T010Foundation10URLSessionC24finishTasksAndInvalidateyyF: error: undefined reference to '_T08Dispatch0A5QueueC5asyncyAA0A5GroupCSg5group_AA0A3QoSV3qosAA0A13WorkItemFlagsV5flagsyyXB7executetF'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(URLSession.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/URLSession.swift.o:function _T010Foundation10URLSessionC8dataTask33_1935C07EE287982D980AA89BB85ACEFALLAA0b4DataD0CAC8_RequestAELLO4with_AC01_D8RegistryC10_BehaviourO9behaviourtFTf4ggn_n: error: undefined reference to '_T08Dispatch0A5QueueC5asyncyAA0A5GroupCSg5group_AA0A3QoSV3qosAA0A13WorkItemFlagsV5flagsyyXB7executetF'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(URLSessionTask.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/URLSessionTask.swift.o:function _T010Foundation14URLSessionTaskC5_BodyO03getD6Lengths6UInt64VSgyKF: error: undefined reference to '_T08Dispatch0A4DataV5countSivg'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(URLSessionTask.swift.o)(.text+0x9d61): error: undefined reference to '_T08Dispatch0A4DataVN'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(NativeProtocol.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/NativeProtocol.swift.o:function _T010Foundation15_NativeProtocolC4fillAA11_EasyHandleC18_WriteBufferResultOSrys4Int8VG05writeH0_tF: error: undefined reference to '_T08Dispatch0A4DataV5countSivg'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(NativeProtocol.swift.o)(.text+0xc3f1): error: undefined reference to '_T08Dispatch0A4DataVN'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(HTTPURLProtocol.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/http/HTTPURLProtocol.swift.o:function _T010Foundation16_HTTPURLProtocolC19configureEasyHandleyAA10URLRequestV3for_tF: error: undefined reference to '_T08Dispatch0A8WorkItemCMa'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(HTTPURLProtocol.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/http/HTTPURLProtocol.swift.o:function _T010Foundation16_HTTPURLProtocolC19configureEasyHandleyAA10URLRequestV3for_tF: error: undefined reference to '_T08Dispatch0A8WorkItemCAcA0A3QoSV3qos_AA0abC5FlagsV5flagsyyXB5blocktcfc'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Data.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Data.swift.o:function _T010Foundation4DataVACxcs8SequenceRzs5UInt8V7ElementRtzlufC: error: undefined reference to '_Block_release'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Data.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Data.swift.o:function _T0s26RangeReplaceableCollectionPsE6appendy7ElementQzF10Foundation4DataV_Tgq5: error: undefined reference to '_Block_release'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Data.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Data.swift.o:function _T010Foundation4DataV6appendyx10contentsOf_ts8SequenceRzs5UInt8V7ElementRtzlF: error: undefined reference to '_Block_release'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFBase.c.o):CoreFoundation/Base.subproj/CFBase.c:function __CFAllocatorInitialize: error: undefined reference to 'dispatch_once'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFBase.c.o):CoreFoundation/Base.subproj/CFBase.c:function CFNullGetTypeID: error: undefined reference to 'dispatch_once'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFBase.c.o):CoreFoundation/Base.subproj/CFBase.c:__block_literal_global: error: undefined reference to '_NSConcreteGlobalBlock'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFBase.c.o):CoreFoundation/Base.subproj/CFBase.c:__block_literal_global.3: error: undefined reference to '_NSConcreteGlobalBlock'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFUtilities.c.o):CoreFoundation/Base.subproj/CFUtilities.c:function _CFOSLog: error: undefined reference to 'dispatch_once'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFUtilities.c.o):CoreFoundation/Base.subproj/CFUtilities.c:function CFCopySystemVersionString: error: undefined reference to 'dispatch_once'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFUtilities.c.o):CoreFoundation/Base.subproj/CFUtilities.c:__block_literal_global: error: undefined reference to '_NSConcreteGlobalBlock'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFUtilities.c.o):CoreFoundation/Base.subproj/CFUtilities.c:__block_literal_global.3: error: undefined reference to '_NSConcreteGlobalBlock'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFUUID.c.o):CoreFoundation/Base.subproj/CFUUID.c:function CFUUIDCreate: error: undefined reference to 'dispatch_sync'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFUUID.c.o):CoreFoundation/Base.subproj/CFUUID.c:function CFUUIDCreate: error: undefined reference to 'dispatch_sync'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFUUID.c.o):CoreFoundation/Base.subproj/CFUUID.c:function CFUUIDCreate: error: undefined reference to '_Block_object_dispose'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFUUID.c.o):CoreFoundation/Base.subproj/CFUUID.c:function CFUUIDCreate: error: undefined reference to '_Block_object_dispose'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFUUID.c.o):CoreFoundation/Base.subproj/CFUUID.c:function CFUUIDCreate: error: undefined reference to '_Block_object_dispose'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFUUID.c.o):CoreFoundation/Base.subproj/CFUUID.c:function __copy_helper_block_: error: undefined reference to '_Block_object_assign'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFUUID.c.o):CoreFoundation/Base.subproj/CFUUID.c:function __destroy_helper_block_: error: undefined reference to '_Block_object_dispose'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFUUID.c.o):CoreFoundation/Base.subproj/CFUUID.c:function CFUUIDCreateWithBytes: error: undefined reference to 'dispatch_sync'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFUUID.c.o):CoreFoundation/Base.subproj/CFUUID.c:function CFUUIDCreateFromString: error: undefined reference to 'dispatch_sync'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFUUID.c.o):CoreFoundation/Base.subproj/CFUUID.c:function __LOCKED_block_invoke: error: undefined reference to 'dispatch_queue_attr_make_with_qos_class'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFUUID.c.o):CoreFoundation/Base.subproj/CFUUID.c:function __LOCKED_block_invoke: error: undefined reference to 'dispatch_queue_create'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFUUID.c.o):CoreFoundation/Base.subproj/CFUUID.c:function __copy_helper_block_.9: error: undefined reference to '_Block_object_assign'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFBasicHash.c.o):CoreFoundation/Collections.subproj/CFBasicHash.c:function __copy_helper_block_: error: undefined reference to '_Block_object_assign'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFBasicHash.c.o):CoreFoundation/Collections.subproj/CFBasicHash.c:function __copy_helper_block_.1: error: undefined reference to '_Block_object_assign'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFStorage.c.o):CoreFoundation/Collections.subproj/CFStorage.c:function __CFStorageEnumerateNodesInByteRangeWithBlock: error: undefined reference to 'dispatch_get_global_queue'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFStorage.c.o):CoreFoundation/Collections.subproj/CFStorage.c:function __CFStorageEnumerateNodesInByteRangeWithBlock: error: undefined reference to 'dispatch_apply'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFDate.c.o):CoreFoundation/NumberDate.subproj/CFDate.c:function __CFTSRToDispatchTime: error: undefined reference to 'dispatch_time'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function ___CFSetupXMLInterface_block_invoke: error: undefined reference to 'xmlInitParser'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function ___CFSetupXMLInterface_block_invoke: error: undefined reference to 'xmlGetExternalEntityLoader'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function ___CFSetupXMLInterface_block_invoke: error: undefined reference to 'xmlSetExternalEntityLoader'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLInterfaceNoNetExternalEntityLoader: error: undefined reference to 'xmlNoNetExternalEntityLoader'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _errorCallback: error: undefined reference to 'xmlCtxtGetLastError'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLInterfaceSetStructuredErrorFunc: error: undefined reference to 'xmlSetStructuredErrorFunc'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLInterfaceCreatePushParserCtxt: error: undefined reference to 'xmlCreatePushParserCtxt'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLInterfaceCtxtUseOptions: error: undefined reference to 'xmlCtxtUseOptions'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLInterfaceParseChunk: error: undefined reference to 'xmlParseChunk'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLInterfaceStopParser: error: undefined reference to 'xmlStopParser'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLInterfaceDestroyContext: error: undefined reference to 'xmlFreeDoc'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLInterfaceDestroyContext: error: undefined reference to 'xmlFreeParserCtxt'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLInterfaceSAX2GetLineNumber: error: undefined reference to 'xmlSAX2GetLineNumber'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLInterfaceSAX2GetColumnNumber: error: undefined reference to 'xmlSAX2GetColumnNumber'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLInterfaceSAX2InternalSubset: error: undefined reference to 'xmlSAX2InternalSubset'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLInterfaceSAX2ExternalSubset: error: undefined reference to 'xmlSAX2ExternalSubset'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLInterfaceGetPredefinedEntity: error: undefined reference to 'xmlGetPredefinedEntity'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLDTDNewElementDesc: error: undefined reference to 'xmlAddElementDecl'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLDTDNewElementDesc: error: undefined reference to 'xmlNewDtd'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLDTDNewElementDesc: error: undefined reference to 'xmlAddElementDecl'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLDTDNewElementDesc: error: undefined reference to 'xmlFreeDtd'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLUnlinkNode: error: undefined reference to 'xmlHashLookup'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLUnlinkNode: error: undefined reference to 'xmlHashLookup'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLUnlinkNode: error: undefined reference to 'xmlHashLookup3'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLUnlinkNode: error: undefined reference to 'xmlHashRemoveEntry3'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLUnlinkNode: error: undefined reference to 'xmlHashLookup'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLUnlinkNode: error: undefined reference to 'xmlHashRemoveEntry'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLUnlinkNode: error: undefined reference to 'xmlHashLookup'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLUnlinkNode: error: undefined reference to 'xmlHashRemoveEntry'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLUnlinkNode: error: undefined reference to 'xmlUnlinkNode'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLUnlinkNode: error: undefined reference to 'xmlHashRemoveEntry'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLDTDNewAttributeDesc: error: undefined reference to 'xmlAddAttributeDecl'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLDTDNewAttributeDesc: error: undefined reference to 'xmlNewDtd'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLDTDNewAttributeDesc: error: undefined reference to 'xmlAddAttributeDecl'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLDTDNewAttributeDesc: error: undefined reference to 'xmlFreeDtd'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLInterfaceSAX2GetEntity: error: undefined reference to 'xmlSAX2GetEntity'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLInterfaceFreeEnumeration: error: undefined reference to 'xmlFreeEnumeration'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLInterfaceSAX2UnparsedEntityDecl: error: undefined reference to 'xmlSAX2UnparsedEntityDecl'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLNewNode: error: undefined reference to 'xmlNewNode'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLCopyNode: error: undefined reference to 'xmlCopyDoc'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLCopyNode: error: undefined reference to 'xmlCopyDtd'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLCopyNode: error: undefined reference to 'xmlCopyNode'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLNewDoc: error: undefined reference to 'xmlNewDoc'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLNewProcessingInstruction: error: undefined reference to 'xmlNewPI'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLNewTextNode: error: undefined reference to 'xmlNewText'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLNewComment: error: undefined reference to 'xmlNewComment'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLNewProperty: error: undefined reference to 'xmlNewProp'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLNodeSetURI: error: undefined reference to 'xmlSearchNsByHref'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLNodeSetURI: error: undefined reference to 'xmlNewNs'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLNodeSetURI: error: undefined reference to 'xmlSetNs'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLNodeSetURI: error: undefined reference to 'xmlFree'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLNodeSetURI: error: undefined reference to 'xmlStrdup'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLNodeSetURI: error: undefined reference to 'xmlFree'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLNodeSetURI: error: undefined reference to 'xmlStrdup'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLNodeCopyName: error: undefined reference to 'xmlBuildQName'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLNodeCopyName: error: undefined reference to 'xmlFree'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLNodeSetName: error: undefined reference to 'xmlNodeSetName'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLNodeCopyContent: error: undefined reference to 'xmlSnprintfElementContent'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLNodeCopyContent: error: undefined reference to 'xmlNodeGetContent'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLNodeCopyContent: error: undefined reference to 'xmlFree'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLNodeSetContent: error: undefined reference to 'xmlStrlen'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLNodeSetContent: error: undefined reference to 'xmlUnlinkNode'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLNodeSetContent: error: undefined reference to 'xmlFreeDocElementContent'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLNodeSetContent: error: undefined reference to 'xmlRegFreeRegexp'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLNodeSetContent: error: undefined reference to 'xmlFreeDocElementContent'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLNodeSetContent: error: undefined reference to 'xmlNodeSetContent'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLParseDTDNode: error: undefined reference to 'xmlStrlen'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLParseDTDNode: error: undefined reference to 'xmlUnlinkNode'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLFreeNode: error: undefined reference to 'xmlFreeNode'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLFreeNode: error: undefined reference to 'xmlUnlinkNode'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLFreeNode: error: undefined reference to 'xmlFreeEnumeration'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLFreeNode: error: undefined reference to 'xmlDictOwns'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLFreeNode: error: undefined reference to 'xmlDictOwns'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLFreeNode: error: undefined reference to 'xmlDictOwns'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLFreeNode: error: undefined reference to 'xmlDictOwns'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLEncodeEntities: error: undefined reference to 'xmlEncodeEntitiesReentrant'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLDocRootElement: error: undefined reference to 'xmlDocGetRootElement'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLDocSetRootElement: error: undefined reference to 'xmlDocSetRootElement'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLDocSetCharacterEncoding: error: undefined reference to 'xmlStrdup'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLDocSetVersion: error: undefined reference to 'xmlStrdup'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLDocDTD: error: undefined reference to 'xmlGetIntSubset'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLDocSetDTD: error: undefined reference to 'xmlAddPrevSibling'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLDocSetDTD: error: undefined reference to 'xmlAddChild'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLNodeGetElementChildCount: error: undefined reference to 'xmlChildElementCount'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLNodeAddChild: error: undefined reference to 'xmlAddChild'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLNodeAddPrevSibling: error: undefined reference to 'xmlAddPrevSibling'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLNodeAddNextSibling: error: undefined reference to 'xmlAddNextSibling'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLNodeReplaceNode: error: undefined reference to 'xmlReplaceNode'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLGetDocEntity: error: undefined reference to 'xmlGetDocEntity'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLGetDTDEntity: error: undefined reference to 'xmlGetDtdEntity'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLGetParameterEntity: error: undefined reference to 'xmlGetParameterEntity'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLCopyStringWithOptions: error: undefined reference to 'xmlBufferCreate'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLCopyStringWithOptions: error: undefined reference to 'xmlSaveToBuffer'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLCopyStringWithOptions: error: undefined reference to 'xmlSaveTree'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLCopyStringWithOptions: error: undefined reference to 'xmlSaveClose'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLCopyStringWithOptions: error: undefined reference to 'xmlBufferContent'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLCopyStringWithOptions: error: undefined reference to 'xmlBufferFree'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLNodesForXPath: error: undefined reference to 'xmlXPathNewContext'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLNodesForXPath: error: undefined reference to 'xmlXPathRegisterNs'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLNodesForXPath: error: undefined reference to 'xmlXPathNodeEval'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLNodesForXPath: error: undefined reference to 'xmlXPathFreeContext'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLNodesForXPath: error: undefined reference to 'xmlXPathFreeObject'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLCopyPathForNode: error: undefined reference to 'xmlGetNodePath'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLNodeHasProp: error: undefined reference to 'xmlHasProp'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLDocPtrFromDataWithOptions: error: undefined reference to 'xmlReadMemory'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLNodeCopyLocalName: error: undefined reference to 'xmlBuildQName'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLNodeCopyLocalName: error: undefined reference to 'xmlSplitQName2'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLNodeCopyPrefix: error: undefined reference to 'xmlBuildQName'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLNodeCopyPrefix: error: undefined reference to 'xmlSplitQName2'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLDocValidate: error: undefined reference to 'xmlNewValidCtxt'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLDocValidate: error: undefined reference to 'xmlValidateDocument'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLDocValidate: error: undefined reference to 'xmlFreeValidCtxt'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLNewDTD: error: undefined reference to 'xmlNewDtd'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLParseDTDFromData: error: undefined reference to 'xmlParserInputBufferCreateMem'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLParseDTDFromData: error: undefined reference to 'xmlIOParseDTD'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLParseDTD: error: undefined reference to 'xmlParseDTD'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLDTDGetElementDesc: error: undefined reference to 'xmlGetDtdElementDesc'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLDTDGetAttributeDesc: error: undefined reference to 'xmlGetDtdAttrDesc'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLDTDGetNotationDesc: error: undefined reference to 'xmlGetDtdNotationDesc'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLDTDGetEntityDesc: error: undefined reference to 'xmlNewDoc'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLDTDGetEntityDesc: error: undefined reference to 'xmlGetDtdEntity'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLDTDGetEntityDesc: error: undefined reference to 'xmlFreeDoc'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLDTDGetEntityDesc: error: undefined reference to 'xmlGetParameterEntity'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLDTDGetPredefinedEntity: error: undefined reference to 'xmlGetPredefinedEntity'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLNamespaces: error: undefined reference to 'xmlNewNode'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLNamespaces: error: undefined reference to 'xmlNewNode'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLSetNamespaces: error: undefined reference to 'xmlFreeNsList'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLSetNamespaces: error: undefined reference to 'xmlCopyNamespace'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLSetNamespaces: error: undefined reference to 'xmlCopyNamespace'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLNamespaceSetValue: error: undefined reference to 'xmlStrndup'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLNamespaceSetPrefix: error: undefined reference to 'xmlStrndup'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLNewNamespace: error: undefined reference to 'xmlNewNs'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLNewNamespace: error: undefined reference to 'xmlNewNode'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLAddNamespace: error: undefined reference to 'xmlCopyNamespace'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLRemoveNamespace: error: undefined reference to 'xmlStrcmp'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLRemoveNamespace: error: undefined reference to 'xmlStrcmp'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLRemoveNamespace: error: undefined reference to 'xmlFreeNs'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLFreeDocument: error: undefined reference to 'xmlFreeDoc'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLFreeDTD: error: undefined reference to 'xmlFreeDtd'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLFreeProperty: error: undefined reference to 'xmlFreeProp'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFRunLoop.c.o):CoreFoundation/RunLoop.subproj/CFRunLoop.c:function __CFRunLoopRun: error: undefined reference to '_dispatch_get_main_queue_handle_4CF'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFRunLoop.c.o):CoreFoundation/RunLoop.subproj/CFRunLoop.c:function __CFRunLoopRun: error: undefined reference to 'dispatch_get_global_queue'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFRunLoop.c.o):CoreFoundation/RunLoop.subproj/CFRunLoop.c:function __CFRunLoopRun: error: undefined reference to '_dispatch_source_type_timer'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFRunLoop.c.o):CoreFoundation/RunLoop.subproj/CFRunLoop.c:function __CFRunLoopRun: error: undefined reference to 'dispatch_source_create'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFRunLoop.c.o):CoreFoundation/RunLoop.subproj/CFRunLoop.c:function __CFRunLoopRun: error: undefined reference to 'dispatch_retain'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFRunLoop.c.o):CoreFoundation/RunLoop.subproj/CFRunLoop.c:function __CFRunLoopRun: error: undefined reference to 'dispatch_set_context'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFRunLoop.c.o):CoreFoundation/RunLoop.subproj/CFRunLoop.c:function __CFRunLoopRun: error: undefined reference to 'dispatch_source_set_event_handler_f'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFRunLoop.c.o):CoreFoundation/RunLoop.subproj/CFRunLoop.c:function __CFRunLoopRun: error: undefined reference to 'dispatch_source_set_cancel_handler_f'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFRunLoop.c.o):CoreFoundation/RunLoop.subproj/CFRunLoop.c:function __CFRunLoopRun: error: undefined reference to 'dispatch_time'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFRunLoop.c.o):CoreFoundation/RunLoop.subproj/CFRunLoop.c:function __CFRunLoopRun: error: undefined reference to 'dispatch_source_set_timer'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFRunLoop.c.o):CoreFoundation/RunLoop.subproj/CFRunLoop.c:function __CFRunLoopRun: error: undefined reference to 'dispatch_resume'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFRunLoop.c.o):CoreFoundation/RunLoop.subproj/CFRunLoop.c:function __CFRunLoopRun: error: undefined reference to 'dispatch_source_cancel'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFRunLoop.c.o):CoreFoundation/RunLoop.subproj/CFRunLoop.c:function __CFRunLoopRun: error: undefined reference to 'dispatch_release'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFRunLoop.c.o):CoreFoundation/RunLoop.subproj/CFRunLoop.c:function __CFRunLoopTimeoutCancel: error: undefined reference to 'dispatch_release'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFRunLoop.c.o):CoreFoundation/RunLoop.subproj/CFRunLoop.c:function __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__: error: undefined reference to '_dispatch_main_queue_callback_4CF'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFStream.c.o):CoreFoundation/Stream.subproj/CFStream.c:function _cfstream_solo_signalEventSync: error: undefined reference to 'dispatch_retain'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFStream.c.o):CoreFoundation/Stream.subproj/CFStream.c:function _cfstream_solo_signalEventSync: error: undefined reference to 'dispatch_async'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFStream.c.o):CoreFoundation/Stream.subproj/CFStream.c:function _cfstream_solo_signalEventSync: error: undefined reference to 'dispatch_release'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFStream.c.o):CoreFoundation/Stream.subproj/CFStream.c:function _cfstream_shared_signalEventSync: error: undefined reference to 'dispatch_retain'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFStream.c.o):CoreFoundation/Stream.subproj/CFStream.c:function _cfstream_shared_signalEventSync: error: undefined reference to 'dispatch_async'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFStream.c.o):CoreFoundation/Stream.subproj/CFStream.c:function _cfstream_shared_signalEventSync: error: undefined reference to 'dispatch_release'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFStream.c.o):CoreFoundation/Stream.subproj/CFStream.c:function _CFStreamSetDispatchQueue: error: undefined reference to 'dispatch_retain'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFStream.c.o):CoreFoundation/Stream.subproj/CFStream.c:function ___legacyStreamRunLoop_block_invoke: error: undefined reference to 'dispatch_semaphore_create'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFStream.c.o):CoreFoundation/Stream.subproj/CFStream.c:function ___legacyStreamRunLoop_block_invoke: error: undefined reference to 'dispatch_semaphore_wait'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFStream.c.o):CoreFoundation/Stream.subproj/CFStream.c:function _legacyStreamRunLoop_workThread: error: undefined reference to 'dispatch_semaphore_signal'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFURLSessionInterface.c.o):CoreFoundation/URL.subproj/CFURLSessionInterface.c:function CFURLSessionCreateErrorDescription: error: undefined reference to 'curl_easy_strerror'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFURLSessionInterface.c.o):CoreFoundation/URL.subproj/CFURLSessionInterface.c:function CFURLSessionEasyHandleInit: error: undefined reference to 'curl_easy_init'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFURLSessionInterface.c.o):CoreFoundation/URL.subproj/CFURLSessionInterface.c:function CFURLSessionEasyHandleDeinit: error: undefined reference to 'curl_easy_cleanup'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFURLSessionInterface.c.o):CoreFoundation/URL.subproj/CFURLSessionInterface.c:function CFURLSessionEasyHandleSetPauseState: error: undefined reference to 'curl_easy_pause'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFURLSessionInterface.c.o):CoreFoundation/URL.subproj/CFURLSessionInterface.c:function CFURLSessionMultiHandleInit: error: undefined reference to 'curl_multi_init'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFURLSessionInterface.c.o):CoreFoundation/URL.subproj/CFURLSessionInterface.c:function CFURLSessionMultiHandleDeinit: error: undefined reference to 'curl_multi_cleanup'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFURLSessionInterface.c.o):CoreFoundation/URL.subproj/CFURLSessionInterface.c:function CFURLSessionMultiHandleAddHandle: error: undefined reference to 'curl_multi_add_handle'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFURLSessionInterface.c.o):CoreFoundation/URL.subproj/CFURLSessionInterface.c:function CFURLSessionMultiHandleRemoveHandle: error: undefined reference to 'curl_multi_remove_handle'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFURLSessionInterface.c.o):CoreFoundation/URL.subproj/CFURLSessionInterface.c:function CFURLSessionMultiHandleAssign: error: undefined reference to 'curl_multi_assign'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFURLSessionInterface.c.o):CoreFoundation/URL.subproj/CFURLSessionInterface.c:function CFURLSessionMultiHandleAction: error: undefined reference to 'curl_multi_socket_action'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFURLSessionInterface.c.o):CoreFoundation/URL.subproj/CFURLSessionInterface.c:function CFURLSessionMultiHandleInfoRead: error: undefined reference to 'curl_multi_info_read'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFURLSessionInterface.c.o):CoreFoundation/URL.subproj/CFURLSessionInterface.c:function CFURLSession_easy_setopt_ptr: error: undefined reference to 'curl_easy_setopt'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFURLSessionInterface.c.o):CoreFoundation/URL.subproj/CFURLSessionInterface.c:function CFURLSession_easy_setopt_int: error: undefined reference to 'curl_easy_setopt'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFURLSessionInterface.c.o):CoreFoundation/URL.subproj/CFURLSessionInterface.c:function CFURLSession_easy_setopt_long: error: undefined reference to 'curl_easy_setopt'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFURLSessionInterface.c.o):CoreFoundation/URL.subproj/CFURLSessionInterface.c:function CFURLSession_easy_setopt_int64: error: undefined reference to 'curl_easy_setopt'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFURLSessionInterface.c.o):CoreFoundation/URL.subproj/CFURLSessionInterface.c:function CFURLSession_easy_getinfo_long: error: undefined reference to 'curl_easy_getinfo'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFURLSessionInterface.c.o):CoreFoundation/URL.subproj/CFURLSessionInterface.c:function CFURLSession_easy_getinfo_double: error: undefined reference to 'curl_easy_getinfo'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFURLSessionInterface.c.o):CoreFoundation/URL.subproj/CFURLSessionInterface.c:function CFURLSession_easy_getinfo_charp: error: undefined reference to 'curl_easy_getinfo'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFURLSessionInterface.c.o):CoreFoundation/URL.subproj/CFURLSessionInterface.c:function CFURLSession_multi_setopt_ptr: error: undefined reference to 'curl_multi_setopt'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFURLSessionInterface.c.o):CoreFoundation/URL.subproj/CFURLSessionInterface.c:function CFURLSession_multi_setopt_l: error: undefined reference to 'curl_multi_setopt'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFURLSessionInterface.c.o):CoreFoundation/URL.subproj/CFURLSessionInterface.c:function CFURLSession_multi_setopt_sf: error: undefined reference to 'curl_multi_setopt'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFURLSessionInterface.c.o):CoreFoundation/URL.subproj/CFURLSessionInterface.c:function CFURLSession_multi_setopt_tf: error: undefined reference to 'curl_multi_setopt'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFURLSessionInterface.c.o):CoreFoundation/URL.subproj/CFURLSessionInterface.c:function CFURLSessionInit: error: undefined reference to 'curl_global_init'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFURLSessionInterface.c.o):CoreFoundation/URL.subproj/CFURLSessionInterface.c:function CFURLSessionCurlVersionString: error: undefined reference to 'curl_version'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFURLSessionInterface.c.o):CoreFoundation/URL.subproj/CFURLSessionInterface.c:function CFURLSessionCurlVersionInfo: error: undefined reference to 'curl_version_info'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFURLSessionInterface.c.o):CoreFoundation/URL.subproj/CFURLSessionInterface.c:function CFURLSessionSListAppend: error: undefined reference to 'curl_slist_append'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFURLSessionInterface.c.o):CoreFoundation/URL.subproj/CFURLSessionInterface.c:function CFURLSessionSListFreeAll: error: undefined reference to 'curl_slist_free_all'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(HTTPCookieStorage.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/HTTPCookieStorage.swift.o:function _T010Foundation17HTTPCookieStorageC9setCookieyAA0B0CFyycfU_: error: undefined reference to '_T08Dispatch25_dispatchPreconditionTestSbAA0A9PredicateOF'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(HTTPCookieStorage.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/HTTPCookieStorage.swift.o:function _T010Foundation17HTTPCookieStorageC9setCookieyAA0B0CFyycfU_: error: undefined reference to '_T08Dispatch25_dispatchPreconditionTestSbAA0A9PredicateOF'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(HTTPCookieStorage.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/HTTPCookieStorage.swift.o:function _T010Foundation17HTTPCookieStorageC9setCookieyAA0B0CFyycfU_: error: undefined reference to '_T08Dispatch25_dispatchPreconditionTestSbAA0A9PredicateOF'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(HTTPCookieStorage.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/HTTPCookieStorage.swift.o:function _T010Foundation17HTTPCookieStorageC9setCookieyAA0B0CFyycfU_: error: undefined reference to '_T08Dispatch25_dispatchPreconditionTestSbAA0A9PredicateOF'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(NSIndexSet.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/NSIndexSet.swift.o:function _T010Foundation10NSIndexSetC21_enumerateWithOptionsSiSgAA013NSEnumerationF0V_AA8_NSRangeV5rangexm9paramTypeq_m06returnK0q_x_SpyAA8ObjCBoolVGtc5blocktr0_lFTf4nxnngn_nAI_ytTg5: error: undefined reference to '_T08Dispatch0A5QueueC17concurrentPerformySi10iterations_ySic7executetFZ'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(NSIndexSet.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/NSIndexSet.swift.o:function _T010Foundation10NSIndexSetC21_enumerateWithOptionsSiSgAA013NSEnumerationF0V_AA8_NSRangeV5rangexm9paramTypeq_m06returnK0q_x_SpyAA8ObjCBoolVGtc5blocktr0_lFTf4nxnngn_nSi_ytTg5: error: undefined reference to '_T08Dispatch0A5QueueC17concurrentPerformySi10iterations_ySic7executetFZ'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(NSIndexSet.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/NSIndexSet.swift.o:function _T010Foundation10NSIndexSetC21_enumerateWithOptionsSiSgAA013NSEnumerationF0V_AA8_NSRangeV5rangexm9paramTypeq_m06returnK0q_x_SpyAA8ObjCBoolVGtc5blocktr0_lFTf4nxnngn_nSi_SbTg5: error: undefined reference to '_T08Dispatch0A5QueueC17concurrentPerformySi10iterations_ySic7executetFZ'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Progress.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Progress.swift.o:function _T010Foundation8ProgressC19cancellationHandleryycSgvW: error: undefined reference to '_T08Dispatch0A5QueueC6globalAcA0A3QoSV0D6SClassO3qos_tFZ'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Progress.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Progress.swift.o:function _T010Foundation8ProgressC19cancellationHandleryycSgvs: error: undefined reference to '_T08Dispatch0A5QueueC6globalAcA0A3QoSV0D6SClassO3qos_tFZ'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Progress.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Progress.swift.o:function _T010Foundation8ProgressC14pausingHandleryycSgvW: error: undefined reference to '_T08Dispatch0A5QueueC6globalAcA0A3QoSV0D6SClassO3qos_tFZ'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(BodySource.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/BodySource.swift.o:function _T010Foundation18createDispatchData0C00cD0VAA0D0VF: error: undefined reference to '_T08Dispatch0A4DataVACs22UnsafeRawBufferPointerV5bytes_tcfC'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(BodySource.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/BodySource.swift.o:function _T010Foundation9splitData8Dispatch0dC0V_AEtAE08dispatchC0_Si10atPositiontF: error: undefined reference to '_T08Dispatch0A4DataV7subdataACs14CountableRangeVySiG2in_tF'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(BodySource.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/BodySource.swift.o:function _T010Foundation9splitData8Dispatch0dC0V_AEtAE08dispatchC0_Si10atPositiontF: error: undefined reference to '_T08Dispatch0A4DataV5countSivg'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(BodySource.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/BodySource.swift.o:function _T010Foundation9splitData8Dispatch0dC0V_AEtAE08dispatchC0_Si10atPositiontF: error: undefined reference to '_T08Dispatch0A4DataV7subdataACs14CountableRangeVySiG2in_tF'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(BodySource.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/BodySource.swift.o:function _T010Foundation15_BodyDataSourceC12getNextChunkAA01_bdcG0OSi10withLength_tF: error: undefined reference to '_T08Dispatch0A4DataV7subdataACs14CountableRangeVySiG2in_tF'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(BodySource.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/BodySource.swift.o:function _T010Foundation15_BodyDataSourceC12getNextChunkAA01_bdcG0OSi10withLength_tF: error: undefined reference to '_T08Dispatch0A4DataV7subdataACs14CountableRangeVySiG2in_tF'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(BodySource.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/BodySource.swift.o:function _T010Foundation15_BodyDataSourceC12getNextChunkAA01_bdcG0OSi10withLength_tF: error: undefined reference to '_T08Dispatch0A4DataV5emptyACvau'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(BodySource.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/BodySource.swift.o:function _T010Foundation15_BodyFileSourceC13readNextChunk33_2F2780F3EADACBD8B884A53D827DE265LLyyF: error: undefined reference to '_T08Dispatch0A2IOC4readySi6offset_Si6lengthAA0A5QueueC5queueySb_AA0A4DataVSgs5Int32Vtc9ioHandlertF'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(BodySource.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/BodySource.swift.o:function _T010Foundation15_BodyFileSourceC12getNextChunkAA01_bd4DataG0OSi10withLength_tF: error: undefined reference to '_T08Dispatch0A4DataV10startIndexSivg'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(BodySource.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/BodySource.swift.o:function _T010Foundation15_BodyFileSourceC12getNextChunkAA01_bd4DataG0OSi10withLength_tF: error: undefined reference to '_T08Dispatch0A4DataV8endIndexSivg'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(BodySource.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/BodySource.swift.o:function _T010Foundation15_BodyFileSourceC12getNextChunkAA01_bd4DataG0OSi10withLength_tF: error: undefined reference to '_T08Dispatch0A4DataV10startIndexSivg'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(BodySource.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/BodySource.swift.o:function _T010Foundation15_BodyFileSourceC12getNextChunkAA01_bd4DataG0OSi10withLength_tF: error: undefined reference to '_T08Dispatch0A4DataV8endIndexSivg'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(BodySource.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/BodySource.swift.o:function _T010Foundation15_BodyFileSourceC12getNextChunkAA01_bd4DataG0OSi10withLength_tF: error: undefined reference to '_T08Dispatch0A4DataV10startIndexSivg'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(BodySource.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/BodySource.swift.o:function _T010Foundation15_BodyFileSourceC12getNextChunkAA01_bd4DataG0OSi10withLength_tF: error: undefined reference to '_T08Dispatch0A4DataV8endIndexSivg'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(BodySource.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/BodySource.swift.o:function _T010Foundation15_BodyFileSourceC12getNextChunkAA01_bd4DataG0OSi10withLength_tF: error: undefined reference to '_T08Dispatch0A4DataV10startIndexSivg'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(BodySource.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/BodySource.swift.o:function _T010Foundation15_BodyFileSourceC12getNextChunkAA01_bd4DataG0OSi10withLength_tF: error: undefined reference to '_T08Dispatch0A4DataV8endIndexSivg'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(BodySource.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/BodySource.swift.o:function _T010Foundation16copyDispatchDatay0C00cD0V_SryxG10infoBuffertlFTf4gn_n: error: undefined reference to '_T08Dispatch0A4DataV9copyBytesSiSryxG2to_s14CountableRangeVySiGSg4fromtlF'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(BodySource.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/BodySource.swift.o:function _T010Foundation15_BodyFileSourceCAcA3URLV04fileE0_8Dispatch0G5QueueC04workH0yyc20dataAvailableHandlertcfcTf4gggn_n: error: undefined reference to '_T08Dispatch0A2IOCMa'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(BodySource.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/BodySource.swift.o:function _T010Foundation15_BodyFileSourceCAcA3URLV04fileE0_8Dispatch0G5QueueC04workH0yyc20dataAvailableHandlertcfcTf4gggn_n: error: undefined reference to '_T08Dispatch0A2IOCACSgAC10StreamTypeO4type_SPys4Int8VG4paths5Int32V5oflags6UInt32V4modeAA0A5QueueC5queueyAMc14cleanupHandlertcfC'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(BodySource.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/BodySource.swift.o:function _T010Foundation15_BodyFileSourceCAcA3URLV04fileE0_8Dispatch0G5QueueC04workH0yyc20dataAvailableHandlertcfcTf4gggn_n: error: undefined reference to '_T08Dispatch0A2IOCN'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(BodySource.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/BodySource.swift.o:function _T010Foundation15_BodyFileSourceCAcA3URLV04fileE0_8Dispatch0G5QueueC04workH0yyc20dataAvailableHandlertcfcTf4gggn_n: error: undefined reference to '_T08Dispatch0A2IOC8setLimitySi9highWater_tF'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(BodySource.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/BodySource.swift.o:function _T010Foundation20_BodySourceDataChunkOwug: error: undefined reference to '_T08Dispatch0A4DataVN'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(BodySource.swift.o)(.text+0x1374): error: undefined reference to '_T08Dispatch0A2IOCMa'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(BodySource.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/BodySource.swift.o:function _T010Foundation15_BodyFileSourceC6append33_2F2780F3EADACBD8B884A53D827DE265LLy8Dispatch0M4DataV4data_Sb05endOfC0tFTf4gnn_n: error: undefined reference to '_T08Dispatch0A4DataV6appendyACF'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(BodySource.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/BodySource.swift.o:function _T010Foundation15_BodyFileSourceC13readNextChunk33_2F2780F3EADACBD8B884A53D827DE265LLyyFySb_8Dispatch0O4DataVSgs5Int32VtcfU_Tf4ngnn_n: error: undefined reference to '_T08Dispatch0A4DataV6appendyACF'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(MultiHandle.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/libcurl/MultiHandle.swift.o:function _T010Foundation14_TimeoutSourceCfd: error: undefined reference to '_T08Dispatch0A6SourceCMa'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(MultiHandle.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/libcurl/MultiHandle.swift.o:function _T010Foundation14_TimeoutSourceCfd: error: undefined reference to '_T08Dispatch0A6SourceCAA0aB8ProtocolAAWP'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(MultiHandle.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/libcurl/MultiHandle.swift.o:function _T010Foundation14_TimeoutSourceCfd: error: undefined reference to '_T08Dispatch0A14SourceProtocolPAAE6cancelyyF'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(MultiHandle.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/libcurl/MultiHandle.swift.o:function _T010Foundation14_TimeoutSourceCfD: error: undefined reference to '_T08Dispatch0A6SourceCMa'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(MultiHandle.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/libcurl/MultiHandle.swift.o:function _T010Foundation14_TimeoutSourceCfD: error: undefined reference to '_T08Dispatch0A6SourceCAA0aB8ProtocolAAWP'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(MultiHandle.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/libcurl/MultiHandle.swift.o:function _T010Foundation14_TimeoutSourceCfD: error: undefined reference to '_T08Dispatch0A14SourceProtocolPAAE6cancelyyF'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(MultiHandle.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/libcurl/MultiHandle.swift.o:function _T010Foundation10URLSessionC12_MultiHandleC14setupCallbacks33_0D88FAB2A36EC056571C12A88F9AC924LLyyFs5Int32VSv_A2ISvSgAJtcfU_Tf4dnnnn_n: error: undefined reference to '_T08Dispatch0A8WorkItemCMa'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(MultiHandle.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/libcurl/MultiHandle.swift.o:function _T010Foundation10URLSessionC12_MultiHandleC14setupCallbacks33_0D88FAB2A36EC056571C12A88F9AC924LLyyFs5Int32VSv_A2ISvSgAJtcfU_Tf4dnnnn_n: error: undefined reference to '_T08Dispatch0A8WorkItemCAcA0A3QoSV3qos_AA0abC5FlagsV5flagsyyXB5blocktcfc'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(MultiHandle.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/libcurl/MultiHandle.swift.o:function _T010Foundation10URLSessionC12_MultiHandleC14setupCallbacks33_0D88FAB2A36EC056571C12A88F9AC924LLyyFs5Int32VSv_A2ISvSgAJtcfU_Tf4dnnnn_n: error: undefined reference to '_T08Dispatch0A6SourceCMa'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(MultiHandle.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/libcurl/MultiHandle.swift.o:function _T010Foundation10URLSessionC12_MultiHandleC14setupCallbacks33_0D88FAB2A36EC056571C12A88F9AC924LLyyFs5Int32VSv_A2ISvSgAJtcfU_Tf4dnnnn_n: error: undefined reference to '_T08Dispatch0A6SourceC08makeReadB0AA0abD0_ps5Int32V14fileDescriptor_AA0A5QueueCSg5queuetFZ'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(MultiHandle.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/libcurl/MultiHandle.swift.o:function _T010Foundation10URLSessionC12_MultiHandleC14setupCallbacks33_0D88FAB2A36EC056571C12A88F9AC924LLyyFs5Int32VSv_A2ISvSgAJtcfU_Tf4dnnnn_n: error: undefined reference to '_T08Dispatch0A10SourceReadMp'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(MultiHandle.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/libcurl/MultiHandle.swift.o:function _T010Foundation10URLSessionC12_MultiHandleC14setupCallbacks33_0D88FAB2A36EC056571C12A88F9AC924LLyyFs5Int32VSv_A2ISvSgAJtcfU_Tf4dnnnn_n: error: undefined reference to '_T08Dispatch0A6SourceCMa'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(MultiHandle.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/libcurl/MultiHandle.swift.o:function _T010Foundation10URLSessionC12_MultiHandleC14setupCallbacks33_0D88FAB2A36EC056571C12A88F9AC924LLyyFs5Int32VSv_A2ISvSgAJtcfU_Tf4dnnnn_n: error: undefined reference to '_T08Dispatch0A6SourceC09makeWriteB0AA0abD0_ps5Int32V14fileDescriptor_AA0A5QueueCSg5queuetFZ'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(MultiHandle.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/libcurl/MultiHandle.swift.o:function _T010Foundation10URLSessionC12_MultiHandleC14setupCallbacks33_0D88FAB2A36EC056571C12A88F9AC924LLyyFs5Int32VSv_A2ISvSgAJtcfU_Tf4dnnnn_n: error: undefined reference to '_T08Dispatch0A11SourceWriteMp'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(MultiHandle.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/libcurl/MultiHandle.swift.o:function _T010Foundation14_TimeoutSourceCAC8Dispatch0D5QueueC5queue_Si12millisecondsAD0D8WorkItemC7handlertcfcTf4gngn_n: error: undefined reference to '_T08Dispatch0A6SourceC10TimerFlagsVAESu8rawValue_tcfC'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(MultiHandle.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/libcurl/MultiHandle.swift.o:function _T010Foundation14_TimeoutSourceCAC8Dispatch0D5QueueC5queue_Si12millisecondsAD0D8WorkItemC7handlertcfcTf4gngn_n: error: undefined reference to '_T08Dispatch0A6SourceC10TimerFlagsVAESu8rawValue_tcfC'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(MultiHandle.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/libcurl/MultiHandle.swift.o:function _T010Foundation14_TimeoutSourceCAC8Dispatch0D5QueueC5queue_Si12millisecondsAD0D8WorkItemC7handlertcfcTf4gngn_n: error: undefined reference to '_T08Dispatch0A6SourceC10TimerFlagsVAESu8rawValue_tcfC'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(MultiHandle.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/libcurl/MultiHandle.swift.o:function _T010Foundation14_TimeoutSourceCAC8Dispatch0D5QueueC5queue_Si12millisecondsAD0D8WorkItemC7handlertcfcTf4gngn_n: error: undefined reference to '_T08Dispatch0A6SourceC10TimerFlagsVAESu8rawValue_tcfC'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(MultiHandle.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/libcurl/MultiHandle.swift.o:function _T010Foundation14_TimeoutSourceCAC8Dispatch0D5QueueC5queue_Si12millisecondsAD0D8WorkItemC7handlertcfcTf4gngn_n: error: undefined reference to '_T08Dispatch0A6SourceC09makeTimerB0AA0abD0_pAC0D5FlagsV5flags_AA0A5QueueCSg5queuetFZ'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(MultiHandle.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/libcurl/MultiHandle.swift.o:function _T010Foundation14_TimeoutSourceCAC8Dispatch0D5QueueC5queue_Si12millisecondsAD0D8WorkItemC7handlertcfcTf4gngn_n: error: undefined reference to '_T08Dispatch0A11SourceTimerMp'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(MultiHandle.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/libcurl/MultiHandle.swift.o:function _T010Foundation14_TimeoutSourceCAC8Dispatch0D5QueueC5queue_Si12millisecondsAD0D8WorkItemC7handlertcfcTf4gngn_n: error: undefined reference to '_T08Dispatch0A4TimeV3nowACyFZ'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(MultiHandle.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/libcurl/MultiHandle.swift.o:function _T010Foundation14_TimeoutSourceCAC8Dispatch0D5QueueC5queue_Si12millisecondsAD0D8WorkItemC7handlertcfcTf4gngn_n: error: undefined reference to '_T08Dispatch1poiAA0A4TimeVAD_AA0aB8IntervalOtF'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(MultiHandle.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/libcurl/MultiHandle.swift.o:function _T010Foundation14_TimeoutSourceCAC8Dispatch0D5QueueC5queue_Si12millisecondsAD0D8WorkItemC7handlertcfcTf4gngn_n: error: undefined reference to '_T08Dispatch0A6SourceCAA0aB5TimerAAWP'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(MultiHandle.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/libcurl/MultiHandle.swift.o:function _T010Foundation14_TimeoutSourceCAC8Dispatch0D5QueueC5queue_Si12millisecondsAD0D8WorkItemC7handlertcfcTf4gngn_n: error: undefined reference to '_T08Dispatch0A11SourceTimerPAAE8scheduleyAA0A4TimeV8deadline_AA0aE8IntervalO9repeatingAI6leewaytF'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(MultiHandle.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/libcurl/MultiHandle.swift.o:function _T010Foundation14_TimeoutSourceCAC8Dispatch0D5QueueC5queue_Si12millisecondsAD0D8WorkItemC7handlertcfcTf4gngn_n: error: undefined reference to '_T08Dispatch0A6SourceCAA0aB8ProtocolAAWP'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(MultiHandle.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/libcurl/MultiHandle.swift.o:function _T010Foundation14_TimeoutSourceCAC8Dispatch0D5QueueC5queue_Si12millisecondsAD0D8WorkItemC7handlertcfcTf4gngn_n: error: undefined reference to '_T08Dispatch0A14SourceProtocolPAAE15setEventHandleryAA0A8WorkItemC7handler_tF'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(MultiHandle.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/libcurl/MultiHandle.swift.o:function _T010Foundation14_TimeoutSourceCAC8Dispatch0D5QueueC5queue_Si12millisecondsAD0D8WorkItemC7handlertcfcTf4gngn_n: error: undefined reference to '_T08Dispatch0A6SourceCN'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(MultiHandle.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/libcurl/MultiHandle.swift.o:function _T010Foundation14_TimeoutSourceCAC8Dispatch0D5QueueC5queue_Si12millisecondsAD0D8WorkItemC7handlertcfcTf4gngn_n: error: undefined reference to '_T08Dispatch0A6ObjectC6resumeyyF'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(MultiHandle.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/libcurl/MultiHandle.swift.o:function _T010Foundation10URLSessionC12_MultiHandleC14setupCallbacks33_0D88FAB2A36EC056571C12A88F9AC924LLyyFs5Int32VSv_SiSvSgtcfU0_Tf4dnn_n: error: undefined reference to '_T08Dispatch0A8WorkItemCMa'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(MultiHandle.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/libcurl/MultiHandle.swift.o:function _T010Foundation10URLSessionC12_MultiHandleC14setupCallbacks33_0D88FAB2A36EC056571C12A88F9AC924LLyyFs5Int32VSv_SiSvSgtcfU0_Tf4dnn_n: error: undefined reference to '_T08Dispatch0A8WorkItemCAcA0A3QoSV3qos_AA0abC5FlagsV5flagsyyXB5blocktcfc'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFSortFunctions.c.o):CoreFoundation/Base.subproj/CFSortFunctions.c:function CFSortIndexes: error: undefined reference to '_dispatch_queue_attr_concurrent'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFSortFunctions.c.o):CoreFoundation/Base.subproj/CFSortFunctions.c:function CFSortIndexes: error: undefined reference to 'dispatch_queue_create'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFSortFunctions.c.o):CoreFoundation/Base.subproj/CFSortFunctions.c:function CFSortIndexes: error: undefined reference to 'dispatch_apply'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFSortFunctions.c.o):CoreFoundation/Base.subproj/CFSortFunctions.c:function __CFSortIndexesN: error: undefined reference to 'dispatch_apply'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFSortFunctions.c.o):CoreFoundation/Base.subproj/CFSortFunctions.c:function __CFSortIndexesN: error: undefined reference to 'dispatch_apply'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
<unknown>:0: error: link command failed with exit code 1 (use -v to see invocation)
error: terminated(1): /root/.swiftenv/versions/4.1.3/usr/bin/swift-build-tool -f /bitrise/src/Mint/.build/release.yaml main output:
    
Fetching https://github.com/apple/swift-package-manager.git
Fetching https://github.com/onevcat/Rainbow.git
Fetching https://github.com/jakeheis/SwiftCLI
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/kylef/Spectre.git
Cloning https://github.com/apple/swift-package-manager.git
Resolving https://github.com/apple/swift-package-manager.git at 0.2.0
Cloning https://github.com/onevcat/Rainbow.git
Resolving https://github.com/onevcat/Rainbow.git at 3.1.4
Cloning https://github.com/kylef/PathKit.git
Resolving https://github.com/kylef/PathKit.git at 0.9.1
Cloning https://github.com/kylef/Spectre.git
Resolving https://github.com/kylef/Spectre.git at 0.8.0
Cloning https://github.com/jakeheis/SwiftCLI
Resolving https://github.com/jakeheis/SwiftCLI at 5.1.2
Makefile:18: recipe for target 'build' failed
make: *** [build] Error 1

Any idea how I can fix the issue?

@Jeehut Jeehut changed the title Installing master on Linux still fails – DispatchQueue.global(qos:) Installing master on Ubuntu 16.04 fails – DispatchQueue.global(qos:)? Aug 3, 2018
@yonaskolb
Copy link
Owner

So that looks like master yes?
I don’t know why that would be happening.
Could you try running just a swift build Instead of make

@Jeehut
Copy link
Author

Jeehut commented Aug 4, 2018

Ok, let me check both if it's master and if swift build works ...

@Jeehut
Copy link
Author

Jeehut commented Aug 4, 2018

Yes, I'm quite confident that it's master and here's the swift build output (it doesn't show errors):

+ swift build
Compile clibc libc.c
Compile Swift Module 'PathKit' (1 sources)
Compile Swift Module 'Rainbow' (11 sources)
Compile Swift Module 'SwiftCLI' (20 sources)
Compile Swift Module 'SPMLibc' (1 sources)
Compile Swift Module 'POSIX' (11 sources)
Compile Swift Module 'Basic' (37 sources)
Compile Swift Module 'Utility' (19 sources)
Compile Swift Module 'MintKit' (9 sources)
Compile Swift Module 'MintCLI' (9 sources)
Compile Swift Module 'Mint' (1 sources)
Linking ./.build/x86_64-unknown-linux/debug/mint
Fetching https://github.com/jakeheis/SwiftCLI
Fetching https://github.com/kylef/Spectre.git
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/onevcat/Rainbow.git
Fetching https://github.com/apple/swift-package-manager.git
Cloning https://github.com/jakeheis/SwiftCLI
Resolving https://github.com/jakeheis/SwiftCLI at 5.1.2
Cloning https://github.com/kylef/Spectre.git
Resolving https://github.com/kylef/Spectre.git at 0.8.0
Cloning https://github.com/kylef/PathKit.git
Resolving https://github.com/kylef/PathKit.git at 0.9.1
Cloning https://github.com/onevcat/Rainbow.git
Resolving https://github.com/onevcat/Rainbow.git at 3.1.4
Cloning https://github.com/apple/swift-package-manager.git
Resolving https://github.com/apple/swift-package-manager.git at 0.2.0

@yonaskolb
Copy link
Owner

I suspect it’s the -Xswiftc -static-stdlib

@Jeehut
Copy link
Author

Jeehut commented Aug 4, 2018

I'm just trying different swift build parameters, I'll report once the CI is done, just wait a moment ...

@Jeehut
Copy link
Author

Jeehut commented Aug 4, 2018

Yeah, you were right, both swift build --disable-sandbox and swift build --disable-sandbox -c release passed as well. So it must be the -Xswiftc -static-stdlib. Can I work around it somehow? What happens, if I just don't add them?

@Jeehut
Copy link
Author

Jeehut commented Aug 4, 2018

Looks like this SO question or this open Swift issue could be the issue, no?

@Jeehut
Copy link
Author

Jeehut commented Aug 4, 2018

Okay, actually it looks more like this open Swift issue.

@Jeehut
Copy link
Author

Jeehut commented Aug 4, 2018

I just tried the latest Swift snapshot (from 2018-08-02) and Swift 4.0.3 and the issue appears in all of the tested version.

@yonaskolb
Copy link
Owner

Yes, Mint itself has to check for Linux to not add this flag when installing other tools here https://github.com/yonaskolb/Mint/blob/master/Sources/MintKit/Mint.swift#L289

The command basically just bundles up swift with the binary. Not having it means that the binary may fail when a new version of swift comes out and may have to be re-installed. ABI stability in Swift 5 should solve this though.

A workaround is to not run the make install script but to just install yourself

swift build --disable-sandbox -c release
cp -f .build/release/mint /usr/local/bin/mint

The fix would be to make the Makefile aware of it was running on Linux and adjust accordingly

@Jeehut
Copy link
Author

Jeehut commented Aug 4, 2018

Thank you for the workaround, it kinda worked! 🌟
Though I still couldn't install SwiftLint or Ice running mint install jakeheis/Ice.

When running with the --verbose option set, I get something like this:

mint install jakeheis/Ice --verbose
🌱  Finding latest version of Ice
🌱  Resolved latest version of Ice to 0.6.1
🌱  Cloning https://github.com/jakeheis/Ice.git 0.6.1...
Cloning into 'github.com_jakeheis_Ice'...
Note: checking out '24eae42cfaa59ac4b8965ce5f0936a84b97287aa'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
  git checkout -b <new-branch-name>
🌱  Building Ice with SPM...
Failed to build Ice

@yonaskolb
Copy link
Owner

I don’t think Ice supports Linux. I actually just opened an issue there

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants