You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Compilation error: [ 3%] Performing download step (download, verify and extract) for 'gmock' #59
I cloned the repo, did the following, and got this error:
cd wangle/wangle
sudo cmake .
sudo make
yba@ubuntu:~/Documents/XXX/tools/fbthrift/wangle/wangle$ sudo make
[ 1%] Performing configure step for 'gmock'
CMake Error at /home/yba/Documents/XXX/tools/fbthrift/wangle/wangle/gmock/src/gmock-stamp/gmock-configure.cmake:16 (message):
Command failed: 1
'/usr/bin/cmake' '-GUnix Makefiles' '/home/yba/Documents/XXX/tools/fbthrift/wangle/wangle/gmock/src/gmock'
See also
/home/yba/Documents/XXX/tools/fbthrift/wangle/wangle/gmock/src/gmock-stamp/gmock-configure-*.log
make[2]: *** [gmock/src/gmock-stamp/gmock-configure] Error 1
make[1]: *** [CMakeFiles/gmock.dir/all] Error 2
make: *** [all] Error 2
The error log says:
-- downloading...
src='https://googlemock.googlecode.com/files/gmock-1.7.0.zip'
dst='/home/yba/Documents/XXX/tools/fbthrift/wangle/wangle/gmock/src/gmock-1.7.0.zip'
timeout='none'
CMake Error at gmock-stamp/download-gmock.cmake:21 (message):
error: downloading
'https://googlemock.googlecode.com/files/gmock-1.7.0.zip' failed
status_code: 22
status_string: "HTTP response code said error"
log: Hostname was NOT found in DNS cache
Trying 173.194.205.82...
Connected to googlemock.googlecode.com (173.194.205.82) port 443 (#0)
successfully set certificate verify locations:
CAfile: none
CApath: /etc/ssl/certs
SSLv3, TLS handshake, Client hello (1):
Is this normal? https://googlemock.googlecode.com/files/gmock-1.7.0.zip seems to be invalid. Please confirm this is a bug, or help me on how to compile it. I could compile successfully last month.
Thank you very much!
Reacted by Matthieu Labour, mjs6643, Maxime Bleher, Rajan, Mohnish Kodnani, DerekDally, Yunsheng Bai and Petr Mánek
@yunshengb - As a workaround, can you download gmock-1.7.0.zip to the same dir as CmakeLists.txt and retry? There's some logic there to look in the local directory first before fetching from the URL.
Activity
tedjp commentedon Aug 30, 2016
GMock no longer exists on googlecode.com and has been absorbed into googletest. I updated the build to use the new repository: tedjp@1b161ea
anirudhvr commentedon Aug 30, 2016
@tedjp Thanks. Can you create a PR please?
@yunshengb - As a workaround, can you download gmock-1.7.0.zip to the same dir as CmakeLists.txt and retry? There's some logic there to look in the local directory first before fetching from the URL.