-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build fail in bitcoin core on macOS #52
Comments
Thanks for reporting this!
I am able to reproduce this, and this is caused by #43. The reason it happens is that the version of bitcoin/bitcoin#19160 built here is a few months old, originally pushed 2020-11-24, and not compatible with the current version of libmultiprocess after #43. There are three ways to fix it:
git diff pr/ipc-echo.19..pr/ipc-echo.24 src/ipc/capnp/*.capnp
diff --git a/src/ipc/capnp/echo.capnp b/src/ipc/capnp/echo.capnp
index cedf6f2718e..1bdd81321ca 100644
--- a/src/ipc/capnp/echo.capnp
+++ b/src/ipc/capnp/echo.capnp
@@ -8,6 +8,8 @@ using Cxx = import "/capnp/c++.capnp";
$Cxx.namespace("ipc::capnp::messages");
using Proxy = import "/mp/proxy.capnp";
+$Proxy.include("interfaces/echo.h");
+$Proxy.include("ipc/capnp/echo.capnp.h");
interface Echo $Proxy.wrap("interfaces::Echo") {
destroy @0 (context :Proxy.Context) -> ();
diff --git a/src/ipc/capnp/init.capnp b/src/ipc/capnp/init.capnp
index 06f767b02c5..78f1c7f8cd9 100644
--- a/src/ipc/capnp/init.capnp
+++ b/src/ipc/capnp/init.capnp
@@ -9,6 +9,8 @@ $Cxx.namespace("ipc::capnp::messages");
using Echo = import "echo.capnp";
using Proxy = import "/mp/proxy.capnp";
+$Proxy.include("ipc/capnp/init.h");
+$Proxy.includeTypes("ipc/capnp/init-types.h");
interface Init $Proxy.wrap("interfaces::Init") {
construct @0 (threadMap: Proxy.ThreadMap) -> (threadMap :Proxy.ThreadMap); |
🤦 I thought I was on the latest version, not sure what happened as I usually fetch the latest version. Sorry for the noise! |
Not noise at all! Definitely could have provided clearer build errors here. I filed #54 to track this. |
Trying to build bitcoin/bitcoin@a3d7a9864b on macOS results in the following error:
I've followed 805eb73 build and install instructions.
On the bitcoin folder, I've made a fresh clone and configure.
The text was updated successfully, but these errors were encountered: