[swift-dev] [Swift CI] Build Failure: OSS - Swift Package - Ubuntu 14.04 (master) #983
Michael Gottesman
mgottesman at apple.com
Mon Jan 8 13:12:51 CST 2018
We have to do special things for 14.04. See: docs/Ubuntu14.md.
I imagine the problem could be that we need to change that special series of steps/update the documentation.
Michael
> On Jan 8, 2018, at 11:02 AM, Ben Langmuir via swift-dev <swift-dev at swift.org> wrote:
>
> Maybe the libc++ on this host (Ubuntu 14.04) is too old for this feature? All of our 14.04 bots are broken AFAICT.
>
> Ben
>
>> On Jan 5, 2018, at 7:39 PM, Michael Ilseman via swift-dev <swift-dev at swift.org> wrote:
>>
>> Err, wrong version of C++ somehow?
>>
>> /home/buildnode/jenkins/workspace/oss-swift-package-linux-ubuntu-14_04/swift/include/swift/ABI/TrailingObjects.h:268:19: error: no member named 'is_final' in namespace 'std'
>>
>> static_assert(LLVM_IS_FINAL(BaseTy), "BaseTy must be final.");
>> ^~~~~~~~~~~~~~~~~~~~~
>>
>>
>> But the build line does specify C++14:
>>
>> /home/buildnode/jenkins/workspace/oss-swift-package-linux-ubuntu-14_04/build/buildbot_linux/llvm-linux-x86_64/./bin/clang++ -DCMARK_STATIC_DEFINE -DGTEST_HAS_RTTI=0 -D_DEBUG -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Istdlib/public/runtime -I/home/buildnode/jenkins/workspace/oss-swift-package-linux-ubuntu-14_04/swift/stdlib/public/runtime -Iinclude -I/home/buildnode/jenkins/workspace/oss-swift-package-linux-ubuntu-14_04/swift/include -I/home/buildnode/jenkins/workspace/oss-swift-package-linux-ubuntu-14_04/llvm/include -I/home/buildnode/jenkins/workspace/oss-swift-package-linux-ubuntu-14_04/build/buildbot_linux/llvm-linux-x86_64/include -I/home/buildnode/jenkins/workspace/oss-swift-package-linux-ubuntu-14_04/build/buildbot_linux/llvm-linux-x86_64/tools/clang/include -I/home/buildnode/jenkins/workspace/oss-swift-package-linux-ubuntu-14_04/llvm/tools/clang/include -I/home/buildnode/jenkins/workspace/oss-swift-package-linux-ubuntu-14_04/cmark/src -I/home/buildnode/jenkins/workspace/oss-swift-package-linux-ubuntu-14_04/build/buildbot_linux/cmark-linux-x86_64/src -isystem /usr/include/x86_64-linux-gnu -Wno-unknown-warning-option -Werror=unguarded-availability-new -fno-stack-protector -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -std=c++11 -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wcovered-switch-default -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wstring-conversion -fcolor-diagnostics -ffunction-sections -fdata-sections -Werror=switch -Wdocumentation -Wimplicit-fallthrough -Wunreachable-code -Woverloaded-virtual -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -fno-sanitize=all -DLLVM_DISABLE_ABI_BREAKING_CHECKS_ENFORCING=1 -O3 -UNDEBUG -fno-exceptions -fno-rtti -Wglobal-constructors -Wexit-time-destructors -fvisibility=hidden -D__SWIFT_CURRENT_DYLIB=swiftCore -DswiftCore_EXPORTS -I/home/buildnode/jenkins/workspace/oss-swift-package-linux-ubuntu-14_04/swift/include -target x86_64-unknown-linux-gnu -O2 -g0 -DNDEBUG -std=c++14 -MMD -MT stdlib/public/runtime/CMakeFiles/swiftRuntime-linux-x86_64.dir/ErrorObjectConstants.cpp.o -MF stdlib/public/runtime/CMakeFiles/swiftRuntime-linux-x86_64.dir/ErrorObjectConstants.cpp.o.d -o stdlib/public/runtime/CMakeFiles/swiftRuntime-linux-x86_64.dir/ErrorObjectConstants.cpp.o -c /home/buildnode/jenkins/workspace/oss-swift-package-linux-ubuntu-14_04/swift/stdlib/public/runtime/ErrorObjectConstants.cpp
>>
>>
>>
>> (either way not related to my benchmark changes)
>>
>>
>>> On Jan 5, 2018, at 6:29 PM, swift-ci at swift.org wrote:
>>>
>>> [FAILURE] oss-swift-package-linux-ubuntu-14_04 [#983]
>>>
>>> Build URL: https://ci.swift.org/job/oss-swift-package-linux-ubuntu-14_04/983/
>>> Project: oss-swift-package-linux-ubuntu-14_04
>>> Date of build: Fri, 05 Jan 2018 20:04:43 -0600
>>> Build duration: 24 min
>>> Identified problems:
>>>
>>> • Compile Error: This build failed because of a compile error. Below is a list of all errors in the build log:
>>> • Indication 1
>>>
>>> Changes
>>>
>>> • Commit aa0cec68df962b151b5c2835f1585b4649cd4961 by compnerd:
>>> build: switch to C++14
>>>
>>> • edit: CMakeLists.txt
>>> • edit: cmake/modules/AddSwift.cmake
>>>
>>> • Commit 9bf8d773ab550500eb07d48f15d22f41c99b55ed by moiseev:
>>> [stdlib] Rearrange + on RangeReplaceableCollection/Sequence once again
>>>
>>> • edit: stdlib/public/core/RangeReplaceableCollection.swift
>>> • edit: test/Constraints/bridging.swift
>>>
>>> • Commit 1c2954b133dcfbabcddf98409d16b17020264ec8 by milseman:
>>> [benchmark] Add a CharacterProperties benchmark
>>>
>>> • edit: benchmark/utils/main.swift
>>> • add: benchmark/single-source/CharacterProperties.swift
>>> • add: benchmark/single-source/CharacterProperties.swift.gyb
>>> • edit: benchmark/CMakeLists.txt
>>>
>>> • Commit 0782b482b364f15741cc4a445976d8167c1a9d25 by natecook1000:
>>> [stdlib] Documentation improvements
>>>
>>> • edit: stdlib/public/core/HashedCollections.swift.gyb
>>> • edit: stdlib/public/core/Map.swift
>>> • edit: stdlib/public/core/DoubleWidth.swift.gyb
>>> • edit: stdlib/public/core/Integers.swift.gyb
>>> • edit: stdlib/public/core/SetAlgebra.swift
>>> • edit: stdlib/public/core/StringLegacy.swift
>>> • edit: stdlib/public/core/UnsafePointer.swift.gyb
>>> • edit: stdlib/public/core/Hashable.swift
>>> • edit: stdlib/public/core/FloatingPoint.swift.gyb
>>> • edit: stdlib/public/core/OutputStream.swift
>>> • edit: stdlib/public/core/FloatingPointTypes.swift.gyb
>>> • edit: stdlib/public/core/UnsafeBufferPointer.swift.gyb
>>> • edit: stdlib/public/core/Slice.swift
>>> • edit: stdlib/public/core/ManagedBuffer.swift
>>> • edit: stdlib/public/core/StringRangeReplaceableCollection.swift.gyb
>>> • edit: stdlib/public/core/Range.swift.gyb
>>> • edit: stdlib/public/core/Substring.swift.gyb
>>> • edit: stdlib/public/core/LazyCollection.swift
>>> • edit: stdlib/public/core/Stride.swift.gyb
>>> • edit: stdlib/public/core/SequenceAlgorithms.swift.gyb
>>> • edit: stdlib/public/core/Mirrors.swift.gyb
>>> • edit: stdlib/public/core/Equatable.swift
>>>
>>> • Commit 9b9de653863101ab1a20f4d8d796363b4435005c by shajrawi:
>>> [IRGen] Add support for collecting Archetype Metadata from
>>>
>>> • edit: lib/IRGen/GenHeap.cpp
>>> • add: test/IRGen/archetype_resilience.sil
>>> • edit: lib/IRGen/GenArchetype.cpp
>>>
>>> • Commit dd560d2aa64c51bfcd3672afbed2beafaa7fb887 by vk:
>>> [Coverage] Refactor SIL generation for profiling
>>>
>>> • edit: lib/SIL/CMakeLists.txt
>>> • edit: lib/SILGen/SILGen.h
>>> • edit: lib/SILGen/CMakeLists.txt
>>> • edit: lib/SILGen/SILGenDestructor.cpp
>>> • edit: include/swift/SIL/SILCoverageMap.h
>>> • edit: lib/SILGen/SILGenExpr.cpp
>>> • edit: lib/SILGen/SILGenFunction.cpp
>>> • add: include/swift/SIL/SILProfiler.h
>>> • edit: lib/SILGen/SILGen.cpp
>>> • edit: lib/SILGen/SILGenPattern.cpp
>>> • edit: include/swift/SIL/SILFunction.h
>>> • delete: lib/SILGen/SILGenProfiling.h
>>> • edit: test/SILGen/coverage_ternary.swift
>>> • edit: lib/SILGen/SILGenConstructor.cpp
>>> • edit: include/swift/SIL/SILModule.h
>>> • add: lib/SIL/SILProfiler.cpp
>>> • edit: lib/SILGen/SILGenFunction.h
>>> • edit: lib/IRGen/GenCoverage.cpp
>>> • edit: lib/SILGen/SILGenStmt.cpp
>>> • delete: lib/SILGen/SILGenProfiling.cpp
>>> • edit: lib/SILGen/SILGenType.cpp
>>> • edit: lib/SIL/SILCoverageMap.cpp
>>>
>>> • Commit 54f375433765bf8aae5266073c1bc035f7cb7902 by vk:
>>> [Coverage] Clean up a few classes, NFC
>>>
>>> • edit: include/swift/SIL/SILProfiler.h
>>> • edit: include/swift/SIL/SILCoverageMap.h
>>> • edit: lib/SIL/SILProfiler.cpp
>>> • edit: include/swift/SIL/SILModule.h
>>>
>>> • Commit 31bd4c72497c4bcdd993730f02bbfb3c5ce41463 by vk:
>>> [Coverage] Defensively drop malformed coverage mappings
>>>
>>> • edit: lib/IRGen/GenCoverage.cpp
>>>
>>> • Commit 6debe84674285994f2cf46d3682077fb2ae589e0 by vk:
>>> [Coverage] Record PGO function name in SILCoverageMap
>>>
>>> • edit: lib/SIL/SILPrinter.cpp
>>> • edit: lib/IRGen/GenBuiltin.cpp
>>> • edit: lib/ParseSIL/ParseSIL.cpp
>>> • edit: lib/IRGen/GenCoverage.cpp
>>> • edit: test/SIL/Parser/coverage_maps.sil
>>> • edit: include/swift/SIL/SILCoverageMap.h
>>> • edit: include/swift/AST/DiagnosticsParse.def
>>> • edit: lib/SIL/SILCoverageMap.cpp
>>> • edit: lib/SIL/SILProfiler.cpp
>>>
>>> • Commit 9aa34d6448bd4369a4d5608091d29323cab95851 by vk:
>>> [Coverage] Eagerly lower functions with coverage instrumentation
>>>
>>> • edit: lib/IRGen/GenDecl.cpp
>>> • add: test/SILGen/coverage_force_emission.swift
>>>
>>> • Commit c6bd8484890a9eee48a36c2a60b73939173122cb by vk:
>>> [Coverage] Assign profilers to closures without an inherited profiler
>>>
>>> • edit: lib/SILGen/SILGen.cpp
>>> • edit: include/swift/SIL/SILProfiler.h
>>> • edit: lib/SIL/SILProfiler.cpp
>>> • edit: include/swift/SIL/SILFunction.h
>>> • edit: test/SILGen/coverage_member_closure.swift
>>>
>>> • Commit 9c96674856640e5ec5fc03d3723935682f97add4 by vk:
>>> [Coverage] Report coverage for implicit getters
>>>
>>> • edit: lib/SIL/SILProfiler.cpp
>>> • add: test/SILGen/coverage_var_init.swift
>>>
>>> • Commit a21a71c2d075fb8cee8d18ccb320a313140762bd by aprantl:
>>> dwarfdump: Match the --uuid output with that of Darwin dwarfdump. This
>>>
>>> • edit: test/tools/llvm-dwarfdump/uuid.yaml
>>> • edit: test/tools/llvm-dwarfdump/uuid32.yaml
>>> • edit: lib/DebugInfo/DWARF/DWARFContext.cpp
>>>
>>> • Commit 59fe9148d6ed4500a422d4e9027f5ecb718e1f8d by ankit_aggarwal:
>>> [PackageLoading] Supress warnings in Package.swift
>>>
>>> • edit: Sources/PackageLoading/ManifestLoader.swift
>>> • edit: Tests/PackageLoadingTests/PD4LoadingTests.swift
>>>
>>> • Commit 82449ea69928eecf49e12f0805079c3da24f3209 by ankit_aggarwal:
>>> Replace deprecated flatMap uses with compactMap
>>>
>>> • edit: Sources/Utility/Version.swift
>>> • edit: Sources/PackageLoading/PackageBuilder.swift
>>> • edit: Sources/PackageGraph/PackageGraphLoader.swift
>>> • edit: Sources/Workspace/Workspace.swift
>>> • edit: Tests/XcodeprojTests/XcodeProjectModelSerializationTests.swift
>>> • edit: Sources/Utility/ArgumentParser.swift
>>> • edit: Sources/PackageDescription/Version+StringLiteralConvertible.swift
>>> • edit: Sources/PackageGraph/DependencyResolver.swift
>>> • edit: Sources/PackageModel/ResolvedModels.swift
>>> • edit: Sources/Utility/misc.swift
>>> • edit: Sources/TestSupport/MockDependencyResolver.swift
>>> • edit: Sources/PackageDescription4/Version+StringLiteralConvertible.swift
>>> • edit: Sources/swiftpm-xctest-helper/main.swift
>>> • edit: Tests/PackageGraphTests/RepositoryPackageContainerProviderTests.swift
>>>
>>> • Commit 50e0f2a9decc473b01b23d5cf13c9bbfb17aaf41 by ankit_aggarwal:
>>> [Basic] Break an expression in edit distance algorithm
>>>
>>> • edit: Sources/Basic/EditDistance.swift
>>>
>>> • Commit b71162d6590a6a8508341cb8e3eeea4219376939 by ankit_aggarwal:
>>> Revert "Replace deprecated flatMap uses with compactMap"
>>>
>>> • edit: Sources/PackageGraph/DependencyResolver.swift
>>> • edit: Sources/Utility/misc.swift
>>> • edit: Sources/PackageDescription/Version+StringLiteralConvertible.swift
>>> • edit: Sources/swiftpm-xctest-helper/main.swift
>>> • edit: Tests/PackageGraphTests/RepositoryPackageContainerProviderTests.swift
>>> • edit: Sources/Utility/ArgumentParser.swift
>>> • edit: Sources/Workspace/Workspace.swift
>>> • edit: Sources/PackageDescription4/Version+StringLiteralConvertible.swift
>>> • edit: Sources/PackageLoading/PackageBuilder.swift
>>> • edit: Sources/TestSupport/MockDependencyResolver.swift
>>> • edit: Tests/XcodeprojTests/XcodeProjectModelSerializationTests.swift
>>> • edit: Sources/Utility/Version.swift
>>> • edit: Sources/PackageModel/ResolvedModels.swift
>>> • edit: Sources/PackageGraph/PackageGraphLoader.swift
>>>
>>> • Commit eb85bee0351c09828dcefd7d8026c776fc48b8d9 by ankit_aggarwal:
>>> [PackageLoading] Don't try to fix URLs of remote packages
>>>
>>> • edit: Sources/PackageLoading/PackageDescription4Loader.swift
>>>
>>> • Commit 429f97fa7610334f0d122c9958896e8f1d48d6c9 by ditaliano:
>>> [ArchSpec] Don't consider Unknown MachO64 as invalid.
>>>
>>> • edit: source/Core/ArchSpec.cpp
>>>
>>> • Commit 10cd8b56a62ce25c6c466e4c4e45d80611803cfa by ditaliano:
>>> [ArchSpec] Add a unittest to complement the change in r321856.
>>>
>>> • edit: unittests/Core/ArchSpecTest.cpp
>>
>> _______________________________________________
>> swift-dev mailing list
>> swift-dev at swift.org
>> https://lists.swift.org/mailman/listinfo/swift-dev
>
> _______________________________________________
> swift-dev mailing list
> swift-dev at swift.org
> https://lists.swift.org/mailman/listinfo/swift-dev
More information about the swift-dev
mailing list