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

Build process for the jupyter plugin stops midway (MacOS) #541

Open
yonesora56 opened this issue Feb 12, 2024 · 0 comments
Open

Build process for the jupyter plugin stops midway (MacOS) #541

yonesora56 opened this issue Feb 12, 2024 · 0 comments

Comments

@yonesora56
Copy link

I have been following the build instructions on the Building from source page to build the project. However, during the build process for enabling the jupyter plugin, the build stops at the step of processing the xeus-zmq dependencies. The build does not progress even after waiting for more than 12 hours, so I am seeking support. Below are the environment details and the command I executed.

Environment

  • OS version: macOS Sonoma 14.2.1
  • CMake version: 3.26.4
  • clang version: 17.0.6
  • OpenSSL version: 3.2.1

Command:

OPENSSL_ROOT_DIR=/opt/homebrew/opt/openssl@3 cmake -S ./codon/jupyter -B ./codon/jupyter/build \
-G Ninja \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_C_COMPILER=clang \
-DCMAKE_CXX_COMPILER=clang++ \
-DLLVM_DIR=$(llvm-config --cmakedir) \
-DCODON_PATH=install \
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON

Progress up to the point of stoppage:

-- The C compiler identification is Clang 17.0.6
-- The CXX compiler identification is Clang 17.0.6
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /opt/homebrew/opt/llvm/bin/clang - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /opt/homebrew/opt/llvm/bin/clang++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Codon in install
-- Performing Test HAVE_FFI_CALL
-- Performing Test HAVE_FFI_CALL - Success
-- Found FFI: /Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/lib/libffi.tbd  
-- Looking for histedit.h
-- Looking for histedit.h - found
-- Found LibEdit: /Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/include (found version "2.11") 
-- Performing Test Terminfo_LINKABLE
-- Performing Test Terminfo_LINKABLE - Success
-- Found Terminfo: /Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/lib/libcurses.tbd  
-- Found ZLIB: /Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/lib/libz.tbd (found version "1.2.12")  
-- Found zstd: /opt/homebrew/lib/libzstd.dylib  
-- Found LibXml2: /Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/lib/libxml2.tbd (found version "2.9.4") 
-- Downloading CPM.cmake...
-- CPM: adding package xtl@0.7.5 (0.7.5)
-- xtl v0.7.5
-- CPM: adding package json@3.11.2 (v3.11.2)
-- Using the multi-header code from /Users/yonezawa/codon/jupyter/build/_deps/json-src/include/
-- CPM: adding package xeus@3.0.5 (3.0.5)
-- xeus version: v3.0.5
-- xeus binary version: v8.1.0
-- XEUS_BUILD_SHARED_LIBS:          OFF
-- XEUS_BUILD_STATIC_LIBS:          ON
-- XEUS_STATIC_DEPENDENCIES:        ON
-- XEUS_EMSCRIPTEN_WASM_BUILD:      OFF
-- XEUS_BUILD_TESTS:                OFF
-- XEUS_USE_DYNAMIC_UUID:      OFF
-- CMAKE_CXX_FLAGS:  -pedantic -fvisibility-inlines-hidden -Wno-return-type-c-linkage -Wno-gnu-zero-variadic-macro-arguments -Wno-deprecated-declarations
-- tests disabled
  The DOWNLOAD_EXTRACT_TIMESTAMP option was not given and policy CMP0135 is
  what you want.  Update your project to the NEW behavior or specify the
  CMakeLists.txt:76 (CPMAddPackage)
