[Swift CI] Build Still Failing: OSS - Swift Package - Ubuntu 14.04 (master) #943

Hi Todd,

We are seeing failure in LLDB, could this be related to LLDB merge from yesterday?

FAILED: source/API/CMakeFiles/liblldb.dir/__/__/scripts/LLDBWrapPython.cpp.o
/usr/bin/clang++ -DGTEST_HAS_RTTI=0 -DHAVE_PROCESS_VM_READV -DHAVE_ROUND -DLIBXML2_DEFINED -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -fvisibility-inlines-hidden -Werror=date-time -std=c++11 -fcolor-diagnostics -ffunction-sections -fdata-sections -Wno-deprecated-declarations -Wno-unknown-pragmas -Wno-strict-aliasing -Wno-deprecated-register -Wno-vla-extension -fno-exceptions -fno-rtti -fPIC -fPIC -O3 -DNDEBUG -fPIC -Isource/API -I/home/buildnode/jenkins/workspace/oss-swift-package-linux-ubuntu-14_04/lldb/source/API -I/home/buildnode/jenkins/workspace/oss-swift-package-linux-ubuntu-14_04/lldb/include -Iinclude -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/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/build/buildbot_linux/swift-linux-x86_64/include -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/lldb/source -I/usr/include/python2.7 -I/usr/include/x86_64-linux-gnu/python2.7 -I/home/buildnode/jenkins/workspace/oss-swift-package-linux-ubuntu-14_04/lldb/tools/clang/include -I../clang/include -I/usr/include/libxml2 -I/home/buildnode/jenkins/workspace/oss-swift-package-linux-ubuntu-14_04/lldb/source/. -I/home/buildnode/jenkins/workspace/oss-swift-package-linux-ubuntu-14_04/lldb/source/Plugins/Process/Linux -I/home/buildnode/jenkins/workspace/oss-swift-package-linux-ubuntu-14_04/lldb/source/Plugins/Process/POSIX -fno-exceptions -fno-rtti -Wno-sequence-point -Wno-cast-qual -MMD -MT source/API/CMakeFiles/liblldb.dir/__/__/scripts/LLDBWrapPython.cpp.o -MF "source/API/CMakeFiles/liblldb.dir/__/__/scripts/LLDBWrapPython.cpp.o.d" -o source/API/CMakeFiles/liblldb.dir/__/__/scripts/LLDBWrapPython.cpp.o -c scripts/LLDBWrapPython.cpp
<>scripts/LLDBWrapPython.cpp:17206:19: error: use of undeclared identifier '__SRD'
      if (flags & __SRD)
                  ^
scripts/LLDBWrapPython.cpp:17208:24: error: use of undeclared identifier '__SWR'
      else if (flags & __SWR)
                       ^
scripts/LLDBWrapPython.cpp:17259:19: error: use of undeclared identifier '__SRD'
      if (flags & __SRD)
                  ^
scripts/LLDBWrapPython.cpp:17261:24: error: use of undeclared identifier '__SWR'
      else if (flags & __SWR)
                       ^
scripts/LLDBWrapPython.cpp:17312:19: error: use of undeclared identifier '__SRD'
      if (flags & __SRD)
                  ^
scripts/LLDBWrapPython.cpp:17314:24: error: use of undeclared identifier '__SWR'
      else if (flags & __SWR)
                       ^
scripts/LLDBWrapPython.cpp:21049:52: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
    result = (int)(arg1)->SetErrorStringWithFormat((char const *)arg2);
                                                   ^ ~~~~
1 warning and 6 errors generated.

Thanks,
Mishal Shah

···

On Apr 7, 2016, at 10:28 PM, no-reply@swift.org wrote:

New issue found!

