Skip to content

Linux arm64 wheels build broken #1441

@lanctot

Description

@lanctot

Seems related to scipy version upgrade from a few days back.

Full link to CI failure: https://github.com/google-deepmind/open_spiel/actions/runs/20957953304/job/60227228831

Collecting scipy>=1.10.1 (from open-spiel==1.6.11)
    Downloading scipy-1.17.0.tar.gz (30.4 MB)
       ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 30.4/30.4 MB 107.8 MB/s  0:00:00
    Installing build dependencies: started
    Installing build dependencies: still running...
    Installing build dependencies: finished with status 'done'
    Getting requirements to build wheel: started
    Getting requirements to build wheel: finished with status 'done'
    Installing backend dependencies: started
    Installing backend dependencies: finished with status 'done'
    Preparing metadata (pyproject.toml): started
    Preparing metadata (pyproject.toml): finished with status 'error'
    error: subprocess-exited-with-error
    
    × Preparing metadata (pyproject.toml) did not run successfully.
    │ exit code: 1
    ╰─> [83 lines of output]
        + meson setup /tmp/pip-install-3i5__aj4/scipy_299b03c183864cc59ef3a233fdbb6f3c /tmp/pip-install-3i5__aj4/scipy_299b03c183864cc59ef3a233fdbb6f3c/.mesonpy-zlaow2i6 -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md --native-file=/tmp/pip-install-3i5__aj4/scipy_299b03c183864cc59ef3a233fdbb6f3c/.mesonpy-zlaow2i6/meson-python-native-file.ini
        The Meson build system
        Version: 1.10.0
        Source dir: /tmp/pip-install-3i5__aj4/scipy_299b03c183864cc59ef3a233fdbb6f3c
        Build dir: /tmp/pip-install-3i5__aj4/scipy_299b03c183864cc59ef3a233fdbb6f3c/.mesonpy-zlaow2i6
        Build type: native build
        Project name: scipy
        Project version: 1.17.0
        C compiler for the host machine: cc (gcc 10.2.1 "cc (GCC) 10.2.1 20210130 (Red Hat 10.2.1-11)")
        C linker for the host machine: cc ld.bfd 2.35-5
        C++ compiler for the host machine: /opt/rh/devtoolset-10/root/usr/bin/g++ (gcc 10.2.1 "g++ (GCC) 10.2.1 20210130 (Red Hat 10.2.1-11)")
        C++ linker for the host machine: /opt/rh/devtoolset-10/root/usr/bin/g++ ld.bfd 2.35-5
        Cython compiler for the host machine: cython (cython 3.2.4)
        Host machine cpu family: aarch64
        Host machine cpu: aarch64
        Program python found: YES (/tmp/tmp.hywEQbDPzP/venv/bin/python)
        Found pkg-config: YES (/usr/bin/pkg-config) 0.27.1
        Run-time dependency python found: YES 3.11
        Program cython found: YES (/tmp/pip-build-env-g16iyy63/overlay/bin/cython)
        Compiler for C supports arguments -Wno-unused-but-set-variable: YES
        Compiler for C supports arguments -Wno-unused-function: YES
        Compiler for C supports arguments -Wno-conversion: YES
        Compiler for C supports arguments -Wno-misleading-indentation: YES
        Library m found: YES
        Fortran compiler for the host machine: gfortran (gcc 10.2.1 "GNU Fortran (GCC) 10.2.1 20210130 (Red Hat 10.2.1-11)")
        Fortran linker for the host machine: gfortran ld.bfd 2.35-5
        ../meson.build:94: WARNING: Consider using the built-in option for language standard version instead of using "-std=legacy".
        Compiler for Fortran supports arguments -Wno-conversion: YES
        Checking if "-Wl,--version-script" links: YES
        Program tools/generate_f2pymod.py found: YES (/tmp/tmp.hywEQbDPzP/venv/bin/python /tmp/pip-install-3i5__aj4/scipy_299b03c183864cc59ef3a233fdbb6f3c/tools/generate_f2pymod.py)
        Program scipy/_build_utils/tempita.py found: YES (/tmp/tmp.hywEQbDPzP/venv/bin/python /tmp/pip-install-3i5__aj4/scipy_299b03c183864cc59ef3a233fdbb6f3c/scipy/_build_utils/tempita.py)
        Program pythran found: YES 0.18.1 0.18.1 (/tmp/pip-build-env-g16iyy63/overlay/bin/pythran)
        Found pkg-config: YES (/usr/bin/pkg-config) 0.27.1
        Found CMake: /usr/local/bin/cmake (4.1.0)
        Run-time dependency xsimd found: NO (tried pkgconfig and cmake)
        
        Executing subproject xsf
        
        xsf| Project name: xsf
        xsf| Project version: 0.1.3
        xsf| C++ compiler for the host machine: /opt/rh/devtoolset-10/root/usr/bin/g++ (gcc 10.2.1 "g++ (GCC) 10.2.1 20210130 (Red Hat 10.2.1-11)")
        xsf| C++ linker for the host machine: /opt/rh/devtoolset-10/root/usr/bin/g++ ld.bfd 2.35-5
        xsf| Build targets in project: 0
        xsf| Subproject xsf finished.
        
        
        Executing subproject boost_math
        
        boost_math| Project name: boost-math
        boost_math| Project version: 1.89.0
        boost_math| Build targets in project: 0
        boost_math| Subproject boost_math finished.
        
        
        Executing subproject qhull_r
        
        qhull_r| Project name: qhull_r
        qhull_r| Project version: 8.0.2
        qhull_r| C compiler for the host machine: cc (gcc 10.2.1 "cc (GCC) 10.2.1 20210130 (Red Hat 10.2.1-11)")
        qhull_r| C linker for the host machine: cc ld.bfd 2.35-5
        qhull_r| Compiler for C supports arguments -Wno-unused-but-set-variable: YES (cached)
        qhull_r| Build targets in project: 1
        qhull_r| Subproject qhull_r finished.
        
        Run-time dependency threads found: YES
        numpy-config found: YES (/tmp/pip-build-env-g16iyy63/overlay/bin/numpy-config) 2.4.1
        Run-time dependency numpy found: YES 2.4.1
        Message: f2py free-threading enabled
        Library npymath found: YES
        pybind11-config found: YES (/tmp/pip-build-env-g16iyy63/overlay/bin/pybind11-config) 3.0.1
        Run-time dependency pybind11 found: YES 3.0.1
        Checking if "thread_local" compiles: NO
        Checking if "_Thread_local" compiles: YES
        Checking if "__thread" compiles: YES
        Configuring scipy_config.h using configuration
        Program f2py found: YES (/tmp/pip-build-env-g16iyy63/overlay/bin/f2py)
        Run-time dependency scipy-openblas found: NO (tried pkgconfig)
        Run-time dependency openblas found: NO (tried pkgconfig and cmake)
        Run-time dependency openblas found: NO (tried pkgconfig and cmake)
        
        ../scipy/meson.build:285:9: ERROR: Dependency "OpenBLAS" not found, tried pkgconfig and cmake
        
        A full log can be found at /tmp/pip-install-3i5__aj4/scipy_299b03c183864cc59ef3a233fdbb6f3c/.mesonpy-zlaow2i6/meson-logs/meson-log.txt
        [end of output]
    
    note: This error originates from a subprocess, and is likely not a problem with pip.
  error: metadata-generation-failed
  
  × Encountered error while generating package metadata.
  ╰─> scipy

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions