ParallelSSH / ssh-python

Python bindings for libssh C library.
https://parallel-ssh.org
GNU Lesser General Public License v2.1
38 stars 27 forks source link

supporting python3.11 #61

Closed irvinren closed 2 years ago

irvinren commented 2 years ago

Python3.11, no precompiled version on Pypi, pip install failed on macosx bigsur.

System Version: macOS 11.6.8 (20G730) Kernel Version: Darwin 20.6.0

Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple Collecting ssh-python==0.10 Using cached https://pypi.tuna.tsinghua.edu.cn/packages/78/87/732c03aa5e3de72a21fd7049bef831cfe01348d998d28fa146f2240be132/ssh-python-0.10.0.tar.gz (1.4 MB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Building wheels for collected packages: ssh-python Building wheel for ssh-python (setup.py): started Building wheel for ssh-python (setup.py): still running... Building wheel for ssh-python (setup.py): finished with status 'error' error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [559 lines of output] -- The C compiler identification is AppleClang 13.0.0.13000029 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Performing Test REQUIRED_FLAGS_WERROR -- Performing Test REQUIRED_FLAGS_WERROR - Success -- Performing Test WITH_STD_GNU99_FLAG -- Performing Test WITH_STD_GNU99_FLAG - Success -- Performing Test WITH_WPEDANTIC_FLAG -- Performing Test WITH_WPEDANTIC_FLAG - Success -- Performing Test WITH_WALL_FLAG -- Performing Test WITH_WALL_FLAG - Success -- Performing Test WITH_WSHADOW_FLAG -- Performing Test WITH_WSHADOW_FLAG - Success -- Performing Test WITH_WMISSING_PROTOTYPES_FLAG -- Performing Test WITH_WMISSING_PROTOTYPES_FLAG - Success -- Performing Test WITH_WCAST_ALIGN_FLAG -- Performing Test WITH_WCAST_ALIGN_FLAG - Success -- Performing Test WITH_WERROR_ADDRESS_FLAG -- Performing Test WITH_WERROR_ADDRESS_FLAG - Success -- Performing Test WITH_WSTRICT_PROTOTYPES_FLAG -- Performing Test WITH_WSTRICT_PROTOTYPES_FLAG - Success -- Performing Test WITH_WERROR_STRICT_PROTOTYPES_FLAG -- Performing Test WITH_WERROR_STRICT_PROTOTYPES_FLAG - Success -- Performing Test WITH_WWRITE_STRINGS_FLAG -- Performing Test WITH_WWRITE_STRINGS_FLAG - Success -- Performing Test WITH_WERROR_WRITE_STRINGS_FLAG -- Performing Test WITH_WERROR_WRITE_STRINGS_FLAG - Success -- Performing Test WITH_WERROR_IMPLICIT_FUNCTION_DECLARATION_FLAG -- Performing Test WITH_WERROR_IMPLICIT_FUNCTION_DECLARATION_FLAG - Success -- Performing Test WITH_WPOINTER_ARITH_FLAG -- Performing Test WITH_WPOINTER_ARITH_FLAG - Success -- Performing Test WITH_WERROR_POINTER_ARITH_FLAG -- Performing Test WITH_WERROR_POINTER_ARITH_FLAG - Success -- Performing Test WITH_WDECLARATION_AFTER_STATEMENT_FLAG -- Performing Test WITH_WDECLARATION_AFTER_STATEMENT_FLAG - Success -- Performing Test WITH_WERROR_DECLARATION_AFTER_STATEMENT_FLAG -- Performing Test WITH_WERROR_DECLARATION_AFTER_STATEMENT_FLAG - Success -- Performing Test WITH_WRETURN_TYPE_FLAG -- Performing Test WITH_WRETURN_TYPE_FLAG - Success -- Performing Test WITH_WERROR_RETURN_TYPE_FLAG -- Performing Test WITH_WERROR_RETURN_TYPE_FLAG - Success -- Performing Test WITH_WUNINITIALIZED_FLAG -- Performing Test WITH_WUNINITIALIZED_FLAG - Success -- Performing Test WITH_WERROR_UNINITIALIZED_FLAG -- Performing Test WITH_WERROR_UNINITIALIZED_FLAG - Success -- Performing Test WITH_WIMPLICIT_FALLTHROUGH_FLAG -- Performing Test WITH_WIMPLICIT_FALLTHROUGH_FLAG - Success -- Performing Test WITH_WERROR_STRICT_OVERFLOW_FLAG -- Performing Test WITH_WERROR_STRICT_OVERFLOW_FLAG - Success -- Performing Test WITH_WSTRICT_OVERFLOW_2_FLAG -- Performing Test WITH_WSTRICT_OVERFLOW_2_FLAG - Success -- Performing Test WITH_WNO_FORMAT_ZERO_LENGTH_FLAG -- Performing Test WITH_WNO_FORMAT_ZERO_LENGTH_FLAG - Success -- Performing Test WITH_WMISSING_FIELD_INITIALIZERS_FLAG -- Performing Test WITH_WMISSING_FIELD_INITIALIZERS_FLAG - Success -- Performing Test WITH_WSIGN_COMPARE_FLAG -- Performing Test WITH_WSIGN_COMPARE_FLAG - Success -- Performing Test REQUIRED_FLAGS_WFORMAT -- Performing Test REQUIRED_FLAGS_WFORMAT - Success -- Performing Test WITH_WFORMAT_SECURITY_FLAG -- Performing Test WITH_WFORMAT_SECURITY_FLAG - Success -- Performing Test WITH_WERROR_FORMAT_SECURITY_FLAG -- Performing Test WITH_WERROR_FORMAT_SECURITY_FLAG - Success -- Performing Test WITH_FNO_COMMON_FLAG -- Performing Test WITH_FNO_COMMON_FLAG - Success -- Performing Test WITH_STACK_PROTECTOR_STRONG -- Performing Test WITH_STACK_PROTECTOR_STRONG - Success -- Performing Test WITH_STACK_CLASH_PROTECTION -- Performing Test WITH_STACK_CLASH_PROTECTION - Success -- Performing Test WITH_WNO_DEPRECATED_DECLARATIONS_FLAG -- Performing Test WITH_WNO_DEPRECATED_DECLARATIONS_FLAG - Success -- Found ZLIB: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/usr/lib/libz.tbd (found version "1.2.11") -- Found OpenSSL: /usr/local/opt/openssl/lib/libcrypto.dylib (found version "1.1.1k") -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Found GSSAPI: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/usr/lib/libgssapi_krb5.tbd;/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/usr/lib/libkrb5.tbd;/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/usr/lib/libk5crypto.tbd;/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/usr/lib/libcom_err.tbd -- Could NOT find NaCl (missing: NACL_LIBRARIES NACL_INCLUDE_DIRS) CMake Warning (dev) at /usr/local/Cellar/cmake/3.21.0/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:438 (message): The package name passed to find_package_handle_standard_args (ARGP) does not match the name of the calling package (Argp). This can lead to problems in calling code that expects find_package result variables (e.g., _FOUND) to follow a certain pattern. Call Stack (most recent call first): cmake/Modules/FindArgp.cmake:63 (find_package_handle_standard_args) CMakeLists.txt:100 (find_package) This warning is for project developers. Use -Wno-dev to suppress it.

  -- Could NOT find ARGP (missing: ARGP_LIBRARIES ARGP_INCLUDE_DIR)
  -- Found PythonInterp: /Users/philren/.local/share/virtualenvs/shared_atomic_private311-XK-d3gD1/bin/python (found version "3.11")
  -- Could not find `abimap` in PATH. It can be found in PyPI as `abimap` (try `pip install abimap`)
  -- Could NOT find ABIMap (missing: ABIMAP_EXECUTABLE) (Required is at least version "0.3.1")
  -- Looking for argp.h
  -- Looking for argp.h - not found
  -- Looking for pty.h
  -- Looking for pty.h - not found
  -- Looking for utmp.h
  -- Looking for utmp.h - found
  -- Looking for termios.h
  -- Looking for termios.h - found
  -- Looking for unistd.h
  -- Looking for unistd.h - found
  -- Looking for stdint.h
  -- Looking for stdint.h - found
  -- Looking for util.h
  -- Looking for util.h - found
  -- Looking for libutil.h
  -- Looking for libutil.h - not found
  -- Looking for sys/time.h
  -- Looking for sys/time.h - found
  -- Looking for sys/utime.h
  -- Looking for sys/utime.h - not found
  -- Looking for sys/param.h
  -- Looking for sys/param.h - found
  -- Looking for arpa/inet.h
  -- Looking for arpa/inet.h - found
  -- Looking for byteswap.h
  -- Looking for byteswap.h - not found
  -- Looking for glob.h
  -- Looking for glob.h - found
  -- Looking for valgrind/valgrind.h
  -- Looking for valgrind/valgrind.h - not found
  -- Looking for openssl/des.h
  -- Looking for openssl/des.h - found
  -- Looking for openssl/aes.h
  -- Looking for openssl/aes.h - found
  -- Looking for openssl/ecdh.h
  -- Looking for openssl/ecdh.h - found
  -- Looking for openssl/ec.h
  -- Looking for openssl/ec.h - found
  -- Looking for openssl/ecdsa.h
  -- Looking for openssl/ecdsa.h - found
  -- Looking for EVP_aes_128_ctr
  -- Looking for EVP_aes_128_ctr - found
  -- Looking for EVP_aes_128_cbc
  -- Looking for EVP_aes_128_cbc - found
  -- Looking for EVP_aes_128_gcm
  -- Looking for EVP_aes_128_gcm - found
  -- Looking for CRYPTO_THREADID_set_callback
  -- Looking for CRYPTO_THREADID_set_callback - not found
  -- Looking for CRYPTO_ctr128_encrypt
  -- Looking for CRYPTO_ctr128_encrypt - found
  -- Looking for EVP_CIPHER_CTX_new
  -- Looking for EVP_CIPHER_CTX_new - found
  -- Looking for EVP_KDF_CTX_new_id
  -- Looking for EVP_KDF_CTX_new_id - not found
  -- Looking for FIPS_mode
  -- Looking for FIPS_mode - found
  -- Looking for RAND_priv_bytes
  -- Looking for RAND_priv_bytes - found
  -- Looking for EVP_DigestSign
  -- Looking for EVP_DigestSign - found
  -- Looking for EVP_DigestVerify
  -- Looking for EVP_DigestVerify - found
  -- Looking for OPENSSL_ia32cap_loc
  -- Looking for OPENSSL_ia32cap_loc - not found
  -- Looking for EVP_PKEY_ED25519
  -- Looking for EVP_PKEY_ED25519 - found
  -- Looking for EVP_PKEY_X25519
  -- Looking for EVP_PKEY_X25519 - found
  -- Looking for isblank
  -- Looking for isblank - found
  -- Looking for strncpy
  -- Looking for strncpy - found
  -- Looking for strndup
  -- Looking for strndup - found
  -- Looking for strtoull
  -- Looking for strtoull - found
  -- Looking for explicit_bzero
  -- Looking for explicit_bzero - not found
  -- Looking for memset_s
  -- Looking for memset_s - found
  -- Performing Test HAVE_GLOB_GL_FLAGS_MEMBER
  -- Performing Test HAVE_GLOB_GL_FLAGS_MEMBER - Success
  -- Looking for glob
  -- Looking for glob - found
  -- Looking for vsnprintf
  -- Looking for vsnprintf - found
  -- Looking for snprintf
  -- Looking for snprintf - found
  -- Looking for poll
  -- Looking for poll - found
  -- Looking for select
  -- Looking for select - found
  -- Looking for getaddrinfo
  -- Looking for getaddrinfo - found
  -- Looking for ntohll
  -- Looking for ntohll - found
  -- Looking for htonll
  -- Looking for htonll - found
  -- Looking for getaddrinfo in socket
  -- Looking for getaddrinfo in socket - not found
  -- Looking for inet_pton in nsl
  -- Looking for inet_pton in nsl - not found
  -- Looking for nanosleep in rt
  -- Looking for nanosleep in rt - not found
  -- Looking for clock_gettime in rt
  -- Looking for clock_gettime in rt - not found
  -- Looking for forkpty in util
  -- Looking for forkpty in util - found
  -- Looking for cfmakeraw
  -- Looking for cfmakeraw - found
  -- Looking for __strtoull
  -- Looking for __strtoull - not found
  -- Performing Test HAVE_GCC_THREAD_LOCAL_STORAGE
  -- Performing Test HAVE_GCC_THREAD_LOCAL_STORAGE - Success
  -- Performing Test HAVE_MSC_THREAD_LOCAL_STORAGE
  -- Performing Test HAVE_MSC_THREAD_LOCAL_STORAGE - Failed
  -- Performing Test HAVE_CONSTRUCTOR_ATTRIBUTE
  -- Performing Test HAVE_CONSTRUCTOR_ATTRIBUTE - Success
  -- Performing Test HAVE_DESTRUCTOR_ATTRIBUTE
  -- Performing Test HAVE_DESTRUCTOR_ATTRIBUTE - Success
  -- Performing Test HAVE_FALLTHROUGH_ATTRIBUTE
  -- Performing Test HAVE_FALLTHROUGH_ATTRIBUTE - Success
  -- Performing Test HAVE_UNUSED_ATTRIBUTE
  -- Performing Test HAVE_UNUSED_ATTRIBUTE - Success
  -- Performing Test HAVE_GCC_VOLATILE_MEMORY_PROTECTION
  -- Performing Test HAVE_GCC_VOLATILE_MEMORY_PROTECTION - Success
  -- Performing Test HAVE_COMPILER__FUNC__
  -- Performing Test HAVE_COMPILER__FUNC__ - Success
  -- Performing Test HAVE_COMPILER__FUNCTION__
  -- Performing Test HAVE_COMPILER__FUNCTION__ - Success
  -- Performing Test HAVE_LD_VERSION_SCRIPT
  -- Performing Test HAVE_LD_VERSION_SCRIPT - Failed
  -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
  -- Threads_FOUND=TRUE
  -- The CXX compiler identification is AppleClang 13.0.0.13000029
  -- Detecting CXX compiler ABI info
  -- Detecting CXX compiler ABI info - done
  -- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped
  -- Detecting CXX compile features
  -- Detecting CXX compile features - done
  -- ********************************************
  -- ********** libssh build options : **********
  -- zlib support: ON
  -- libgcrypt support: OFF
  -- libmbedTLS support: OFF
  -- libnacl support: OFF
  -- SFTP support: ON
  -- Server support : ON
  -- GSSAPI support : ON
  -- GEX support : ON
  -- Pcap debugging support : ON
  -- Build shared library: ON
  -- Unit testing: OFF
  -- Client code testing: OFF
  -- Blowfish cipher support: OFF
  -- Server code testing: OFF
  -- Public API documentation generation
  -- Benchmarks: OFF
  -- Symbol versioning: ON
  -- Allow ABI break: OFF
  -- Release is final:
  -- Global client config: /etc/ssh/ssh_config
  -- Global bind config: /etc/ssh/libssh_server_config
  -- ********************************************
  -- Configuring done
  -- Generating done
  CMake Warning:
    Manually-specified variables were not used by the project:

      WITH_GSS_API

  -- Build files have been written to: /private/var/folders/cq/bbksgny922dbdl0vhk_n0f4h0000gn/T/pip-install-d369r7vd/ssh-python_da3d39b5647f4ef6980c750aa6e38306/src
  [  1%] Building C object src/CMakeFiles/ssh.dir/agent.c.o
  [  2%] Building C object src/CMakeFiles/ssh.dir/auth.c.o
  [  4%] Building C object src/CMakeFiles/ssh.dir/base64.c.o
  [  4%] Building C object src/CMakeFiles/ssh.dir/bignum.c.o
  clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
  clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
  clang: warning: clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
  argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
  [  5%] Building C object src/CMakeFiles/ssh.dir/buffer.c.o
  clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
  [  6%] Building C object src/CMakeFiles/ssh.dir/callbacks.c.o
  clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
  [  7%] Building C object src/CMakeFiles/ssh.dir/channels.c.o
  clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
  [  8%] Building C object src/CMakeFiles/ssh.dir/client.c.o
  clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
  [  9%] Building C object src/CMakeFiles/ssh.dir/config.c.o
  clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
  [ 10%] Building C object src/CMakeFiles/ssh.dir/connect.c.o
  clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
  [ 11%] Building C object src/CMakeFiles/ssh.dir/connector.c.o
  clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
  [ 11%] Building C object src/CMakeFiles/ssh.dir/curve25519.c.o
  clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
  [ 12%] Building C object src/CMakeFiles/ssh.dir/dh.c.o
  clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
  [ 13%] Building C object src/CMakeFiles/ssh.dir/ecdh.c.o
  clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
  [ 14%] Building C object src/CMakeFiles/ssh.dir/error.c.o
  clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
  [ 15%] Building C object src/CMakeFiles/ssh.dir/getpass.c.o
  clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
  [ 16%] Building C object src/CMakeFiles/ssh.dir/init.c.o
  [ 17%] Building C object src/CMakeFiles/ssh.dir/kdf.c.o
  clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
  clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
  [ 18%] Building C object src/CMakeFiles/ssh.dir/kex.c.o
  clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
  [ 19%] Building C object src/CMakeFiles/ssh.dir/known_hosts.c.o
  clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
  [ 20%] Building C object src/CMakeFiles/ssh.dir/knownhosts.c.o
  clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
  [ 21%] Building C object src/CMakeFiles/ssh.dir/legacy.c.o
  clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
  [ 22%] Building C object src/CMakeFiles/ssh.dir/log.c.o
  clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
  [ 23%] Building C object src/CMakeFiles/ssh.dir/match.c.o
  clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
  [ 24%] Building C object src/CMakeFiles/ssh.dir/messages.c.o
  [ 25%] Building C object src/CMakeFiles/ssh.dir/misc.c.o
  [ 26%] Building C object src/CMakeFiles/ssh.dir/options.c.o
  clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
  clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
  clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
  [ 27%] Building C object src/CMakeFiles/ssh.dir/packet.c.o
  clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
  [ 28%] Building C object src/CMakeFiles/ssh.dir/packet_cb.c.o
  clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
  [ 29%] Building C object src/CMakeFiles/ssh.dir/packet_crypt.c.o
  clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
  [ 30%] Building C object src/CMakeFiles/ssh.dir/pcap.c.o
  clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
  [ 31%] Building C object src/CMakeFiles/ssh.dir/pki.c.o
  clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
  [ 31%] Building C object src/CMakeFiles/ssh.dir/pki_container_openssh.c.o
  clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
  [ 32%] Building C object src/CMakeFiles/ssh.dir/poll.c.o
  clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
  [ 33%] Building C object src/CMakeFiles/ssh.dir/session.c.o
  clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
  [ 34%] Building C object src/CMakeFiles/ssh.dir/scp.c.o
  clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
  [ 35%] Building C object src/CMakeFiles/ssh.dir/socket.c.o
  clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
  [ 36%] Building C object src/CMakeFiles/ssh.dir/string.c.o
  [ 37%] Building C object src/CMakeFiles/ssh.dir/threads.c.o
  clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
  clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
  [ 38%] Building C object src/CMakeFiles/ssh.dir/wrapper.c.o
  clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
  [ 39%] Building C object src/CMakeFiles/ssh.dir/external/bcrypt_pbkdf.c.o
  clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
  [ 40%] Building C object src/CMakeFiles/ssh.dir/external/blowfish.c.o
  clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
  [ 41%] Building C object src/CMakeFiles/ssh.dir/external/chacha.c.o
  clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
  [ 42%] Building C object src/CMakeFiles/ssh.dir/external/poly1305.c.o
  clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
  [ 43%] Building C object src/CMakeFiles/ssh.dir/chachapoly.c.o
  [ 44%] Building C object src/CMakeFiles/ssh.dir/config_parser.c.o
  clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
  [ 45%] Building C object src/CMakeFiles/ssh.dir/token.c.o
  clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
  clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
  [ 46%] Building C object src/CMakeFiles/ssh.dir/pki_ed25519_common.c.o
  clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
  [ 47%] Building C object src/CMakeFiles/ssh.dir/threads/noop.c.o
  clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
  [ 48%] Building C object src/CMakeFiles/ssh.dir/threads/pthread.c.o
  [ 49%] Building C object src/CMakeFiles/ssh.dir/threads/libcrypto.c.o
  clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
  clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
  [ 50%] Building C object src/CMakeFiles/ssh.dir/pki_crypto.c.o
  clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
  [ 51%] Building C object src/CMakeFiles/ssh.dir/ecdh_crypto.c.o
  clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
  [ 51%] Building C object src/CMakeFiles/ssh.dir/libcrypto.c.o
  clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
  [ 52%] Building C object src/CMakeFiles/ssh.dir/dh_crypto.c.o
  clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
  [ 53%] Building C object src/CMakeFiles/ssh.dir/sftp.c.o
  clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
  [ 54%] Building C object src/CMakeFiles/ssh.dir/sftpserver.c.o
  clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
  [ 55%] Building C object src/CMakeFiles/ssh.dir/server.c.o
  clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
  [ 56%] Building C object src/CMakeFiles/ssh.dir/bind.c.o
  clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
  [ 57%] Building C object src/CMakeFiles/ssh.dir/bind_config.c.o
  clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
  [ 58%] Building C object src/CMakeFiles/ssh.dir/dh-gex.c.o
  clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
  [ 59%] Building C object src/CMakeFiles/ssh.dir/gzip.c.o
  [ 60%] Building C object src/CMakeFiles/ssh.dir/gssapi.c.o
  clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
  clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
  [ 61%] Linking C shared library ../lib/libssh.dylib
  [ 61%] Built target ssh
  [ 61%] Building C object examples/CMakeFiles/exec.dir/exec.c.o
  [ 62%] Building CXX object examples/CMakeFiles/libsshpp.dir/libsshpp.cpp.o
  [ 63%] Building C object examples/CMakeFiles/senddata.dir/senddata.c.o
  [ 64%] Building C object examples/CMakeFiles/keygen.dir/keygen.c.o
  clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
  clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
  clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
  [ 65%] Linking C executable keygen
  [ 66%] Building C object examples/CMakeFiles/senddata.dir/authentication.c.o
  [ 67%] Building C object examples/CMakeFiles/exec.dir/authentication.c.o
  clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
  clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
  [ 67%] Built target keygen
  [ 68%] Building C object examples/CMakeFiles/senddata.dir/knownhosts.c.o
  clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
  [ 69%] Building CXX object examples/CMakeFiles/libsshpp_noexcept.dir/libsshpp_noexcept.cpp.o
  [ 70%] Building C object examples/CMakeFiles/exec.dir/knownhosts.c.o
  [ 71%] Building C object examples/CMakeFiles/senddata.dir/connect_ssh.c.o
  clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
  clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
  [ 72%] Linking C executable senddata
  [ 73%] Building C object examples/CMakeFiles/exec.dir/connect_ssh.c.o
  clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
  [ 73%] Built target senddata
  [ 74%] Building C object examples/CMakeFiles/sshnetcat.dir/sshnetcat.c.o
  clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
  [ 75%] Linking C executable exec
  [ 75%] Built target exec
  [ 76%] Building C object examples/CMakeFiles/sshnetcat.dir/authentication.c.o
  clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
  [ 76%] Building C object examples/CMakeFiles/scp_download.dir/scp_download.c.o
  clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
  [ 77%] Building C object examples/CMakeFiles/sshnetcat.dir/knownhosts.c.o
  clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
  [ 79%] Building C object examples/CMakeFiles/sshnetcat.dir/connect_ssh.c.o
  [ 79%] Building C object examples/CMakeFiles/scp_download.dir/authentication.c.o
  clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
  clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
  [ 80%] Linking C executable sshnetcat
  [ 80%] Built target sshnetcat
  [ 81%] Building C object examples/CMakeFiles/scp_download.dir/knownhosts.c.o
  [ 82%] Building C object examples/CMakeFiles/scp_download.dir/connect_ssh.c.o
  clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
  clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
  [ 83%] Building C object examples/CMakeFiles/ssh-client.dir/ssh_client.c.o
  [ 84%] Linking C executable scp_download
  clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
  [ 84%] Built target scp_download
  [ 85%] Building C object examples/CMakeFiles/ssh-client.dir/authentication.c.o
  clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
  [ 86%] Linking CXX executable libsshpp
  [ 87%] Building C object examples/CMakeFiles/ssh-client.dir/knownhosts.c.o
  [ 88%] Building C object examples/CMakeFiles/samplesftp.dir/samplesftp.c.o
  clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
  clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
  [ 88%] Built target libsshpp
  [ 89%] Building C object examples/CMakeFiles/ssh-client.dir/connect_ssh.c.o
  clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
  [ 90%] Building C object examples/CMakeFiles/samplesftp.dir/authentication.c.o
  clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
  [ 91%] Linking C executable ssh-client
  [ 92%] Linking CXX executable libsshpp_noexcept
  [ 93%] Building C object examples/CMakeFiles/libssh_scp.dir/libssh_scp.c.o
  clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
  [ 93%] Built target ssh-client
  [ 93%] Built target libsshpp_noexcept
  [ 94%] Building C object examples/CMakeFiles/samplesftp.dir/knownhosts.c.o
  [ 95%] Building C object examples/CMakeFiles/libssh_scp.dir/authentication.c.o
  clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
  clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
  [ 96%] Building C object examples/CMakeFiles/libssh_scp.dir/knownhosts.c.o
  clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
  [ 97%] Building C object examples/CMakeFiles/samplesftp.dir/connect_ssh.c.o
  clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
  [ 98%] Building C object examples/CMakeFiles/libssh_scp.dir/connect_ssh.c.o
  clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
  [ 99%] Linking C executable samplesftp
  [100%] Linking C executable libssh_scp
  [100%] Built target samplesftp
  [100%] Built target libssh_scp
  Install the project...
  -- Install configuration: "Release"
  -- Installing: /private/var/folders/cq/bbksgny922dbdl0vhk_n0f4h0000gn/T/pip-install-d369r7vd/ssh-python_da3d39b5647f4ef6980c750aa6e38306/local/lib/pkgconfig/libssh.pc
  -- Installing: /private/var/folders/cq/bbksgny922dbdl0vhk_n0f4h0000gn/T/pip-install-d369r7vd/ssh-python_da3d39b5647f4ef6980c750aa6e38306/local/lib/cmake/libssh/libssh-config-version.cmake
  -- Installing: /private/var/folders/cq/bbksgny922dbdl0vhk_n0f4h0000gn/T/pip-install-d369r7vd/ssh-python_da3d39b5647f4ef6980c750aa6e38306/local/include/libssh/callbacks.h
  -- Installing: /private/var/folders/cq/bbksgny922dbdl0vhk_n0f4h0000gn/T/pip-install-d369r7vd/ssh-python_da3d39b5647f4ef6980c750aa6e38306/local/include/libssh/libssh.h
  -- Installing: /private/var/folders/cq/bbksgny922dbdl0vhk_n0f4h0000gn/T/pip-install-d369r7vd/ssh-python_da3d39b5647f4ef6980c750aa6e38306/local/include/libssh/ssh2.h
  -- Installing: /private/var/folders/cq/bbksgny922dbdl0vhk_n0f4h0000gn/T/pip-install-d369r7vd/ssh-python_da3d39b5647f4ef6980c750aa6e38306/local/include/libssh/legacy.h
  -- Installing: /private/var/folders/cq/bbksgny922dbdl0vhk_n0f4h0000gn/T/pip-install-d369r7vd/ssh-python_da3d39b5647f4ef6980c750aa6e38306/local/include/libssh/libsshpp.hpp
  -- Installing: /private/var/folders/cq/bbksgny922dbdl0vhk_n0f4h0000gn/T/pip-install-d369r7vd/ssh-python_da3d39b5647f4ef6980c750aa6e38306/local/include/libssh/sftp.h
  -- Installing: /private/var/folders/cq/bbksgny922dbdl0vhk_n0f4h0000gn/T/pip-install-d369r7vd/ssh-python_da3d39b5647f4ef6980c750aa6e38306/local/include/libssh/server.h
  -- Installing: /private/var/folders/cq/bbksgny922dbdl0vhk_n0f4h0000gn/T/pip-install-d369r7vd/ssh-python_da3d39b5647f4ef6980c750aa6e38306/local/include/libssh/libssh_version.h
  -- Installing: /private/var/folders/cq/bbksgny922dbdl0vhk_n0f4h0000gn/T/pip-install-d369r7vd/ssh-python_da3d39b5647f4ef6980c750aa6e38306/local/lib/libssh.4.8.7.dylib
  -- Installing: /private/var/folders/cq/bbksgny922dbdl0vhk_n0f4h0000gn/T/pip-install-d369r7vd/ssh-python_da3d39b5647f4ef6980c750aa6e38306/local/lib/libssh.4.dylib
  -- Installing: /private/var/folders/cq/bbksgny922dbdl0vhk_n0f4h0000gn/T/pip-install-d369r7vd/ssh-python_da3d39b5647f4ef6980c750aa6e38306/local/lib/libssh.dylib
  -- Installing: /private/var/folders/cq/bbksgny922dbdl0vhk_n0f4h0000gn/T/pip-install-d369r7vd/ssh-python_da3d39b5647f4ef6980c750aa6e38306/local/lib/cmake/libssh/libssh-config.cmake
  -- Installing: /private/var/folders/cq/bbksgny922dbdl0vhk_n0f4h0000gn/T/pip-install-d369r7vd/ssh-python_da3d39b5647f4ef6980c750aa6e38306/local/lib/cmake/libssh/libssh-config-release.cmake
  Cython arguments: {'cython_directives': {'embedsignature': True, 'boundscheck': False, 'optimize.use_switch': True, 'wraparound': False, 'language_level': 2}, 'cython_compile_time_env': {'ON_WINDOWS': False}}
  Windows platform: False, Python major version: 3./running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.macosx-11.6-x86_64-cpython-311
  creating build/lib.macosx-11.6-x86_64-cpython-311/ssh
  copying ssh/_version.py -> build/lib.macosx-11.6-x86_64-cpython-311/ssh
  copying ssh/__init__.py -> build/lib.macosx-11.6-x86_64-cpython-311/ssh
  copying ssh/c_ssh.pxd -> build/lib.macosx-11.6-x86_64-cpython-311/ssh
  copying ssh/utils.pxd -> build/lib.macosx-11.6-x86_64-cpython-311/ssh
  copying ssh/c_legacy.pxd -> build/lib.macosx-11.6-x86_64-cpython-311/ssh
  copying ssh/sftp_handles.pxd -> build/lib.macosx-11.6-x86_64-cpython-311/ssh
  copying ssh/scp.pxd -> build/lib.macosx-11.6-x86_64-cpython-311/ssh
  copying ssh/sftp_attributes.pxd -> build/lib.macosx-11.6-x86_64-cpython-311/ssh
  copying ssh/__init__.pxd -> build/lib.macosx-11.6-x86_64-cpython-311/ssh
  copying ssh/channel.pxd -> build/lib.macosx-11.6-x86_64-cpython-311/ssh
  copying ssh/c_callbacks.pxd -> build/lib.macosx-11.6-x86_64-cpython-311/ssh
  copying ssh/options.pxd -> build/lib.macosx-11.6-x86_64-cpython-311/ssh
  copying ssh/session.pxd -> build/lib.macosx-11.6-x86_64-cpython-311/ssh
  copying ssh/c_ssh2.pxd -> build/lib.macosx-11.6-x86_64-cpython-311/ssh
  copying ssh/keytypes.pxd -> build/lib.macosx-11.6-x86_64-cpython-311/ssh
  copying ssh/sftp_statvfs.pxd -> build/lib.macosx-11.6-x86_64-cpython-311/ssh
  copying ssh/sftp.pxd -> build/lib.macosx-11.6-x86_64-cpython-311/ssh
  copying ssh/callbacks.pxd -> build/lib.macosx-11.6-x86_64-cpython-311/ssh
  copying ssh/connector.pxd -> build/lib.macosx-11.6-x86_64-cpython-311/ssh
  copying ssh/c_sftp.pxd -> build/lib.macosx-11.6-x86_64-cpython-311/ssh
  copying ssh/event.pxd -> build/lib.macosx-11.6-x86_64-cpython-311/ssh
  copying ssh/key.pxd -> build/lib.macosx-11.6-x86_64-cpython-311/ssh
  warning: cmd_build_py: byte-compiling is disabled, skipping.

  running build_ext
  skipping 'ssh/key.c' Cython extension (up-to-date)
  skipping 'ssh/error_codes.c' Cython extension (up-to-date)
  skipping 'ssh/event.c' Cython extension (up-to-date)
  skipping 'ssh/callbacks.c' Cython extension (up-to-date)
  skipping 'ssh/connector.c' Cython extension (up-to-date)
  skipping 'ssh/sftp.c' Cython extension (up-to-date)
  skipping 'ssh/sftp_statvfs.c' Cython extension (up-to-date)
  skipping 'ssh/session.c' Cython extension (up-to-date)
  skipping 'ssh/keytypes.c' Cython extension (up-to-date)
  skipping 'ssh/options.c' Cython extension (up-to-date)
  skipping 'ssh/channel.c' Cython extension (up-to-date)
  skipping 'ssh/sftp_attributes.c' Cython extension (up-to-date)
  skipping 'ssh/scp.c' Cython extension (up-to-date)
  skipping 'ssh/exceptions.c' Cython extension (up-to-date)
  skipping 'ssh/sftp_handles.c' Cython extension (up-to-date)
  skipping 'ssh/utils.c' Cython extension (up-to-date)
  building 'ssh.key' extension
  creating build/temp.macosx-11.6-x86_64-cpython-311
  creating build/temp.macosx-11.6-x86_64-cpython-311/ssh
  gcc -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I./local/include -I./libssh/include -I/Users/philren/.local/share/virtualenvs/shared_atomic_private311-XK-d3gD1/include -I/usr/local/python311/include/python3.11 -c ssh/key.c -o build/temp.macosx-11.6-x86_64-cpython-311/ssh/key.o -O3 -g0 -s
  clang: warning: argument unused during compilation: '-s' [-Wunused-command-line-argument]
  ssh/key.c:7304:5: error: incomplete definition of type 'struct _frame'
      __Pyx_PyFrame_SetLineNumber(py_frame, py_line);
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  ssh/key.c:438:62: note: expanded from macro '__Pyx_PyFrame_SetLineNumber'
    #define __Pyx_PyFrame_SetLineNumber(frame, lineno)  (frame)->f_lineno = (lineno)
                                                        ~~~~~~~^
  /usr/local/python311/include/python3.11/pytypedefs.h:22:16: note: forward declaration of 'struct _frame'
  typedef struct _frame PyFrameObject;
                 ^
  1 error generated.
  error: command '/usr/bin/gcc' failed with exit code 1
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for ssh-python Running setup.py clean for ssh-python Failed to build ssh-python Installing collected packages: ssh-python Running setup.py install for ssh-python: started Running setup.py install for ssh-python: finished with status 'error' error: subprocess-exited-with-error

