[swift-users] Swift is building from source, failing tests.

Mish Awadah mawadah at apple.com
Fri Dec 11 16:18:51 CST 2015


You have a problem with Cmark, not swift. I think you probably have a configuration issue, or are missing some dev library. If you search the archives of swift-users, someone else had a cmark problem too, and the solution provided might help you. 

I would also recommend ensuring you have installed all of the relevant dev tools as listed on the readme. 

- mish

> On Dec 11, 2015, at 11:12 AM, Dylan Brown via swift-users <swift-users at swift.org> wrote:
> 
> Hello! When running `utils/build-script --clean -t`, I'm able to complete the build but it regularly fails the same 4/6 tests. Also, check-swift and check-swift-validation are not found in the build directory alongside Ninja-DebugAssert.
> I've been working at this for a while, and I'm not sure where to look next. Any ideas what could be going wrong?
> 
> Thanks!
> Dylan
> 
>   Python 2.7.10
> Installed with homebrew:
>   ninja version 1.6.0
>   cmake version 3.4.0
> 
> ********** Output of `utils/build-script --clean -t` **********
> build succeeded.
> [646/646] Generating ../../../lib/swift/macosx/libswiftStdlibUnittest.dylib
> --- Building tests for cmark ---
> + /usr/local/bin/cmake --build /Users/dylan/Developer/Swift/build/Ninja-DebugAssert/cmark-macosx-x86_64 -- api_test
> ninja: no work to do.
> --- Running tests for cmark ---
> --- test ---
> + cd /Users/dylan/Developer/Swift/build/Ninja-DebugAssert/cmark-macosx-x86_64
> + /usr/local/Cellar/cmake/3.4.0/bin/ctest --force-new-ctest-process
> Test project /Users/dylan/Developer/Swift/build/Ninja-DebugAssert/cmark-macosx-x86_64
>     Start 1: api_test
> 1/6 Test #1: api_test .........................   Passed    0.01 sec
>     Start 2: html_normalization
> 2/6 Test #2: html_normalization ...............***Failed    0.09 sec
>     Start 3: spectest_library
> 3/6 Test #3: spectest_library .................***Failed    0.06 sec
>     Start 4: pathological_tests_library
> 4/6 Test #4: pathological_tests_library .......   Passed    0.87 sec
>     Start 5: spectest_executable
> 5/6 Test #5: spectest_executable ..............***Failed    0.06 sec
>     Start 6: smartpuncttest_executable
> 6/6 Test #6: smartpuncttest_executable ........***Failed    0.06 sec
> 
> 33% tests passed, 4 tests failed out of 6
> 
> Total Test time (real) =   1.15 sec
> 
> The following tests FAILED:
>   2 - html_normalization (Failed)
>   3 - spectest_library (Failed)
>   5 - spectest_executable (Failed)
>   6 - smartpuncttest_executable (Failed)
> Errors while running CTest
> *** Failed while running tests for cmark (test)
> utils/build-script: command terminated with a non-zero exit status 8, aborting
>  _______________________________________________
> swift-users mailing list
> swift-users at swift.org
> https://lists.swift.org/mailman/listinfo/swift-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-users/attachments/20151211/a411b533/attachment.html>


More information about the swift-users mailing list