Closed MorganBergen closed 1 year ago
Hey Morgan,
I'm guessing you just updated your software version? Thats what did me in I suspect.
Run this command and let me know if your conan profile is similar to mine.
conan profile show default
Here is my profile that is working
[settings]
os=Macos
os_build=Macos
arch=armv8
arch_build=armv8
compiler=apple-clang
compiler.version=14
compiler.libcxx=libc++
build_type=Release
compiler.cppstd=20
[options]
boost:extra_b2_flags="define=BOOST_ASIO_HAS_STD_INVOKE_RESULT"
[conf]
tools.build:cflags=['-DBOOST_ASIO_HAS_STD_INVOKE_RESULT']
tools.build:cxxflags=['-DBOOST_ASIO_HAS_STD_INVOKE_RESULT']
[build_requires]
[env]
CC=clang
CFLAGS=-DBOOST_ASIO_HAS_STD_INVOKE_RESULT
CXX=clang++
CXXFLAGS=-DBOOST_ASIO_HAS_STD_INVOKE_RESULT
If its not then update it and then run rm -rf ~/.conan/data
to clear out all the old cache.
Yes, I made this issue in relation to a PR I made here
❯ cat default
[settings]
os=Macos
os_build=Macos
arch=armv8
arch_build=armv8
compiler=apple-clang
compiler.version=14
compiler.libcxx=libc++
build_type=Release
compiler.cppstd=20
[options]
boost:extra_b2_flags=define=BOOST_ASIO_HAS_STD_INVOKE_RESULT
[build_requires]
[env]
CC=/usr/bin/gcc
CFLAGS=-DBOOST_ASIO_HAS_STD_INVOKE_RESULT=1
CXXFLAGS=-DBOOST_ASIO_HAS_STD_INVOKE_RESULT=1
cxx=/usr/bin/g++
[conf]
tools.build:compiler_executables={'c': '/usr/bin/gcc', 'cpp': '/usr/bin/g++'}
~/.conan/profiles
Issue Description
Runtime Error from Thrown Exception via calling,
conan install .. --output-folder . --build missing --settings build_type=Release
.ConanException: build process for the Boost library failed during the execution of the b2
Steps to Reproduce
Expected Result
conan install .. --output-folder . --build missing --settings build_type="Release"
Actual Result
Environment
OS: macOS 13.4 22F66 arm64
Host: MacBookPro18,3
Kernel: 22.5.0
Packages: 56 (brew)
Shell: zsh 5.9
CPU: Apple M1 Pro
Memory: 2026MiB / 16384MiB
gcc --v
Apple clang version 14.0.3 (clang-1403.0.22.14.1) Target: arm64-apple-darwin22.5.0 Thread model: posix InstalledDir: /Library/Developer/CommandLineTools/usr/bin
g++ --v
Apple clang version 14.0.3 (clang-1403.0.22.14.1) Target: arm64-apple-darwin22.5.0 Thread model: posix InstalledDir: /Library/Developer/CommandLineTools/usr/bin
clang --v
Apple clang version 14.0.3 (clang-1403.0.22.14.1) Target: arm64-apple-darwin22.5.0 Thread model: posix InstalledDir: /Library/Developer/CommandLineTools/usr/bin
brew info boost
==> boost: stable 1.82.0 (bottled), HEAD Collection of portable C++ source libraries https://www.boost.org/ /opt/homebrew/Cellar/boost/1.82.0 (16,057 files, 491.8MB) *
cmake version 3.26.4
Conan version 1.59.0
Python 3.11.4
rippled version 1.11.0
git branch master
Supporting Files
potential duplicate issues
4580 issues