jneilliii / OctoPrint-BedReady

11 stars 3 forks source link

Failed to install on docker image #11

Open florie1706 opened 2 years ago

florie1706 commented 2 years ago

Hi,

I am using the official docker image and already installed plenty of your plugins without any issue. But I cannot get this plugin to install.

Collecting https://github.com/jneilliii/OctoPrint-BedReady/archive/master.zip
  Downloading https://github.com/jneilliii/OctoPrint-BedReady/archive/master.zip
     \ 807.1 kB 8.8 MB/s 0:00:00
  Preparing metadata (setup.py) ... done
Requirement already satisfied: OctoPrint in /usr/local/lib/python3.8/site-packages (from Bed-Ready==0.1.5) (1.8.1)
Collecting numpy==1.21.4
  Downloading numpy-1.21.4.zip (10.6 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 10.6/10.6 MB 21.4 MB/s eta 0:00:00
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting opencv-python-headless
  Downloading opencv-python-headless-4.6.0.66.tar.gz (90.3 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 90.3/90.3 MB 2.7 MB/s eta 0:00:00
  Installing build dependencies ... error
  error: subprocess-exited-with-error

  × pip subprocess to install build dependencies did not run successfully.
  │ exit code: 1
  ╰─> [366 lines of output]
      Ignoring numpy: markers 'python_version == "3.6" and platform_machine != "aarch64" and platform_machine != "arm64"' don't match your environment
      Ignoring numpy: markers 'python_version == "3.7" and platform_machine != "aarch64" and platform_machine != "arm64"' don't match your environment
      Ignoring numpy: markers 'python_version <= "3.9" and sys_platform == "linux" and platform_machine == "aarch64"' don't match your environment
      Ignoring numpy: markers 'python_version <= "3.9" and sys_platform == "darwin" and platform_machine == "arm64"' don't match your environment
      Ignoring numpy: markers 'python_version == "3.9" and platform_machine != "aarch64" and platform_machine != "arm64"' don't match your environment
      Ignoring numpy: markers 'python_version >= "3.10"' don't match your environment
      Collecting setuptools==59.2.0
        Downloading setuptools-59.2.0-py3-none-any.whl (952 kB)
           ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 952.0/952.0 kB 2.8 MB/s eta 0:00:00
      Collecting wheel==0.37.0
        Downloading wheel-0.37.0-py2.py3-none-any.whl (35 kB)
      Collecting cmake>=3.1
        Downloading cmake-3.23.3.tar.gz (33 kB)
        Installing build dependencies: started
        Installing build dependencies: finished with status 'done'
        Getting requirements to build wheel: started
        Getting requirements to build wheel: finished with status 'done'
        Preparing metadata (pyproject.toml): started
        Preparing metadata (pyproject.toml): finished with status 'done'
      Collecting pip
        Downloading pip-22.2.1-py3-none-any.whl (2.0 MB)
           ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.0/2.0 MB 9.7 MB/s eta 0:00:00
      Collecting scikit-build>=0.13.2
        Using cached scikit_build-0.15.0-py2.py3-none-any.whl (77 kB)
      Collecting numpy==1.17.3
        Downloading numpy-1.17.3.zip (6.4 MB)
           ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.4/6.4 MB 9.8 MB/s eta 0:00:00
        Preparing metadata (setup.py): started
        Preparing metadata (setup.py): finished with status 'done'
      Collecting packaging
        Using cached packaging-21.3-py3-none-any.whl (40 kB)
      Collecting distro
        Using cached distro-1.7.0-py3-none-any.whl (20 kB)
      Collecting pyparsing!=3.0.5,>=2.0.2
        Using cached pyparsing-3.0.9-py3-none-any.whl (98 kB)
      Building wheels for collected packages: numpy, cmake
        Building wheel for numpy (setup.py): started
        Building wheel for numpy (setup.py): still running...
        Building wheel for numpy (setup.py): still running...
        Building wheel for numpy (setup.py): still running...
        Building wheel for numpy (setup.py): still running...
        Building wheel for numpy (setup.py): still running...
        Building wheel for numpy (setup.py): still running...
        Building wheel for numpy (setup.py): finished with status 'done'
        Created wheel for numpy: filename=numpy-1.17.3-cp38-cp38-linux_armv7l.whl size=5317645 sha256=6b174320833aaf04b28e86e439552ac837d957575440cc6ec3648f891ccaa409
        Stored in directory: /root/.cache/pip/wheels/aa/67/93/1a3eb3ad40a08a0cc44ce3da7bfcad685c04afba45b7e72589
        Building wheel for cmake (pyproject.toml): started
        Building wheel for cmake (pyproject.toml): finished with status 'error'
        error: subprocess-exited-with-error

        × Building wheel for cmake (pyproject.toml) did not run successfully.
        │ exit code: 1
        ╰─> [306 lines of output]
            Not searching for unused variables given on the command line.
            CMake Error: CMake was unable to find a build program corresponding to "Ninja".  CMAKE_MAKE_PROGRAM is not set.  You probably need to select a different build tool.
            -- Configuring incomplete, errors occurred!
            See also "/tmp/pip-install-4h_sewn9/cmake_426a78eebc634dacae10aa056a80832d/_cmake_test_compile/build/CMakeFiles/CMakeOutput.log".
            Not searching for unused variables given on the command line.
            -- The C compiler identification is GNU 8.3.0
            -- Check for working C compiler: /usr/bin/cc
            -- Check for working C compiler: /usr/bin/cc -- works
            -- Detecting C compiler ABI info
            -- Detecting C compiler ABI info - done
            -- Detecting C compile features
            -- Detecting C compile features - done
            -- The CXX compiler identification is GNU 8.3.0
            -- Check for working CXX compiler: /usr/bin/c++
            -- Check for working CXX compiler: /usr/bin/c++ -- works
            -- Detecting CXX compiler ABI info
            -- Detecting CXX compiler ABI info - done
            -- Detecting CXX compile features
            -- Detecting CXX compile features - done
            -- Configuring done
            -- Generating done
            -- Build files have been written to: /tmp/pip-install-4h_sewn9/cmake_426a78eebc634dacae10aa056a80832d/_cmake_test_compile/build
            -- The CXX compiler identification is GNU 8.3.0
            -- Check for working CXX compiler: /usr/bin/c++
            -- Check for working CXX compiler: /usr/bin/c++ -- works
            -- Detecting CXX compiler ABI info
            -- Detecting CXX compiler ABI info - done
            -- Detecting CXX compile features
            -- Detecting CXX compile features - done
            -- ***************************************************
            -- Build CMake from source: ON
            -- ***************************************************
            -- SuperBuild - CMakeProject-src-download
            -- SuperBuild - CMakeProject-src-download - URL: https://github.com/Kitware/CMake/releases/download/v3.23.3/cmake-3.23.3.tar.gz
            -- SuperBuild - CMakeProject-src-download - CMakeProject_SOURCE_DIR: /tmp/pip-install-4h_sewn9/cmake_426a78eebc634dacae10aa056a80832d/CMake-src
            -- Looking for __GLIBC__
            -- Looking for __GLIBC__ - found
            -- Looking for __GLIBC_MINOR__
            -- Looking for __GLIBC_MINOR__ - found
            -- SuperBuild -   CMakeProject-build
            -- SuperBuild -   CMakeProject-build - CMakeProject_BINARY_DIR: /tmp/pip-install-4h_sewn9/cmake_426a78eebc634dacae10aa056a80832d/_skbuild/linux-armv7l-3.8/cmake-build/CMakeProject-build
            -- SuperBuild -   CMakePythonDistributions
            -- Configuring done
            -- Generating done
            CMake Warning:
              Manually-specified variables were not used by the project:

                PYTHON_EXECUTABLE
                PYTHON_INCLUDE_DIR
                PYTHON_LIBRARY
                PYTHON_VERSION_STRING
                Python3_EXECUTABLE
                Python3_INCLUDE_DIR
                Python3_LIBRARY
                Python_EXECUTABLE
                Python_INCLUDE_DIR
                Python_LIBRARY
                SKBUILD

            -- Build files have been written to: /tmp/pip-install-4h_sewn9/cmake_426a78eebc634dacae10aa056a80832d/_skbuild/linux-armv7l-3.8/cmake-build
            Scanning dependencies of target CMakeProject-src-download
            [  3%] Creating directories for 'CMakeProject-src-download'
            [  7%] Performing download step (download, verify and extract) for 'CMakeProject-src-download'
            -- Downloading...
               dst='/tmp/pip-install-4h_sewn9/cmake_426a78eebc634dacae10aa056a80832d/_skbuild/linux-armv7l-3.8/cmake-build/cmake-3.23.3.tar.gz'
               timeout='none'
            -- Using src='https://github.com/Kitware/CMake/releases/download/v3.23.3/cmake-3.23.3.tar.gz'
            -- [download 0% complete]
            -- [download 1% complete]
            -- [download 2% complete]
            -- [download 3% complete]
            -- [download 4% complete]
            -- [download 18% complete]
            -- [download 23% complete]
            -- [download 31% complete]
            -- [download 39% complete]
            -- [download 42% complete]
            -- [download 50% complete]
            -- [download 64% complete]
            -- [download 66% complete]
            -- [download 74% complete]
            -- [download 77% complete]
            -- [download 82% complete]
            -- [download 84% complete]
            -- [download 85% complete]
            -- [download 86% complete]
            -- [download 96% complete]
            -- [download 100% complete]
            -- verifying file...
                   file='/tmp/pip-install-4h_sewn9/cmake_426a78eebc634dacae10aa056a80832d/_skbuild/linux-armv7l-3.8/cmake-build/cmake-3.23.3.tar.gz'
            -- Downloading... done
            -- extracting...
                 src='/tmp/pip-install-4h_sewn9/cmake_426a78eebc634dacae10aa056a80832d/_skbuild/linux-armv7l-3.8/cmake-build/cmake-3.23.3.tar.gz'
                 dst='/tmp/pip-install-4h_sewn9/cmake_426a78eebc634dacae10aa056a80832d/CMake-src'
            -- extracting... [tar xfz]
            -- extracting... [analysis]
            -- extracting... [rename]
            -- extracting... [clean up]
            -- extracting... done
            [ 11%] No patch step for 'CMakeProject-src-download'
            [ 15%] No update step for 'CMakeProject-src-download'
            [ 19%] No configure step for 'CMakeProject-src-download'
            [ 23%] No build step for 'CMakeProject-src-download'
            [ 26%] No install step for 'CMakeProject-src-download'
            [ 30%] Completed 'CMakeProject-src-download'
            [ 30%] Built target CMakeProject-src-download
            Scanning dependencies of target CMakeProject-build
            [ 34%] Creating directories for 'CMakeProject-build'
            [ 38%] No download step for 'CMakeProject-build'
            [ 42%] No patch step for 'CMakeProject-build'
            [ 46%] No update step for 'CMakeProject-build'
            [ 50%] Performing configure step for 'CMakeProject-build'
            loading initial cache file /tmp/pip-install-4h_sewn9/cmake_426a78eebc634dacae10aa056a80832d/_skbuild/linux-armv7l-3.8/cmake-build/initial-cache.txt
            loading initial cache file /tmp/pip-install-4h_sewn9/cmake_426a78eebc634dacae10aa056a80832d/_skbuild/linux-armv7l-3.8/cmake-build/CMakeProject-build-prefix/tmp/CMakeProject-build-cache-Release.cmake
            -- The C compiler identification is GNU 8.3.0
            -- The CXX compiler identification is GNU 8.3.0
            -- Check for working C compiler: /usr/bin/cc
            -- Check for working C compiler: /usr/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: /usr/bin/c++
            -- Check for working CXX compiler: /usr/bin/c++ -- works
            -- Detecting CXX compiler ABI info
            -- Detecting CXX compiler ABI info - done
            -- Detecting CXX compile features
            -- Detecting CXX compile features - done
            -- Checking if compiler supports C11 _Thread_local
            -- Checking if compiler supports C11 _Thread_local - yes
            -- Checking if compiler supports needed C++17 constructs
            -- Checking if compiler supports needed C++17 constructs - yes
            -- Checking if compiler supports C++ make_unique
            -- Checking if compiler supports C++ make_unique - yes
            -- Checking if compiler supports C++ filesystem
            -- Checking if compiler supports C++ filesystem - no
            -- Looking for unsetenv
            -- Looking for unsetenv - found
            -- Looking for environ
            -- Looking for environ - not found
            -- Looking for pthread.h
            -- Looking for pthread.h - found
            -- Looking for pthread_create
            -- Looking for pthread_create - not found
            -- 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
            -- Checking whether wstring is available
            -- Checking whether wstring is available - yes
            -- Checking whether C compiler has ptrdiff_t in stddef.h
            -- Checking whether C compiler has ptrdiff_t in stddef.h - yes
            -- Checking whether C compiler has ssize_t in unistd.h
            -- Checking whether C compiler has ssize_t in unistd.h - yes
            -- Checking whether C compiler has clock_gettime
            -- Checking whether C compiler has clock_gettime - yes
            -- Checking whether CXX compiler has setenv
            -- Checking whether CXX compiler has setenv - yes
            -- Checking whether CXX compiler has unsetenv
            -- Checking whether CXX compiler has unsetenv - yes
            -- Checking whether CXX compiler has environ in stdlib.h
            -- Checking whether CXX compiler has environ in stdlib.h - no
            -- Checking whether CXX compiler has utimes
            -- Checking whether CXX compiler has utimes - yes
            -- Checking whether CXX compiler has utimensat
            -- Checking whether CXX compiler has utimensat - yes
            -- Checking whether CXX compiler struct stat has st_mtim member
            -- Checking whether CXX compiler struct stat has st_mtim member - yes
            -- Checking whether CXX compiler struct stat has st_mtimespec member
            -- Checking whether CXX compiler struct stat has st_mtimespec member - no
            -- Looking for include files sys/types.h, ifaddrs.h
            -- Looking for include files sys/types.h, ifaddrs.h - found
            -- Checking whether CXX compiler has rlimit64
            -- Checking whether CXX compiler has rlimit64 - yes
            -- Looking for C++ include execinfo.h
            -- Looking for C++ include execinfo.h - found
            -- Checking whether backtrace works with this C++ compiler
            -- Checking whether backtrace works with this C++ compiler - yes
            -- Looking for C++ include dlfcn.h
            -- Looking for C++ include dlfcn.h - found
            -- Checking whether dladdr works with this C++ compiler
            -- Checking whether dladdr works with this C++ compiler - yes
            -- Looking for C++ include cxxabi.h
            -- Looking for C++ include cxxabi.h - found
            -- Checking whether cxxabi works with this C++ compiler
            -- Checking whether cxxabi works with this C++ compiler - yes
            -- Checking whether CXX compiler has getloadavg
            -- Checking whether CXX compiler has getloadavg - yes
            -- Checking whether <ext/stdio_filebuf.h> is available
            -- Checking whether <ext/stdio_filebuf.h> is available - yes
            -- Performing Test HAVE_SOCKADDR_IN6_SIN6_ADDR
            -- Performing Test HAVE_SOCKADDR_IN6_SIN6_ADDR - Success
            -- Performing Test HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID
            -- Performing Test HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID - Success
            -- Looking for connect in socket;dl
            -- Looking for connect in socket;dl - not found
            -- Looking for gethostbyname in c
            -- Looking for gethostbyname in c - found
            -- Looking for recv in network;dl
            -- Looking for recv in network;dl - not found
            -- Looking for gethostname
            -- Looking for gethostname - found
            -- Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing: OPENSSL_CRYPTO_LIBRARY OPENSSL_INCLUDE_DIR)
            CMake Error at Utilities/cmcurl/CMakeLists.txt:586 (message):
              Could not find OpenSSL.  Install an OpenSSL development package or
              configure CMake with -DCMAKE_USE_OPENSSL=OFF to build without OpenSSL.

            -- Configuring incomplete, errors occurred!
            See also "/tmp/pip-install-4h_sewn9/cmake_426a78eebc634dacae10aa056a80832d/_skbuild/linux-armv7l-3.8/cmake-build/CMakeProject-build/CMakeFiles/CMakeOutput.log".
            See also "/tmp/pip-install-4h_sewn9/cmake_426a78eebc634dacae10aa056a80832d/_skbuild/linux-armv7l-3.8/cmake-build/CMakeProject-build/CMakeFiles/CMakeError.log".
            make[2]: *** [CMakeFiles/CMakeProject-build.dir/build.make:109: CMakeProject-build-prefix/src/CMakeProject-build-stamp/CMakeProject-build-configure] Error 1
            make[1]: *** [CMakeFiles/Makefile2:73: CMakeFiles/CMakeProject-build.dir/all] Error 2
            make: *** [Makefile:130: all] Error 2
              File "/tmp/pip-build-env-46ssn1b0/overlay/lib/python3.8/site-packages/skbuild/setuptools_wrap.py", line 645, in setup
                cmkr.make(make_args, install_target=cmake_install_target, env=env)
              File "/tmp/pip-build-env-46ssn1b0/overlay/lib/python3.8/site-packages/skbuild/cmaker.py", line 680, in make
                self.make_impl(clargs=clargs, config=config, source_dir=source_dir, install_target=install_target, env=env)
              File "/tmp/pip-build-env-46ssn1b0/overlay/lib/python3.8/site-packages/skbuild/cmaker.py", line 704, in make_impl
                raise SKBuildError(

            --------------------------------------------------------------------------------
            -- Trying "Ninja" generator
            --------------------------------
            ---------------------------
            ----------------------
            -----------------
            ------------
            -------
            --
            --
            -------
            ------------
            -----------------
            ----------------------
            ---------------------------
            --------------------------------
            -- Trying "Ninja" generator - failure
            --------------------------------------------------------------------------------

            --------------------------------------------------------------------------------
            -- Trying "Unix Makefiles" generator
            --------------------------------
            ---------------------------
            ----------------------
            -----------------
            ------------
            -------
            --
            --
            -------
            ------------
            -----------------
            ----------------------
            ---------------------------
            --------------------------------
            -- Trying "Unix Makefiles" generator - success
            --------------------------------------------------------------------------------

            Configuring Project
              Working directory:
                /tmp/pip-install-4h_sewn9/cmake_426a78eebc634dacae10aa056a80832d/_skbuild/linux-armv7l-3.8/cmake-build
              Command:
                cmake /tmp/pip-install-4h_sewn9/cmake_426a78eebc634dacae10aa056a80832d -G 'Unix Makefiles' -DCMAKE_INSTALL_PREFIX:PATH=/tmp/pip-install-4h_sewn9/cmake_426a78eebc634dacae10aa056a80832d/_skbuild/linux-armv7l-3.8/cmake-install/src/cmake/data -DPYTHON_VERSION_STRING:STRING=3.8.13 -DSKBUILD:INTERNAL=TRUE -DCMAKE_MODULE_PATH:PATH=/tmp/pip-build-env-46ssn1b0/overlay/lib/python3.8/site-packages/skbuild/resources/cmake -DPython3_EXECUTABLE:FILEPATH=/usr/local/bin/python -DPython3_INCLUDE_DIR:PATH=/usr/local/include/python3.8 -DPython3_LIBRARY:PATH=/usr/local/lib/libpython3.8.so -DPython_EXECUTABLE:FILEPATH=/usr/local/bin/python -DPython_INCLUDE_DIR:PATH=/usr/local/include/python3.8 -DPython_LIBRARY:PATH=/usr/local/lib/libpython3.8.so -DPYTHON_EXECUTABLE:FILEPATH=/usr/local/bin/python -DPYTHON_INCLUDE_DIR:PATH=/usr/local/include/python3.8 -DPYTHON_LIBRARY:PATH=/usr/local/lib/libpython3.8.so -DCMAKE_BUILD_TYPE:STRING=Release

            Traceback (most recent call last):

                =============================DEBUG ASSISTANCE=============================
                If you are seeing a compilation error please try the following steps to
                successfully install cmake:
                1) Upgrade to the latest pip and try again. This will fix errors for most
                   users. See: https://pip.pypa.io/en/stable/installing/#upgrading-pip
                2) If on Linux, with glibc < 2.12, you can set PIP_ONLY_BINARY=cmake in
                   order to retrieve the last manylinux1 compatible wheel.
                3) If on Linux, with glibc < 2.12, you can cap "cmake<3.23" in your
                   requirements in order to retrieve the last manylinux1 compatible wheel.
                4) Open an issue with the debug information that follows at
                   https://github.com/scikit-build/cmake-python-distributions/issues

                Python: 3.8.13
                platform: Linux-5.15.32-v7l+-armv7l-with-glibc2.4
                glibc: glibc 2.28
                machine: armv7l
                bits: 32
                pip: n/a
                setuptools: 63.4.0
                scikit-build: 0.15.0
                PEP517_BUILD_BACKEND=setuptools.build_meta
                =============================DEBUG ASSISTANCE=============================

            An error occurred while building with CMake.
              Command:
                cmake --build . --target install --config Release --
              Install target:
                install
              Source directory:
                /tmp/pip-install-4h_sewn9/cmake_426a78eebc634dacae10aa056a80832d
              Working directory:
                /tmp/pip-install-4h_sewn9/cmake_426a78eebc634dacae10aa056a80832d/_skbuild/linux-armv7l-3.8/cmake-build
            Please check the install target is valid and see CMake's output for more information.
            [end of output]

        note: This error originates from a subprocess, and is likely not a problem with pip.
        ERROR: Failed building wheel for cmake
      Successfully built numpy
      Failed to build cmake
      ERROR: Could not build wheels for cmake, which is required to install pyproject.toml-based projects
      [end of output]

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

× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.

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

Any advise from your side?

jneilliii commented 2 years ago

Looks like it might be failing on trying to compile and make numpy, which is one of the plugin's dependencies. I'm not sure if that's restricted in the docker image in some way or if there's some other barrier we have to cross on this one. Maybe @LongLiveCHIEF could provide some insight?

florie1706 commented 2 years ago

I did pip install numpy manually and that installed (or built) numpy-1.23.1 successfully. But when I try to install BedReady it tries to install numpy-1.21.4 which still fails.

jneilliii commented 2 years ago

I locked numpy to that specific version because it's the last one to successfully be precompiled by pi wheels. Would have to remove that restriction in order to use any version installed, but leads to more support overhead because there are far more pi users than docker users.

florie1706 commented 2 years ago

Ok, thanks for the information. I tried to remove your restriction, but it still exits with an error :( So maybe it is just not possible for the docker image :(

Collecting http://localhost/OctoPrint-BedReady-0.1.5_modified.zip
  Downloading http://localhost/OctoPrint-BedReady-0.1.5_modified.zip (807 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 807.0/807.0 kB 33.1 MB/s eta 0:00:00
  Preparing metadata (setup.py) ... done
Requirement already satisfied: OctoPrint in /usr/local/lib/python3.8/site-packages (from Bed-Ready==0.1.5) (1.8.1)
Collecting numpy
  Downloading numpy-1.23.1.tar.gz (10.7 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 10.7/10.7 MB 18.6 MB/s eta 0:00:00
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting opencv-python-headless
  Downloading opencv-python-headless-4.6.0.66.tar.gz (90.3 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 90.3/90.3 MB 13.8 MB/s eta 0:00:00
  Installing build dependencies ... error
  error: subprocess-exited-with-error

  × pip subprocess to install build dependencies did not run successfully.
  │ exit code: 1
  ╰─> [340 lines of output]
      Ignoring numpy: markers 'python_version == "3.6" and platform_machine != "aarch64" and platform_machine != "arm64"' don't match your environment
      Ignoring numpy: markers 'python_version == "3.7" and platform_machine != "aarch64" and platform_machine != "arm64"' don't match your environment
      Ignoring numpy: markers 'python_version <= "3.9" and sys_platform == "linux" and platform_machine == "aarch64"' don't match your environment
      Ignoring numpy: markers 'python_version <= "3.9" and sys_platform == "darwin" and platform_machine == "arm64"' don't match your environment
      Ignoring numpy: markers 'python_version == "3.9" and platform_machine != "aarch64" and platform_machine != "arm64"' don't match your environment
      Ignoring numpy: markers 'python_version >= "3.10"' don't match your environment
      Collecting setuptools==59.2.0
        Using cached setuptools-59.2.0-py3-none-any.whl (952 kB)
      Collecting wheel==0.37.0
        Using cached wheel-0.37.0-py2.py3-none-any.whl (35 kB)
      Collecting cmake>=3.1
        Using cached cmake-3.23.3.tar.gz (33 kB)
        Installing build dependencies: started
        Installing build dependencies: finished with status 'done'
        Getting requirements to build wheel: started
        Getting requirements to build wheel: finished with status 'done'
        Preparing metadata (pyproject.toml): started
        Preparing metadata (pyproject.toml): finished with status 'done'
      Collecting pip
        Using cached pip-22.2.2-py3-none-any.whl (2.0 MB)
      Collecting scikit-build>=0.13.2
        Using cached scikit_build-0.15.0-py2.py3-none-any.whl (77 kB)
      Collecting numpy==1.17.3
        Using cached numpy-1.17.3-cp38-cp38-linux_armv7l.whl
      Collecting distro
        Using cached distro-1.7.0-py3-none-any.whl (20 kB)
      Collecting packaging
        Using cached packaging-21.3-py3-none-any.whl (40 kB)
      Collecting pyparsing!=3.0.5,>=2.0.2
        Using cached pyparsing-3.0.9-py3-none-any.whl (98 kB)
      Building wheels for collected packages: cmake
        Building wheel for cmake (pyproject.toml): started
        Building wheel for cmake (pyproject.toml): finished with status 'error'
        error: subprocess-exited-with-error

        × Building wheel for cmake (pyproject.toml) did not run successfully.
        │ exit code: 1
        ╰─> [296 lines of output]
            Not searching for unused variables given on the command line.
            CMake Error: CMake was unable to find a build program corresponding to "Ninja".  CMAKE_MAKE_PROGRAM is not set.  You probably need to select a different build tool.
            -- Configuring incomplete, errors occurred!
            See also "/tmp/pip-install-gfn64103/cmake_46ba6cd0c7744a9dab2a12491115deb2/_cmake_test_compile/build/CMakeFiles/CMakeOutput.log".
            Not searching for unused variables given on the command line.
            -- The C compiler identification is GNU 8.3.0
            -- Check for working C compiler: /usr/bin/cc
            -- Check for working C compiler: /usr/bin/cc -- works
            -- Detecting C compiler ABI info
            -- Detecting C compiler ABI info - done
            -- Detecting C compile features
            -- Detecting C compile features - done
            -- The CXX compiler identification is GNU 8.3.0
            -- Check for working CXX compiler: /usr/bin/c++
            -- Check for working CXX compiler: /usr/bin/c++ -- works
            -- Detecting CXX compiler ABI info
            -- Detecting CXX compiler ABI info - done
            -- Detecting CXX compile features
            -- Detecting CXX compile features - done
            -- Configuring done
            -- Generating done
            -- Build files have been written to: /tmp/pip-install-gfn64103/cmake_46ba6cd0c7744a9dab2a12491115deb2/_cmake_test_compile/build
            -- The CXX compiler identification is GNU 8.3.0
            -- Check for working CXX compiler: /usr/bin/c++
            -- Check for working CXX compiler: /usr/bin/c++ -- works
            -- Detecting CXX compiler ABI info
            -- Detecting CXX compiler ABI info - done
            -- Detecting CXX compile features
            -- Detecting CXX compile features - done
            -- ***************************************************
            -- Build CMake from source: ON
            -- ***************************************************
            -- SuperBuild - CMakeProject-src-download
            -- SuperBuild - CMakeProject-src-download - URL: https://github.com/Kitware/CMake/releases/download/v3.23.3/cmake-3.23.3.tar.gz
            -- SuperBuild - CMakeProject-src-download - CMakeProject_SOURCE_DIR: /tmp/pip-install-gfn64103/cmake_46ba6cd0c7744a9dab2a12491115deb2/CMake-src
            -- Looking for __GLIBC__
            -- Looking for __GLIBC__ - found
            -- Looking for __GLIBC_MINOR__
            -- Looking for __GLIBC_MINOR__ - found
            -- SuperBuild -   CMakeProject-build
            -- SuperBuild -   CMakeProject-build - CMakeProject_BINARY_DIR: /tmp/pip-install-gfn64103/cmake_46ba6cd0c7744a9dab2a12491115deb2/_skbuild/linux-armv7l-3.8/cmake-build/CMakeProject-build
            -- SuperBuild -   CMakePythonDistributions
            -- Configuring done
            -- Generating done
            CMake Warning:
              Manually-specified variables were not used by the project:

                PYTHON_EXECUTABLE
                PYTHON_INCLUDE_DIR
                PYTHON_LIBRARY
                PYTHON_VERSION_STRING
                Python3_EXECUTABLE
                Python3_INCLUDE_DIR
                Python3_LIBRARY
                Python_EXECUTABLE
                Python_INCLUDE_DIR
                Python_LIBRARY
                SKBUILD

            -- Build files have been written to: /tmp/pip-install-gfn64103/cmake_46ba6cd0c7744a9dab2a12491115deb2/_skbuild/linux-armv7l-3.8/cmake-build
            Scanning dependencies of target CMakeProject-src-download
            [  3%] Creating directories for 'CMakeProject-src-download'
            [  7%] Performing download step (download, verify and extract) for 'CMakeProject-src-download'
            -- Downloading...
               dst='/tmp/pip-install-gfn64103/cmake_46ba6cd0c7744a9dab2a12491115deb2/_skbuild/linux-armv7l-3.8/cmake-build/cmake-3.23.3.tar.gz'
               timeout='none'
            -- Using src='https://github.com/Kitware/CMake/releases/download/v3.23.3/cmake-3.23.3.tar.gz'
            -- [download 0% complete]
            -- [download 1% complete]
            -- [download 2% complete]
            -- [download 16% complete]
            -- [download 31% complete]
            -- [download 45% complete]
            -- [download 60% complete]
            -- [download 74% complete]
            -- [download 89% complete]
            -- [download 97% complete]
            -- [download 100% complete]
            -- verifying file...
                   file='/tmp/pip-install-gfn64103/cmake_46ba6cd0c7744a9dab2a12491115deb2/_skbuild/linux-armv7l-3.8/cmake-build/cmake-3.23.3.tar.gz'
            -- Downloading... done
            -- extracting...
                 src='/tmp/pip-install-gfn64103/cmake_46ba6cd0c7744a9dab2a12491115deb2/_skbuild/linux-armv7l-3.8/cmake-build/cmake-3.23.3.tar.gz'
                 dst='/tmp/pip-install-gfn64103/cmake_46ba6cd0c7744a9dab2a12491115deb2/CMake-src'
            -- extracting... [tar xfz]
            -- extracting... [analysis]
            -- extracting... [rename]
            -- extracting... [clean up]
            -- extracting... done
            [ 11%] No patch step for 'CMakeProject-src-download'
            [ 15%] No update step for 'CMakeProject-src-download'
            [ 19%] No configure step for 'CMakeProject-src-download'
            [ 23%] No build step for 'CMakeProject-src-download'
            [ 26%] No install step for 'CMakeProject-src-download'
            [ 30%] Completed 'CMakeProject-src-download'
            [ 30%] Built target CMakeProject-src-download
            Scanning dependencies of target CMakeProject-build
            [ 34%] Creating directories for 'CMakeProject-build'
            [ 38%] No download step for 'CMakeProject-build'
            [ 42%] No patch step for 'CMakeProject-build'
            [ 46%] No update step for 'CMakeProject-build'
            [ 50%] Performing configure step for 'CMakeProject-build'
            loading initial cache file /tmp/pip-install-gfn64103/cmake_46ba6cd0c7744a9dab2a12491115deb2/_skbuild/linux-armv7l-3.8/cmake-build/initial-cache.txt
            loading initial cache file /tmp/pip-install-gfn64103/cmake_46ba6cd0c7744a9dab2a12491115deb2/_skbuild/linux-armv7l-3.8/cmake-build/CMakeProject-build-prefix/tmp/CMakeProject-build-cache-Release.cmake
            -- The C compiler identification is GNU 8.3.0
            -- The CXX compiler identification is GNU 8.3.0
            -- Check for working C compiler: /usr/bin/cc
            -- Check for working C compiler: /usr/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: /usr/bin/c++
            -- Check for working CXX compiler: /usr/bin/c++ -- works
            -- Detecting CXX compiler ABI info
            -- Detecting CXX compiler ABI info - done
            -- Detecting CXX compile features
            -- Detecting CXX compile features - done
            -- Checking if compiler supports C11 _Thread_local
            -- Checking if compiler supports C11 _Thread_local - yes
            -- Checking if compiler supports needed C++17 constructs
            -- Checking if compiler supports needed C++17 constructs - yes
            -- Checking if compiler supports C++ make_unique
            -- Checking if compiler supports C++ make_unique - yes
            -- Checking if compiler supports C++ filesystem
            -- Checking if compiler supports C++ filesystem - no
            -- Looking for unsetenv
            -- Looking for unsetenv - found
            -- Looking for environ
            -- Looking for environ - not found
            -- Looking for pthread.h
            -- Looking for pthread.h - found
            -- Looking for pthread_create
            -- Looking for pthread_create - not found
            -- 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
            -- Checking whether wstring is available
            -- Checking whether wstring is available - yes
            -- Checking whether C compiler has ptrdiff_t in stddef.h
            -- Checking whether C compiler has ptrdiff_t in stddef.h - yes
            -- Checking whether C compiler has ssize_t in unistd.h
            -- Checking whether C compiler has ssize_t in unistd.h - yes
            -- Checking whether C compiler has clock_gettime
            -- Checking whether C compiler has clock_gettime - yes
            -- Checking whether CXX compiler has setenv
            -- Checking whether CXX compiler has setenv - yes
            -- Checking whether CXX compiler has unsetenv
            -- Checking whether CXX compiler has unsetenv - yes
            -- Checking whether CXX compiler has environ in stdlib.h
            -- Checking whether CXX compiler has environ in stdlib.h - no
            -- Checking whether CXX compiler has utimes
            -- Checking whether CXX compiler has utimes - yes
            -- Checking whether CXX compiler has utimensat
            -- Checking whether CXX compiler has utimensat - yes
            -- Checking whether CXX compiler struct stat has st_mtim member
            -- Checking whether CXX compiler struct stat has st_mtim member - yes
            -- Checking whether CXX compiler struct stat has st_mtimespec member
            -- Checking whether CXX compiler struct stat has st_mtimespec member - no
            -- Looking for include files sys/types.h, ifaddrs.h
            -- Looking for include files sys/types.h, ifaddrs.h - found
            -- Checking whether CXX compiler has rlimit64
            -- Checking whether CXX compiler has rlimit64 - yes
            -- Looking for C++ include execinfo.h
            -- Looking for C++ include execinfo.h - found
            -- Checking whether backtrace works with this C++ compiler
            -- Checking whether backtrace works with this C++ compiler - yes
            -- Looking for C++ include dlfcn.h
            -- Looking for C++ include dlfcn.h - found
            -- Checking whether dladdr works with this C++ compiler
            -- Checking whether dladdr works with this C++ compiler - yes
            -- Looking for C++ include cxxabi.h
            -- Looking for C++ include cxxabi.h - found
            -- Checking whether cxxabi works with this C++ compiler
            -- Checking whether cxxabi works with this C++ compiler - yes
            -- Checking whether CXX compiler has getloadavg
            -- Checking whether CXX compiler has getloadavg - yes
            -- Checking whether <ext/stdio_filebuf.h> is available
            -- Checking whether <ext/stdio_filebuf.h> is available - yes
            -- Performing Test HAVE_SOCKADDR_IN6_SIN6_ADDR
            -- Performing Test HAVE_SOCKADDR_IN6_SIN6_ADDR - Success
            -- Performing Test HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID
            -- Performing Test HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID - Success
            -- Looking for connect in socket;dl
            -- Looking for connect in socket;dl - not found
            -- Looking for gethostbyname in c
            -- Looking for gethostbyname in c - found
            -- Looking for recv in network;dl
            -- Looking for recv in network;dl - not found
            -- Looking for gethostname
            -- Looking for gethostname - found
            -- Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing: OPENSSL_CRYPTO_LIBRARY OPENSSL_INCLUDE_DIR)
            CMake Error at Utilities/cmcurl/CMakeLists.txt:586 (message):
              Could not find OpenSSL.  Install an OpenSSL development package or
              configure CMake with -DCMAKE_USE_OPENSSL=OFF to build without OpenSSL.

            -- Configuring incomplete, errors occurred!
            See also "/tmp/pip-install-gfn64103/cmake_46ba6cd0c7744a9dab2a12491115deb2/_skbuild/linux-armv7l-3.8/cmake-build/CMakeProject-build/CMakeFiles/CMakeOutput.log".
            See also "/tmp/pip-install-gfn64103/cmake_46ba6cd0c7744a9dab2a12491115deb2/_skbuild/linux-armv7l-3.8/cmake-build/CMakeProject-build/CMakeFiles/CMakeError.log".
            make[2]: *** [CMakeFiles/CMakeProject-build.dir/build.make:109: CMakeProject-build-prefix/src/CMakeProject-build-stamp/CMakeProject-build-configure] Error 1
            make[1]: *** [CMakeFiles/Makefile2:73: CMakeFiles/CMakeProject-build.dir/all] Error 2
            make: *** [Makefile:130: all] Error 2
              File "/tmp/pip-build-env-xhrig4nf/overlay/lib/python3.8/site-packages/skbuild/setuptools_wrap.py", line 645, in setup
                cmkr.make(make_args, install_target=cmake_install_target, env=env)
              File "/tmp/pip-build-env-xhrig4nf/overlay/lib/python3.8/site-packages/skbuild/cmaker.py", line 680, in make
                self.make_impl(clargs=clargs, config=config, source_dir=source_dir, install_target=install_target, env=env)
              File "/tmp/pip-build-env-xhrig4nf/overlay/lib/python3.8/site-packages/skbuild/cmaker.py", line 704, in make_impl
                raise SKBuildError(

            --------------------------------------------------------------------------------
            -- Trying "Ninja" generator
            --------------------------------
            ---------------------------
            ----------------------
            -----------------
            ------------
            -------
            --
            --
            -------
            ------------
            -----------------
            ----------------------
            ---------------------------
            --------------------------------
            -- Trying "Ninja" generator - failure
            --------------------------------------------------------------------------------

            --------------------------------------------------------------------------------
            -- Trying "Unix Makefiles" generator
            --------------------------------
            ---------------------------
            ----------------------
            -----------------
            ------------
            -------
            --
            --
            -------
            ------------
            -----------------
            ----------------------
            ---------------------------
            --------------------------------
            -- Trying "Unix Makefiles" generator - success
            --------------------------------------------------------------------------------

            Configuring Project
              Working directory:
                /tmp/pip-install-gfn64103/cmake_46ba6cd0c7744a9dab2a12491115deb2/_skbuild/linux-armv7l-3.8/cmake-build
              Command:
                cmake /tmp/pip-install-gfn64103/cmake_46ba6cd0c7744a9dab2a12491115deb2 -G 'Unix Makefiles' -DCMAKE_INSTALL_PREFIX:PATH=/tmp/pip-install-gfn64103/cmake_46ba6cd0c7744a9dab2a12491115deb2/_skbuild/linux-armv7l-3.8/cmake-install/src/cmake/data -DPYTHON_VERSION_STRING:STRING=3.8.13 -DSKBUILD:INTERNAL=TRUE -DCMAKE_MODULE_PATH:PATH=/tmp/pip-build-env-xhrig4nf/overlay/lib/python3.8/site-packages/skbuild/resources/cmake -DPython3_EXECUTABLE:FILEPATH=/usr/local/bin/python -DPython3_INCLUDE_DIR:PATH=/usr/local/include/python3.8 -DPython3_LIBRARY:PATH=/usr/local/lib/libpython3.8.so -DPython_EXECUTABLE:FILEPATH=/usr/local/bin/python -DPython_INCLUDE_DIR:PATH=/usr/local/include/python3.8 -DPython_LIBRARY:PATH=/usr/local/lib/libpython3.8.so -DPYTHON_EXECUTABLE:FILEPATH=/usr/local/bin/python -DPYTHON_INCLUDE_DIR:PATH=/usr/local/include/python3.8 -DPYTHON_LIBRARY:PATH=/usr/local/lib/libpython3.8.so -DCMAKE_BUILD_TYPE:STRING=Release

            Traceback (most recent call last):

                =============================DEBUG ASSISTANCE=============================
                If you are seeing a compilation error please try the following steps to
                successfully install cmake:
                1) Upgrade to the latest pip and try again. This will fix errors for most
                   users. See: https://pip.pypa.io/en/stable/installing/#upgrading-pip
                2) If on Linux, with glibc < 2.12, you can set PIP_ONLY_BINARY=cmake in
                   order to retrieve the last manylinux1 compatible wheel.
                3) If on Linux, with glibc < 2.12, you can cap "cmake<3.23" in your
                   requirements in order to retrieve the last manylinux1 compatible wheel.
                4) Open an issue with the debug information that follows at
                   https://github.com/scikit-build/cmake-python-distributions/issues

                Python: 3.8.13
                platform: Linux-5.15.32-v7l+-armv7l-with-glibc2.4
                glibc: glibc 2.28
                machine: armv7l
                bits: 32
                pip: n/a
                setuptools: 63.4.1
                scikit-build: 0.15.0
                PEP517_BUILD_BACKEND=setuptools.build_meta
                =============================DEBUG ASSISTANCE=============================

            An error occurred while building with CMake.
              Command:
                cmake --build . --target install --config Release --
              Install target:
                install
              Source directory:
                /tmp/pip-install-gfn64103/cmake_46ba6cd0c7744a9dab2a12491115deb2
              Working directory:
                /tmp/pip-install-gfn64103/cmake_46ba6cd0c7744a9dab2a12491115deb2/_skbuild/linux-armv7l-3.8/cmake-build
            Please check the install target is valid and see CMake's output for more information.
            [end of output]

        note: This error originates from a subprocess, and is likely not a problem with pip.
        ERROR: Failed building wheel for cmake
      Failed to build cmake
      ERROR: Could not build wheels for cmake, which is required to install pyproject.toml-based projects
      [end of output]

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

× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.

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