rdavydov / Twitch-Channel-Points-Miner-v2

A simple script that will watch a stream for you and earn the channel points.
GNU General Public License v3.0
1.11k stars 326 forks source link

Deploy Docker Hub action is failing: Building wheel for ninja (pyproject.toml) did not run successfully. #382

Closed rdavydov closed 8 months ago

rdavydov commented 8 months ago

Describe the bug

Deploy Docker Hub action is failing: Building wheel for ninja (pyproject.toml) did not run successfully.

Steps to reproduce

-

Expected behavior

-

Operating system

-

Python version

-

Miner version

1.8.7

Other relevant software versions

No response

Logs

> #26 3440.2 Installing backend dependencies: started #26 3484.3 Installing backend dependencies: finished with status 'error' #26 3484.4 error: subprocess-exited-with-error #26 3484.4 #26 3484.4 × pip subprocess to install backend dependencies did not run successfully. #26 3484.4 │ exit code: 1 #26 3484.4 ╰─> [41 lines of output] #26 3484.4 Collecting ninja>=1.8.2 #26 3484.4 Downloading ninja-1.11.1.1.tar.gz (132 kB) #26 3484.4 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 132.4/132.4 kB 2.7 MB/s eta 0:00:00 #26 3484.4 Installing build dependencies: started #26 3484.4 Installing build dependencies: finished with status 'done' #26 3484.4 Getting requirements to build wheel: started #26 3484.4 Getting requirements to build wheel: finished with status 'done' #26 3484.4 Preparing metadata (pyproject.toml): started #26 3484.4 Preparing metadata (pyproject.toml): finished with status 'done' #26 3484.4 Collecting patchelf>=0.11.0 #26 3484.4 Downloading patchelf-0.17.2.1-py2.py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.musllinux_1_1_armv7l.whl (381 kB) #26 3484.4 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 381.1/381.1 kB 5.0 MB/s eta 0:00:00 #26 3484.4 Building wheels for collected packages: ninja #26 3484.4 Building wheel for ninja (pyproject.toml): started #26 3484.4 Building wheel for ninja (pyproject.toml): finished with status 'error' #26 3484.4 error: subprocess-exited-with-error #26 3484.4 #26 3484.4 × Building wheel for ninja (pyproject.toml) did not run successfully. #26 3484.4 │ exit code: 1 #26 3484.4 ╰─> [15 lines of output] #26 3484.4 /tmp/pip-build-env-ek6vycbl/overlay/lib/python3.11/site-packages/setuptools_scm/git.py:308: UserWarning: git archive did not support describe output #26 3484.4 warnings.warn("git archive did not support describe output") #26 3484.4 /tmp/pip-build-env-ek6vycbl/overlay/lib/python3.11/site-packages/setuptools_scm/git.py:327: UserWarning: unprocessed git archival found (no export subst applied) #26 3484.4 warnings.warn("unprocessed git archival found (no export subst applied)") #26 3484.4 Traceback (most recent call last): #26 3484.4 File "/tmp/pip-build-env-ek6vycbl/overlay/lib/python3.11/site-packages/skbuild/setuptools_wrap.py", line 645, in setup #26 3484.4 cmkr = cmaker.CMaker(cmake_executable) #26 3484.4 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ #26 3484.4 File "/tmp/pip-build-env-ek6vycbl/overlay/lib/python3.11/site-packages/skbuild/cmaker.py", line 148, in __init__ #26 3484.4 self.cmake_version = get_cmake_version(self.cmake_executable) #26 3484.4 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ #26 3484.4 File "/tmp/pip-build-env-ek6vycbl/overlay/lib/python3.11/site-packages/skbuild/cmaker.py", line 105, in get_cmake_version #26 3484.4 raise SKBuildError(msg) from err #26 3484.4 #26 3484.4 Problem with the CMake installation, aborting build. CMake executable is cmake #26 3484.4 [end of output] #26 3484.4 #26 3484.4 note: This error originates from a subprocess, and is likely not a problem with pip. #26 3484.4 ERROR: Failed building wheel for ninja #26 3484.4 Failed to build ninja #26 3484.4 ERROR: Could not build wheels for ninja, which is required to install pyproject.toml-based projects #26 3484.4 [end of output] #26 3484.4 #26 3484.4 note: This error originates from a subprocess, and is likely not a problem with pip. #26 3484.5 error: subprocess-exited-with-error #26 3484.5 #26 3484.5 × pip subprocess to install backend dependencies did not run successfully. #26 3484.5 │ exit code: 1 #26 3484.5 ╰─> See above for output. #26 3484.5 #26 3484.5 note: This error originates from a subprocess, and is likely not a problem with pip. #26 ERROR: process "/bin/sh -c DEBIAN_FRONTEND=noninteractive apt-get install -qq -y --fix-missing --no-install-recommends gcc libffi-dev rustc zlib1g-dev libjpeg-dev libssl-dev make automake g++ subversion python3-dev && if [ \"${BUILDX_QEMU_ENV}\" = \"true\" ] && [ \"$(getconf LONG_BIT)\" = \"32\" ]; then pip install -U cryptography==3.3.2; fi && pip install -r requirements.txt && pip cache purge && apt-get remove -y gcc rustc && apt-get autoremove -y && apt-get autoclean -y && apt-get clean -y && rm -rf /var/lib/apt/lists/* && rm -rf /usr/share/doc/*" did not complete successfully: exit code: 1 ------ > [linux/arm/v7 6/7] RUN DEBIAN_FRONTEND=noninteractive apt-get install -qq -y --fix-missing --no-install-recommends gcc libffi-dev rustc zlib1g-dev libjpeg-dev libssl-dev make automake g++ subversion python3-dev && if [ "true" = "true" ] && [ "$(getconf LONG_BIT)" = "32" ]; then pip install -U cryptography==3.3.2; fi && pip install -r requirements.txt && pip cache purge && apt-get remove -y gcc rustc && apt-get autoremove -y && apt-get autoclean -y && apt-get clean -y && rm -rf /var/lib/apt/lists/* && rm -rf /usr/share/doc/*: 3484.4 [end of output] 3484.4 3484.4 note: This error originates from a subprocess, and is likely not a problem with pip. 3484.5 error: subprocess-exited-with-error 3484.5 3484.5 × pip subprocess to install backend dependencies did not run successfully. 3484.5 │ exit code: 1 3484.5 ╰─> See above for output. 3484.5 3484.5 note: This error originates from a subprocess, and is likely not a problem with pip. -----