[FAILURE] oss-swift-package-linux-ubuntu-14_04 [#943]

Build URL: https://ci.swift.org/job/oss-swift-package-linux-ubuntu-14_04/943/
Project: oss-swift-package-linux-ubuntu-14_04
Date of build: Thu, 07 Apr 2016 22:17:56 -0700
Build duration: 10 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 <https://ci.swift.org//job/oss-swift-package-linux-ubuntu-14_04/943/consoleFull#-1266234963ee1a197b-acac-4b17-83cf-a53b95139a76&gt;
Changes

Commit fa5c96dd674d72d45b1cc3899c9784cc49ae926a by modocache:
[build-presets] Add preset for XCTest contributors

edit: utils/build-presets.ini

Commit f96ad263a81acb8dee97922167b85686e492ecef by tanadeau:
Added @discardableResult attr to mutating functions

edit: stdlib/public/core/Collection.swift
edit: stdlib/public/core/SetAlgebra.swift
edit: stdlib/public/core/Arrays.swift.gyb
edit: stdlib/public/core/StringBuffer.swift
edit: stdlib/private/StdlibCollectionUnittest/LoggingWrappers.swift.gyb
edit: stdlib/public/core/RangeReplaceableCollection.swift
edit: stdlib/public/core/HashedCollections.swift.gyb
edit: stdlib/public/core/OptionSet.swift
edit: test/SourceKit/DocSupport/doc_clang_module.swift.response
edit: stdlib/public/core/ArrayType.swift
edit: stdlib/public/core/String.swift
edit: stdlib/private/StdlibCollectionUnittest/MinimalCollections.swift.gyb

Commit 437d3f2043b5ff635a184c748ec432dd7d62a0c0 by dfarler:
Stamp Swift binaries with the reflection version

edit: lib/IRGen/IRGen.cpp
edit: test/IRGen/autolink_elf.swift
edit: test/IRGen/unused.sil
edit: lib/IRGen/IRGenModule.cpp
add: test/IRGen/reflection_version.swift
edit: lib/IRGen/IRGenModule.h
edit: lib/IRGen/GenDecl.cpp

Commit ef5ed8d640d67da7b91cd888a0e891fc6fe948b5 by brian.s.croom:
Add constants for XCTest error domain and codes

edit: Sources/XCTest/XCTestCase.swift
edit: Tests/Functional/Asynchronous/Handler/main.swift
add: Sources/XCTest/XCTestErrors.swift
edit: XCTest.xcodeproj/project.pbxproj

Commit 11e444cc8eab777dd4a1cf588d98aa107eedc2bb by max.howell:
Make OptionsParser its own module

add: Sources/OptionsParser/Error.swift
edit: Sources/swift-build/main.swift
edit: Sources/swift-build/usage.swift
add: Sources/OptionsParser/Argument.swift
edit: Sources/swift-test/usage.swift
delete: Sources/Multitool/OptionsParser.swift
add: Sources/OptionsParser/OptionsParser.swift
edit: Sources/swift-test/main.swift
edit: Sources/Multitool/Error.swift
edit: Package.swift

Commit 005cc9ad6a89e34139e2d1bd28d3c73e173eb3b0 by max.howell:
More Swift 3 like API

edit: Sources/Utility/StringExtensions.swift
edit: Sources/Utility/URL.swift
edit: Tests/Utility/StringTests.swift
edit: Sources/Utility/CollectionExtensions.swift
edit: Tests/Utility/CollectionTests.swift

Commit 2d9b1778608dd11e7a3eb76b7ed915b6f69a262f by max.howell:
Tests for OptionParser

edit: Sources/OptionsParser/OptionsParser.swift
add: Tests/OptionsParser/OptionParserTests.swift
edit: Sources/swift-build/usage.swift
edit: Sources/Multitool/Error.swift
edit: Sources/OptionsParser/Argument.swift
edit: Sources/swift-test/usage.swift
edit: Sources/OptionsParser/Error.swift

Commit a8abf7ea3506b950a735e4c62241ab8785e6db2a by max.howell:
Tidy

edit: Sources/OptionsParser/OptionsParser.swift
edit: Sources/swift-build/usage.swift
edit: Sources/swift-test/usage.swift

Commit 608b905d4133b73278e165f67e0ca5c270b6edd9 by todd.fiala:
Readme Fix

edit: README.md

Commit be5e84645cb33493e99f60ac402044c7ecf45984 by todd.fiala:
mark TestUniversal's test for attaching to wrong arch as XFAIL

edit: packages/Python/lldbsuite/test/macosx/universal/TestUniversal.py

Commit 52fbd1afd94b2b5ca53b8f285b8fb3113256305d by todd.fiala:
update static Python bindings corresponding to upstream merge

edit: scripts/Python/static-binding/LLDBWrapPython.cpp
edit: scripts/Python/static-binding/lldb.py

Investigating now. Filed this to track:
<rdar://problem/25626302> Build failure: Swift CI packaging: OSS - Swift Package - Ubuntu 14.04 (master) #943

···

On Apr 8, 2016, at 9:18 AM, Mishal Shah via swift-lldb-dev <swift-lldb-dev@swift.org> wrote:

Hi Todd,

We are seeing failure in LLDB, could this be related to LLDB merge from yesterday?

FAILED: source/API/CMakeFiles/liblldb.dir/__/__/scripts/LLDBWrapPython.cpp.o
/usr/bin/clang++ -DGTEST_HAS_RTTI=0 -DHAVE_PROCESS_VM_READV -DHAVE_ROUND -DLIBXML2_DEFINED -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -fvisibility-inlines-hidden -Werror=date-time -std=c++11 -fcolor-diagnostics -ffunction-sections -fdata-sections -Wno-deprecated-declarations -Wno-unknown-pragmas -Wno-strict-aliasing -Wno-deprecated-register -Wno-vla-extension -fno-exceptions -fno-rtti -fPIC -fPIC -O3 -DNDEBUG -fPIC -Isource/API -I/home/buildnode/jenkins/workspace/oss-swift-package-linux-ubuntu-14_04/lldb/source/API -I/home/buildnode/jenkins/workspace/oss-swift-package-linux-ubuntu-14_04/lldb/include -Iinclude -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/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/build/buildbot_linux/swift-linux-x86_64/include -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/lldb/source -I/usr/include/python2.7 -I/usr/include/x86_64-linux-gnu/python2.7 -I/home/buildnode/jenkins/workspace/oss-swift-package-linux-ubuntu-14_04/lldb/tools/clang/include -I../clang/include -I/usr/include/libxml2 -I/home/buildnode/jenkins/workspace/oss-swift-package-linux-ubuntu-14_04/lldb/source/. -I/home/buildnode/jenkins/workspace/oss-swift-package-linux-ubuntu-14_04/lldb/source/Plugins/Process/Linux -I/home/buildnode/jenkins/workspace/oss-swift-package-linux-ubuntu-14_04/lldb/source/Plugins/Process/POSIX -fno-exceptions -fno-rtti -Wno-sequence-point -Wno-cast-qual -MMD -MT source/API/CMakeFiles/liblldb.dir/__/__/scripts/LLDBWrapPython.cpp.o -MF "source/API/CMakeFiles/liblldb.dir/__/__/scripts/LLDBWrapPython.cpp.o.d" -o source/API/CMakeFiles/liblldb.dir/__/__/scripts/LLDBWrapPython.cpp.o -c scripts/LLDBWrapPython.cpp
<>scripts/LLDBWrapPython.cpp:17206:19: error: use of undeclared identifier '__SRD'
      if (flags & __SRD)
                  ^
scripts/LLDBWrapPython.cpp:17208:24: error: use of undeclared identifier '__SWR'
      else if (flags & __SWR)
                       ^
scripts/LLDBWrapPython.cpp:17259:19: error: use of undeclared identifier '__SRD'
      if (flags & __SRD)
                  ^
scripts/LLDBWrapPython.cpp:17261:24: error: use of undeclared identifier '__SWR'
      else if (flags & __SWR)
                       ^
scripts/LLDBWrapPython.cpp:17312:19: error: use of undeclared identifier '__SRD'
      if (flags & __SRD)
                  ^
scripts/LLDBWrapPython.cpp:17314:24: error: use of undeclared identifier '__SWR'
      else if (flags & __SWR)
                       ^
scripts/LLDBWrapPython.cpp:21049:52: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
    result = (int)(arg1)->SetErrorStringWithFormat((char const *)arg2);
                                                   ^ ~~~~
1 warning and 6 errors generated.

Thanks,
Mishal Shah

On Apr 7, 2016, at 10:28 PM, no-reply@swift.org <mailto:no-reply@swift.org> wrote:

New issue found!

[FAILURE] oss-swift-package-linux-ubuntu-14_04 [#943]

Build URL: https://ci.swift.org/job/oss-swift-package-linux-ubuntu-14_04/943/
Project: oss-swift-package-linux-ubuntu-14_04
Date of build: Thu, 07 Apr 2016 22:17:56 -0700
Build duration: 10 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 <https://ci.swift.org//job/oss-swift-package-linux-ubuntu-14_04/943/consoleFull#-1266234963ee1a197b-acac-4b17-83cf-a53b95139a76&gt;
Changes

Commit fa5c96dd674d72d45b1cc3899c9784cc49ae926a by modocache:
[build-presets] Add preset for XCTest contributors

edit: utils/build-presets.ini

Commit f96ad263a81acb8dee97922167b85686e492ecef by tanadeau:
Added @discardableResult attr to mutating functions

edit: stdlib/public/core/Collection.swift
edit: stdlib/public/core/SetAlgebra.swift
edit: stdlib/public/core/Arrays.swift.gyb
edit: stdlib/public/core/StringBuffer.swift
edit: stdlib/private/StdlibCollectionUnittest/LoggingWrappers.swift.gyb
edit: stdlib/public/core/RangeReplaceableCollection.swift
edit: stdlib/public/core/HashedCollections.swift.gyb
edit: stdlib/public/core/OptionSet.swift
edit: test/SourceKit/DocSupport/doc_clang_module.swift.response
edit: stdlib/public/core/ArrayType.swift
edit: stdlib/public/core/String.swift
edit: stdlib/private/StdlibCollectionUnittest/MinimalCollections.swift.gyb

Commit 437d3f2043b5ff635a184c748ec432dd7d62a0c0 by dfarler:
Stamp Swift binaries with the reflection version

edit: lib/IRGen/IRGen.cpp
edit: test/IRGen/autolink_elf.swift
edit: test/IRGen/unused.sil
edit: lib/IRGen/IRGenModule.cpp
add: test/IRGen/reflection_version.swift
edit: lib/IRGen/IRGenModule.h
edit: lib/IRGen/GenDecl.cpp

Commit ef5ed8d640d67da7b91cd888a0e891fc6fe948b5 by brian.s.croom:
Add constants for XCTest error domain and codes

edit: Sources/XCTest/XCTestCase.swift
edit: Tests/Functional/Asynchronous/Handler/main.swift
add: Sources/XCTest/XCTestErrors.swift
edit: XCTest.xcodeproj/project.pbxproj

Commit 11e444cc8eab777dd4a1cf588d98aa107eedc2bb by max.howell:
Make OptionsParser its own module

add: Sources/OptionsParser/Error.swift
edit: Sources/swift-build/main.swift
edit: Sources/swift-build/usage.swift
add: Sources/OptionsParser/Argument.swift
edit: Sources/swift-test/usage.swift
delete: Sources/Multitool/OptionsParser.swift
add: Sources/OptionsParser/OptionsParser.swift
edit: Sources/swift-test/main.swift
edit: Sources/Multitool/Error.swift
edit: Package.swift

Commit 005cc9ad6a89e34139e2d1bd28d3c73e173eb3b0 by max.howell:
More Swift 3 like API

edit: Sources/Utility/StringExtensions.swift
edit: Sources/Utility/URL.swift
edit: Tests/Utility/StringTests.swift
edit: Sources/Utility/CollectionExtensions.swift
edit: Tests/Utility/CollectionTests.swift

Commit 2d9b1778608dd11e7a3eb76b7ed915b6f69a262f by max.howell:
Tests for OptionParser

edit: Sources/OptionsParser/OptionsParser.swift
add: Tests/OptionsParser/OptionParserTests.swift
edit: Sources/swift-build/usage.swift
edit: Sources/Multitool/Error.swift
edit: Sources/OptionsParser/Argument.swift
edit: Sources/swift-test/usage.swift
edit: Sources/OptionsParser/Error.swift

Commit a8abf7ea3506b950a735e4c62241ab8785e6db2a by max.howell:
Tidy

edit: Sources/OptionsParser/OptionsParser.swift
edit: Sources/swift-build/usage.swift
edit: Sources/swift-test/usage.swift

Commit 608b905d4133b73278e165f67e0ca5c270b6edd9 by todd.fiala:
Readme Fix

edit: README.md

Commit be5e84645cb33493e99f60ac402044c7ecf45984 by todd.fiala:
mark TestUniversal's test for attaching to wrong arch as XFAIL

edit: packages/Python/lldbsuite/test/macosx/universal/TestUniversal.py

Commit 52fbd1afd94b2b5ca53b8f285b8fb3113256305d by todd.fiala:
update static Python bindings corresponding to upstream merge

edit: scripts/Python/static-binding/LLDBWrapPython.cpp
edit: scripts/Python/static-binding/lldb.py

_______________________________________________
swift-lldb-dev mailing list
swift-lldb-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-lldb-dev