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

serving编译失败 #1997

Open
123Yujiahang opened this issue May 15, 2024 · 2 comments
Open

serving编译失败 #1997

123Yujiahang opened this issue May 15, 2024 · 2 comments
Assignees

Comments

@123Yujiahang
Copy link

λ 9fab183dbb12 /home/ppocr/Serving/build_server {v0.9.0} cmake -DPYTHON_INCLUDE_DIR=$PYTHON_INCLUDE_DIR/ \

-DPYTHON_LIBRARIES=$PYTHON_LIBRARIES
-DPYTHON_EXECUTABLE=$PYTHON_EXECUTABLE
-DOPENCV_DIR=$OPENCV_DIR
-DWITH_OPENCV=ON
-DSERVER=ON ..
-- Found Paddle host system: ubuntu, version: 16.04.7
-- Found Paddle host system's CPU: 4 cores
-- The CXX compiler identification is GNU 8.2.0
-- The C compiler identification is GNU 8.2.0
-- Check for working CXX compiler: /usr/local/gcc-8.2/bin/c++
-- Check for working CXX compiler: /usr/local/gcc-8.2/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: /usr/local/gcc-8.2/bin/gcc
-- Check for working C compiler: /usr/local/gcc-8.2/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- CXX compiler: /usr/local/gcc-8.2/bin/c++, version: GNU 8.2.0
-- C compiler: /usr/local/gcc-8.2/bin/gcc, version: GNU 8.2.0
-- Found Git: /usr/bin/git (found version "2.7.4")
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Performing Test MMX_FOUND
-- Performing Test MMX_FOUND - Success
-- Performing Test SSE2_FOUND
-- Performing Test SSE2_FOUND - Success
-- Performing Test SSE3_FOUND
-- Performing Test SSE3_FOUND - Success
-- Performing Test AVX_FOUND
-- Performing Test AVX_FOUND - Success
-- Performing Test AVX2_FOUND
-- Performing Test AVX2_FOUND - Success
-- Performing Test AVX512F_FOUND
-- Performing Test AVX512F_FOUND - Failed
-- Compile Version Tag for wheel: 0.0.0
-- Found OpenCV: /home/opencv-3.4.7/opencv3 (found version "3.4.7")
-- Use PADDLE_ON_INFERENCE
-- Do not have AVX2 intrinsics and disabled MKL-DNN
-- BOOST_TAR: boost_1_74_0, BOOST_URL: https://paddlepaddledeps.bj.bcebos.com/boost_1_74_0.tar.gz
CMake Warning at /home/cmake-3.16.0-Linux-x86_64/share/cmake-3.16/Modules/FindProtobuf.cmake:499 (message):
Protobuf compiler version doesn't match library version 2.6.1
Call Stack (most recent call first):
cmake/external/protobuf.cmake:18 (FIND_PACKAGE)
CMakeLists.txt:106 (include)