Additional context

No response

rdavydov commented 8 months ago

Reverting to build-push-action@v4.1.1 didn't help. Trying to add cmake installation to Dockerfile.

rdavydov commented 8 months ago

New errors.

> #25 3656.9 Installing backend dependencies: started #25 3734.2 Installing backend dependencies: still running... #25 3735.3 Installing backend dependencies: finished with status 'error' #25 3735.5 error: subprocess-exited-with-error #25 3735.5 #25 3735.5 × pip subprocess to install backend dependencies did not run successfully. #25 3735.5 │ exit code: 1 #25 3735.5 ╰─> [122 lines of output] #25 3735.5 Collecting patchelf>=0.11.0 #25 3735.5 Downloading patchelf-0.17.2.1-py2.py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.musllinux_1_1_armv7l.whl (381 kB) #25 3735.5 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 381.1/381.1 kB 3.7 MB/s eta 0:00:00 #25 3735.5 Collecting ninja>=1.8.2 #25 3735.5 Downloading ninja-1.11.1.1.tar.gz (132 kB) #25 3735.5 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 132.4/132.4 kB 4.0 MB/s eta 0:00:00 #25 3735.5 Installing build dependencies: started #25 3735.5 Installing build dependencies: finished with status 'done' #25 3735.5 Getting requirements to build wheel: started #25 3735.5 Getting requirements to build wheel: finished with status 'done' #25 3735.5 Preparing metadata (pyproject.toml): started #25 3735.5 Preparing metadata (pyproject.toml): finished with status 'done' #25 3735.5 Building wheels for collected packages: ninja #25 3735.5 Building wheel for ninja (pyproject.toml): started #25 3735.5 Building wheel for ninja (pyproject.toml): finished with status 'error' #25 3735.5 error: subprocess-exited-with-error #25 3735.5 #25 3735.5 × Building wheel for ninja (pyproject.toml) did not run successfully. #25 3735.5 │ exit code: 1 #25 3735.5 ╰─> [96 lines of output] #25 3735.5 /tmp/pip-build-env-91x4ar8m/overlay/lib/python3.11/site-packages/setuptools_scm/git.py:308: UserWarning: git archive did not support describe output #25 3735.5 warnings.warn("git archive did not support describe output") #25 3735.5 /tmp/pip-build-env-91x4ar8m/overlay/lib/python3.11/site-packages/setuptools_scm/git.py:327: UserWarning: unprocessed git archival found (no export subst applied) #25 3735.5 warnings.warn("unprocessed git archival found (no export subst applied)") #25 3735.5 #25 3735.5 #25 3735.5 -------------------------------------------------------------------------------- #25 3735.5 -- Trying 'Ninja' generator #25 3735.5 -------------------------------- #25 3735.5 --------------------------- #25 3735.5 ---------------------- #25 3735.5 ----------------- #25 3735.5 ------------ #25 3735.5 ------- #25 3735.5 -- #25 3735.5 Not searching for unused variables given on the command line. #25 3735.5 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. #25 3735.5 -- Configuring incomplete, errors occurred! #25 3735.5 See also "/tmp/pip-install-h_cg9if2/ninja_795509293afb469b87ad0a1bd05be63c/_cmake_test_compile/build/CMakeFiles/CMakeOutput.log". #25 3735.5 -- #25 3735.5 ------- #25 3735.5 ------------ #25 3735.5 ----------------- #25 3735.5 ---------------------- #25 3735.5 --------------------------- #25 3735.5 -------------------------------- #25 3735.5 -- Trying 'Ninja' generator - failure #25 3735.5 -------------------------------------------------------------------------------- #25 3735.5 #25 3735.5 #25 3735.5 #25 3735.5 -------------------------------------------------------------------------------- #25 3735.5 -- Trying 'Unix Makefiles' generator #25 3735.5 -------------------------------- #25 3735.5 --------------------------- #25 3735.5 ---------------------- #25 3735.5 ----------------- #25 3735.5 ------------ #25 3735.5 ------- #25 3735.5 -- #25 3735.5 Not searching for unused variables given on the command line. #25 3735.5 -- The C compiler identification is GNU 8.3.0 #25 3735.5 -- Check for working C compiler: /usr/bin/cc #25 3735.5 -- Check for working C compiler: /usr/bin/cc -- works #25 3735.5 -- Detecting C compiler ABI info #25 3735.5 -- Detecting C compiler ABI info - done #25 3735.5 -- Detecting C compile features #25 3735.5 -- Detecting C compile features - done #25 3735.5 -- The CXX compiler identification is GNU 8.3.0 #25 3735.5 -- Check for working CXX compiler: /usr/bin/c++ #25 3735.5 -- Check for working CXX compiler: /usr/bin/c++ -- works #25 3735.5 -- Detecting CXX compiler ABI info #25 3735.5 -- Detecting CXX compiler ABI info - done #25 3735.5 -- Detecting CXX compile features #25 3735.5 -- Detecting CXX compile features - done #25 3735.5 -- Configuring done #25 3735.5 -- Generating done #25 3735.5 -- Build files have been written to: /tmp/pip-install-h_cg9if2/ninja_795509293afb469b87ad0a1bd05be63c/_cmake_test_compile/build #25 3735.5 -- #25 3735.5 ------- #25 3735.5 ------------ #25 3735.5 ----------------- #25 3735.5 ---------------------- #25 3735.5 --------------------------- #25 3735.5 -------------------------------- #25 3735.5 -- Trying 'Unix Makefiles' generator - success #25 3735.5 -------------------------------------------------------------------------------- #25 3735.5 #25 3735.5 Configuring Project #25 3735.5 Working directory: #25 3735.5 /tmp/pip-install-h_cg9if2/ninja_795509293afb469b87ad0a1bd05be63c/_skbuild/linux-armv7l-3.11/cmake-build #25 3735.5 Command: #25 3735.5 /usr/bin/cmake /tmp/pip-install-h_cg9if2/ninja_795509293afb469b87ad0a1bd05be63c -G 'Unix Makefiles' --no-warn-unused-cli -DCMAKE_INSTALL_PREFIX:PATH=/tmp/pip-install-h_cg9if2/ninja_795509293afb469b87ad0a1bd05be63c/_skbuild/linux-armv7l-3.11/cmake-install -DPYTHON_VERSION_STRING:STRING=3.11.4 -DSKBUILD:INTERNAL=TRUE -DCMAKE_MODULE_PATH:PATH=/tmp/pip-build-env-91x4ar8m/overlay/lib/python3.11/site-packages/skbuild/resources/cmake -DPYTHON_EXECUTABLE:PATH=/usr/local/bin/python -DPYTHON_INCLUDE_DIR:PATH=/usr/local/include/python3.11 -DPYTHON_LIBRARY:PATH=/usr/local/lib/libpython3.11.so -DPython_EXECUTABLE:PATH=/usr/local/bin/python -DPython_ROOT_DIR:PATH=/usr/local -DPython_FIND_REGISTRY:STRING=NEVER -DPython_INCLUDE_DIR:PATH=/usr/local/include/python3.11 -DPython3_EXECUTABLE:PATH=/usr/local/bin/python -DPython3_ROOT_DIR:PATH=/usr/local -DPython3_FIND_REGISTRY:STRING=NEVER -DPython3_INCLUDE_DIR:PATH=/usr/local/include/python3.11 -DCMAKE_BUILD_TYPE:STRING=Release #25 3735.5 #25 3735.5 Not searching for unused variables given on the command line. #25 3735.5 CMake Error at CMakeLists.txt:1 (cmake_minimum_required): #25 3735.5 CMake 3.15 or higher is required. You are running version 3.13.4 #25 3735.5 #25 3735.5 #25 3735.5 -- Configuring incomplete, errors occurred! #25 3735.5 Traceback (most recent call last): #25 3735.5 File "/tmp/pip-build-env-91x4ar8m/overlay/lib/python3.11/site-packages/skbuild/setuptools_wrap.py", line 666, in setup #25 3735.5 env = cmkr.configure( #25 3735.5 ^^^^^^^^^^^^^^^ #25 3735.5 File "/tmp/pip-build-env-91x4ar8m/overlay/lib/python3.11/site-packages/skbuild/cmaker.py", line 357, in configure #25 3735.5 raise SKBuildError(msg) #25 3735.5 #25 3735.5 An error occurred while configuring with CMake. #25 3735.5 Command: #25 3735.5 /usr/bin/cmake /tmp/pip-install-h_cg9if2/ninja_795509293afb469b87ad0a1bd05be63c -G 'Unix Makefiles' --no-warn-unused-cli -DCMAKE_INSTALL_PREFIX:PATH=/tmp/pip-install-h_cg9if2/ninja_795509293afb469b87ad0a1bd05be63c/_skbuild/linux-armv7l-3.11/cmake-install -DPYTHON_VERSION_STRING:STRING=3.11.4 -DSKBUILD:INTERNAL=TRUE -DCMAKE_MODULE_PATH:PATH=/tmp/pip-build-env-91x4ar8m/overlay/lib/python3.11/site-packages/skbuild/resources/cmake -DPYTHON_EXECUTABLE:PATH=/usr/local/bin/python -DPYTHON_INCLUDE_DIR:PATH=/usr/local/include/python3.11 -DPYTHON_LIBRARY:PATH=/usr/local/lib/libpython3.11.so -DPython_EXECUTABLE:PATH=/usr/local/bin/python -DPython_ROOT_DIR:PATH=/usr/local -DPython_FIND_REGISTRY:STRING=NEVER -DPython_INCLUDE_DIR:PATH=/usr/local/include/python3.11 -DPython3_EXECUTABLE:PATH=/usr/local/bin/python -DPython3_ROOT_DIR:PATH=/usr/local -DPython3_FIND_REGISTRY:STRING=NEVER -DPython3_INCLUDE_DIR:PATH=/usr/local/include/python3.11 -DCMAKE_BUILD_TYPE:STRING=Release #25 3735.5 Source directory: #25 3735.5 /tmp/pip-install-h_cg9if2/ninja_795509293afb469b87ad0a1bd05be63c #25 3735.5 Working directory: #25 3735.5 /tmp/pip-install-h_cg9if2/ninja_795509293afb469b87ad0a1bd05be63c/_skbuild/linux-armv7l-3.11/cmake-build #25 3735.5 Please see CMake's output for more information. #25 3735.5 #25 3735.5 [end of output] #25 3735.5 #25 3735.5 note: This error originates from a subprocess, and is likely not a problem with pip. #25 3735.5 ERROR: Failed building wheel for ninja #25 3735.5 Failed to build ninja #25 3735.5 ERROR: Could not build wheels for ninja, which is required to install pyproject.toml-based projects #25 3735.5 [end of output] #25 3735.5 #25 3735.5 note: This error originates from a subprocess, and is likely not a problem with pip. #25 3735.5 error: subprocess-exited-with-error #25 3735.5 #25 3735.5 × pip subprocess to install backend dependencies did not run successfully. #25 3735.5 │ exit code: 1 #25 3735.5 ╰─> See above for output. #25 3735.5 #25 3735.5 note: This error originates from a subprocess, and is likely not a problem with pip. #25 ERROR: process "/bin/sh -c DEBIAN_FRONTEND=noninteractive apt-get install -qq -y --fix-missing --no-install-recommends gcc libffi-dev rustc zlib1g-dev libjpeg-dev libssl-dev make automake cmake g++ subversion python3-dev && if [ \"${BUILDX_QEMU_ENV}\" = \"true\" ] && [ \"$(getconf LONG_BIT)\" = \"32\" ]; then pip install -U cryptography==3.3.2; fi && pip install -r requirements.txt && pip cache purge && apt-get remove -y gcc rustc && apt-get autoremove -y && apt-get autoclean -y && apt-get clean -y && rm -rf /var/lib/apt/lists/* && rm -rf /usr/share/doc/*" did not complete successfully: exit code: 1 ------ > [linux/arm/v7 6/7] RUN DEBIAN_FRONTEND=noninteractive apt-get install -qq -y --fix-missing --no-install-recommends gcc libffi-dev rustc zlib1g-dev libjpeg-dev libssl-dev make automake cmake g++ subversion python3-dev && if [ "true" = "true" ] && [ "$(getconf LONG_BIT)" = "32" ]; then pip install -U cryptography==3.3.2; fi && pip install -r requirements.txt && pip cache purge && apt-get remove -y gcc rustc && apt-get autoremove -y && apt-get autoclean -y && apt-get clean -y && rm -rf /var/lib/apt/lists/* && rm -rf /usr/share/doc/*: 3735.5 [end of output] 3735.5 3735.5 note: This error originates from a subprocess, and is likely not a problem with pip. 3735.5 error: subprocess-exited-with-error 3735.5 3735.5 × pip subprocess to install backend dependencies did not run successfully. 3735.5 │ exit code: 1 3735.5 ╰─> See above for output. 3735.5 3735.5 note: This error originates from a subprocess, and is likely not a problem with pip. ------ > Dockerfile:14 -------------------- > 13 | RUN apt-get update 14 | >>> RUN DEBIAN_FRONTEND=noninteractive apt-get install -qq -y --fix-missing --no-install-recommends \ 15 | >>> gcc \ 16 | >>> libffi-dev \ 17 | >>> rustc \ 18 | >>> zlib1g-dev \ 19 | >>> libjpeg-dev \ 20 | >>> libssl-dev \ 21 | >>> make \ 22 | >>> automake \ 23 | >>> cmake \ 24 | >>> g++ \ 25 | >>> subversion \ 26 | >>> python3-dev \ 27 | >>> && if [ "${BUILDX_QEMU_ENV}" = "true" ] && [ "$(getconf LONG_BIT)" = "32" ]; then \ 28 | >>> pip install -U cryptography==3.3.2; \ 29 | >>> fi \ 30 | >>> && pip install -r requirements.txt \ 31 | >>> && pip cache purge \ 32 | >>> && apt-get remove -y gcc rustc \ 33 | >>> && apt-get autoremove -y \ 34 | >>> && apt-get autoclean -y \ 35 | >>> && apt-get clean -y \ 36 | >>> && rm -rf /var/lib/apt/lists/* \ 37 | >>> && rm -rf /usr/share/doc/* 38 | -------------------- > ERROR: failed to solve: process "/bin/sh -c DEBIAN_FRONTEND=noninteractive apt-get install -qq -y --fix-missing --no-install-recommends gcc libffi-dev rustc zlib1g-dev libjpeg-dev libssl-dev make automake cmake g++ subversion python3-dev && if [ \"${BUILDX_QEMU_ENV}\" = \"true\" ] && [ \"$(getconf LONG_BIT)\" = \"32\" ]; then pip install -U cryptography==3.3.2; fi && pip install -r requirements.txt && pip cache purge && apt-get remove -y gcc rustc && apt-get autoremove -y && apt-get autoclean -y && apt-get clean -y && rm -rf /var/lib/apt/lists/* && rm -rf /usr/share/doc/*" did not complete successfully: exit code: 1 Error: buildx failed with: ERROR: failed to solve: process "/bin/sh -c DEBIAN_FRONTEND=noninteractive apt-get install -qq -y --fix-missing --no-install-recommends gcc libffi-dev rustc zlib1g-dev libjpeg-dev libssl-dev make automake cmake g++ subversion python3-dev && if [ \"${BUILDX_QEMU_ENV}\" = \"true\" ] && [ \"$(getconf LONG_BIT)\" = \"32\" ]; then pip install -U cryptography==3.3.2; fi && pip install -r requirements.txt && pip cache purge && apt-get remove -y gcc rustc && apt-get autoremove -y && apt-get autoclean -y && apt-get clean -y && rm -rf /var/lib/apt/lists/* && rm -rf /usr/share/doc/*" did not complete successfully: exit code: 1
rdavydov commented 8 months ago

