Pass boost’s build settings to boost-specific library detection. As boost::process is header-only, setting the CPPFLAGS is enough, there is no need to set LIBS.
Closes #22269.
Pass boost's build settings to boost-specific library detection. As
boost::process is header-only, setting the CPPFLAGS is enough, there is
no need to set LIBS.
Closes #22269.
File | commit 6a67366fdc3e1d383fe7cbfa209d7e85f0d96638(master) | commit 62a677c9ad8702885c78e96acf61ec82e9db13aa(master and this pull) |
---|---|---|
SKIPATTEST.TAG | e3b0c44298fc1c14... |
e3b0c44298fc1c14... |
*.tar.gz | ed3096aa949f1b56... |
09ab7371ba18012f... |
guix_build.log | 7920a375a22476b1... |
96ef752b407daf68... |
guix_build.log.diff | 6eba84a29347b780... |
File | commit 398dd678338971d2189934713c83c184742f293f(master) | commit 030c99decc37f964c5bc42a7c210bf63c5bdd8ec(master and this pull) |
---|---|---|
*-osx-unsigned.dmg | 92e2d116b58d4214... |
b0eab3680b3992e5... |
*-osx64.tar.gz | 02578406a266bd45... |
adf004565ec5cf57... |
*.tar.gz | b16fc2a40cba5b8c... |
a5d540ce0163bf48... |
bitcoin-core-osx-22-res.yml | f2972b31a41adb54... |
12ab96996f4f1fa2... |
linux-build.log | 6c8e74cad31e39a3... |
6a4dad873cf3c729... |
osx-build.log | bb8f3e7c16328172... |
3d74c82e6fd2fe54... |
win-build.log | 2eea226b75083143... |
7b244d60830e6f7f... |
bitcoin-core-osx-22-res.yml.diff | 37bb5243ec83208c... |
|
linux-build.log.diff | 8aa0e569c5b93f7c... |
|
osx-build.log.diff | 4f209023899dc278... |
|
win-build.log.diff | 4ac255f3cbdf36a6... |
ACK 8d87a0c0771203b5278251aded23ba0157f0d2d1
Confirming bug #22269 on my FreeBSD 13 machine. This PR fixes the configuration error and allows me to build.
master:
0checking for Boost Process... configure: error: Boost::Process is required for external signer support, but not available!
pr:
0checking for Boost Process... yes
With this patch, the boost::process header is now found on my OpenBSD 6.9 machine. Unfortunately, it still fails:
0configure:31594: checking for Boost Process
1configure:31609: c++ -std=c++17 -c -g -O2 -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS -DPROVIDE_FUZZ_MAIN_FUNCTION -I/usr/local/include conftest.cpp >&5
2In file included from conftest.cpp:79:
3In file included from /usr/local/include/boost/process.hpp:25:
4In file included from /usr/local/include/boost/process/group.hpp:32:
5/usr/local/include/boost/process/detail/posix/wait_group.hpp:38:17: error: no member named 'waitid' in the global namespace
6 ret = ::waitid(P_PGID, p.grp, &status, WEXITED | WNOHANG);
7 ~~^
8/usr/local/include/boost/process/detail/posix/wait_group.hpp:38:24: error: use of undeclared identifier 'P_PGID'
9 ret = ::waitid(P_PGID, p.grp, &status, WEXITED | WNOHANG);
10 ^
11/usr/local/include/boost/process/detail/posix/wait_group.hpp:38:48: error: use of undeclared identifier 'WEXITED'
12 ret = ::waitid(P_PGID, p.grp, &status, WEXITED | WNOHANG);
13 ^
14/usr/local/include/boost/process/detail/posix/wait_group.hpp:144:17: error: no member named 'waitid' in the global namespace
15 ret = ::waitid(P_PGID, p.grp, &siginfo, WEXITED | WSTOPPED | WNOHANG);
16 ~~^
17/usr/local/include/boost/process/detail/posix/wait_group.hpp:144:24: error: use of undeclared identifier 'P_PGID'
18 ret = ::waitid(P_PGID, p.grp, &siginfo, WEXITED | WSTOPPED | WNOHANG);
19 ^
20/usr/local/include/boost/process/detail/posix/wait_group.hpp:144:49: error: use of undeclared identifier 'WEXITED'
21 ret = ::waitid(P_PGID, p.grp, &siginfo, WEXITED | WSTOPPED | WNOHANG);
22 ^
23/usr/local/include/boost/process/detail/posix/wait_group.hpp:144:59: error: use of undeclared identifier 'WSTOPPED'
24 ret = ::waitid(P_PGID, p.grp, &siginfo, WEXITED | WSTOPPED | WNOHANG);
25 ^
267 errors generated.
It seems like this is an issue with Boost integration in OpenBSD though (which e.g. indeed has no waitid
).
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
Reviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.
It seems like this is an issue with Boost integration in OpenBSD though (which e.g. indeed has no waitid).
Should we recommend --disable-external-signer
in doc/build-openbsd.md
? Otherwise, the build fails by default there?