× Running setup.py install for ssh-python did not run successfully. │ exit code: 1 ╰─> [148 lines of output] -- Could NOT find NaCl (missing: NACL_LIBRARIES NACL_INCLUDE_DIRS) CMake Warning (dev) at /usr/local/Cellar/cmake/3.21.0/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:438 (message): The package name passed to find_package_handle_standard_args (ARGP) does not match the name of the calling package (Argp). This can lead to problems in calling code that expects find_package result variables (e.g., _FOUND) to follow a certain pattern. Call Stack (most recent call first): cmake/Modules/FindArgp.cmake:63 (find_package_handle_standard_args) CMakeLists.txt:100 (find_package) This warning is for project developers. Use -Wno-dev to suppress it.

  -- Could NOT find ARGP (missing: ARGP_LIBRARIES ARGP_INCLUDE_DIR)
  -- Could not find `abimap` in PATH. It can be found in PyPI as `abimap` (try `pip install abimap`)
  -- Could NOT find ABIMap (missing: ABIMAP_EXECUTABLE) (Required is at least version "0.3.1")
  -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
  -- Threads_FOUND=TRUE
  -- ********************************************
  -- ********** libssh build options : **********
  -- zlib support: ON
  -- libgcrypt support: OFF
  -- libmbedTLS support: OFF
  -- libnacl support: OFF
  -- SFTP support: ON
  -- Server support : ON
  -- GSSAPI support : ON
  -- GEX support : ON
  -- Pcap debugging support : ON
  -- Build shared library: ON
  -- Unit testing: OFF
  -- Client code testing: OFF
  -- Blowfish cipher support: OFF
  -- Server code testing: OFF
  -- Public API documentation generation
  -- Benchmarks: OFF
  -- Symbol versioning: ON
  -- Allow ABI break: OFF
  -- Release is final:
  -- Global client config: /etc/ssh/ssh_config
  -- Global bind config: /etc/ssh/libssh_server_config
  -- ********************************************
  -- Configuring done
  -- Generating done
  -- Build files have been written to: /private/var/folders/cq/bbksgny922dbdl0vhk_n0f4h0000gn/T/pip-install-d369r7vd/ssh-python_da3d39b5647f4ef6980c750aa6e38306/src
  Consolidate compiler generated dependencies of target ssh
  [ 61%] Built target ssh
  Consolidate compiler generated dependencies of target keygen
  Consolidate compiler generated dependencies of target senddata
  Consolidate compiler generated dependencies of target libsshpp
  Consolidate compiler generated dependencies of target exec
  [ 63%] Built target keygen
  [ 68%] Built target senddata
  [ 70%] Built target libsshpp
  [ 74%] Built target exec
  Consolidate compiler generated dependencies of target libsshpp_noexcept
  Consolidate compiler generated dependencies of target scp_download
  Consolidate compiler generated dependencies of target ssh-client
  Consolidate compiler generated dependencies of target sshnetcat
  [ 76%] Built target libsshpp_noexcept
  [ 82%] Built target ssh-client
  [ 85%] Built target scp_download
  [ 90%] Built target sshnetcat
  Consolidate compiler generated dependencies of target samplesftp
  Consolidate compiler generated dependencies of target libssh_scp
  [ 95%] Built target samplesftp
  [100%] Built target libssh_scp
  Install the project...
  -- Install configuration: "Release"
  -- Up-to-date: /private/var/folders/cq/bbksgny922dbdl0vhk_n0f4h0000gn/T/pip-install-d369r7vd/ssh-python_da3d39b5647f4ef6980c750aa6e38306/local/lib/pkgconfig/libssh.pc
  -- Up-to-date: /private/var/folders/cq/bbksgny922dbdl0vhk_n0f4h0000gn/T/pip-install-d369r7vd/ssh-python_da3d39b5647f4ef6980c750aa6e38306/local/lib/cmake/libssh/libssh-config-version.cmake
  -- Up-to-date: /private/var/folders/cq/bbksgny922dbdl0vhk_n0f4h0000gn/T/pip-install-d369r7vd/ssh-python_da3d39b5647f4ef6980c750aa6e38306/local/include/libssh/callbacks.h
  -- Up-to-date: /private/var/folders/cq/bbksgny922dbdl0vhk_n0f4h0000gn/T/pip-install-d369r7vd/ssh-python_da3d39b5647f4ef6980c750aa6e38306/local/include/libssh/libssh.h
  -- Up-to-date: /private/var/folders/cq/bbksgny922dbdl0vhk_n0f4h0000gn/T/pip-install-d369r7vd/ssh-python_da3d39b5647f4ef6980c750aa6e38306/local/include/libssh/ssh2.h
  -- Up-to-date: /private/var/folders/cq/bbksgny922dbdl0vhk_n0f4h0000gn/T/pip-install-d369r7vd/ssh-python_da3d39b5647f4ef6980c750aa6e38306/local/include/libssh/legacy.h
  -- Up-to-date: /private/var/folders/cq/bbksgny922dbdl0vhk_n0f4h0000gn/T/pip-install-d369r7vd/ssh-python_da3d39b5647f4ef6980c750aa6e38306/local/include/libssh/libsshpp.hpp
  -- Up-to-date: /private/var/folders/cq/bbksgny922dbdl0vhk_n0f4h0000gn/T/pip-install-d369r7vd/ssh-python_da3d39b5647f4ef6980c750aa6e38306/local/include/libssh/sftp.h
  -- Up-to-date: /private/var/folders/cq/bbksgny922dbdl0vhk_n0f4h0000gn/T/pip-install-d369r7vd/ssh-python_da3d39b5647f4ef6980c750aa6e38306/local/include/libssh/server.h
  -- Up-to-date: /private/var/folders/cq/bbksgny922dbdl0vhk_n0f4h0000gn/T/pip-install-d369r7vd/ssh-python_da3d39b5647f4ef6980c750aa6e38306/local/include/libssh/libssh_version.h
  -- Up-to-date: /private/var/folders/cq/bbksgny922dbdl0vhk_n0f4h0000gn/T/pip-install-d369r7vd/ssh-python_da3d39b5647f4ef6980c750aa6e38306/local/lib/libssh.4.8.7.dylib
  -- Up-to-date: /private/var/folders/cq/bbksgny922dbdl0vhk_n0f4h0000gn/T/pip-install-d369r7vd/ssh-python_da3d39b5647f4ef6980c750aa6e38306/local/lib/libssh.4.dylib
  -- Up-to-date: /private/var/folders/cq/bbksgny922dbdl0vhk_n0f4h0000gn/T/pip-install-d369r7vd/ssh-python_da3d39b5647f4ef6980c750aa6e38306/local/lib/libssh.dylib
  -- Up-to-date: /private/var/folders/cq/bbksgny922dbdl0vhk_n0f4h0000gn/T/pip-install-d369r7vd/ssh-python_da3d39b5647f4ef6980c750aa6e38306/local/lib/cmake/libssh/libssh-config.cmake
  -- Up-to-date: /private/var/folders/cq/bbksgny922dbdl0vhk_n0f4h0000gn/T/pip-install-d369r7vd/ssh-python_da3d39b5647f4ef6980c750aa6e38306/local/lib/cmake/libssh/libssh-config-release.cmake
  Cython arguments: {'cython_directives': {'embedsignature': True, 'boundscheck': False, 'optimize.use_switch': True, 'wraparound': False, 'language_level': 2}, 'cython_compile_time_env': {'ON_WINDOWS': False}}
  Windows platform: False, Python major version: 3./running install
  /Users/philren/.local/share/virtualenvs/shared_atomic_private311-XK-d3gD1/lib/python3.11/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
    warnings.warn(
  running build
  running build_py
  creating build
  creating build/lib.macosx-11.6-x86_64-cpython-311
  creating build/lib.macosx-11.6-x86_64-cpython-311/ssh
  copying ssh/_version.py -> build/lib.macosx-11.6-x86_64-cpython-311/ssh
  copying ssh/__init__.py -> build/lib.macosx-11.6-x86_64-cpython-311/ssh
  copying ssh/c_ssh.pxd -> build/lib.macosx-11.6-x86_64-cpython-311/ssh
  copying ssh/utils.pxd -> build/lib.macosx-11.6-x86_64-cpython-311/ssh
  copying ssh/c_legacy.pxd -> build/lib.macosx-11.6-x86_64-cpython-311/ssh
  copying ssh/sftp_handles.pxd -> build/lib.macosx-11.6-x86_64-cpython-311/ssh
  copying ssh/scp.pxd -> build/lib.macosx-11.6-x86_64-cpython-311/ssh
  copying ssh/sftp_attributes.pxd -> build/lib.macosx-11.6-x86_64-cpython-311/ssh
  copying ssh/__init__.pxd -> build/lib.macosx-11.6-x86_64-cpython-311/ssh
  copying ssh/channel.pxd -> build/lib.macosx-11.6-x86_64-cpython-311/ssh
  copying ssh/c_callbacks.pxd -> build/lib.macosx-11.6-x86_64-cpython-311/ssh
  copying ssh/options.pxd -> build/lib.macosx-11.6-x86_64-cpython-311/ssh
  copying ssh/session.pxd -> build/lib.macosx-11.6-x86_64-cpython-311/ssh
  copying ssh/c_ssh2.pxd -> build/lib.macosx-11.6-x86_64-cpython-311/ssh
  copying ssh/keytypes.pxd -> build/lib.macosx-11.6-x86_64-cpython-311/ssh
  copying ssh/sftp_statvfs.pxd -> build/lib.macosx-11.6-x86_64-cpython-311/ssh
  copying ssh/sftp.pxd -> build/lib.macosx-11.6-x86_64-cpython-311/ssh
  copying ssh/callbacks.pxd -> build/lib.macosx-11.6-x86_64-cpython-311/ssh
  copying ssh/connector.pxd -> build/lib.macosx-11.6-x86_64-cpython-311/ssh
  copying ssh/c_sftp.pxd -> build/lib.macosx-11.6-x86_64-cpython-311/ssh
  copying ssh/event.pxd -> build/lib.macosx-11.6-x86_64-cpython-311/ssh
  copying ssh/key.pxd -> build/lib.macosx-11.6-x86_64-cpython-311/ssh
  warning: cmd_build_py: byte-compiling is disabled, skipping.

  running build_ext
  skipping 'ssh/key.c' Cython extension (up-to-date)
  skipping 'ssh/error_codes.c' Cython extension (up-to-date)
  skipping 'ssh/event.c' Cython extension (up-to-date)
  skipping 'ssh/callbacks.c' Cython extension (up-to-date)
  skipping 'ssh/connector.c' Cython extension (up-to-date)
  skipping 'ssh/sftp.c' Cython extension (up-to-date)
  skipping 'ssh/sftp_statvfs.c' Cython extension (up-to-date)
  skipping 'ssh/session.c' Cython extension (up-to-date)
  skipping 'ssh/keytypes.c' Cython extension (up-to-date)
  skipping 'ssh/options.c' Cython extension (up-to-date)
  skipping 'ssh/channel.c' Cython extension (up-to-date)
  skipping 'ssh/sftp_attributes.c' Cython extension (up-to-date)
  skipping 'ssh/scp.c' Cython extension (up-to-date)
  skipping 'ssh/exceptions.c' Cython extension (up-to-date)
  skipping 'ssh/sftp_handles.c' Cython extension (up-to-date)
  skipping 'ssh/utils.c' Cython extension (up-to-date)
  building 'ssh.key' extension
  creating build/temp.macosx-11.6-x86_64-cpython-311
  creating build/temp.macosx-11.6-x86_64-cpython-311/ssh
  gcc -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I./local/include -I./libssh/include -I/Users/philren/.local/share/virtualenvs/shared_atomic_private311-XK-d3gD1/include -I/usr/local/python311/include/python3.11 -c ssh/key.c -o build/temp.macosx-11.6-x86_64-cpython-311/ssh/key.o -O3 -g0 -s
  clang: warning: argument unused during compilation: '-s' [-Wunused-command-line-argument]
  ssh/key.c:7304:5: error: incomplete definition of type 'struct _frame'
      __Pyx_PyFrame_SetLineNumber(py_frame, py_line);
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  ssh/key.c:438:62: note: expanded from macro '__Pyx_PyFrame_SetLineNumber'
    #define __Pyx_PyFrame_SetLineNumber(frame, lineno)  (frame)->f_lineno = (lineno)
                                                        ~~~~~~~^
  /usr/local/python311/include/python3.11/pytypedefs.h:22:16: note: forward declaration of 'struct _frame'
  typedef struct _frame PyFrameObject;
                 ^
  1 error generated.
  error: command '/usr/bin/gcc' failed with exit code 1
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: legacy-install-failure

× Encountered error while trying to install package. ╰─> ssh-python

note: This is an issue with the package mentioned above, not pip. hint: See above for output from the failure.

enkore commented 2 years ago

See https://github.com/ParallelSSH/ssh-python/issues/57#issuecomment-1311877590