Going to try: 1) pip install cmake --upgrade 2) apt-get install ninja-build

rdavydov commented 8 months ago

ARMv7 build is nothing but a troublemaker. Now it says that gcc version is outdated to build numpy.

#26 5559.7 Getting requirements to build wheel: started #26 5588.0 Getting requirements to build wheel: finished with status 'error' #26 5588.0 error: subprocess-exited-with-error #26 5588.0 #26 5588.0 × Getting requirements to build wheel did not run successfully. #26 5588.0 │ exit code: 1 #26 5588.0 ╰─> [19 lines of output] #26 5588.0 + /usr/local/bin/python /tmp/pip-install-9ig7sruv/numpy_cf78c6d92fed4c1abf159558eabd7253/vendored-meson/meson/meson.py setup /tmp/pip-install-9ig7sruv/numpy_cf78c6d92fed4c1abf159558eabd7253 /tmp/pip-install-9ig7sruv/numpy_cf78c6d92fed4c1abf159558eabd7253/.mesonpy-im21gn0m/build -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md --native-file=/tmp/pip-install-9ig7sruv/numpy_cf78c6d92fed4c1abf159558eabd7253/.mesonpy-im21gn0m/build/meson-python-native-file.ini #26 5588.0 The Meson build system #26 5588.0 Version: 1.2.99 #26 5588.0 Source dir: /tmp/pip-install-9ig7sruv/numpy_cf78c6d92fed4c1abf159558eabd7253 #26 5588.0 Build dir: /tmp/pip-install-9ig7sruv/numpy_cf78c6d92fed4c1abf159558eabd7253/.mesonpy-im21gn0m/build #26 5588.0 Build type: native build #26 5588.0 Project name: NumPy #26 5588.0 Project version: 1.26.1 #26 5588.0 C compiler for the host machine: cc (gcc 8.3.0 "cc (Debian 8.3.0-6) 8.3.0") #26 5588.0 C linker for the host machine: cc ld.bfd 2.31.1 #26 5588.0 C++ compiler for the host machine: c++ (gcc 8.3.0 "c++ (Debian 8.3.0-6) 8.3.0") #26 5588.0 C++ linker for the host machine: c++ ld.bfd 2.31.1 #26 5588.0 Cython compiler for the host machine: cython (cython 3.0.3) #26 5588.0 Host machine cpu family: arm #26 5588.0 Host machine cpu: armv7l #26 5588.0 #26 5588.0 ../../meson.build:28:4: ERROR: Problem encountered: NumPy requires GCC >= 8.4 #26 5588.0 #26 5588.0 A full log can be found at /tmp/pip-install-9ig7sruv/numpy_cf78c6d92fed4c1abf159558eabd7253/.mesonpy-im21gn0m/build/meson-logs/meson-log.txt #26 5588.0 [end of output] #26 5588.0 #26 5588.0 note: This error originates from a subprocess, and is likely not a problem with pip. #26 5588.0 error: subprocess-exited-with-error #26 5588.0 #26 5588.0 × Getting requirements to build wheel did not run successfully. #26 5588.0 │ exit code: 1 #26 5588.0 ╰─> See above for output. #26 5588.0 #26 5588.0 note: This error originates from a subprocess, and is likely not a problem with pip. #26 ERROR: process "/bin/sh -c DEBIAN_FRONTEND=noninteractive apt-get install -qq -y --fix-missing --no-install-recommends gcc libffi-dev rustc zlib1g-dev libjpeg-dev libssl-dev make automake ninja-build g++ subversion python3-dev && if [ \"${BUILDX_QEMU_ENV}\" = \"true\" ] && [ \"$(getconf LONG_BIT)\" = \"32\" ]; then pip install -U cryptography==3.3.2; fi && pip install -r requirements.txt && pip cache purge && apt-get remove -y gcc rustc && apt-get autoremove -y && apt-get autoclean -y && apt-get clean -y && rm -rf /var/lib/apt/lists/* && rm -rf /usr/share/doc/*" did not complete successfully: exit code: 1 ------ > [linux/arm/v7 6/7] RUN DEBIAN_FRONTEND=noninteractive apt-get install -qq -y --fix-missing --no-install-recommends gcc libffi-dev rustc zlib1g-dev libjpeg-dev libssl-dev make automake ninja-build g++ subversion python3-dev && if [ "true" = "true" ] && [ "$(getconf LONG_BIT)" = "32" ]; then pip install -U cryptography==3.3.2; fi && pip install -r requirements.txt && pip cache purge && apt-get remove -y gcc rustc && apt-get autoremove -y && apt-get autoclean -y && apt-get clean -y && rm -rf /var/lib/apt/lists/* && rm -rf /usr/share/doc/*: 5588.0 [end of output] 5588.0 5588.0 note: This error originates from a subprocess, and is likely not a problem with pip. 5588.0 error: subprocess-exited-with-error 5588.0 5588.0 × Getting requirements to build wheel did not run successfully. 5588.0 │ exit code: 1 5588.0 ╰─> See above for output. 5588.0 5588.0 note: This error originates from a subprocess, and is likely not a problem with pip. ------ Dockerfile:14 -------------------- 13 | RUN apt-get update 14 | >>> RUN DEBIAN_FRONTEND=noninteractive apt-get install -qq -y --fix-missing --no-install-recommends \ 15 | >>> gcc \ 16 | >>> libffi-dev \ 17 | >>> rustc \ 18 | >>> zlib1g-dev \ 19 | >>> libjpeg-dev \ 20 | >>> libssl-dev \ 21 | >>> make \ 22 | >>> automake \ 23 | >>> ninja-build \ 24 | >>> g++ \ 25 | >>> subversion \ 26 | >>> python3-dev \ 27 | >>> && if [ "${BUILDX_QEMU_ENV}" = "true" ] && [ "$(getconf LONG_BIT)" = "32" ]; then \ 28 | >>> pip install -U cryptography==3.3.2; \ 29 | >>> fi \ 30 | >>> && pip install -r requirements.txt \ 31 | >>> && pip cache purge \ 32 | >>> && apt-get remove -y gcc rustc \ 33 | >>> && apt-get autoremove -y \ 34 | >>> && apt-get autoclean -y \ 35 | >>> && apt-get clean -y \ 36 | >>> && rm -rf /var/lib/apt/lists/* \ 37 | >>> && rm -rf /usr/share/doc/* 38 | -------------------- ERROR: failed to solve: process "/bin/sh -c DEBIAN_FRONTEND=noninteractive apt-get install -qq -y --fix-missing --no-install-recommends gcc libffi-dev rustc zlib1g-dev libjpeg-dev libssl-dev make automake ninja-build g++ subversion python3-dev && if [ \"${BUILDX_QEMU_ENV}\" = \"true\" ] && [ \"$(getconf LONG_BIT)\" = \"32\" ]; then pip install -U cryptography==3.3.2; fi && pip install -r requirements.txt && pip cache purge && apt-get remove -y gcc rustc && apt-get autoremove -y && apt-get autoclean -y && apt-get clean -y && rm -rf /var/lib/apt/lists/* && rm -rf /usr/share/doc/*" did not complete successfully: exit code: 1 Error: buildx failed with: ERROR: failed to solve: process "/bin/sh -c DEBIAN_FRONTEND=noninteractive apt-get install -qq -y --fix-missing --no-install-recommends gcc libffi-dev rustc zlib1g-dev libjpeg-dev libssl-dev make automake ninja-build g++ subversion python3-dev && if [ \"${BUILDX_QEMU_ENV}\" = \"true\" ] && [ \"$(getconf LONG_BIT)\" = \"32\" ]; then pip install -U cryptography==3.3.2; fi && pip install -r requirements.txt && pip cache purge && apt-get remove -y gcc rustc && apt-get autoremove -y && apt-get autoclean -y && apt-get clean -y && rm -rf /var/lib/apt/lists/* && rm -rf /usr/share/doc/*" did not complete successfully: exit code: 1
rdavydov commented 8 months ago

