Skip to content
This repository has been archived by the owner on Apr 24, 2022. It is now read-only.

Can't compile due to outdated CMakeList #2406

Open
zip39 opened this issue Jan 21, 2022 · 3 comments
Open

Can't compile due to outdated CMakeList #2406

zip39 opened this issue Jan 21, 2022 · 3 comments

Comments

@zip39
Copy link

zip39 commented Jan 21, 2022

Describe the bug
When trying to compile ethminer 0.19, I get the following error:

CMake Error at /home/user/.hunter/_Base/Download/Hunter/0.23.112/4b894e1/Unpacked/cmake/modules/hunter_error_page.cmake:12 (message):
Call Stack (most recent call first):
  /home/user/.hunter/_Base/Download/Hunter/0.23.112/4b894e1/Unpacked/cmake/modules/hunter_fatal_error.cmake:20 (hunter_error_page)
  /home/user/.hunter/_Base/Download/Hunter/0.23.112/4b894e1/Unpacked/cmake/modules/hunter_download.cmake:614 (hunter_fatal_error)
  /home/user/.hunter/_Base/Download/Hunter/0.23.112/4b894e1/Unpacked/cmake/projects/Boost/hunter.cmake:381 (hunter_download)
  /home/user/.hunter/_Base/Download/Hunter/0.23.112/4b894e1/Unpacked/cmake/modules/hunter_add_package.cmake:62 (include)
  CMakeLists.txt:60 (hunter_add_package)

Then, when I looked at the CMakeList.txt, I see that it references the repo /~https://github.com/ruslo/hunter, which is archived. The hunter project seems to have moved to /~https://github.com/cpp-pm/hunter.

Expected behavior
Successful compilation.

Environment (please complete the following information):

  • Operating System: Arch Linux (kernel 5.16)
  • Ethminer Version: 0.19
@zip39
Copy link
Author

zip39 commented Jan 21, 2022

A workaround (but not a fix to the root problem) is to manually install boost:
wget 'https://boostorg.jfrog.io/artifactory/main/release/1.66.0/source/boost_1_66_0.7z' -O $HOME/.hunter/_Base/Download/Boost/1.66.0/075d0b4/boost_1_66_0.7z

@BlackMage2
Copy link

BlackMage2 commented Feb 10, 2022

that is only a bad workaround, why aren't already installed boost libraries searched and found?

@es-amrtarek
Copy link

es-amrtarek commented Feb 19, 2022

I have solved it here #2413 by updating the hunter to the working version
All tests are passed, it just needs a review to merge

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

3 participants