Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Download Hash Mismatch #267

Open
hakancqn opened this issue Nov 2, 2024 · 2 comments
Open

Download Hash Mismatch #267

hakancqn opened this issue Nov 2, 2024 · 2 comments
Assignees

Comments

@hakancqn
Copy link

hakancqn commented Nov 2, 2024

Steps done:

  1. Clone repository.
  2. Create build directory.
    On third step (run cmake ..) this error occurs:

-- [download 100% complete]
CMake Error at CMakeModules/DownloadCEF.cmake:34 (file):
file DOWNLOAD HASH mismatch

for file: [/home/hakancqn/wallpaperengine/third_party/cef/cef_binary_120.1.10+g3ce3184+chromium-120.0.6099.129_linux64.tar.bz2]
  expected hash: [886632f731ab0c0732d8f39ff46fe99dfd7461a3]
    actual hash: [eba6f9eecb3aee51f465d396e1482c1d209614d6]

Call Stack (most recent call first):
CMakeLists.txt:74 (DownloadCEF)

-- Extracting /home/hakancqn/wallpaperengine/third_party/cef/cef_binary_120.1.10+g3ce3184+chromium-120.0.6099.129_linux64.tar.bz2...
CMake Error: Problem with archive_write_header(): Can't create 'cef_binary_120.1.10+g3ce3184+chromium-120.0.6099.129_linux64'
CMake Error: Current file: cef_binary_120.1.10+g3ce3184+chromium-120.0.6099.129_linux64/
CMake Error: Problem extracting tar: /home/hakancqn/wallpaperengine/third_party/cef/cef_binary_120.1.10+g3ce3184+chromium-120.0.6099.129_linux64.tar.bz2
CMake Error at CMakeModules/FindCEF.cmake:29 (message):
Must specify a CEF_ROOT value via CMake or environment variable.
Call Stack (most recent call first):
CMakeLists.txt:76 (find_package)

-- Configuring incomplete, errors occurred!

Couldn't find a reported issue about this. Thanks in advance.

@im-vmn
Copy link

im-vmn commented Nov 7, 2024

It's more probable that the problem is on your machine or something happened to your Internet connection, rather than the project config is wrong. I have successfully got the build following your steps and using linux amd64 as well. Anyway, as a temporary workaround you can try to clone cef project (or download the archive) and put it under PROJECT_ROOT/third_party/cef and then try to build again

@Almamu
Copy link
Owner

Almamu commented Nov 8, 2024

My first suspect is download didn't happen properly (likely got corrupted) so you might want to clear your build folder (or remove the downloaded tar.bz2 file from the build folder) and try again.

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

No branches or pull requests

3 participants