Make check FAIL: qt/test/test_bitcoin-qt #18058

issue glaksmono opened this issue on February 3, 2020
  1. glaksmono commented at 5:50 AM on February 3, 2020: contributor

    Taking the master branch. I went thru the build process described here: https://github.com/bitcoin/bitcoin/blob/master/doc/build-osx.md#build-bitcoin-core

    and make check FAILED. Here's the output:

    ➜  bitcoin git:(bitcoin-17224) make check
    Making check in src
    /Applications/Xcode.app/Contents/Developer/usr/bin/make  check-TESTS check-local
    ../build-aux/test-driver: line 107: 45289 Abort trap: 6           "$@" > $log_file 2>&1
    FAIL: qt/test/test_bitcoin-qt
    ============================================================================
    Testsuite summary for Bitcoin Core 0.19.99
    ============================================================================
    # TOTAL: 1
    # PASS:  0
    # SKIP:  0
    # XFAIL: 0
    # FAIL:  1
    # XPASS: 0
    # ERROR: 0
    ============================================================================
    See src/test-suite.log
    Please report to https://github.com/bitcoin/bitcoin/issues
    ============================================================================
    make[4]: *** [test-suite.log] Error 1
    make[3]: *** [check-TESTS] Error 2
    make[2]: *** [check-am] Error 2
    make[1]: *** [check-recursive] Error 1
    make: *** [check-recursive] Error 1
    ➜  bitcoin git:(bitcoin-17224)
    

    System information

    • Mac OS Catalina
  2. glaksmono added the label Bug on Feb 3, 2020
  3. fanquake commented at 5:52 AM on February 3, 2020: member

    You will need to check/provide the actual logs. i.e src/test-suite.log.

  4. glaksmono commented at 5:53 AM on February 3, 2020: contributor

    @fanquake here you go:

    ➜  bitcoin git:(bitcoin-17224) cat src/test-suite.log
    ==============================================
       Bitcoin Core 0.19.99: src/test-suite.log
    ==============================================
    
    # TOTAL: 1
    # PASS:  0
    # SKIP:  0
    # XFAIL: 0
    # FAIL:  1
    # XPASS: 0
    # ERROR: 0
    
    .. contents:: :depth: 2
    
    FAIL: qt/test/test_bitcoin-qt
    =============================
    
    dyld: Library not loaded: /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib
      Referenced from: /usr/local/opt/libevent/lib/libevent_pthreads-2.1.6.dylib
      Reason: image not found
    FAIL qt/test/test_bitcoin-qt (exit status: 134)
    
  5. fanquake commented at 5:59 AM on February 3, 2020: member

    I'd suggest git clean -fxd and rebuilding from scratch.

    The dynamic loader is failing to load Openssl's libcrypto. That means you haven't actually built master, because in that branch we no longer use OpenSSL at all, or, you've probably got some old build artifacts lying around.

  6. glaksmono commented at 7:02 AM on February 3, 2020: contributor

    Just redo the whole thing, and still getting the same error @fanquake

    Ideas?

  7. fanquake commented at 8:13 AM on February 3, 2020: member

    Right. I see that the OpenSSL dependency is coming from libevent. What version do you have installed? Reinstalling it via brew should fix the issue, as it will install OpenSSL as one of it's dependencies.

  8. glaksmono commented at 9:09 AM on February 3, 2020: contributor

    So here's what I did to make it work:

    1. Upgraded homebrew
    2. Reinstall openssl
    3. Re-do https://github.com/bitcoin/bitcoin/blob/master/doc/build-osx.md#build-bitcoin-core
  9. glaksmono closed this on Feb 3, 2020

  10. DrahtBot locked this on Feb 15, 2022
Contributors
Labels

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-29 03:14 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me