CMake workarounds for ubuntu capnproto 0.6.1 compatibility #28

pull ryanofsky wants to merge 1 commits into bitcoin-core:master from ryanofsky:pr/compat changing 4 files +79 −3
  1. ryanofsky commented at 5:12 PM on March 3, 2020: collaborator

    No description provided.

  2. CMake workarounds for ubuntu capnproto 0.6.1 compatibility
    Fixes #26
    Fixes #27
    b09973bf7a
  3. Sjors commented at 5:42 PM on March 3, 2020: member

    That did the trick for me, although (perhaps unrelated), make test says it can't find any.

  4. ryanofsky commented at 5:48 PM on March 3, 2020: collaborator

    That did the trick for me, although (perhaps unrelated), make test says it can't find any.

    Thanks for testing! make test not doing anything is expected because ubuntu 0.6.1 package doesn't include the libkj-test library, so the mptest build is skipped

  5. Sjors commented at 5:49 PM on March 3, 2020: member

    This also fixed #26, except for make test, which throws

    Test project /Users/sjors/dev/libmultiprocess/build
        Start 1: mptest
    Could not find executable /Users/sjors/dev/libmultiprocess/build/mptest
    Looked in the following places:
    /Users/sjors/dev/libmultiprocess/build/mptest
    ....
    Unable to find executable: /Users/sjors/dev/libmultiprocess/build/mptest
    1/1 Test [#1](/bitcoin-core-multiprocess/1/): mptest ...........................***Not Run   0.00 sec
    
    0% tests passed, 1 tests failed out of 1
    
  6. ryanofsky commented at 12:50 AM on March 4, 2020: collaborator

    make test says it can't find any.

    To clarify, if you're seeing error:

    No tests were found!!!
    

    with capnp 0.6.1 this is expected because the test can't be built.

    But if you're seeing:

    The following tests FAILED:
              1 - mptest (Not Run)
    Errors while running CTest
    

    that's a different problem. You need to run make all test instead of make test in that case (https://stackoverflow.com/questions/733475/cmake-ctest-make-test-doesnt-build-tests). I'll update the readme to reflect this

  7. ryanofsky force-pushed on Mar 4, 2020
  8. ryanofsky merged this on Mar 4, 2020
  9. ryanofsky closed this on Mar 4, 2020

  10. bitcoin-core locked this on Jun 25, 2025

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin-core/libmultiprocess. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-18 13:30 UTC

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