-- Detected ZMQ Version - 4.3.4
-- Found PkgConfig: /opt/homebrew/bin/pkg-config (found version "0.29.2") 
-- Performing Test COMPILER_SUPPORTS_CXX11
-- Performing Test COMPILER_SUPPORTS_CXX11 - Success
-- Performing Test COMPILER_SUPPORTS_C11
-- Performing Test COMPILER_SUPPORTS_C11 - Success
-- Performing Test CXX_HAS_TAUT_WARNING
-- Performing Test CXX_HAS_TAUT_WARNING - Success
-- Performing Test CC_HAS_TAUT_WARNING
-- Performing Test CC_HAS_TAUT_WARNING - Success
-- Not building draft classes and methods
-- Using builtin sha1
-- Checking for module 'libbsd'
--   No package 'libbsd' found
-- Looking for strlcpy
-- Looking for strlcpy - found
-- Using tweetnacl for CURVE security
-- Looking for kqueue
-- Performing Test HAVE_FLAG_-Wextra - Success
-- Performing Test ZMQ_HAVE_SO_BINDTODEVICE
-- Performing Test ZMQ_HAVE_SO_BINDTODEVICE - Failed
-- Checking whether SO_KEEPALIVE is supported
-- Performing Test ZMQ_HAVE_SO_KEEPALIVE
-- Performing Test ZMQ_HAVE_SO_KEEPALIVE - Success
-- Checking whether SO_PRIORITY is supported
-- Performing Test ZMQ_HAVE_SO_PRIORITY
-- Performing Test ZMQ_HAVE_SO_PRIORITY - Failed
-- Checking whether TCP_KEEPCNT is supported
-- Performing Test ZMQ_HAVE_TCP_KEEPCNT
-- Performing Test ZMQ_HAVE_TCP_KEEPCNT - Success
-- Checking whether TCP_KEEPIDLE is supported
-- Performing Test ZMQ_HAVE_TCP_KEEPIDLE
-- Performing Test ZMQ_HAVE_TCP_KEEPIDLE - Failed
-- Checking whether TCP_KEEPINTVL is supported
-- Performing Test ZMQ_HAVE_TCP_KEEPINTVL
-- Performing Test ZMQ_HAVE_TCP_KEEPINTVL - Success
-- Checking whether TCP_KEEPALIVE is supported
-- Performing Test ZMQ_HAVE_TCP_KEEPALIVE
-- Performing Test ZMQ_HAVE_TCP_KEEPALIVE - Success
-- Checking whether TIPC is supported
-- Performing Test ZMQ_HAVE_TIPC
-- Performing Test ZMQ_HAVE_TIPC - Failed
-- Checking pthread_setname signature
-- Performing Test ZMQ_HAVE_PTHREAD_SETNAME_1
-- Performing Test ZMQ_HAVE_PTHREAD_SETNAME_1 - Success
-- Performing Test ZMQ_HAVE_PTHREAD_SETNAME_2
-- Performing Test ZMQ_HAVE_PTHREAD_SETNAME_2 - Failed
-- Performing Test ZMQ_HAVE_PTHREAD_SETNAME_3
-- Performing Test ZMQ_HAVE_PTHREAD_SETNAME_3 - Failed
-- Performing Test ZMQ_HAVE_PTHREAD_SET_NAME
-- Performing Test ZMQ_HAVE_PTHREAD_SET_NAME - Failed
-- Checking pthread_setaffinity signature
-- Performing Test ZMQ_HAVE_PTHREAD_SET_AFFINITY
-- Performing Test ZMQ_HAVE_PTHREAD_SET_AFFINITY - Failed
-- Checking whether getrandom is supported
-- Performing Test ZMQ_HAVE_GETRANDOM
-- Performing Test ZMQ_HAVE_GETRANDOM - Failed
-- Could NOT find AsciiDoc (missing: ASCIIDOC_EXECUTABLE) 
CMake Deprecation Warning at build/_deps/libzmq-src/tests/CMakeLists.txt:2 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


CMake Warning (dev) at build/_deps/libzmq-src/tests/CMakeLists.txt:306 (message):
  Test 'test_bind_stream_fuzzer' is not known to CTest.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at build/_deps/libzmq-src/tests/CMakeLists.txt:306 (message):
  Test 'test_bind_ws_fuzzer' is not known to CTest.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at build/_deps/libzmq-src/tests/CMakeLists.txt:306 (message):
  Test 'test_connect_stream_fuzzer' is not known to CTest.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at build/_deps/libzmq-src/tests/CMakeLists.txt:306 (message):
  Test 'test_connect_ws_fuzzer' is not known to CTest.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at build/_deps/libzmq-src/tests/CMakeLists.txt:306 (message):
  Test 'test_socket_options_fuzzer' is not known to CTest.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Deprecation Warning at build/_deps/libzmq-src/unittests/CMakeLists.txt:2 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- CPM: adding package cppzmq@4.9.0 (4.9.0)
CMake Warning (dev) at /opt/homebrew/Cellar/cmake/3.26.4/share/cmake/Modules/FetchContent.cmake:1282 (message):
  The DOWNLOAD_EXTRACT_TIMESTAMP option was not given and policy CMP0135 is
  not set.  The policy's OLD behavior will be used.  When using a URL
  download, the timestamps of extracted files should preferably be that of
  the time of extraction, otherwise code that depends on the extracted
  contents might not be rebuilt if the URL changes.  The OLD behavior
  preserves the timestamps from the archive instead, but this is usually not
  what you want.  Update your project to the NEW behavior or specify the
  DOWNLOAD_EXTRACT_TIMESTAMP option with a value of true to avoid this
  robustness issue.
Call Stack (most recent call first):
  build/cmake/CPM_0.32.3.cmake:700 (FetchContent_Declare)
  build/cmake/CPM_0.32.3.cmake:587 (cpm_declare_fetch)
  CMakeLists.txt:88 (CPMAddPackage)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Detected CPPZMQ Version - 4.8.1
-- cppzmq v4.8.1
-- CPM: adding package xeus-zmq@1.0.3 (1.0.3)

If there are any solutions or alternative approaches you could suggest, I would greatly appreciate it. Apologies for the basic question, and thank you in advance for your help.

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

1 participant