FROM python:3.12 set GCC to v12, but a new error occurred:

#27 593.7 Getting requirements to build wheel: finished with status 'error' #27 593.7 error: subprocess-exited-with-error #27 593.7 #27 593.7 × Getting requirements to build wheel did not run successfully. #27 593.7 │ exit code: 1 #27 593.7 ╰─> [53 lines of output] #27 593.7 + /usr/local/bin/python /tmp/pip-install-0wcfm__j/numpy_297e41142e7f4e8b90ac4c4897cb1c2f/vendored-meson/meson/meson.py setup /tmp/pip-install-0wcfm__j/numpy_297e41142e7f4e8b90ac4c4897cb1c2f /tmp/pip-install-0wcfm__j/numpy_297e41142e7f4e8b90ac4c4897cb1c2f/.mesonpy-rq96b7eo/build -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md --native-file=/tmp/pip-install-0wcfm__j/numpy_297e41142e7f4e8b90ac4c4897cb1c2f/.mesonpy-rq96b7eo/build/meson-python-native-file.ini #27 593.7 The Meson build system #27 593.7 Version: 1.2.99 #27 593.7 Source dir: /tmp/pip-install-0wcfm__j/numpy_297e41142e7f4e8b90ac4c4897cb1c2f #27 593.7 Build dir: /tmp/pip-install-0wcfm__j/numpy_297e41142e7f4e8b90ac4c4897cb1c2f/.mesonpy-rq96b7eo/build #27 593.7 Build type: native build #27 593.7 Project name: NumPy #27 593.7 Project version: 1.26.1 #27 593.7 C compiler for the host machine: cc (gcc 12.2.0 "cc (Debian 12.2.0-14) 12.2.0") #27 593.7 C linker for the host machine: cc ld.bfd 2.40 #27 593.7 C++ compiler for the host machine: c++ (gcc 12.2.0 "c++ (Debian 12.2.0-14) 12.2.0") #27 593.7 C++ linker for the host machine: c++ ld.bfd 2.40 #27 593.7 Cython compiler for the host machine: cython (cython 3.0.3) #27 593.7 Host machine cpu family: arm #27 593.7 Host machine cpu: armv7l #27 593.7 Program python found: YES (/usr/local/bin/python) #27 593.7 Found pkg-config: /usr/bin/pkg-config (1.8.1) #27 593.7 Run-time dependency python found: YES 3.12 #27 593.7 Has header "Python.h" with dependency python-3.12: YES #27 593.7 Compiler for C supports arguments -fno-strict-aliasing: YES #27 593.7 Message: During parsing cpu-dispatch: The following CPU features were ignored due to platform incompatibility or lack of support: #27 593.7 "XOP FMA4" #27 593.7 Test features "NEON" : Supported #27 593.7 Test features "NEON_FP16" : Supported #27 593.7 Test features "NEON_VFPV4" : Supported #27 593.7 Test features "ASIMD" : Unsupported due to Compiler fails against the test code of "ASIMD" #27 593.7 Test features "ASIMDHP" : Unsupported due to Implied feature "ASIMD" is not supported #27 593.7 Test features "ASIMDFHM" : Unsupported due to Implied feature "ASIMD" is not supported #27 593.7 Configuring npy_cpu_dispatch_config.h using configuration #27 593.7 Message: #27 593.7 CPU Optimization Options #27 593.7 baseline: #27 593.7 Requested : min #27 593.7 Enabled : #27 593.7 dispatch: #27 593.7 Requested : max -xop -fma4 #27 593.7 Enabled : NEON NEON_FP16 NEON_VFPV4 #27 593.7 #27 593.7 Library m found: YES #27 593.7 Did not find CMake 'cmake' #27 593.7 Found CMake: NO #27 593.7 Run-time dependency scipy-openblas found: NO (tried pkgconfig and cmake) #27 593.7 Run-time dependency mkl found: NO (tried pkgconfig and system) #27 593.7 Run-time dependency mkl found: NO (tried pkgconfig and system) #27 593.7 Run-time dependency accelerate found: NO (tried system) #27 593.7 Run-time dependency openblas found: NO (tried pkgconfig, pkgconfig, pkgconfig, system and cmake) #27 593.7 Run-time dependency flexiblas found: NO (tried pkgconfig and cmake) #27 593.7 Run-time dependency blis found: NO (tried pkgconfig and cmake) #27 593.7 Run-time dependency blas found: NO (tried pkgconfig and cmake) #27 593.7 #27 593.7 ../../numpy/meson.build:169:4: ERROR: Problem encountered: No BLAS library detected! Install one, or use the `allow-noblas` build option (note, this may be up to 100x slower for some linear algebra operations).
rdavydov commented 8 months ago

