containerd / overlaybd

Overlaybd: a block based remote image format. The storage backend of containerd/accelerated-container-image.
Apache License 2.0
260 stars 58 forks source link

ubuntu cmake failed #16

Closed alpc62 closed 3 years ago

alpc62 commented 3 years ago
uname -a
Linux DESKTOP-KJS0EBL 5.4.72-microsoft-standard-WSL2 #1 SMP Wed Oct 28 23:40:43 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.2 LTS
Release:        20.04
Codename:       focal

mkdir build
cd build/
cmake ..
-- The C compiler identification is GNU 10.2.0
-- The CXX compiler identification is GNU 10.2.0
-- Check for working C compiler: /bin/cc
-- Check for working C compiler: /bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /bin/c++
-- Check for working CXX compiler: /bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- The ASM compiler identification is GNU
-- Found assembler: /bin/cc
-- Found CURL: /usr/lib/x86_64-linux-gnu/libcurl.so (found version "7.68.0")
-- Found aio: /usr/lib/x86_64-linux-gnu/libaio.so
-- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libcrypto.so (found version "1.1.1f")
-- Found PkgConfig: /bin/pkg-config (found version "0.29.1")
-- Checking for module 'gio-unix-2.0'
--   Found gio-unix-2.0, version 2.64.6
CMake Error at CMake/CPack.cmake:1 (set):
  Maximum recursion depth of 1000 exceeded
Call Stack (most recent call first):
  CMake/CPack.cmake:14 (include)
  CMake/CPack.cmake:14 (include)
  CMake/CPack.cmake:14 (include)
...(many many more)
  CMake/CPack.cmake:14 (include)
  CMake/cpack.cmake:14 (include)
  CMakeLists.txt:33 (include)

-- Configuring incomplete, errors occurred!
See also "/root/wujiaxu/workspace/cpp/overlaybd/build/CMakeFiles/CMakeOutput.log".

The last line in cpack.cmake include(CPack) seem recusive choose the same file but not real cpack

alpc62 commented 3 years ago

cmake --version cmake version 3.16.3

CMake suite maintained and supported by Kitware (kitware.com/cmake).