-- Protobuf protoc executable: /home/ppocr/Serving/build_server/third_party/install/protobuf/bin/protoc
-- Protobuf-lite library: /home/ppocr/Serving/build_server/third_party/install/protobuf/lib/libprotobuf-lite.a
-- Protobuf library: /home/ppocr/Serving/build_server/third_party/install/protobuf/lib/libprotobuf.a
-- Protoc library: /home/ppocr/Serving/build_server/third_party/install/protobuf/lib/libprotoc.a
-- Protobuf version: 3.1
-- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libcrypto.so (found version "1.0.2g")
-- ssl:/usr/lib/x86_64-linux-gnu/libssl.so
-- crypto:/usr/lib/x86_64-linux-gnu/libcrypto.so
-- Found PythonInterp: /usr/local/bin/python3.7 (found version "3.7")
-- Found PythonLibs: /usr/local/lib/libpython3.7m.so (found version "3.7.0")
-- Looking for UINT64_MAX
-- Looking for UINT64_MAX - found
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of pthread_spinlock_t
-- Check size of pthread_spinlock_t - done
-- Check size of pthread_barrier_t
-- Check size of pthread_barrier_t - done
-- Performing Test C_COMPILER_SUPPORT_FLAG__D__const___
-- Performing Test C_COMPILER_SUPPORT_FLAG__D__const___ - Success
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__D__const___
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__D__const___ - Success
-- Performing Test C_COMPILER_SUPPORT_FLAG__DUSE_PTHREAD
-- Performing Test C_COMPILER_SUPPORT_FLAG__DUSE_PTHREAD - Success
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__DUSE_PTHREAD
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__DUSE_PTHREAD - Success
-- Performing Test C_COMPILER_SUPPORT_FLAG__fPIC
-- Performing Test C_COMPILER_SUPPORT_FLAG__fPIC - Success
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__fPIC
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__fPIC - Success
-- Performing Test C_COMPILER_SUPPORT_FLAG__fno_omit_frame_pointer
-- Performing Test C_COMPILER_SUPPORT_FLAG__fno_omit_frame_pointer - Success
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__fno_omit_frame_pointer
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__fno_omit_frame_pointer - Success
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wall
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wall - Success
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wall
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wall - Success
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wextra
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wextra - Success
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wextra
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wextra - Success
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wnon_virtual_dtor
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wnon_virtual_dtor - Failed
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wnon_virtual_dtor
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wnon_virtual_dtor - Success
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wdelete_non_virtual_dtor
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wdelete_non_virtual_dtor - Failed
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wdelete_non_virtual_dtor
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wdelete_non_virtual_dtor - Success
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wno_unused_parameter
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wno_unused_parameter - Success
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wno_unused_parameter
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wno_unused_parameter - Success
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wno_unused_function
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wno_unused_function - Success
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wno_unused_function
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wno_unused_function - Success
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wno_error_literal_suffix
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wno_error_literal_suffix - Success
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wno_error_literal_suffix
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wno_error_literal_suffix - Success
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wno_error_sign_compare
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wno_error_sign_compare - Success
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wno_error_sign_compare
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wno_error_sign_compare - Success
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wno_error_unused_local_typedefs
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wno_error_unused_local_typedefs - Success
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wno_error_unused_local_typedefs
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wno_error_unused_local_typedefs - Success
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wno_error_parentheses_equality
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wno_error_parentheses_equality - Failed
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wno_error_parentheses_equality
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wno_error_parentheses_equality - Failed
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wno_error_ignored_attributes
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wno_error_ignored_attributes - Success
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wno_error_ignored_attributes
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wno_error_ignored_attributes - Success
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wno_error_terminate
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wno_error_terminate - Success
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wno_error_terminate
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wno_error_terminate - Success
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wno_error_int_in_bool_context
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wno_error_int_in_bool_context - Success
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wno_error_int_in_bool_context
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wno_error_int_in_bool_context - Success
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wimplicit_fallthrough_0
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wimplicit_fallthrough_0 - Success
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wimplicit_fallthrough_0
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wimplicit_fallthrough_0 - Success
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wno_error_maybe_uninitialized
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wno_error_maybe_uninitialized - Success
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wno_error_maybe_uninitialized
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wno_error_maybe_uninitialized - Success
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wno_error_unused_function
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wno_error_unused_function - Success
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wno_error_array_bounds
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wno_error_array_bounds - Success
paddle install dir: /home/ppocr/Serving/build_server/third_party/install/Paddle/
WITH_GPU = OFF
-- PADDLE_LIB_PATH=https://paddle-inference-lib.bj.bcebos.com/2.3.0-rc0/cxx_c/Linux/CPU/gcc8.2_openblas/paddle_inference.tgz
paddle serving source dir: /home/ppocr/Serving
-- The Golang compiler identification is go1.17.2 linux/amd64
-- Check for working Golang compiler: /usr/local/go/bin/go
-- Installing: /home/ppocr/Serving/build_server/python/paddle_serving_server/pipeline
-- Installing: /home/ppocr/Serving/build_server/python/paddle_serving_server/pipeline/init.py
-- Installing: /home/ppocr/Serving/build_server/python/paddle_serving_server/pipeline/analyse.py
-- Installing: /home/ppocr/Serving/build_server/python/paddle_serving_server/pipeline/channel.py
-- Installing: /home/ppocr/Serving/build_server/python/paddle_serving_server/pipeline/dag.py
-- Installing: /home/ppocr/Serving/build_server/python/paddle_serving_server/pipeline/error_catch.py
-- Installing: /home/ppocr/Serving/build_server/python/paddle_serving_server/pipeline/gateway
-- Installing: /home/ppocr/Serving/build_server/python/paddle_serving_server/pipeline/gateway/init.py
-- Installing: /home/ppocr/Serving/build_server/python/paddle_serving_server/pipeline/gateway/proto
-- Installing: /home/ppocr/Serving/build_server/python/paddle_serving_server/pipeline/gateway/proto/gateway.proto
-- Installing: /home/ppocr/Serving/build_server/python/paddle_serving_server/pipeline/gateway/proto/include
-- Installing: /home/ppocr/Serving/build_server/python/paddle_serving_server/pipeline/gateway/proto/include/google
-- Installing: /home/ppocr/Serving/build_server/python/paddle_serving_server/pipeline/gateway/proto/include/google/protobuf
-- Installing: /home/ppocr/Serving/build_server/python/paddle_serving_server/pipeline/gateway/proto/include/google/protobuf/any.proto
-- Installing: /home/ppocr/Serving/build_server/python/paddle_serving_server/pipeline/gateway/proto/include/google/protobuf/api.proto
-- Installing: /home/ppocr/Serving/build_server/python/paddle_serving_server/pipeline/gateway/proto/include/google/protobuf/compiler
-- Installing: /home/ppocr/Serving/build_server/python/paddle_serving_server/pipeline/gateway/proto/include/google/protobuf/compiler/plugin.proto
-- Installing: /home/ppocr/Serving/build_server/python/paddle_serving_server/pipeline/gateway/proto/include/google/protobuf/descriptor.proto
-- Installing: /home/ppocr/Serving/build_server/python/paddle_serving_server/pipeline/gateway/proto/include/google/protobuf/duration.proto
-- Installing: /home/ppocr/Serving/build_server/python/paddle_serving_server/pipeline/gateway/proto/include/google/protobuf/empty.proto
-- Installing: /home/ppocr/Serving/build_server/python/paddle_serving_server/pipeline/gateway/proto/include/google/protobuf/field_mask.proto
-- Installing: /home/ppocr/Serving/build_server/python/paddle_serving_server/pipeline/gateway/proto/include/google/protobuf/source_context.proto
-- Installing: /home/ppocr/Serving/build_server/python/paddle_serving_server/pipeline/gateway/proto/include/google/protobuf/struct.proto
-- Installing: /home/ppocr/Serving/build_server/python/paddle_serving_server/pipeline/gateway/proto/include/google/protobuf/timestamp.proto
-- Installing: /home/ppocr/Serving/build_server/python/paddle_serving_server/pipeline/gateway/proto/include/google/protobuf/type.proto
-- Installing: /home/ppocr/Serving/build_server/python/paddle_serving_server/pipeline/gateway/proto/include/google/protobuf/wrappers.proto
-- Installing: /home/ppocr/Serving/build_server/python/paddle_serving_server/pipeline/gateway/proxy_server.go
-- Installing: /home/ppocr/Serving/build_server/python/paddle_serving_server/pipeline/local_service_handler.py
-- Installing: /home/ppocr/Serving/build_server/python/paddle_serving_server/pipeline/logger.py
-- Installing: /home/ppocr/Serving/build_server/python/paddle_serving_server/pipeline/operator.py
-- Installing: /home/ppocr/Serving/build_server/python/paddle_serving_server/pipeline/pipeline_client.py
-- Installing: /home/ppocr/Serving/build_server/python/paddle_serving_server/pipeline/pipeline_server.py
-- Installing: /home/ppocr/Serving/build_server/python/paddle_serving_server/pipeline/profiler.py
-- Installing: /home/ppocr/Serving/build_server/python/paddle_serving_server/pipeline/prometheus_metrics.py
-- Installing: /home/ppocr/Serving/build_server/python/paddle_serving_server/pipeline/proto
-- Installing: /home/ppocr/Serving/build_server/python/paddle_serving_server/pipeline/proto/init.py
-- Installing: /home/ppocr/Serving/build_server/python/paddle_serving_server/pipeline/proto/pipeline_service.proto
-- Installing: /home/ppocr/Serving/build_server/python/paddle_serving_server/pipeline/proto/run_codegen.py
-- Installing: /home/ppocr/Serving/build_server/python/paddle_serving_server/pipeline/util.py
python env:
-- Configuring done
-- Generating done
-- Build files have been written to: /home/ppocr/Serving/build_server
λ 9fab183dbb12 /home/ppocr/Serving/build_server {v0.9.0} make -j10
Scanning dependencies of target extern_pybind
Scanning dependencies of target extern_gflags
Scanning dependencies of target extern_boost
Scanning dependencies of target extern_snappy
Scanning dependencies of target extern_paddle
Scanning dependencies of target extern_zlib
Scanning dependencies of target extern_jsoncpp
[ 0%] Creating directories for 'extern_gflags'
[ 0%] Creating directories for 'extern_pybind'
Scanning dependencies of target extern_prometheus
Scanning dependencies of target transfer-logex
Scanning dependencies of target extern_utf8proc
[ 1%] Creating directories for 'extern_snappy'
[ 1%] Creating directories for 'extern_boost'
[ 1%] Creating directories for 'extern_jsoncpp'
[ 2%] Creating directories for 'extern_zlib'
[ 2%] Creating directories for 'extern_paddle'
[ 2%] Creating directories for 'extern_prometheus'
[ 3%] Creating directories for 'extern_utf8proc'
[ 3%] Performing download step (git clone) for 'extern_pybind'
[ 3%] Performing download step (git clone) for 'extern_gflags'
[ 3%] Performing download step (git clone) for 'extern_snappy'
[ 3%] Performing download step (download, verify and extract) for 'extern_boost'
[ 3%] Performing download step (git clone) for 'extern_jsoncpp'
[ 3%] Performing download step (git clone) for 'extern_zlib'
Cloning into 'extern_pybind'...
-- Downloading...
dst='/home/ppocr/Serving/build_server/third_party/boost/src/extern_boost/boost_1_74_0.tar.gz'
timeout='none'
-- Using src='https://paddlepaddledeps.bj.bcebos.com/boost_1_74_0.tar.gz'
Cloning into 'extern_snappy'...
Cloning into 'extern_gflags'...
[ 3%] Performing download step (download, verify and extract) for 'extern_paddle'
[ 3%] Performing download step (git clone) for 'extern_utf8proc'
[ 3%] Performing download step (git clone) for 'extern_prometheus'
Cloning into 'extern_zlib'...
Cloning into 'extern_jsoncpp'...
-- Downloading...
dst='/home/ppocr/Serving/build_server/third_party/Paddle/src/extern_paddle/paddle_inference.tgz'
timeout='none'
-- Using src='https://paddle-inference-lib.bj.bcebos.com/2.3.0-rc0/cxx_c/Linux/CPU/gcc8.2_openblas/paddle_inference.tgz'
Cloning into 'extern_prometheus'...
Cloning into 'extern_utf8proc'...
-- [download 0% complete]
-- [download 1% complete]
-- [download 2% complete]