cmake didn't help, now it can't find a BLAS library.

#26 482.1 Collecting pandas (from -r requirements.txt (line 11)) #26 482.2 Downloading pandas-2.1.1.tar.gz (4.3 MB) #26 482.6 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.3/4.3 MB 9.0 MB/s eta 0:00:00 #26 485.9 Installing build dependencies: started #26 626.3 Installing build dependencies: still running... #26 628.8 Installing build dependencies: finished with status 'error' #26 629.0 error: subprocess-exited-with-error #26 629.0 #26 629.0 × pip subprocess to install build dependencies did not run successfully. #26 629.0 │ exit code: 1 #26 629.0 ╰─> [87 lines of output] #26 629.0 Ignoring oldest-supported-numpy: markers 'python_version < "3.12"' don't match your environment #26 629.0 Collecting meson-python==0.13.1 #26 629.0 Downloading meson_python-0.13.1-py3-none-any.whl (79 kB) #26 629.0 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 79.5/79.5 kB 728.0 kB/s eta 0:00:00 #26 629.0 Collecting meson==1.2.1 #26 629.0 Downloading meson-1.2.1-py3-none-any.whl.metadata (1.7 kB) #26 629.0 Collecting wheel #26 629.0 Using cached wheel-0.41.2-py3-none-any.whl.metadata (2.2 kB) #26 629.0 Collecting Cython<3,>=0.29.33 #26 629.0 Downloading Cython-0.29.36-py2.py3-none-any.whl.metadata (3.1 kB) #26 629.0 Collecting numpy>=1.26.0 #26 629.0 Downloading numpy-1.26.1.tar.gz (15.7 MB) #26 629.0 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 15.7/15.7 MB 9.0 MB/s eta 0:00:00 #26 629.0 Installing build dependencies: started #26 629.0 Installing build dependencies: finished with status 'done' #26 629.0 Getting requirements to build wheel: started #26 629.0 Getting requirements to build wheel: still running... #26 629.0 Getting requirements to build wheel: finished with status 'error' #26 629.0 error: subprocess-exited-with-error #26 629.0 #26 629.0 × Getting requirements to build wheel did not run successfully. #26 629.0 │ exit code: 1 #26 629.0 ╰─> [54 lines of output] #26 629.0 + /usr/local/bin/python /tmp/pip-install-ang4mkqq/numpy_705b62d48e534009b51b8e0327e25246/vendored-meson/meson/meson.py setup /tmp/pip-install-ang4mkqq/numpy_705b62d48e534009b51b8e0327e25246 /tmp/pip-install-ang4mkqq/numpy_705b62d48e534009b51b8e0327e25246/.mesonpy-n591hxs0/build -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md --native-file=/tmp/pip-install-ang4mkqq/numpy_705b62d48e534009b51b8e0327e25246/.mesonpy-n591hxs0/build/meson-python-native-file.ini #26 629.0 The Meson build system #26 629.0 Version: 1.2.99 #26 629.0 Source dir: /tmp/pip-install-ang4mkqq/numpy_705b62d48e534009b51b8e0327e25246 #26 629.0 Build dir: /tmp/pip-install-ang4mkqq/numpy_705b62d48e534009b51b8e0327e25246/.mesonpy-n591hxs0/build #26 629.0 Build type: native build #26 629.0 Project name: NumPy #26 629.0 Project version: 1.26.1 #26 629.0 C compiler for the host machine: cc (gcc 12.2.0 "cc (Debian 12.2.0-14) 12.2.0") #26 629.0 C linker for the host machine: cc ld.bfd 2.40 #26 629.0 C++ compiler for the host machine: c++ (gcc 12.2.0 "c++ (Debian 12.2.0-14) 12.2.0") #26 629.0 C++ linker for the host machine: c++ ld.bfd 2.40 #26 629.0 Cython compiler for the host machine: cython (cython 3.0.3) #26 629.0 Host machine cpu family: arm #26 629.0 Host machine cpu: armv7l #26 629.0 Program python found: YES (/usr/local/bin/python) #26 629.0 Found pkg-config: /usr/bin/pkg-config (1.8.1) #26 629.0 Run-time dependency python found: YES 3.12 #26 629.0 Has header "Python.h" with dependency python-3.12: YES #26 629.0 Compiler for C supports arguments -fno-strict-aliasing: YES #26 629.0 Message: During parsing cpu-dispatch: The following CPU features were ignored due to platform incompatibility or lack of support: #26 629.0 "XOP FMA4" #26 629.0 Test features "NEON" : Supported #26 629.0 Test features "NEON_FP16" : Supported #26 629.0 Test features "NEON_VFPV4" : Supported #26 629.0 Test features "ASIMD" : Unsupported due to Compiler fails against the test code of "ASIMD" #26 629.0 Test features "ASIMDHP" : Unsupported due to Implied feature "ASIMD" is not supported #26 629.0 Test features "ASIMDFHM" : Unsupported due to Implied feature "ASIMD" is not supported #26 629.0 Configuring npy_cpu_dispatch_config.h using configuration #26 629.0 Message: #26 629.0 CPU Optimization Options #26 629.0 baseline: #26 629.0 Requested : min #26 629.0 Enabled : #26 629.0 dispatch: #26 629.0 Requested : max -xop -fma4 #26 629.0 Enabled : NEON NEON_FP16 NEON_VFPV4 #26 629.0 #26 629.0 Library m found: YES #26 629.0 Found CMake: /usr/bin/cmake (3.25.1) #26 629.0 WARNING: CMake Toolchain: Failed to determine CMake compilers state #26 629.0 Run-time dependency scipy-openblas found: NO (tried pkgconfig and cmake) #26 629.0 Run-time dependency mkl found: NO (tried pkgconfig and system) #26 629.0 Run-time dependency mkl found: NO (tried pkgconfig and system) #26 629.0 Run-time dependency accelerate found: NO (tried system) #26 629.0 Run-time dependency openblas found: NO (tried pkgconfig, pkgconfig, pkgconfig, system and cmake) #26 629.0 Run-time dependency flexiblas found: NO (tried pkgconfig and cmake) #26 629.0 Run-time dependency blis found: NO (tried pkgconfig and cmake) #26 629.0 WARNING: CMake Toolchain: Failed to determine CMake compilers state #26 629.0 Run-time dependency blas found: NO (tried pkgconfig and cmake) #26 629.0 #26 629.0 ../../numpy/meson.build:169:4: ERROR: Problem encountered: No BLAS library detected! Install one, or use the `allow-noblas` build option (note, this may be up to 100x slower for some linear algebra operations). #26 629.0 #26 629.0 A full log can be found at /tmp/pip-install-ang4mkqq/numpy_705b62d48e534009b51b8e0327e25246/.mesonpy-n591hxs0/build/meson-logs/meson-log.txt #26 629.0 [end of output] #26 629.0 #26 629.0 note: This error originates from a subprocess, and is likely not a problem with pip. #26 629.0 error: subprocess-exited-with-error #26 629.0 #26 629.0 × Getting requirements to build wheel did not run successfully. #26 629.0 │ exit code: 1 #26 629.0 ╰─> See above for output. #26 629.0 #26 629.0 note: This error originates from a subprocess, and is likely not a problem with pip. #26 629.0 [end of output] #26 629.0 #26 629.0 note: This error originates from a subprocess, and is likely not a problem with pip. #26 629.0 error: subprocess-exited-with-error #26 629.0 #26 629.0 × pip subprocess to install build dependencies did not run successfully. #26 629.0 │ exit code: 1 #26 629.0 ╰─> See above for output. #26 629.0 #26 629.0 note: This error originates from a subprocess, and is likely not a problem with pip. #26 ERROR: process "/bin/sh -c DEBIAN_FRONTEND=noninteractive apt-get install -qq -y --fix-missing --no-install-recommends gcc libffi-dev rustc zlib1g-dev libjpeg-dev libssl-dev make cmake automake ninja-build g++ subversion python3-dev && if [ \"${BUILDX_QEMU_ENV}\" = \"true\" ] && [ \"$(getconf LONG_BIT)\" = \"32\" ]; then pip install -U cryptography==3.3.2; fi && pip install -r requirements.txt && pip cache purge && apt-get remove -y gcc rustc && apt-get autoremove -y && apt-get autoclean -y && apt-get clean -y && rm -rf /var/lib/apt/lists/* && rm -rf /usr/share/doc/*" did not complete successfully: exit code: 1 ------ > [linux/arm/v7 6/7] RUN DEBIAN_FRONTEND=noninteractive apt-get install -qq -y --fix-missing --no-install-recommends gcc libffi-dev rustc zlib1g-dev libjpeg-dev libssl-dev make cmake automake ninja-build g++ subversion python3-dev && if [ "true" = "true" ] && [ "$(getconf LONG_BIT)" = "32" ]; then pip install -U cryptography==3.3.2; fi && pip install -r requirements.txt && pip cache purge && apt-get remove -y gcc rustc && apt-get autoremove -y && apt-get autoclean -y && apt-get clean -y && rm -rf /var/lib/apt/lists/* && rm -rf /usr/share/doc/*: 629.0 [end of output] 629.0 629.0 note: This error originates from a subprocess, and is likely not a problem with pip. 629.0 error: subprocess-exited-with-error 629.0 629.0 × pip subprocess to install build dependencies did not run successfully. 629.0 │ exit code: 1 629.0 ╰─> See above for output. 629.0 629.0 note: This error originates from a subprocess, and is likely not a problem with pip.

I think I'm going to just drop the support for the ARMv7 architecture. It's just not worth the time.

rdavydov commented 8 months ago

Funny, but adding libblas-dev liblapack-dev to apt-get solved the issue.