willyd / caffe-builder

CMake build scripts to automate building the Caffe library and its dependencies.
BSD 2-Clause "Simplified" License
186 stars 116 forks source link

downloading protobuf fails with hash missmatch #47

Open kontramind opened 7 years ago

kontramind commented 7 years ago

Hi, Can this be a proxy issue:

-- verifying file... file='C:/dev/CaffeAutomaticBuild/caffe-builder/build_v140_x64/download/protobuf-v3.1.0.tar.gz' -- MD5 hash of C:/dev/CaffeAutomaticBuild/caffe-builder/build_v140_x64/download/protobuf-v3.1.0.tar.gz does not match expected value expected: '14a532a7538551d5def317bfca41dace' actual: '39d6a4fa549c0cce164aa3064b1492dc' -- Hash mismatch, removing... CMake Error at protobuf_download-stamp/download-protobuf_download.cmake:157 (message): Each download failed!

willyd commented 7 years ago

I doubt it. CI has the same issue. Does the downloaded archive look alright? Maybe it is an upstream change?

If the archive looks good. Maybe you can change the URL_MD5 in https://github.com/willyd/caffe-builder/blob/master/packages/protobuf/CMakeLists.txt#L43 and see how it goes.

kontramind commented 7 years ago

OK. Seems same problem with zlib (upstream change?).

TimmvonderMehden commented 6 years ago

I have the same problem, but i could fix it with URL_MD5 39d6a4fa549c0cce164aa3064b1492dc (same md5 as kontramind). Everything else works without problems (exept a minor issue in python/boost, i report this issue later) btw. thank you for providing this project! Saves a lot of work to build caffe!