Skip to content
This repository has been archived by the owner on Oct 28, 2021. It is now read-only.

cmake .. ERROR #5901

Open
sowson opened this issue Apr 10, 2020 · 1 comment
Open

cmake .. ERROR #5901

sowson opened this issue Apr 10, 2020 · 1 comment

Comments

@sowson
Copy link

sowson commented Apr 10, 2020

PLEASE HELP

...failed darwin.compile.c++ bin.v2/libs/program_options/build/darwin-11.0.3/debug/link-static/threading-multi/visibility-hidden/split.o...
...skipped <pbin.v2/libs/program_options/build/darwin-11.0.3/debug/link-static/threading-multi/visibility-hidden>libboost_program_options-mt-d.a(clean) for lack of <pbin.v2/libs/program_options/build/darwin-11.0.3/debug/link-static/threading-multi/visibility-hidden>cmdline.o...
...skipped <pbin.v2/libs/program_options/build/darwin-11.0.3/debug/link-static/threading-multi/visibility-hidden>libboost_program_options-mt-d.a for lack of <pbin.v2/libs/program_options/build/darwin-11.0.3/debug/link-static/threading-multi/visibility-hidden>cmdline.o...
...skipped <p/Users/piotr/.hunter/_Base/c022f0c/9ff6f2e/6201cae/Build/Boost/__program_options/Source/stage/lib>libboost_program_options-mt-d.a for lack of <pbin.v2/libs/program_options/build/darwin-11.0.3/debug/link-static/threading-multi/visibility-hidden>libboost_program_options-mt-d.a...
...failed updating 22 targets...
...skipped 6 targets...
...updated 15 targets...
make[2]: *** [Boost-program_options-prefix/src/Boost-program_options-stamp/Boost-program_options-build] Error 1
make[1]: *** [CMakeFiles/Boost-program_options.dir/all] Error 2
make: *** [all] Error 2

[hunter ** FATAL ERROR **] Build step failed (dir: /Users/piotr/.hunter/_Base/c022f0c/9ff6f2e/6201cae/Build/Boost/__program_options
[hunter ** FATAL ERROR **] [Directory:/Users/piotr/.hunter/_Base/Download/Hunter/0.23.211/c022f0c/Unpacked/cmake/projects/Boost/program_options]

------------------------------ ERROR -----------------------------
https://docs.hunter.sh/en/latest/reference/errors/error.external.build.failed.html

CMake Error at /Users/piotr/.hunter/_Base/Download/Hunter/0.23.211/c022f0c/Unpacked/cmake/modules/hunter_error_page.cmake:12 (message):
Call Stack (most recent call first):
/Users/piotr/.hunter/_Base/Download/Hunter/0.23.211/c022f0c/Unpacked/cmake/modules/hunter_fatal_error.cmake:20 (hunter_error_page)
/Users/piotr/.hunter/_Base/Download/Hunter/0.23.211/c022f0c/Unpacked/cmake/modules/hunter_download.cmake:617 (hunter_fatal_error)
/Users/piotr/.hunter/_Base/Download/Hunter/0.23.211/c022f0c/Unpacked/cmake/projects/Boost/program_options/hunter.cmake:16 (hunter_download)
/Users/piotr/.hunter/_Base/Download/Hunter/0.23.211/c022f0c/Unpacked/cmake/modules/hunter_add_package.cmake:62 (include)
CMakeLists.txt:65 (hunter_add_package)

-- Configuring incomplete, errors occurred!
See also "/Users/piotr/github/ethereum/aleth/build/CMakeFiles/CMakeOutput.log".

@qwy16
Copy link

qwy16 commented Jun 2, 2021

I guess the error is due to unsuccessful of Boost build managed by hunter too. Make sure you have the boost package download by hunter as:
hunter download Boost from
-- Using src='https://github.com/hunter-packages/boost/archive/v1.70.0-p0.tar.gz'

which v1.70.0-p0.tar.gz for my case is the latest boost package. What i am hitting on Mac in my case is that after building program_options, hitting: clang ---> error: unknown argument: '-fcoalesce-templates'

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants