<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Eric,<div class=""><br class=""></div><div class="">Can you check whether what you're building on has this commit?&nbsp;<a href="https://github.com/apple/swift-package-manager/commit/0268214b5477ca338b502c90aaa3e9ba50b68e18" class="">https://github.com/apple/swift-package-manager/commit/0268214b5477ca338b502c90aaa3e9ba50b68e18</a></div><div class=""><br class=""></div><div class="">There was a truncation of a bit pattern that was causing a trap on arm.</div><div class=""><br class=""></div><div class="">It looks like you're using qemu, so it's possible that it's handling the trap strangely.</div><div class=""><br class=""></div><div class="">Also, for arm-specific build issues and the like, the swift-arm slack channel may be helpful&nbsp;<a href="http://dev.iachieved.it:9909" class="">http://dev.iachieved.it:9909</a></div><div class=""><br class=""></div><div class="">- Will</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Sep 19, 2016, at 7:18 AM, Eric Wing via swift-dev &lt;<a href="mailto:swift-dev@swift.org" class="">swift-dev@swift.org</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">I temporarily hacked around the NSXMLNode.swift integer literal<br class="">overflow error I mentioned in the other thread to continue the build.<br class="">I hit a few more problems afterwards.<br class=""><br class=""><br class="">First, there was some kind of segmentation fault. It looks like swift<br class="">crashed trying to build libXCTest.so.<br class="">==================<br class=""><br class="">+ pushd /home/pi/Source/SWIFT/swift-corelibs-foundation<br class="">~/Source/SWIFT/swift-corelibs-foundation ~/Source/SWIFT/swift<br class="">+ /home/pi/Source/SWIFT/build/buildbot_linux/ninja-build/ninja<br class="">[146/146] Link:<br class="">../build/buildbot_linux/fo...on-linux-armv7/Foundation/libFoundation.so<br class="">+ popd<br class="">~/Source/SWIFT/swift<br class="">xctest: using gold linker<br class="">+ /home/pi/Source/SWIFT/swift-corelibs-xctest/build_script.py<br class="">--swiftc=/home/pi/Source/SWIFT/build/buildbot_linux/swift-linux-armv7/bin/swiftc<br class="">--build-dir=/home/pi/Source/SWIFT/build/buildbot_linux/xctest-linux-armv7<br class="">--foundation-build-dir=/home/pi/Source/SWIFT/build/buildbot_linux/foundation-linux-armv7/Foundation<br class="">--libdispatch-src-dir=/home/pi/Source/SWIFT/swift-corelibs-libdispatch<br class="">--libdispatch-build-dir=/home/pi/Source/SWIFT/build/buildbot_linux/libdispatch-linux-armv7<br class="">--release<br class="">xctest-build: mkdir -p<br class="">/home/pi/Source/SWIFT/build/buildbot_linux/xctest-linux-armv7<br class="">xctest-build: /home/pi/Source/SWIFT/build/buildbot_linux/swift-linux-armv7/bin/swiftc<br class="">-Xcc -fblocks -c -O -emit-object -emit-module -module-name XCTest<br class="">-module-link-name XCTest -parse-as-library -emit-module-path<br class="">/home/pi/Source/SWIFT/build/buildbot_linux/xctest-linux-armv7/XCTest.swiftmodule<br class="">-force-single-frontend-invocation -I<br class="">/home/pi/Source/SWIFT/build/buildbot_linux/foundation-linux-armv7/Foundation<br class="">-I /home/pi/Source/SWIFT/build/buildbot_linux/foundation-linux-armv7/Foundation/usr/lib/swift<br class="">-I /home/pi/Source/SWIFT/build/buildbot_linux/libdispatch-linux-armv7/src<br class="">-I /home/pi/Source/SWIFT/swift-corelibs-libdispatch<br class="">/home/pi/Source/SWIFT/swift-corelibs-xctest/Sources/XCTest/Private/TestListing.swift<br class="">/home/pi/Source/SWIFT/swift-corelibs-xctest/Sources/XCTest/Private/ObjectWrapper.swift<br class="">/home/pi/Source/SWIFT/swift-corelibs-xctest/Sources/XCTest/Private/XCTestCaseSuite.swift<br class="">/home/pi/Source/SWIFT/swift-corelibs-xctest/Sources/XCTest/Private/XCPredicateExpectation.swift<br class="">/home/pi/Source/SWIFT/swift-corelibs-xctest/Sources/XCTest/Private/XCTestInternalObservation.swift<br class="">/home/pi/Source/SWIFT/swift-corelibs-xctest/Sources/XCTest/Private/TestFiltering.swift<br class="">/home/pi/Source/SWIFT/swift-corelibs-xctest/Sources/XCTest/Private/PrintObserver.swift<br class="">/home/pi/Source/SWIFT/swift-corelibs-xctest/Sources/XCTest/Private/PerformanceMeter.swift<br class="">/home/pi/Source/SWIFT/swift-corelibs-xctest/Sources/XCTest/Private/WallClockTimeMetric.swift<br class="">/home/pi/Source/SWIFT/swift-corelibs-xctest/Sources/XCTest/Private/ArgumentParser.swift<br class="">/home/pi/Source/SWIFT/swift-corelibs-xctest/Sources/XCTest/Public/XCTAssert.swift<br class="">/home/pi/Source/SWIFT/swift-corelibs-xctest/Sources/XCTest/Public/XCTestSuite.swift<br class="">/home/pi/Source/SWIFT/swift-corelibs-xctest/Sources/XCTest/Public/XCTestCaseRun.swift<br class="">/home/pi/Source/SWIFT/swift-corelibs-xctest/Sources/XCTest/Public/XCNotificationExpectationHandler.swift<br class="">/home/pi/Source/SWIFT/swift-corelibs-xctest/Sources/XCTest/Public/XCTestCase+Performance.swift<br class="">/home/pi/Source/SWIFT/swift-corelibs-xctest/Sources/XCTest/Public/XCTestObservation.swift<br class="">/home/pi/Source/SWIFT/swift-corelibs-xctest/Sources/XCTest/Public/XCTestObservationCenter.swift<br class="">/home/pi/Source/SWIFT/swift-corelibs-xctest/Sources/XCTest/Public/XCTestRun.swift<br class="">/home/pi/Source/SWIFT/swift-corelibs-xctest/Sources/XCTest/Public/XCTestCase+Asynchronous.swift<br class="">/home/pi/Source/SWIFT/swift-corelibs-xctest/Sources/XCTest/Public/XCPredicateExpectationHandler.swift<br class="">/home/pi/Source/SWIFT/swift-corelibs-xctest/Sources/XCTest/Public/XCTestCase.swift<br class="">/home/pi/Source/SWIFT/swift-corelibs-xctest/Sources/XCTest/Public/XCTestSuiteRun.swift<br class="">/home/pi/Source/SWIFT/swift-corelibs-xctest/Sources/XCTest/Public/XCTestErrors.swift<br class="">/home/pi/Source/SWIFT/swift-corelibs-xctest/Sources/XCTest/Public/XCTestExpectation.swift<br class="">/home/pi/Source/SWIFT/swift-corelibs-xctest/Sources/XCTest/Public/XCWaitCompletionHandler.swift<br class="">/home/pi/Source/SWIFT/swift-corelibs-xctest/Sources/XCTest/Public/XCTestMain.swift<br class="">/home/pi/Source/SWIFT/swift-corelibs-xctest/Sources/XCTest/Public/XCAbstractTest.swift<br class="">-o /home/pi/Source/SWIFT/build/buildbot_linux/xctest-linux-armv7/XCTest.o<br class="">xctest-build: /home/pi/Source/SWIFT/build/buildbot_linux/swift-linux-armv7/bin/swiftc<br class="">-emit-library /home/pi/Source/SWIFT/build/buildbot_linux/xctest-linux-armv7/XCTest.o<br class="">-L /home/pi/Source/SWIFT/build/buildbot_linux/foundation-linux-armv7/Foundation<br class="">-lswiftGlibc -lswiftCore -lFoundation -lm -Xlinker -rpath=\$ORIGIN -o<br class="">/home/pi/Source/SWIFT/build/buildbot_linux/xctest-linux-armv7/libXCTest.so<br class="">xctest-build: Done.<br class="">swiftpm: using gold linker<br class="">+ /home/pi/Source/SWIFT/swiftpm/Utilities/bootstrap<br class="">--swiftc=/home/pi/Source/SWIFT/build/buildbot_linux/swift-linux-armv7/bin/swiftc<br class="">--sbt=/home/pi/Source/SWIFT/build/buildbot_linux/llbuild-linux-armv7/bin/swift-build-tool<br class="">--build=/home/pi/Source/SWIFT/build/buildbot_linux/swiftpm-linux-armv7<br class="">--foundation=/home/pi/Source/SWIFT/build/buildbot_linux/foundation-linux-armv7/Foundation<br class="">--libdispatch-source-dir=/home/pi/Source/SWIFT/swift-corelibs-libdispatch<br class="">--libdispatch-build-dir=/home/pi/Source/SWIFT/build/buildbot_linux/libdispatch-linux-armv7<br class="">--xctest=/home/pi/Source/SWIFT/build/buildbot_linux/xctest-linux-armv7<br class="">--- bootstrap: note: building stage1:<br class="">/home/pi/Source/SWIFT/build/buildbot_linux/llbuild-linux-armv7/bin/swift-build-tool<br class="">-f /home/pi/Source/SWIFT/build/buildbot_linux/swiftpm-linux-armv7/.bootstrap/build.swift-build<br class="">qemu: uncaught target signal 11 (Segmentation fault) - core dumped<br class="">--- bootstrap: error: build failed with exit status -11<br class="">./utils/build-script: fatal error: command terminated with a non-zero<br class="">exit status 1, aborting<br class="">./utils/build-script: fatal error: command terminated with a non-zero<br class="">exit status 1, aborting<br class="">==================<br class=""><br class=""><br class=""><br class="">I changed the build flags from using the build-bot linux armv7, to<br class="">specifying flags so I could skip the XCTest. I then got another crash.<br class="">It looks like it is Swift-Build.<br class="">==================<br class=""><br class="">~/Source/SWIFT/swift<br class="">+ pushd /home/pi/Source/SWIFT/swift-corelibs-foundation<br class="">~/Source/SWIFT/swift-corelibs-foundation ~/Source/SWIFT/swift<br class="">+ /home/pi/Source/SWIFT/build/buildbot_linux/ninja-build/ninja<br class="">[114/114] Link:<br class="">../build/buildbot_linux/fo...on-linux-armv7/Foundation/libFoundation.so<br class="">+ popd<br class="">~/Source/SWIFT/swift<br class="">swiftpm: using gold linker<br class="">+ /home/pi/Source/SWIFT/swiftpm/Utilities/bootstrap<br class="">--swiftc=/home/pi/Source/SWIFT/build/buildbot_linux/swift-linux-armv7/bin/swiftc<br class="">--sbt=/home/pi/Source/SWIFT/build/buildbot_linux/llbuild-linux-armv7/bin/swift-build-tool<br class="">--build=/home/pi/Source/SWIFT/build/buildbot_linux/swiftpm-linux-armv7<br class="">--foundation=/home/pi/Source/SWIFT/build/buildbot_linux/foundation-linux-armv7/Foundation<br class="">--libdispatch-source-dir=/home/pi/Source/SWIFT/swift-corelibs-libdispatch<br class="">--libdispatch-build-dir=/home/pi/Source/SWIFT/build/buildbot_linux/libdispatch-linux-armv7<br class="">--- bootstrap: note: building stage1:<br class="">/home/pi/Source/SWIFT/build/buildbot_linux/llbuild-linux-armv7/bin/swift-build-tool<br class="">-f /home/pi/Source/SWIFT/build/buildbot_linux/swiftpm-linux-armv7/.bootstrap/build.swift-build<br class="">qemu: uncaught target signal 11 (Segmentation fault) - core dumped<br class="">--- bootstrap: error: build failed with exit status -11<br class="">./utils/build-script: fatal error: command terminated with a non-zero<br class="">exit status 1, aborting<br class=""><br class="">==================<br class=""><br class=""><br class=""><br class="">I skipped the Swift Build stuff. Finally it gets to the packaging<br class="">phase, and something in the packaging phase fails. I think it has<br class="">something to do with Python 2.7. I checked the directories and I seem<br class="">to have a python 3.4 subdirectory that was created in the Swift<br class="">package, but the python 2.7 directory it refers to doesn't exist. (My<br class="">Pi has the Python 2.7 packages installed. I think 3 is also<br class="">installed.)<br class=""><br class="">==================<br class=""><br class=""><br class="">- Installing: /home/pi/swift/usr/include/lldb/DataFormatters/LanguageCategory.h<br class="">-- Installing: /home/pi/swift/usr/include/lldb/DataFormatters/StringPrinter.h<br class="">-- Installing: /home/pi/swift/usr/include/lldb/DataFormatters/TypeCategory.h<br class="">-- Installing: /home/pi/swift/usr/include/lldb/DataFormatters/VectorIterator.h<br class="">-- Installing: /home/pi/swift/usr/include/lldb/DataFormatters/TypeFormat.h<br class="">-- Installing: /home/pi/swift/usr/include/lldb/DataFormatters/FormatManager.h<br class="">-- Installing: /home/pi/swift/usr/include/lldb/DataFormatters/FormattersContainer.h<br class="">-- Installing: /home/pi/swift/usr/include/lldb/DataFormatters/CXXFunctionPointer.h<br class="">-- Installing: /home/pi/swift/usr/include/lldb/DataFormatters/DataVisualization.h<br class="">-- Installing: /home/pi/swift/usr/include/lldb/DataFormatters/DumpValueObjectOptions.h<br class="">CMake Error at scripts/cmake_install.cmake:36 (file):<br class=""> &nbsp;file INSTALL cannot find<br class=""> &nbsp;"/home/pi/Source/SWIFT/build/buildbot_linux/lldb-linux-armv7/lib/python2.7".<br class="">Call Stack (most recent call first):<br class=""> &nbsp;cmake_install.cmake:42 (include)<br class=""><br class=""><br class="">FAILED: cd /home/pi/Source/SWIFT/build/buildbot_linux/lldb-linux-armv7<br class="">&amp;&amp; /home/pi/usr/local/bin/cmake -P cmake_install.cmake<br class="">ninja: build stopped: subcommand failed.<br class="">./utils/build-script: fatal error: command terminated with a non-zero<br class="">exit status 1, aborting<br class=""><br class="">==================<br class=""><br class=""><br class=""><br class="">I would appreciate any guidance on these.<br class=""><br class="">Thanks,<br class="">Eric<br class="">_______________________________________________<br class="">swift-dev mailing list<br class=""><a href="mailto:swift-dev@swift.org" class="">swift-dev@swift.org</a><br class="">https://lists.swift.org/mailman/listinfo/swift-dev<br class=""></div></div></blockquote></div><br class=""></div></body></html>