Skip to content

Servering C++ 编译失败 #1820

Closed
Closed
@shengzhou1216

Description

环境

docker images: paddlepaddle/paddle:latest-dev-cuda11.4.1-cudnn8-gcc82

复现

按照 如何编译PaddleServing文档,在 编译paddle-serving-server步骤中 make -j20 这一步出错.

编译时,设置了代理,可以从Github上拉取资源

错误信息

CMake Error at extern_paddle-stamp/download-extern_paddle.cmake:159 (message):
  Each download failed!

    error: downloading 'http://paddle-inference-lib.bj.bcebos.com/2.3.0-rc0/cxx_c/Linux/GPU//paddle_inference.tgz' failed
         status_code: 22
         status_string: "HTTP response code said error"
         log:
         --- LOG BEGIN ---
         Uses proxy env variable http_proxy == 'http://10.171.60.50:7890'
    Trying 10.171.60.50:7890...

  TCP_NODELAY set

  Connected to 10.171.60.50 (10.171.60.50) port 7890 (#0)

  GET
  http://paddle-inference-lib.bj.bcebos.com/2.3.0-rc0/cxx_c/Linux/GPU//paddle_inference.tgz
  HTTP/1.1

  Host: paddle-inference-lib.bj.bcebos.com

  User-Agent: curl/7.65.0

  Accept: */*

  Proxy-Connection: Keep-Alive

  

  Mark bundle as not supporting multiuse

  The requested URL returned error: 404 Not Found

  Closing connection 0

  

         --- LOG END ---
         error: downloading 'http://paddle-inference-lib.bj.bcebos.com/2.3.0-rc0/cxx_c/Linux/GPU//paddle_inference.tgz' failed
         status_code: 22
         status_string: "HTTP response code said error"
         log:
         --- LOG BEGIN ---
         Uses proxy env variable http_proxy == 'http://10.171.60.50:7890'
    Trying 10.171.60.50:7890...

  TCP_NODELAY set

  Connected to 10.171.60.50 (10.171.60.50) port 7890 (#0)

  GET
  http://paddle-inference-lib.bj.bcebos.com/2.3.0-rc0/cxx_c/Linux/GPU//paddle_inference.tgz
  HTTP/1.1

  Host: paddle-inference-lib.bj.bcebos.com

  User-Agent: curl/7.65.0

  Accept: */*

  Proxy-Connection: Keep-Alive

  

  Mark bundle as not supporting multiuse

  The requested URL returned error: 404 Not Found

  Closing connection 0

  

         --- LOG END ---
         error: downloading 'http://paddle-inference-lib.bj.bcebos.com/2.3.0-rc0/cxx_c/Linux/GPU//paddle_inference.tgz' failed
         status_code: 22
         status_string: "HTTP response code said error"
         log:
         --- LOG BEGIN ---
         Uses proxy env variable http_proxy == 'http://10.171.60.50:7890'
    Trying 10.171.60.50:7890...

  TCP_NODELAY set

  Connected to 10.171.60.50 (10.171.60.50) port 7890 (#0)

  GET
  http://paddle-inference-lib.bj.bcebos.com/2.3.0-rc0/cxx_c/Linux/GPU//paddle_inference.tgz
  HTTP/1.1

  Host: paddle-inference-lib.bj.bcebos.com

  User-Agent: curl/7.65.0

  Accept: */*

  Proxy-Connection: Keep-Alive

  

  Mark bundle as not supporting multiuse

  The requested URL returned error: 404 Not Found

  Closing connection 0

  

         --- LOG END ---
         error: downloading 'http://paddle-inference-lib.bj.bcebos.com/2.3.0-rc0/cxx_c/Linux/GPU//paddle_inference.tgz' failed
         status_code: 22
         status_string: "HTTP response code said error"
         log:
         --- LOG BEGIN ---
         Uses proxy env variable http_proxy == 'http://10.171.60.50:7890'
    Trying 10.171.60.50:7890...

  TCP_NODELAY set

  Connected to 10.171.60.50 (10.171.60.50) port 7890 (#0)

  GET
  http://paddle-inference-lib.bj.bcebos.com/2.3.0-rc0/cxx_c/Linux/GPU//paddle_inference.tgz
  HTTP/1.1

  Host: paddle-inference-lib.bj.bcebos.com

  User-Agent: curl/7.65.0

  Accept: */*

  Proxy-Connection: Keep-Alive

  

  Mark bundle as not supporting multiuse

  The requested URL returned error: 404 Not Found

  Closing connection 0

  

         --- LOG END ---
         error: downloading 'http://paddle-inference-lib.bj.bcebos.com/2.3.0-rc0/cxx_c/Linux/GPU//paddle_inference.tgz' failed
         status_code: 22
         status_string: "HTTP response code said error"
         log:
         --- LOG BEGIN ---
         Uses proxy env variable http_proxy == 'http://10.171.60.50:7890'
    Trying 10.171.60.50:7890...

  TCP_NODELAY set

  Connected to 10.171.60.50 (10.171.60.50) port 7890 (#0)

  GET
  http://paddle-inference-lib.bj.bcebos.com/2.3.0-rc0/cxx_c/Linux/GPU//paddle_inference.tgz
  HTTP/1.1

  Host: paddle-inference-lib.bj.bcebos.com

  User-Agent: curl/7.65.0

  Accept: */*

  Proxy-Connection: Keep-Alive

  

  Mark bundle as not supporting multiuse

  The requested URL returned error: 404 Not Found

  Closing connection 0

  

         --- LOG END ---
         error: downloading 'http://paddle-inference-lib.bj.bcebos.com/2.3.0-rc0/cxx_c/Linux/GPU//paddle_inference.tgz' failed
         status_code: 22
         status_string: "HTTP response code said error"
         log:
         --- LOG BEGIN ---
         Uses proxy env variable http_proxy == 'http://10.171.60.50:7890'
    Trying 10.171.60.50:7890...

  TCP_NODELAY set

  Connected to 10.171.60.50 (10.171.60.50) port 7890 (#0)

  GET
  http://paddle-inference-lib.bj.bcebos.com/2.3.0-rc0/cxx_c/Linux/GPU//paddle_inference.tgz
  HTTP/1.1

  Host: paddle-inference-lib.bj.bcebos.com

  User-Agent: curl/7.65.0

  Accept: */*

  Proxy-Connection: Keep-Alive

  

  Mark bundle as not supporting multiuse

  The requested URL returned error: 404 Not Found

  Closing connection 0

  

         --- LOG END ---
         
    


CMakeFiles/extern_paddle.dir/build.make:90: recipe for target 'third_party/Paddle/src/extern_paddle-stamp/extern_paddle-download' failed
make[2]: *** [third_party/Paddle/src/extern_paddle-stamp/extern_paddle-download] Error 1
CMakeFiles/Makefile2:487: recipe for target 'CMakeFiles/extern_paddle.dir/all' failed
make[1]: *** [CMakeFiles/extern_paddle.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2

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