Skip to content

Compilation error: [ 3%] Performing download step (download, verify and extract) for 'gmock' #59

Closed

Description

@yunshengb

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!

Activity

  1. tedjp commented on Aug 30, 2016

    @tedjp
    Contributor

    GMock no longer exists on googlecode.com and has been absorbed into googletest. I updated the build to use the new repository: tedjp@1b161ea

  2. anirudhvr commented on Aug 30, 2016

    @anirudhvr
    Contributor

    @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.

  3. ghost closed this as completedin 2c55f2bon Aug 31, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions