build: boost::process detection doesn’t pass include directory #22269

issue laanwj openend this issue on June 17, 2021
  1. laanwj commented at 11:31 am on June 17, 2021: member

    boost::process detection fails here (FreeBSD 13.0) with:

    0configure:32183: checking for Boost Process
    1configure:32196: c++ -std=c++17 -c -g -O2  -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS -DPROVIDE_FUZZ_MAIN_FUNCTION conftest.cpp >&5
    2conftest.cpp:80:10: fatal error: 'boost/process.hpp' file not found
    3#include <boost/process.hpp>
    4         ^~~~~~~~~~~~~~~~~~~
    51 error generated.
    6configure:32196: $? = 1
    

    The header in question does exist in /usr/local/include/boost/process.hpp. However, no include path is passed?

    For comparison, the preceding boost::filesystem check, which passes -I/usr/local/include succeeds:

    0configure:32026: checking for exit in -lboost_filesystem
    1configure:32051: c++ -std=c++17 -o conftest -g -O2  -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS -DPROVIDE_FUZZ_MAIN_FUNCTION -I/usr/local/include  -L/usr/local/lib conftest.cpp -lboost_filesystem   -lboost_system >&5
    2configure:32051: $? = 0
    3configure:32061: result: yes
    
  2. laanwj added the label Bug on Jun 17, 2021
  3. laanwj added the label Build system on Jun 17, 2021
  4. laanwj added this to the milestone 22.0 on Jun 17, 2021
  5. theStack commented at 12:26 pm on June 18, 2021: member

    I can confirm the same behaviour on OpenBSD 6.9:

    0configure:31594: checking for Boost Process
    1configure:31607: c++ -std=c++17 -c -g -O2  -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS -DPROVIDE_FUZZ_MAIN_FUNCTION conftest.cpp >&5
    2conftest.cpp:79:10: fatal error: 'boost/process.hpp' file not found
    3#include <boost/process.hpp>
    4         ^~~~~~~~~~~~~~~~~~~
    51 error generated.
    
    0$ find / -name process.hpp
    1...
    2/usr/local/include/boost/process.hpp
    3...
    
  6. laanwj referenced this in commit 8d87a0c077 on Jun 21, 2021
  7. jarolrod commented at 6:28 am on June 23, 2021: member

    Confirming the same behavior on my FreeBSD 13 machine; when trying to build off master:

    0checking for Boost Process... configure: error: Boost::Process is required for external signer support, but not available!
    
  8. fanquake closed this on Jun 24, 2021

  9. sidhujag referenced this in commit 82f2101bf7 on Jun 24, 2021
  10. DrahtBot locked this on Aug 18, 2022

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: 2024-07-03 13:13 UTC

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