cd .; git clone -- https://github.com/Badangel/logex /home/ppocr/Serving/core/cube/cube-transfer/src/github.com/Badangel/logex

Cloning into '/home/ppocr/Serving/core/cube/cube-transfer/src/github.com/Badangel/logex'...
fatal: unable to access 'https://github.com/Badangel/logex/': gnutls_handshake() failed: The TLS connection was non-properly terminated.
package github.com/Badangel/logex: exit status 128
core/cube/cube-transfer/CMakeFiles/transfer-logex.dir/build.make:57: recipe for target 'core/cube/cube-transfer/CMakeFiles/transfer-logex' failed
make[2]: *** [core/cube/cube-transfer/CMakeFiles/transfer-logex] Error 1
CMakeFiles/Makefile2:1047: recipe for target 'core/cube/cube-transfer/CMakeFiles/transfer-logex.dir/all' failed
make[1]: *** [core/cube/cube-transfer/CMakeFiles/transfer-logex.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
fatal: unable to access 'https://github.com/jupp0r/prometheus-cpp.git/': gnutls_handshake() failed: The TLS connection was non-properly terminated.
fatal: unable to access 'https://github.com/pybind/pybind11.git/': gnutls_handshake() failed: The TLS connection was non-properly terminated.
Cloning into 'extern_prometheus'...
Cloning into 'extern_pybind'...
fatal: unable to access 'https://github.com/JuliaStrings/utf8proc.git/': gnutls_handshake() failed: The TLS connection was non-properly terminated.
fatal: unable to access 'https://github.com/google/snappy/': gnutls_handshake() failed: The TLS connection was non-properly terminated.
Cloning into 'extern_utf8proc'...
fatal: unable to access 'https://github.com/open-source-parsers/jsoncpp/': gnutls_handshake() failed: The TLS connection was non-properly terminated.
Cloning into 'extern_snappy'...
fatal: unable to access 'https://github.com/madler/zlib.git/': gnutls_handshake() failed: The TLS connection was non-properly terminated.
Cloning into 'extern_zlib'...
Cloning into 'extern_jsoncpp'...
-- Downloading... done
-- extracting...
src='/home/ppocr/Serving/build_server/third_party/boost/src/extern_boost/boost_1_74_0.tar.gz'
dst='/home/ppocr/Serving/build_server/third_party/boost/src/extern_boost'
-- extracting... [tar xfz]
-- [download 3% complete]
-- [download 4% complete]
-- [download 5% complete]
-- [download 6% complete]
-- [download 7% complete]
-- [download 8% complete]
-- [download 9% complete]
-- [download 10% complete]
-- [download 11% complete]
-- [download 12% complete]
-- [download 13% complete]
-- [download 14% complete]
-- [download 15% complete]
-- [download 16% complete]
fatal: unable to access 'https://github.com/JuliaStrings/utf8proc.git/': gnutls_handshake() failed: The TLS connection was non-properly terminated.
Cloning into 'extern_utf8proc'...
-- [download 17% complete]
-- [download 18% complete]
-- [download 19% complete]
-- [download 20% complete]
-- [download 21% complete]
-- [download 22% complete]
-- [download 23% complete]
-- [download 24% complete]
-- [download 25% complete]
-- [download 26% complete]
-- [download 27% complete]
-- [download 28% complete]
-- [download 29% complete]
-- [download 30% complete]
-- [download 31% complete]
-- [download 32% complete]
-- [download 33% complete]
-- [download 34% complete]
-- [download 35% complete]
-- [download 36% complete]
-- [download 37% complete]
-- [download 38% complete]
-- [download 39% complete]
-- extracting... [analysis]
-- extracting... [rename]
-- extracting... [clean up]
-- extracting... done
[ 3%] No patch step for 'extern_boost'
[ 4%] No update step for 'extern_boost'
[ 5%] No configure step for 'extern_boost'
[ 5%] No build step for 'extern_boost'
[ 6%] No install step for 'extern_boost'
[ 6%] Completed 'extern_boost'
[ 6%] Built target extern_boost
-- [download 40% complete]
-- [download 41% complete]
-- [download 42% complete]
-- [download 43% complete]
-- [download 44% complete]
-- [download 45% complete]
-- [download 46% complete]
-- [download 47% complete]
-- [download 48% complete]
-- [download 49% complete]
-- [download 50% complete]
-- [download 51% complete]
-- [download 52% complete]
-- [download 53% complete]
-- [download 54% complete]
-- [download 55% complete]
-- [download 56% complete]
-- [download 57% complete]
-- [download 58% complete]
-- [download 59% complete]
-- [download 60% complete]
-- [download 61% complete]
-- [download 62% complete]
-- [download 63% complete]
-- [download 64% complete]
-- [download 65% complete]
-- [download 66% complete]
-- [download 67% complete]
-- [download 68% complete]
-- [download 69% complete]
-- [download 70% complete]
-- [download 71% complete]
-- [download 72% complete]
-- [download 73% complete]
-- [download 74% complete]
-- [download 75% complete]
-- [download 76% complete]
-- [download 77% complete]
-- [download 78% complete]
-- [download 79% complete]
-- [download 80% complete]
-- [download 81% complete]
-- [download 82% complete]
-- [download 83% complete]
-- [download 84% complete]
-- [download 85% complete]
-- [download 86% complete]
-- [download 87% complete]
-- [download 88% complete]
-- [download 89% complete]
-- [download 90% complete]
-- [download 91% complete]
-- [download 92% complete]
-- [download 93% complete]
-- [download 94% complete]
-- [download 95% complete]
-- [download 96% complete]
-- [download 97% complete]
-- [download 98% complete]
-- [download 99% complete]
-- [download 100% complete]
-- Downloading... done
-- extracting...
src='/home/ppocr/Serving/build_server/third_party/Paddle/src/extern_paddle/paddle_inference.tgz'
dst='/home/ppocr/Serving/build_server/third_party/Paddle/src/extern_paddle'
-- extracting... [tar xfz]
-- extracting... [analysis]
-- extracting... [rename]
-- extracting... [clean up]
-- extracting... done
[ 6%] No patch step for 'extern_paddle'
[ 7%] No update step for 'extern_paddle'
[ 8%] No configure step for 'extern_paddle'
[ 8%] No build step for 'extern_paddle'
[ 9%] Performing install step for 'extern_paddle'
[ 9%] Completed 'extern_paddle'
[ 9%] Built target extern_paddle
fatal: unable to access 'https://github.com/open-source-parsers/jsoncpp/': Failed to connect to github.com port 443: Connection timed out
fatal: unable to access 'https://github.com/jupp0r/prometheus-cpp.git/': Failed to connect to github.com port 443: Connection timed out
fatal: unable to access 'https://github.com/google/snappy/': Failed to connect to github.com port 443: Connection timed out
Cloning into 'extern_jsoncpp'...
Cloning into 'extern_snappy'...
Cloning into 'extern_prometheus'...
fatal: unable to access 'https://github.com/madler/zlib.git/': Failed to connect to github.com port 443: Connection timed out
Cloning into 'extern_zlib'...
fatal: unable to access 'https://github.com/JuliaStrings/utf8proc.git/': Failed to connect to github.com port 443: Connection timed out
-- Had to git clone more than once:
3 times.
CMake Error at /home/ppocr/Serving/build_server/third_party/utf8proc/tmp/extern_utf8proc-gitclone.cmake:31 (message):
Failed to clone repository: 'https://github.com/JuliaStrings/utf8proc.git'

CMakeFiles/extern_utf8proc.dir/build.make:90: recipe for target 'third_party/utf8proc/src/extern_utf8proc-stamp/extern_utf8proc-download' failed
make[2]: *** [third_party/utf8proc/src/extern_utf8proc-stamp/extern_utf8proc-download] Error 1
CMakeFiles/Makefile2:622: recipe for target 'CMakeFiles/extern_utf8proc.dir/all' failed
make[1]: *** [CMakeFiles/extern_utf8proc.dir/all] Error 2
error: RPC failed; curl 56 GnuTLS recv error (-54): Error in the pull function.
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
Cloning into 'extern_gflags'...
fatal: unable to access 'https://github.com/pybind/pybind11.git/': GnuTLS recv error (-54): Error in the pull function.
Cloning into 'extern_pybind'...
fatal: unable to access 'https://github.com/jupp0r/prometheus-cpp.git/': Failed to connect to github.com port 443: Connection timed out
fatal: unable to access 'https://github.com/open-source-parsers/jsoncpp/': Failed to connect to github.com port 443: Connection timed out
fatal: unable to access 'https://github.com/google/snappy/': Failed to connect to github.com port 443: Connection timed out
-- Had to git clone more than once:
3 times.
CMake Error at /home/ppocr/Serving/build_server/third_party/prometheus/tmp/extern_prometheus-gitclone.cmake:31 (message):
Failed to clone repository: 'https://github.com/jupp0r/prometheus-cpp.git'

-- Had to git clone more than once:
3 times.
CMake Error at /home/ppocr/Serving/build_server/third_party/jsoncpp/tmp/extern_jsoncpp-gitclone.cmake:31 (message):
Failed to clone repository:
'https://github.com/open-source-parsers/jsoncpp'

-- Had to git clone more than once:
3 times.
CMakeFiles/extern_jsoncpp.dir/build.make:90: recipe for target 'third_party/jsoncpp/src/extern_jsoncpp-stamp/extern_jsoncpp-download' failed
CMakeFiles/extern_prometheus.dir/build.make:90: recipe for target 'third_party/prometheus/src/extern_prometheus-stamp/extern_prometheus-download' failed
make[2]: *** [third_party/jsoncpp/src/extern_jsoncpp-stamp/extern_jsoncpp-download] Error 1
make[2]: *** [third_party/prometheus/src/extern_prometheus-stamp/extern_prometheus-download] Error 1
CMake Error at /home/ppocr/Serving/build_server/third_party/snappy/tmp/extern_snappy-gitclone.cmake:31 (message):
Failed to clone repository: 'https://github.com/google/snappy'

CMakeFiles/Makefile2:514: recipe for target 'CMakeFiles/extern_jsoncpp.dir/all' failed
make[1]: *** [CMakeFiles/extern_jsoncpp.dir/all] Error 2
CMakeFiles/Makefile2:568: recipe for target 'CMakeFiles/extern_prometheus.dir/all' failed
make[1]: *** [CMakeFiles/extern_prometheus.dir/all] Error 2
CMakeFiles/extern_snappy.dir/build.make:90: recipe for target 'third_party/snappy/src/extern_snappy-stamp/extern_snappy-download' failed
make[2]: *** [third_party/snappy/src/extern_snappy-stamp/extern_snappy-download] Error 1
CMakeFiles/Makefile2:676: recipe for target 'CMakeFiles/extern_snappy.dir/all' failed
make[1]: *** [CMakeFiles/extern_snappy.dir/all] Error 2
fatal: unable to access 'https://github.com/madler/zlib.git/': Failed to connect to github.com port 443: Connection timed out
-- Had to git clone more than once:
3 times.
CMake Error at /home/ppocr/Serving/build_server/third_party/zlib/tmp/extern_zlib-gitclone.cmake:31 (message):
Failed to clone repository: 'https://github.com/madler/zlib.git'

CMakeFiles/extern_zlib.dir/build.make:90: recipe for target 'third_party/zlib/src/extern_zlib-stamp/extern_zlib-download' failed
make[2]: *** [third_party/zlib/src/extern_zlib-stamp/extern_zlib-download] Error 1
CMakeFiles/Makefile2:730: recipe for target 'CMakeFiles/extern_zlib.dir/all' failed
make[1]: *** [CMakeFiles/extern_zlib.dir/all] Error 2
fatal: unable to access 'https://github.com/gflags/gflags.git/': Failed to connect to github.com port 443: Connection timed out
Cloning into 'extern_gflags'...
fatal: unable to access 'https://github.com/pybind/pybind11.git/': Failed to connect to github.com port 443: Connection timed out
-- Had to git clone more than once:
3 times.
CMake Error at /home/ppocr/Serving/build_server/third_party/pybind/tmp/extern_pybind-gitclone.cmake:31 (message):
Failed to clone repository: 'https://github.com/pybind/pybind11.git'

CMakeFiles/extern_pybind.dir/build.make:91: recipe for target 'third_party/pybind/src/extern_pybind-stamp/extern_pybind-download' failed
make[2]: *** [third_party/pybind/src/extern_pybind-stamp/extern_pybind-download] Error 1
CMakeFiles/Makefile2:541: recipe for target 'CMakeFiles/extern_pybind.dir/all' failed
make[1]: *** [CMakeFiles/extern_pybind.dir/all] Error 2
-- Had to git clone more than once:
3 times.
Note: checking out '77592648e3f3be87d6c7123eb81cbad75f9aef5a'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

git checkout -b

HEAD is now at 7759264... repair wrong namespace problem
Submodule 'doc' (https://github.com/gflags/gflags.git) registered for path 'doc'
Cloning into 'doc'...
Submodule path 'doc': checked out '971dd2a4fadac9cdab174c523c22df79efd63aa5'
[ 9%] No patch step for 'extern_gflags'
[ 10%] No update step for 'extern_gflags'
[ 11%] Performing configure step for 'extern_gflags'
-- extern_gflags configure command succeeded. See also /home/ppocr/Serving/build_server/third_party/gflags/src/extern_gflags-stamp/extern_gflags-configure-*.log
[ 11%] Performing build step for 'extern_gflags'
Scanning dependencies of target gflags_nothreads_static
Scanning dependencies of target gflags_static
[ 12%] Building CXX object CMakeFiles/gflags_static.dir/src/gflags.cc.o
[ 25%] Building CXX object CMakeFiles/gflags_nothreads_static.dir/src/gflags.cc.o
[ 50%] Building CXX object CMakeFiles/gflags_nothreads_static.dir/src/gflags_reporting.cc.o
[ 62%] Building CXX object CMakeFiles/gflags_static.dir/src/gflags_reporting.cc.o
[ 75%] Building CXX object CMakeFiles/gflags_nothreads_static.dir/src/gflags_completions.cc.o
[ 37%] Building CXX object CMakeFiles/gflags_static.dir/src/gflags_completions.cc.o
[ 87%] Linking CXX static library lib/libgflags.a
[100%] Linking CXX static library lib/libgflags_nothreads.a
[100%] Built target gflags_static
[100%] Built target gflags_nothreads_static
[ 12%] Performing install step for 'extern_gflags'
[100%] Built target gflags_nothreads_static
[100%] Built target gflags_static
Install the project...
-- Install configuration: "Release"
-- Installing: /home/ppocr/Serving/build_server/third_party/install/gflags/lib/libgflags.a
-- Installing: /home/ppocr/Serving/build_server/third_party/install/gflags/lib/libgflags_nothreads.a
-- Installing: /home/ppocr/Serving/build_server/third_party/install/gflags/include/gflags/gflags.h
-- Installing: /home/ppocr/Serving/build_server/third_party/install/gflags/include/gflags/gflags_declare.h
-- Installing: /home/ppocr/Serving/build_server/third_party/install/gflags/include/gflags/gflags_completions.h
-- Installing: /home/ppocr/Serving/build_server/third_party/install/gflags/include/gflags/gflags_gflags.h
-- Installing: /home/ppocr/Serving/build_server/third_party/install/gflags/lib/cmake/gflags/gflags-config.cmake
-- Installing: /home/ppocr/Serving/build_server/third_party/install/gflags/lib/cmake/gflags/gflags-config-version.cmake
-- Installing: /home/ppocr/Serving/build_server/third_party/install/gflags/lib/cmake/gflags/gflags-targets.cmake
-- Installing: /home/ppocr/Serving/build_server/third_party/install/gflags/lib/cmake/gflags/gflags-targets-release.cmake
-- Installing: /home/ppocr/Serving/build_server/third_party/install/gflags/bin/gflags_completions.sh
-- Installing: /home/ppocr/Serving/build_server/third_party/install/gflags/lib/pkgconfig/gflags.pc
-- Installing: /root/.cmake/packages/gflags/023c382eb49d526dba039aa80c04d9e8
[ 12%] Completed 'extern_gflags'
[ 12%] Built target extern_gflags
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2
λ 9fab183dbb12 /home/ppocr/Serving/build_server {v0.9.0}

编译serving时,make -j一直失败,这是什么原因。

Copy link

Message that will be displayed on users' first issue

@123Yujiahang
Copy link
Author

环境是centos,cpu,Serving开发镜像0.8.0-devel

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

2 participants