Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pip build fails: FileNotFoundError: [Errno 2] No such file or directory: 'scripts/__init__.py' #571

Closed
elmeriniemela opened this issue Oct 21, 2021 · 28 comments
Assignees

Comments

@elmeriniemela
Copy link

elmeriniemela commented Oct 21, 2021

Reproduce:

  • pip install --upgrade pip setuptools wheel
  • CMAKE_ARGS="-DOPENCV_ENABLE_NONFREE=ON" pip install -v --no-binary=opencv-contrib-python opencv-contrib-python

Related commit: 6a1f61b#diff-60f61ab7a8d1910d86d9fda2261620314edcae5894d5aaa236b821c7256badd7R389

Related PR: #563

Error:

Configuring Project
    Working directory:
      /tmp/pip-install-ais_cble/opencv-python_36817dc5e0834847b9d8f8f1dc7bd3c4/_skbuild/linux-x86_64-3.8/cmake-build
    Command:
      cmake /tmp/pip-install-ais_cble/opencv-python_36817dc5e0834847b9d8f8f1dc7bd3c4/opencv -G Ninja -DCMAKE_INSTALL_PREFIX:PATH=/tmp/pip-install-ais_cble/opencv-python_36817dc5e0834847b9d8f8f1dc7bd3c4/_skbuild/linux-x86_64-3.8/cmake-install -DPYTHON_EXECUTABLE:FILEPATH=/home/elmeri/.venv/ml/bin/python3.8 -DPYTHON_VERSION_STRING:STRING=3.8.12 -DPYTHON_INCLUDE_DIR:PATH=/usr/include/python3.8 -DPYTHON_LIBRARY:FILEPATH=/usr/lib/libpython3.8.so -DSKBUILD:INTERNAL=TRUE -DCMAKE_MODULE_PATH:PATH=/tmp/pip-build-env-bo2trral/overlay/lib/python3.8/site-packages/skbuild/resources/cmake -DPYTHON3_EXECUTABLE=/home/elmeri/.venv/ml/bin/python3.8 -DPYTHON3_INCLUDE_DIR=/usr/include/python3.8 -DPYTHON3_LIBRARY=/usr/lib/libpython3.8.so -DBUILD_opencv_python3=ON -DBUILD_opencv_python2=OFF -DBUILD_opencv_java=OFF -DOPENCV_PYTHON3_INSTALL_PATH=python -DINSTALL_CREATE_DISTRIB=ON -DBUILD_opencv_apps=OFF -DBUILD_opencv_freetype=OFF -DBUILD_SHARED_LIBS=OFF -DBUILD_TESTS=OFF -DBUILD_PERF_TESTS=OFF -DBUILD_DOCS=OFF -DOPENCV_ENABLE_NONFREE=ON -DCMAKE_BUILD_TYPE:STRING=Release

  Copying files from CMake output
  Traceback (most recent call last):
    File "/home/elmeri/.venv/ml/lib/python3.8/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 349, in <module>
      main()
    File "/home/elmeri/.venv/ml/lib/python3.8/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 331, in main
      json_out['return_val'] = hook(**hook_input['kwargs'])
    File "/home/elmeri/.venv/ml/lib/python3.8/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 248, in build_wheel
      return _build_backend().build_wheel(wheel_directory, config_settings,
    File "/tmp/pip-build-env-bo2trral/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 221, in build_wheel
      return self._build_with_temp_dir(['bdist_wheel'], '.whl',
    File "/tmp/pip-build-env-bo2trral/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 207, in _build_with_temp_dir
      self.run_setup()
    File "/tmp/pip-build-env-bo2trral/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 258, in run_setup
      super(_BuildMetaLegacyBackend,
    File "/tmp/pip-build-env-bo2trral/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 150, in run_setup
      exec(compile(code, __file__, 'exec'), locals())
    File "setup.py", line 496, in <module>
      main()
    File "setup.py", line 248, in main
      skbuild.setup(
    File "/tmp/pip-build-env-bo2trral/overlay/lib/python3.8/site-packages/skbuild/setuptools_wrap.py", line 625, in setup
      _classify_installed_files(cmake_manifest, package_data, package_prefixes,
    File "setup.py", line 381, in _classify_installed_files_override
      with open('scripts/__init__.py', 'r') as custom_init:
  FileNotFoundError: [Errno 2] No such file or directory: 'scripts/__init__.py'
  Building wheel for opencv-python (pyproject.toml) ... error
  ERROR: Failed building wheel for opencv-python
Failed to build opencv-python
ERROR: Could not build wheels for opencv-python, which is required to install pyproject.toml-based projects
@elmeriniemela
Copy link
Author

Workaround is to use an older release:

CMAKE_ARGS="-DOPENCV_ENABLE_NONFREE=ON" pip install -v --no-binary=opencv-contrib-python opencv-contrib-python==4.5.3.56

@neuron-whisperer
Copy link

Workaround is to use an older release:

This does not appear to work.

I started with a fresh install of Buster Lite, ran apt update and apt full-upgrade, installed all of the dependencies via apt-get, installed Python 3.10.0 via pyenv, and ran python -m pip install numpy. All worked fine.

The build still failed:

`python -m pip install -v --no-binary=opencv-python-headless opencv-python-headless==4.5.3.56

Using pip 21.3 from /home/hesperosaurus/.pyenv/versions/3.10.0/lib/python3.10/site-packages/pip (python 3.10)
Collecting opencv-python-headless==4.5.3.56
Downloading opencv-python-headless-4.5.3.56.tar.gz (89.2 MB)
|████████████████████████████████| 89.2 MB 2.5 kB/s
Running command /home/hesperosaurus/.pyenv/versions/3.10.0/bin/python /tmp/pip-standalone-pip-rc0e9d_2/env_pip.zip/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-fpdztps3/overlay --no-warn-script-location --no-binary opencv-python-headless --only-binary :none: -i https://pypi.org/simple -- setuptools wheel scikit-build cmake pip 'numpy==1.13.3; python_version=='"'"'3.6'"'"' and platform_machine != '"'"'aarch64'"'"' and platform_machine != '"'"'arm64'"'"'' 'numpy==1.19.3; python_version>='"'"'3.6'"'"' and sys_platform == '"'"'linux'"'"' and platform_machine == '"'"'aarch64'"'"'' 'numpy==1.21.0; python_version>='"'"'3.6'"'"' and sys_platform == '"'"'darwin'"'"' and platform_machine == '"'"'arm64'"'"'' 'numpy==1.14.5; python_version=='"'"'3.7'"'"' and platform_machine != '"'"'aarch64'"'"' and platform_machine != '"'"'arm64'"'"'' 'numpy==1.17.3; python_version=='"'"'3.8'"'"' and platform_machine != '"'"'aarch64'"'"' and platform_machine != '"'"'arm64'"'"'' 'numpy==1.19.3; python_version>='"'"'3.9'"'"' and platform_machine != '"'"'aarch64'"'"' and platform_machine != '"'"'arm64'"'"''
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.6" and sys_platform == "linux" and platform_machine == "aarch64"' don't match your environment
Ignoring numpy: markers 'python_version >= "3.6" and sys_platform == "darwin" 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.8" and platform_machine != "aarch64" and platform_machine != "arm64"' don't match your environment
Collecting setuptools
Using cached setuptools-58.2.0-py3-none-any.whl (946 kB)
Collecting wheel
Using cached wheel-0.37.0-py2.py3-none-any.whl (35 kB)
Collecting scikit-build
Downloading scikit_build-0.12.0-py2.py3-none-any.whl (73 kB)
Collecting cmake
Downloading cmake-3.21.3.tar.gz (31 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 wheel metadata (pyproject.toml): started
Preparing wheel metadata (pyproject.toml): finished with status 'done'
Collecting pip
Using cached pip-21.3-py3-none-any.whl (1.7 MB)
Collecting numpy==1.19.3
Downloading numpy-1.19.3.zip (7.3 MB)
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 wheel metadata (pyproject.toml): started
Preparing wheel metadata (pyproject.toml): still running...
Preparing wheel metadata (pyproject.toml): finished with status 'done'
Collecting distro
Using cached distro-1.6.0-py2.py3-none-any.whl (19 kB)
Collecting packaging
Using cached packaging-21.0-py3-none-any.whl (40 kB)
Collecting pyparsing>=2.0.2
Using cached pyparsing-2.4.7-py2.py3-none-any.whl (67 kB)
Building wheels for collected packages: numpy, cmake
Building wheel for numpy (pyproject.toml): started
Building wheel for numpy (pyproject.toml): still running...
Building wheel for numpy (pyproject.toml): still running...
Building wheel for numpy (pyproject.toml): finished with status 'error'
ERROR: Command errored out with exit status 1:
command: /home/hesperosaurus/.pyenv/versions/3.10.0/bin/python /tmp/tmpwiomgm8a_in_process.py build_wheel /tmp/tmpl2sb6mka
cwd: /tmp/pip-install-mahdy7jl/numpy_0c67d8957a344834a5554866a9da955a
Complete output (1309 lines):
setup.py:67: RuntimeWarning: NumPy 1.19.3 may not yet support Python 3.10.
warnings.warn(
Running from numpy source directory.
/tmp/pip-install-mahdy7jl/numpy_0c67d8957a344834a5554866a9da955a/tools/cythonize.py:67: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
from distutils.version import LooseVersion
numpy/random/_bounded_integers.pxd.in has not changed
numpy/random/_philox.pyx has not changed
numpy/random/_sfc64.pyx has not changed
numpy/random/_common.pyx has not changed
numpy/random/mtrand.pyx has not changed
numpy/random/bit_generator.pyx has not changed
numpy/random/_mt19937.pyx has not changed
numpy/random/_bounded_integers.pyx.in has not changed
numpy/random/_generator.pyx has not changed
Processing numpy/random/_bounded_integers.pyx
numpy/random/_pcg64.pyx has not changed
Cythonizing sources
blas_opt_info:
blas_mkl_info:
customize UnixCCompiler
libraries mkl_rt not found in ['/home/hesperosaurus/.pyenv/versions/3.10.0/lib', '/usr/local/lib', '/usr/lib', '/usr/lib/arm-linux-gnueabihf']
NOT AVAILABLE

blis_info:
  libraries blis not found in ['/home/hesperosaurus/.pyenv/versions/3.10.0/lib', '/usr/local/lib', '/usr/lib', '/usr/lib/arm-linux-gnueabihf']
  NOT AVAILABLE

openblas_info:
  libraries openblas not found in ['/home/hesperosaurus/.pyenv/versions/3.10.0/lib', '/usr/local/lib', '/usr/lib', '/usr/lib/arm-linux-gnueabihf']
  NOT AVAILABLE

atlas_3_10_blas_threads_info:
Setting PTATLAS=ATLAS
  libraries tatlas not found in ['/home/hesperosaurus/.pyenv/versions/3.10.0/lib', '/usr/local/lib', '/usr/lib', '/usr/lib/arm-linux-gnueabihf/atlas', '/usr/lib/arm-linux-gnueabihf']
  NOT AVAILABLE

atlas_3_10_blas_info:
  libraries satlas not found in ['/home/hesperosaurus/.pyenv/versions/3.10.0/lib', '/usr/local/lib', '/usr/lib', '/usr/lib/arm-linux-gnueabihf/atlas', '/usr/lib/arm-linux-gnueabihf']
  NOT AVAILABLE

atlas_blas_threads_info:
Setting PTATLAS=ATLAS
  libraries ptf77blas,ptcblas,atlas not found in ['/home/hesperosaurus/.pyenv/versions/3.10.0/lib', '/usr/local/lib', '/usr/lib', '/usr/lib/arm-linux-gnueabihf/atlas', '/usr/lib/arm-linux-gnueabihf']
  NOT AVAILABLE

atlas_blas_info:
  libraries f77blas,cblas,atlas not found in ['/home/hesperosaurus/.pyenv/versions/3.10.0/lib', '/usr/local/lib', '/usr/lib', '/usr/lib/arm-linux-gnueabihf/atlas', '/usr/lib/arm-linux-gnueabihf']
  NOT AVAILABLE

accelerate_info:
  NOT AVAILABLE

/tmp/pip-install-mahdy7jl/numpy_0c67d8957a344834a5554866a9da955a/numpy/distutils/system_info.py:1914: UserWarning:
    Optimized (vendor) Blas libraries are not found.
    Falls back to netlib Blas library which has worse performance.
    A better performance should be easily gained by switching
    Blas library.
  if self._calc_info(blas):
blas_info:
  libraries blas not found in ['/home/hesperosaurus/.pyenv/versions/3.10.0/lib', '/usr/local/lib', '/usr/lib', '/usr/lib/arm-linux-gnueabihf']
  NOT AVAILABLE

/tmp/pip-install-mahdy7jl/numpy_0c67d8957a344834a5554866a9da955a/numpy/distutils/system_info.py:1914: UserWarning:
    Blas (http://www.netlib.org/blas/) libraries not found.
    Directories to search for the libraries can be specified in the
    numpy/distutils/site.cfg file (section [blas]) or by setting
    the BLAS environment variable.
  if self._calc_info(blas):
blas_src_info:
  NOT AVAILABLE

/tmp/pip-install-mahdy7jl/numpy_0c67d8957a344834a5554866a9da955a/numpy/distutils/system_info.py:1914: UserWarning:
    Blas (http://www.netlib.org/blas/) sources not found.
    Directories to search for the sources can be specified in the
    numpy/distutils/site.cfg file (section [blas_src]) or by setting
    the BLAS_SRC environment variable.
  if self._calc_info(blas):
  NOT AVAILABLE

non-existing path in 'numpy/distutils': 'site.cfg'
lapack_opt_info:
lapack_mkl_info:
  libraries mkl_rt not found in ['/home/hesperosaurus/.pyenv/versions/3.10.0/lib', '/usr/local/lib', '/usr/lib', '/usr/lib/arm-linux-gnueabihf']
  NOT AVAILABLE

openblas_lapack_info:
  libraries openblas not found in ['/home/hesperosaurus/.pyenv/versions/3.10.0/lib', '/usr/local/lib', '/usr/lib', '/usr/lib/arm-linux-gnueabihf']
  NOT AVAILABLE

openblas_clapack_info:
  libraries openblas,lapack not found in ['/home/hesperosaurus/.pyenv/versions/3.10.0/lib', '/usr/local/lib', '/usr/lib', '/usr/lib/arm-linux-gnueabihf']
  NOT AVAILABLE

flame_info:
  libraries flame not found in ['/home/hesperosaurus/.pyenv/versions/3.10.0/lib', '/usr/local/lib', '/usr/lib', '/usr/lib/arm-linux-gnueabihf']
  NOT AVAILABLE

atlas_3_10_threads_info:
Setting PTATLAS=ATLAS
  libraries lapack_atlas not found in /home/hesperosaurus/.pyenv/versions/3.10.0/lib
  libraries tatlas,tatlas not found in /home/hesperosaurus/.pyenv/versions/3.10.0/lib
  libraries lapack_atlas not found in /usr/local/lib
  libraries tatlas,tatlas not found in /usr/local/lib
  libraries lapack_atlas not found in /usr/lib
  libraries tatlas,tatlas not found in /usr/lib
  libraries lapack_atlas not found in /usr/lib/arm-linux-gnueabihf/atlas
  libraries tatlas,tatlas not found in /usr/lib/arm-linux-gnueabihf/atlas
  libraries lapack_atlas not found in /usr/lib/arm-linux-gnueabihf
  libraries tatlas,tatlas not found in /usr/lib/arm-linux-gnueabihf
<class 'numpy.distutils.system_info.atlas_3_10_threads_info'>
  NOT AVAILABLE

atlas_3_10_info:
  libraries lapack_atlas not found in /home/hesperosaurus/.pyenv/versions/3.10.0/lib
  libraries satlas,satlas not found in /home/hesperosaurus/.pyenv/versions/3.10.0/lib
  libraries lapack_atlas not found in /usr/local/lib
  libraries satlas,satlas not found in /usr/local/lib
  libraries lapack_atlas not found in /usr/lib
  libraries satlas,satlas not found in /usr/lib
  libraries lapack_atlas not found in /usr/lib/arm-linux-gnueabihf/atlas
  libraries satlas,satlas not found in /usr/lib/arm-linux-gnueabihf/atlas
  libraries lapack_atlas not found in /usr/lib/arm-linux-gnueabihf
  libraries satlas,satlas not found in /usr/lib/arm-linux-gnueabihf
<class 'numpy.distutils.system_info.atlas_3_10_info'>
  NOT AVAILABLE

atlas_threads_info:
Setting PTATLAS=ATLAS
  libraries lapack_atlas not found in /home/hesperosaurus/.pyenv/versions/3.10.0/lib
  libraries ptf77blas,ptcblas,atlas not found in /home/hesperosaurus/.pyenv/versions/3.10.0/lib
  libraries lapack_atlas not found in /usr/local/lib
  libraries ptf77blas,ptcblas,atlas not found in /usr/local/lib
  libraries lapack_atlas not found in /usr/lib
  libraries ptf77blas,ptcblas,atlas not found in /usr/lib
  libraries lapack_atlas not found in /usr/lib/arm-linux-gnueabihf/atlas
  libraries ptf77blas,ptcblas,atlas not found in /usr/lib/arm-linux-gnueabihf/atlas
  libraries lapack_atlas not found in /usr/lib/arm-linux-gnueabihf
  libraries ptf77blas,ptcblas,atlas not found in /usr/lib/arm-linux-gnueabihf
<class 'numpy.distutils.system_info.atlas_threads_info'>
  NOT AVAILABLE

atlas_info:
  libraries lapack_atlas not found in /home/hesperosaurus/.pyenv/versions/3.10.0/lib
  libraries f77blas,cblas,atlas not found in /home/hesperosaurus/.pyenv/versions/3.10.0/lib
  libraries lapack_atlas not found in /usr/local/lib
  libraries f77blas,cblas,atlas not found in /usr/local/lib
  libraries lapack_atlas not found in /usr/lib
  libraries f77blas,cblas,atlas not found in /usr/lib
  libraries lapack_atlas not found in /usr/lib/arm-linux-gnueabihf/atlas
  libraries f77blas,cblas,atlas not found in /usr/lib/arm-linux-gnueabihf/atlas
  libraries lapack_atlas not found in /usr/lib/arm-linux-gnueabihf
  libraries f77blas,cblas,atlas not found in /usr/lib/arm-linux-gnueabihf
<class 'numpy.distutils.system_info.atlas_info'>
  NOT AVAILABLE

lapack_info:
  libraries lapack not found in ['/home/hesperosaurus/.pyenv/versions/3.10.0/lib', '/usr/local/lib', '/usr/lib', '/usr/lib/arm-linux-gnueabihf']
  NOT AVAILABLE

/tmp/pip-install-mahdy7jl/numpy_0c67d8957a344834a5554866a9da955a/numpy/distutils/system_info.py:1748: UserWarning:
    Lapack (http://www.netlib.org/lapack/) libraries not found.
    Directories to search for the libraries can be specified in the
    numpy/distutils/site.cfg file (section [lapack]) or by setting
    the LAPACK environment variable.
  return getattr(self, '_calc_info_{}'.format(name))()
lapack_src_info:
  NOT AVAILABLE

/tmp/pip-install-mahdy7jl/numpy_0c67d8957a344834a5554866a9da955a/numpy/distutils/system_info.py:1748: UserWarning:
    Lapack (http://www.netlib.org/lapack/) sources not found.
    Directories to search for the sources can be specified in the
    numpy/distutils/site.cfg file (section [lapack_src]) or by setting
    the LAPACK_SRC environment variable.
  return getattr(self, '_calc_info_{}'.format(name))()
  NOT AVAILABLE

numpy_linalg_lapack_lite:
  FOUND:
    language = c

/home/hesperosaurus/.pyenv/versions/3.10.0/lib/python3.10/distutils/dist.py:274: UserWarning: Unknown distribution option: 'define_macros'
  warnings.warn(msg)
running bdist_wheel
running build
running config_cc
unifing config_cc, config, build_clib, build_ext, build commands --compiler options
running config_fc
unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
running build_src
build_src
building py_modules sources
building library "npymath" sources
Could not locate executable gfortran
Could not locate executable f95
Could not locate executable ifort
Could not locate executable ifc
Could not locate executable lf95
Could not locate executable pgfortran
Could not locate executable nvfortran
Could not locate executable f90
Could not locate executable f77
Could not locate executable fort
Could not locate executable efort
Could not locate executable efc
Could not locate executable g77
Could not locate executable g95
Could not locate executable pathf95
Could not locate executable nagfor
don't know how to compile Fortran code on platform 'posix'
  adding 'build/src.linux-armv7l-3.10/numpy/core/src/npymath' to include_dirs.
None - nothing done with h_files = ['build/src.linux-armv7l-3.10/numpy/core/src/npymath/npy_math_internal.h']
building library "npysort" sources
  adding 'build/src.linux-armv7l-3.10/numpy/core/src/common' to include_dirs.
None - nothing done with h_files = ['build/src.linux-armv7l-3.10/numpy/core/src/common/npy_sort.h', 'build/src.linux-armv7l-3.10/numpy/core/src/common/npy_partition.h', 'build/src.linux-armv7l-3.10/numpy/core/src/common/npy_binsearch.h']
building library "npyrandom" sources
building extension "numpy.core._multiarray_tests" sources
building extension "numpy.core._multiarray_umath" sources
  adding 'build/src.linux-armv7l-3.10/numpy/core/src/umath' to include_dirs.
  adding 'build/src.linux-armv7l-3.10/numpy/core/src/npymath' to include_dirs.
  adding 'build/src.linux-armv7l-3.10/numpy/core/src/common' to include_dirs.
numpy.core - nothing done with h_files = ['build/src.linux-armv7l-3.10/numpy/core/src/umath/funcs.inc', 'build/src.linux-armv7l-3.10/numpy/core/src/umath/simd.inc', 'build/src.linux-armv7l-3.10/numpy/core/src/umath/loops.h', 'build/src.linux-armv7l-3.10/numpy/core/src/umath/matmul.h', 'build/src.linux-armv7l-3.10/numpy/core/src/umath/clip.h', 'build/src.linux-armv7l-3.10/numpy/core/src/npymath/npy_math_internal.h', 'build/src.linux-armv7l-3.10/numpy/core/src/common/templ_common.h', 'build/src.linux-armv7l-3.10/numpy/core/include/numpy/config.h', 'build/src.linux-armv7l-3.10/numpy/core/include/numpy/_numpyconfig.h', 'build/src.linux-armv7l-3.10/numpy/core/include/numpy/__multiarray_api.h', 'build/src.linux-armv7l-3.10/numpy/core/include/numpy/__ufunc_api.h']
building extension "numpy.core._umath_tests" sources
building extension "numpy.core._rational_tests" sources
building extension "numpy.core._struct_ufunc_tests" sources
building extension "numpy.core._operand_flag_tests" sources
building extension "numpy.fft._pocketfft_internal" sources
building extension "numpy.linalg.lapack_lite" sources
### Warning:  Using unoptimized lapack ###
building extension "numpy.linalg._umath_linalg" sources
### Warning:  Using unoptimized lapack ###
building extension "numpy.random._mt19937" sources
building extension "numpy.random._philox" sources
building extension "numpy.random._pcg64" sources
building extension "numpy.random._sfc64" sources
building extension "numpy.random._common" sources
building extension "numpy.random.bit_generator" sources
building extension "numpy.random._generator" sources
building extension "numpy.random._bounded_integers" sources
building extension "numpy.random.mtrand" sources
building data_files sources
build_src: building npy-pkg config files
running build_py
creating build/lib.linux-armv7l-3.10
creating build/lib.linux-armv7l-3.10/numpy
copying numpy/matlib.py -> build/lib.linux-armv7l-3.10/numpy
copying numpy/_pytesttester.py -> build/lib.linux-armv7l-3.10/numpy
copying numpy/_globals.py -> build/lib.linux-armv7l-3.10/numpy
copying numpy/dual.py -> build/lib.linux-armv7l-3.10/numpy
copying numpy/conftest.py -> build/lib.linux-armv7l-3.10/numpy
copying numpy/ctypeslib.py -> build/lib.linux-armv7l-3.10/numpy
copying numpy/setup.py -> build/lib.linux-armv7l-3.10/numpy
copying numpy/version.py -> build/lib.linux-armv7l-3.10/numpy
copying numpy/_distributor_init.py -> build/lib.linux-armv7l-3.10/numpy
copying numpy/__init__.py -> build/lib.linux-armv7l-3.10/numpy
copying build/src.linux-armv7l-3.10/numpy/__config__.py -> build/lib.linux-armv7l-3.10/numpy
creating build/lib.linux-armv7l-3.10/numpy/compat
copying numpy/compat/py3k.py -> build/lib.linux-armv7l-3.10/numpy/compat
copying numpy/compat/setup.py -> build/lib.linux-armv7l-3.10/numpy/compat
copying numpy/compat/__init__.py -> build/lib.linux-armv7l-3.10/numpy/compat
copying numpy/compat/_inspect.py -> build/lib.linux-armv7l-3.10/numpy/compat
creating build/lib.linux-armv7l-3.10/numpy/compat/tests
copying numpy/compat/tests/__init__.py -> build/lib.linux-armv7l-3.10/numpy/compat/tests
copying numpy/compat/tests/test_compat.py -> build/lib.linux-armv7l-3.10/numpy/compat/tests
creating build/lib.linux-armv7l-3.10/numpy/core
copying numpy/core/shape_base.py -> build/lib.linux-armv7l-3.10/numpy/core
copying numpy/core/_type_aliases.py -> build/lib.linux-armv7l-3.10/numpy/core
copying numpy/core/machar.py -> build/lib.linux-armv7l-3.10/numpy/core
copying numpy/core/_internal.py -> build/lib.linux-armv7l-3.10/numpy/core
copying numpy/core/cversions.py -> build/lib.linux-armv7l-3.10/numpy/core
copying numpy/core/_methods.py -> build/lib.linux-armv7l-3.10/numpy/core
copying numpy/core/_ufunc_config.py -> build/lib.linux-armv7l-3.10/numpy/core
copying numpy/core/numeric.py -> build/lib.linux-armv7l-3.10/numpy/core
copying numpy/core/_asarray.py -> build/lib.linux-armv7l-3.10/numpy/core
copying numpy/core/umath_tests.py -> build/lib.linux-armv7l-3.10/numpy/core
copying numpy/core/_add_newdocs.py -> build/lib.linux-armv7l-3.10/numpy/core
copying numpy/core/_dtype.py -> build/lib.linux-armv7l-3.10/numpy/core
copying numpy/core/numerictypes.py -> build/lib.linux-armv7l-3.10/numpy/core
copying numpy/core/_dtype_ctypes.py -> build/lib.linux-armv7l-3.10/numpy/core
copying numpy/core/_exceptions.py -> build/lib.linux-armv7l-3.10/numpy/core
copying numpy/core/fromnumeric.py -> build/lib.linux-armv7l-3.10/numpy/core
copying numpy/core/_string_helpers.py -> build/lib.linux-armv7l-3.10/numpy/core
copying numpy/core/einsumfunc.py -> build/lib.linux-armv7l-3.10/numpy/core
copying numpy/core/multiarray.py -> build/lib.linux-armv7l-3.10/numpy/core
copying numpy/core/records.py -> build/lib.linux-armv7l-3.10/numpy/core
copying numpy/core/setup_common.py -> build/lib.linux-armv7l-3.10/numpy/core
copying numpy/core/setup.py -> build/lib.linux-armv7l-3.10/numpy/core
copying numpy/core/memmap.py -> build/lib.linux-armv7l-3.10/numpy/core
copying numpy/core/overrides.py -> build/lib.linux-armv7l-3.10/numpy/core
copying numpy/core/__init__.py -> build/lib.linux-armv7l-3.10/numpy/core
copying numpy/core/defchararray.py -> build/lib.linux-armv7l-3.10/numpy/core
copying numpy/core/arrayprint.py -> build/lib.linux-armv7l-3.10/numpy/core
copying numpy/core/function_base.py -> build/lib.linux-armv7l-3.10/numpy/core
copying numpy/core/getlimits.py -> build/lib.linux-armv7l-3.10/numpy/core
copying numpy/core/umath.py -> build/lib.linux-armv7l-3.10/numpy/core
copying numpy/core/code_generators/generate_numpy_api.py -> build/lib.linux-armv7l-3.10/numpy/core
creating build/lib.linux-armv7l-3.10/numpy/core/tests
copying numpy/core/tests/test_umath.py -> build/lib.linux-armv7l-3.10/numpy/core/tests
copying numpy/core/tests/test_getlimits.py -> build/lib.linux-armv7l-3.10/numpy/core/tests
copying numpy/core/tests/test_function_base.py -> build/lib.linux-armv7l-3.10/numpy/core/tests
copying numpy/core/tests/test_item_selection.py -> build/lib.linux-armv7l-3.10/numpy/core/tests
copying numpy/core/tests/test_conversion_utils.py -> build/lib.linux-armv7l-3.10/numpy/core/tests
copying numpy/core/tests/test_abc.py -> build/lib.linux-armv7l-3.10/numpy/core/tests
copying numpy/core/tests/test_mem_overlap.py -> build/lib.linux-armv7l-3.10/numpy/core/tests
copying numpy/core/tests/test_nditer.py -> build/lib.linux-armv7l-3.10/numpy/core/tests
copying numpy/core/tests/test_extint128.py -> build/lib.linux-armv7l-3.10/numpy/core/tests
copying numpy/core/tests/test_machar.py -> build/lib.linux-armv7l-3.10/numpy/core/tests
copying numpy/core/tests/test_regression.py -> build/lib.linux-armv7l-3.10/numpy/core/tests
copying numpy/core/tests/test_unicode.py -> build/lib.linux-armv7l-3.10/numpy/core/tests
copying numpy/core/tests/test_scalar_ctors.py -> build/lib.linux-armv7l-3.10/numpy/core/tests
copying numpy/core/tests/test_arrayprint.py -> build/lib.linux-armv7l-3.10/numpy/core/tests
copying numpy/core/tests/test_deprecations.py -> build/lib.linux-armv7l-3.10/numpy/core/tests
copying numpy/core/tests/test_ufunc.py -> build/lib.linux-armv7l-3.10/numpy/core/tests
copying numpy/core/tests/test_umath_complex.py -> build/lib.linux-armv7l-3.10/numpy/core/tests
copying numpy/core/tests/test_multiarray.py -> build/lib.linux-armv7l-3.10/numpy/core/tests
copying numpy/core/tests/test_half.py -> build/lib.linux-armv7l-3.10/numpy/core/tests
copying numpy/core/tests/test_errstate.py -> build/lib.linux-armv7l-3.10/numpy/core/tests
copying numpy/core/tests/test_umath_accuracy.py -> build/lib.linux-armv7l-3.10/numpy/core/tests
copying numpy/core/tests/test_shape_base.py -> build/lib.linux-armv7l-3.10/numpy/core/tests
copying numpy/core/tests/test_numeric.py -> build/lib.linux-armv7l-3.10/numpy/core/tests
copying numpy/core/tests/test_api.py -> build/lib.linux-armv7l-3.10/numpy/core/tests
copying numpy/core/tests/test_datetime.py -> build/lib.linux-armv7l-3.10/numpy/core/tests
copying numpy/core/tests/test_defchararray.py -> build/lib.linux-armv7l-3.10/numpy/core/tests
copying numpy/core/tests/_locales.py -> build/lib.linux-armv7l-3.10/numpy/core/tests
copying numpy/core/tests/test_scalarinherit.py -> build/lib.linux-armv7l-3.10/numpy/core/tests
copying numpy/core/tests/test_print.py -> build/lib.linux-armv7l-3.10/numpy/core/tests
copying numpy/core/tests/test_cpu_features.py -> build/lib.linux-armv7l-3.10/numpy/core/tests
copying numpy/core/tests/test_scalar_methods.py -> build/lib.linux-armv7l-3.10/numpy/core/tests
copying numpy/core/tests/test_indexerrors.py -> build/lib.linux-armv7l-3.10/numpy/core/tests
copying numpy/core/tests/test_memmap.py -> build/lib.linux-armv7l-3.10/numpy/core/tests
copying numpy/core/tests/test_records.py -> build/lib.linux-armv7l-3.10/numpy/core/tests
copying numpy/core/tests/test_einsum.py -> build/lib.linux-armv7l-3.10/numpy/core/tests
copying numpy/core/tests/test_numerictypes.py -> build/lib.linux-armv7l-3.10/numpy/core/tests
copying numpy/core/tests/test_longdouble.py -> build/lib.linux-armv7l-3.10/numpy/core/tests
copying numpy/core/tests/test_scalarprint.py -> build/lib.linux-armv7l-3.10/numpy/core/tests
copying numpy/core/tests/test_indexing.py -> build/lib.linux-armv7l-3.10/numpy/core/tests
copying numpy/core/tests/test_scalarmath.py -> build/lib.linux-armv7l-3.10/numpy/core/tests
copying numpy/core/tests/__init__.py -> build/lib.linux-armv7l-3.10/numpy/core/tests
copying numpy/core/tests/test_protocols.py -> build/lib.linux-armv7l-3.10/numpy/core/tests
copying numpy/core/tests/test__exceptions.py -> build/lib.linux-armv7l-3.10/numpy/core/tests
copying numpy/core/tests/test_overrides.py -> build/lib.linux-armv7l-3.10/numpy/core/tests
copying numpy/core/tests/test_dtype.py -> build/lib.linux-armv7l-3.10/numpy/core/tests
copying numpy/core/tests/test_scalarbuffer.py -> build/lib.linux-armv7l-3.10/numpy/core/tests
creating build/lib.linux-armv7l-3.10/numpy/distutils
copying numpy/distutils/exec_command.py -> build/lib.linux-armv7l-3.10/numpy/distutils
copying numpy/distutils/conv_template.py -> build/lib.linux-armv7l-3.10/numpy/distutils
copying numpy/distutils/line_endings.py -> build/lib.linux-armv7l-3.10/numpy/distutils
copying numpy/distutils/misc_util.py -> build/lib.linux-armv7l-3.10/numpy/distutils
copying numpy/distutils/msvccompiler.py -> build/lib.linux-armv7l-3.10/numpy/distutils
copying numpy/distutils/lib2def.py -> build/lib.linux-armv7l-3.10/numpy/distutils
copying numpy/distutils/log.py -> build/lib.linux-armv7l-3.10/numpy/distutils
copying numpy/distutils/setup.py -> build/lib.linux-armv7l-3.10/numpy/distutils
copying numpy/distutils/mingw32ccompiler.py -> build/lib.linux-armv7l-3.10/numpy/distutils
copying numpy/distutils/pathccompiler.py -> build/lib.linux-armv7l-3.10/numpy/distutils
copying numpy/distutils/numpy_distribution.py -> build/lib.linux-armv7l-3.10/numpy/distutils
copying numpy/distutils/msvc9compiler.py -> build/lib.linux-armv7l-3.10/numpy/distutils
copying numpy/distutils/ccompiler.py -> build/lib.linux-armv7l-3.10/numpy/distutils
copying numpy/distutils/core.py -> build/lib.linux-armv7l-3.10/numpy/distutils
copying numpy/distutils/system_info.py -> build/lib.linux-armv7l-3.10/numpy/distutils
copying numpy/distutils/unixccompiler.py -> build/lib.linux-armv7l-3.10/numpy/distutils
copying numpy/distutils/__init__.py -> build/lib.linux-armv7l-3.10/numpy/distutils
copying numpy/distutils/_shell_utils.py -> build/lib.linux-armv7l-3.10/numpy/distutils
copying numpy/distutils/extension.py -> build/lib.linux-armv7l-3.10/numpy/distutils
copying numpy/distutils/npy_pkg_config.py -> build/lib.linux-armv7l-3.10/numpy/distutils
copying numpy/distutils/cpuinfo.py -> build/lib.linux-armv7l-3.10/numpy/distutils
copying numpy/distutils/intelccompiler.py -> build/lib.linux-armv7l-3.10/numpy/distutils
copying numpy/distutils/from_template.py -> build/lib.linux-armv7l-3.10/numpy/distutils
copying build/src.linux-armv7l-3.10/numpy/distutils/__config__.py -> build/lib.linux-armv7l-3.10/numpy/distutils
creating build/lib.linux-armv7l-3.10/numpy/distutils/command
copying numpy/distutils/command/develop.py -> build/lib.linux-armv7l-3.10/numpy/distutils/command
copying numpy/distutils/command/autodist.py -> build/lib.linux-armv7l-3.10/numpy/distutils/command
copying numpy/distutils/command/build_ext.py -> build/lib.linux-armv7l-3.10/numpy/distutils/command
copying numpy/distutils/command/install.py -> build/lib.linux-armv7l-3.10/numpy/distutils/command
copying numpy/distutils/command/build_src.py -> build/lib.linux-armv7l-3.10/numpy/distutils/command
copying numpy/distutils/command/build_clib.py -> build/lib.linux-armv7l-3.10/numpy/distutils/command
copying numpy/distutils/command/install_headers.py -> build/lib.linux-armv7l-3.10/numpy/distutils/command
copying numpy/distutils/command/install_data.py -> build/lib.linux-armv7l-3.10/numpy/distutils/command
copying numpy/distutils/command/config_compiler.py -> build/lib.linux-armv7l-3.10/numpy/distutils/command
copying numpy/distutils/command/build.py -> build/lib.linux-armv7l-3.10/numpy/distutils/command
copying numpy/distutils/command/build_scripts.py -> build/lib.linux-armv7l-3.10/numpy/distutils/command
copying numpy/distutils/command/bdist_rpm.py -> build/lib.linux-armv7l-3.10/numpy/distutils/command
copying numpy/distutils/command/config.py -> build/lib.linux-armv7l-3.10/numpy/distutils/command
copying numpy/distutils/command/__init__.py -> build/lib.linux-armv7l-3.10/numpy/distutils/command
copying numpy/distutils/command/build_py.py -> build/lib.linux-armv7l-3.10/numpy/distutils/command
copying numpy/distutils/command/install_clib.py -> build/lib.linux-armv7l-3.10/numpy/distutils/command
copying numpy/distutils/command/sdist.py -> build/lib.linux-armv7l-3.10/numpy/distutils/command
copying numpy/distutils/command/egg_info.py -> build/lib.linux-armv7l-3.10/numpy/distutils/command
creating build/lib.linux-armv7l-3.10/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/g95.py -> build/lib.linux-armv7l-3.10/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/nag.py -> build/lib.linux-armv7l-3.10/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/none.py -> build/lib.linux-armv7l-3.10/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/pathf95.py -> build/lib.linux-armv7l-3.10/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/lahey.py -> build/lib.linux-armv7l-3.10/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/sun.py -> build/lib.linux-armv7l-3.10/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/gnu.py -> build/lib.linux-armv7l-3.10/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/ibm.py -> build/lib.linux-armv7l-3.10/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/nv.py -> build/lib.linux-armv7l-3.10/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/environment.py -> build/lib.linux-armv7l-3.10/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/mips.py -> build/lib.linux-armv7l-3.10/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/vast.py -> build/lib.linux-armv7l-3.10/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/hpux.py -> build/lib.linux-armv7l-3.10/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/compaq.py -> build/lib.linux-armv7l-3.10/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/__init__.py -> build/lib.linux-armv7l-3.10/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/intel.py -> build/lib.linux-armv7l-3.10/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/absoft.py -> build/lib.linux-armv7l-3.10/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/pg.py -> build/lib.linux-armv7l-3.10/numpy/distutils/fcompiler
creating build/lib.linux-armv7l-3.10/numpy/distutils/tests
copying numpy/distutils/tests/test_fcompiler.py -> build/lib.linux-armv7l-3.10/numpy/distutils/tests
copying numpy/distutils/tests/test_npy_pkg_config.py -> build/lib.linux-armv7l-3.10/numpy/distutils/tests
copying numpy/distutils/tests/test_fcompiler_nagfor.py -> build/lib.linux-armv7l-3.10/numpy/distutils/tests
copying numpy/distutils/tests/test_system_info.py -> build/lib.linux-armv7l-3.10/numpy/distutils/tests
copying numpy/distutils/tests/test_fcompiler_intel.py -> build/lib.linux-armv7l-3.10/numpy/distutils/tests
copying numpy/distutils/tests/test_misc_util.py -> build/lib.linux-armv7l-3.10/numpy/distutils/tests
copying numpy/distutils/tests/test_from_template.py -> build/lib.linux-armv7l-3.10/numpy/distutils/tests
copying numpy/distutils/tests/test_fcompiler_gnu.py -> build/lib.linux-armv7l-3.10/numpy/distutils/tests
copying numpy/distutils/tests/test_exec_command.py -> build/lib.linux-armv7l-3.10/numpy/distutils/tests
copying numpy/distutils/tests/test_mingw32ccompiler.py -> build/lib.linux-armv7l-3.10/numpy/distutils/tests
copying numpy/distutils/tests/__init__.py -> build/lib.linux-armv7l-3.10/numpy/distutils/tests
copying numpy/distutils/tests/test_shell_utils.py -> build/lib.linux-armv7l-3.10/numpy/distutils/tests
creating build/lib.linux-armv7l-3.10/numpy/doc
copying numpy/doc/indexing.py -> build/lib.linux-armv7l-3.10/numpy/doc
copying numpy/doc/dispatch.py -> build/lib.linux-armv7l-3.10/numpy/doc
copying numpy/doc/basics.py -> build/lib.linux-armv7l-3.10/numpy/doc
copying numpy/doc/constants.py -> build/lib.linux-armv7l-3.10/numpy/doc
copying numpy/doc/structured_arrays.py -> build/lib.linux-armv7l-3.10/numpy/doc
copying numpy/doc/ufuncs.py -> build/lib.linux-armv7l-3.10/numpy/doc
copying numpy/doc/creation.py -> build/lib.linux-armv7l-3.10/numpy/doc
copying numpy/doc/broadcasting.py -> build/lib.linux-armv7l-3.10/numpy/doc
copying numpy/doc/internals.py -> build/lib.linux-armv7l-3.10/numpy/doc
copying numpy/doc/byteswapping.py -> build/lib.linux-armv7l-3.10/numpy/doc
copying numpy/doc/__init__.py -> build/lib.linux-armv7l-3.10/numpy/doc
copying numpy/doc/subclassing.py -> build/lib.linux-armv7l-3.10/numpy/doc
copying numpy/doc/misc.py -> build/lib.linux-armv7l-3.10/numpy/doc
copying numpy/doc/glossary.py -> build/lib.linux-armv7l-3.10/numpy/doc
creating build/lib.linux-armv7l-3.10/numpy/f2py
copying numpy/f2py/f2py2e.py -> build/lib.linux-armv7l-3.10/numpy/f2py
copying numpy/f2py/f90mod_rules.py -> build/lib.linux-armv7l-3.10/numpy/f2py
copying numpy/f2py/diagnose.py -> build/lib.linux-armv7l-3.10/numpy/f2py
copying numpy/f2py/crackfortran.py -> build/lib.linux-armv7l-3.10/numpy/f2py
copying numpy/f2py/__version__.py -> build/lib.linux-armv7l-3.10/numpy/f2py
copying numpy/f2py/auxfuncs.py -> build/lib.linux-armv7l-3.10/numpy/f2py
copying numpy/f2py/rules.py -> build/lib.linux-armv7l-3.10/numpy/f2py
copying numpy/f2py/cfuncs.py -> build/lib.linux-armv7l-3.10/numpy/f2py
copying numpy/f2py/f2py_testing.py -> build/lib.linux-armv7l-3.10/numpy/f2py
copying numpy/f2py/setup.py -> build/lib.linux-armv7l-3.10/numpy/f2py
copying numpy/f2py/__init__.py -> build/lib.linux-armv7l-3.10/numpy/f2py
copying numpy/f2py/cb_rules.py -> build/lib.linux-armv7l-3.10/numpy/f2py
copying numpy/f2py/use_rules.py -> build/lib.linux-armv7l-3.10/numpy/f2py
copying numpy/f2py/common_rules.py -> build/lib.linux-armv7l-3.10/numpy/f2py
copying numpy/f2py/__main__.py -> build/lib.linux-armv7l-3.10/numpy/f2py
copying numpy/f2py/capi_maps.py -> build/lib.linux-armv7l-3.10/numpy/f2py
copying numpy/f2py/func2subr.py -> build/lib.linux-armv7l-3.10/numpy/f2py
creating build/lib.linux-armv7l-3.10/numpy/f2py/tests
copying numpy/f2py/tests/test_return_complex.py -> build/lib.linux-armv7l-3.10/numpy/f2py/tests
copying numpy/f2py/tests/test_callback.py -> build/lib.linux-armv7l-3.10/numpy/f2py/tests
copying numpy/f2py/tests/test_common.py -> build/lib.linux-armv7l-3.10/numpy/f2py/tests
copying numpy/f2py/tests/test_kind.py -> build/lib.linux-armv7l-3.10/numpy/f2py/tests
copying numpy/f2py/tests/test_assumed_shape.py -> build/lib.linux-armv7l-3.10/numpy/f2py/tests
copying numpy/f2py/tests/test_regression.py -> build/lib.linux-armv7l-3.10/numpy/f2py/tests
copying numpy/f2py/tests/test_return_logical.py -> build/lib.linux-armv7l-3.10/numpy/f2py/tests
copying numpy/f2py/tests/test_return_real.py -> build/lib.linux-armv7l-3.10/numpy/f2py/tests
copying numpy/f2py/tests/util.py -> build/lib.linux-armv7l-3.10/numpy/f2py/tests
copying numpy/f2py/tests/test_block_docstring.py -> build/lib.linux-armv7l-3.10/numpy/f2py/tests
copying numpy/f2py/tests/test_string.py -> build/lib.linux-armv7l-3.10/numpy/f2py/tests
copying numpy/f2py/tests/test_compile_function.py -> build/lib.linux-armv7l-3.10/numpy/f2py/tests
copying numpy/f2py/tests/test_parameter.py -> build/lib.linux-armv7l-3.10/numpy/f2py/tests
copying numpy/f2py/tests/test_semicolon_split.py -> build/lib.linux-armv7l-3.10/numpy/f2py/tests
copying numpy/f2py/tests/test_crackfortran.py -> build/lib.linux-armv7l-3.10/numpy/f2py/tests
copying numpy/f2py/tests/test_quoted_character.py -> build/lib.linux-armv7l-3.10/numpy/f2py/tests
copying numpy/f2py/tests/test_array_from_pyobj.py -> build/lib.linux-armv7l-3.10/numpy/f2py/tests
copying numpy/f2py/tests/test_size.py -> build/lib.linux-armv7l-3.10/numpy/f2py/tests
copying numpy/f2py/tests/test_return_integer.py -> build/lib.linux-armv7l-3.10/numpy/f2py/tests
copying numpy/f2py/tests/__init__.py -> build/lib.linux-armv7l-3.10/numpy/f2py/tests
copying numpy/f2py/tests/test_mixed.py -> build/lib.linux-armv7l-3.10/numpy/f2py/tests
copying numpy/f2py/tests/test_return_character.py -> build/lib.linux-armv7l-3.10/numpy/f2py/tests
creating build/lib.linux-armv7l-3.10/numpy/fft
copying numpy/fft/helper.py -> build/lib.linux-armv7l-3.10/numpy/fft
copying numpy/fft/_pocketfft.py -> build/lib.linux-armv7l-3.10/numpy/fft
copying numpy/fft/setup.py -> build/lib.linux-armv7l-3.10/numpy/fft
copying numpy/fft/__init__.py -> build/lib.linux-armv7l-3.10/numpy/fft
creating build/lib.linux-armv7l-3.10/numpy/fft/tests
copying numpy/fft/tests/test_helper.py -> build/lib.linux-armv7l-3.10/numpy/fft/tests
copying numpy/fft/tests/test_pocketfft.py -> build/lib.linux-armv7l-3.10/numpy/fft/tests
copying numpy/fft/tests/__init__.py -> build/lib.linux-armv7l-3.10/numpy/fft/tests
creating build/lib.linux-armv7l-3.10/numpy/lib
copying numpy/lib/shape_base.py -> build/lib.linux-armv7l-3.10/numpy/lib
copying numpy/lib/twodim_base.py -> build/lib.linux-armv7l-3.10/numpy/lib
copying numpy/lib/nanfunctions.py -> build/lib.linux-armv7l-3.10/numpy/lib
copying numpy/lib/stride_tricks.py -> build/lib.linux-armv7l-3.10/numpy/lib
copying numpy/lib/mixins.py -> build/lib.linux-armv7l-3.10/numpy/lib
copying numpy/lib/index_tricks.py -> build/lib.linux-armv7l-3.10/numpy/lib
copying numpy/lib/_iotools.py -> build/lib.linux-armv7l-3.10/numpy/lib
copying numpy/lib/arraysetops.py -> build/lib.linux-armv7l-3.10/numpy/lib
copying numpy/lib/type_check.py -> build/lib.linux-armv7l-3.10/numpy/lib
copying numpy/lib/format.py -> build/lib.linux-armv7l-3.10/numpy/lib
copying numpy/lib/setup.py -> build/lib.linux-armv7l-3.10/numpy/lib
copying numpy/lib/user_array.py -> build/lib.linux-armv7l-3.10/numpy/lib
copying numpy/lib/financial.py -> build/lib.linux-armv7l-3.10/numpy/lib
copying numpy/lib/recfunctions.py -> build/lib.linux-armv7l-3.10/numpy/lib
copying numpy/lib/arraypad.py -> build/lib.linux-armv7l-3.10/numpy/lib
copying numpy/lib/ufunclike.py -> build/lib.linux-armv7l-3.10/numpy/lib
copying numpy/lib/histograms.py -> build/lib.linux-armv7l-3.10/numpy/lib
copying numpy/lib/__init__.py -> build/lib.linux-armv7l-3.10/numpy/lib
copying numpy/lib/arrayterator.py -> build/lib.linux-armv7l-3.10/numpy/lib
copying numpy/lib/_version.py -> build/lib.linux-armv7l-3.10/numpy/lib
copying numpy/lib/utils.py -> build/lib.linux-armv7l-3.10/numpy/lib
copying numpy/lib/function_base.py -> build/lib.linux-armv7l-3.10/numpy/lib
copying numpy/lib/npyio.py -> build/lib.linux-armv7l-3.10/numpy/lib
copying numpy/lib/polynomial.py -> build/lib.linux-armv7l-3.10/numpy/lib
copying numpy/lib/_datasource.py -> build/lib.linux-armv7l-3.10/numpy/lib
copying numpy/lib/scimath.py -> build/lib.linux-armv7l-3.10/numpy/lib
creating build/lib.linux-armv7l-3.10/numpy/lib/tests
copying numpy/lib/tests/test_utils.py -> build/lib.linux-armv7l-3.10/numpy/lib/tests
copying numpy/lib/tests/test_stride_tricks.py -> build/lib.linux-armv7l-3.10/numpy/lib/tests
copying numpy/lib/tests/test_function_base.py -> build/lib.linux-armv7l-3.10/numpy/lib/tests
copying numpy/lib/tests/test_ufunclike.py -> build/lib.linux-armv7l-3.10/numpy/lib/tests
copying numpy/lib/tests/test_index_tricks.py -> build/lib.linux-armv7l-3.10/numpy/lib/tests
copying numpy/lib/tests/test_twodim_base.py -> build/lib.linux-armv7l-3.10/numpy/lib/tests
copying numpy/lib/tests/test_arraypad.py -> build/lib.linux-armv7l-3.10/numpy/lib/tests
copying numpy/lib/tests/test_regression.py -> build/lib.linux-armv7l-3.10/numpy/lib/tests
copying numpy/lib/tests/test_io.py -> build/lib.linux-armv7l-3.10/numpy/lib/tests
copying numpy/lib/tests/test_arrayterator.py -> build/lib.linux-armv7l-3.10/numpy/lib/tests
copying numpy/lib/tests/test_shape_base.py -> build/lib.linux-armv7l-3.10/numpy/lib/tests
copying numpy/lib/tests/test_financial.py -> build/lib.linux-armv7l-3.10/numpy/lib/tests
copying numpy/lib/tests/test_format.py -> build/lib.linux-armv7l-3.10/numpy/lib/tests
copying numpy/lib/tests/test__datasource.py -> build/lib.linux-armv7l-3.10/numpy/lib/tests
copying numpy/lib/tests/test_nanfunctions.py -> build/lib.linux-armv7l-3.10/numpy/lib/tests
copying numpy/lib/tests/test_mixins.py -> build/lib.linux-armv7l-3.10/numpy/lib/tests
copying numpy/lib/tests/test_type_check.py -> build/lib.linux-armv7l-3.10/numpy/lib/tests
copying numpy/lib/tests/test_recfunctions.py -> build/lib.linux-armv7l-3.10/numpy/lib/tests
copying numpy/lib/tests/test_histograms.py -> build/lib.linux-armv7l-3.10/numpy/lib/tests
copying numpy/lib/tests/test__version.py -> build/lib.linux-armv7l-3.10/numpy/lib/tests
copying numpy/lib/tests/__init__.py -> build/lib.linux-armv7l-3.10/numpy/lib/tests
copying numpy/lib/tests/test_arraysetops.py -> build/lib.linux-armv7l-3.10/numpy/lib/tests
copying numpy/lib/tests/test_polynomial.py -> build/lib.linux-armv7l-3.10/numpy/lib/tests
copying numpy/lib/tests/test_packbits.py -> build/lib.linux-armv7l-3.10/numpy/lib/tests
copying numpy/lib/tests/test__iotools.py -> build/lib.linux-armv7l-3.10/numpy/lib/tests
creating build/lib.linux-armv7l-3.10/numpy/linalg
copying numpy/linalg/setup.py -> build/lib.linux-armv7l-3.10/numpy/linalg
copying numpy/linalg/__init__.py -> build/lib.linux-armv7l-3.10/numpy/linalg
copying numpy/linalg/linalg.py -> build/lib.linux-armv7l-3.10/numpy/linalg
creating build/lib.linux-armv7l-3.10/numpy/linalg/tests
copying numpy/linalg/tests/test_linalg.py -> build/lib.linux-armv7l-3.10/numpy/linalg/tests
copying numpy/linalg/tests/test_regression.py -> build/lib.linux-armv7l-3.10/numpy/linalg/tests
copying numpy/linalg/tests/test_deprecations.py -> build/lib.linux-armv7l-3.10/numpy/linalg/tests
copying numpy/linalg/tests/__init__.py -> build/lib.linux-armv7l-3.10/numpy/linalg/tests
copying numpy/linalg/tests/test_build.py -> build/lib.linux-armv7l-3.10/numpy/linalg/tests
creating build/lib.linux-armv7l-3.10/numpy/ma
copying numpy/ma/mrecords.py -> build/lib.linux-armv7l-3.10/numpy/ma
copying numpy/ma/bench.py -> build/lib.linux-armv7l-3.10/numpy/ma
copying numpy/ma/extras.py -> build/lib.linux-armv7l-3.10/numpy/ma
copying numpy/ma/timer_comparison.py -> build/lib.linux-armv7l-3.10/numpy/ma
copying numpy/ma/setup.py -> build/lib.linux-armv7l-3.10/numpy/ma
copying numpy/ma/core.py -> build/lib.linux-armv7l-3.10/numpy/ma
copying numpy/ma/__init__.py -> build/lib.linux-armv7l-3.10/numpy/ma
copying numpy/ma/testutils.py -> build/lib.linux-armv7l-3.10/numpy/ma
creating build/lib.linux-armv7l-3.10/numpy/ma/tests
copying numpy/ma/tests/test_subclassing.py -> build/lib.linux-armv7l-3.10/numpy/ma/tests
copying numpy/ma/tests/test_regression.py -> build/lib.linux-armv7l-3.10/numpy/ma/tests
copying numpy/ma/tests/test_deprecations.py -> build/lib.linux-armv7l-3.10/numpy/ma/tests
copying numpy/ma/tests/test_old_ma.py -> build/lib.linux-armv7l-3.10/numpy/ma/tests
copying numpy/ma/tests/test_mrecords.py -> build/lib.linux-armv7l-3.10/numpy/ma/tests
copying numpy/ma/tests/test_core.py -> build/lib.linux-armv7l-3.10/numpy/ma/tests
copying numpy/ma/tests/__init__.py -> build/lib.linux-armv7l-3.10/numpy/ma/tests
copying numpy/ma/tests/test_extras.py -> build/lib.linux-armv7l-3.10/numpy/ma/tests
creating build/lib.linux-armv7l-3.10/numpy/matrixlib
copying numpy/matrixlib/defmatrix.py -> build/lib.linux-armv7l-3.10/numpy/matrixlib
copying numpy/matrixlib/setup.py -> build/lib.linux-armv7l-3.10/numpy/matrixlib
copying numpy/matrixlib/__init__.py -> build/lib.linux-armv7l-3.10/numpy/matrixlib
creating build/lib.linux-armv7l-3.10/numpy/matrixlib/tests
copying numpy/matrixlib/tests/test_defmatrix.py -> build/lib.linux-armv7l-3.10/numpy/matrixlib/tests
copying numpy/matrixlib/tests/test_regression.py -> build/lib.linux-armv7l-3.10/numpy/matrixlib/tests
copying numpy/matrixlib/tests/test_matrix_linalg.py -> build/lib.linux-armv7l-3.10/numpy/matrixlib/tests
copying numpy/matrixlib/tests/test_multiarray.py -> build/lib.linux-armv7l-3.10/numpy/matrixlib/tests
copying numpy/matrixlib/tests/test_numeric.py -> build/lib.linux-armv7l-3.10/numpy/matrixlib/tests
copying numpy/matrixlib/tests/test_masked_matrix.py -> build/lib.linux-armv7l-3.10/numpy/matrixlib/tests
copying numpy/matrixlib/tests/__init__.py -> build/lib.linux-armv7l-3.10/numpy/matrixlib/tests
copying numpy/matrixlib/tests/test_interaction.py -> build/lib.linux-armv7l-3.10/numpy/matrixlib/tests
creating build/lib.linux-armv7l-3.10/numpy/polynomial
copying numpy/polynomial/legendre.py -> build/lib.linux-armv7l-3.10/numpy/polynomial
copying numpy/polynomial/laguerre.py -> build/lib.linux-armv7l-3.10/numpy/polynomial
copying numpy/polynomial/_polybase.py -> build/lib.linux-armv7l-3.10/numpy/polynomial
copying numpy/polynomial/chebyshev.py -> build/lib.linux-armv7l-3.10/numpy/polynomial
copying numpy/polynomial/hermite_e.py -> build/lib.linux-armv7l-3.10/numpy/polynomial
copying numpy/polynomial/hermite.py -> build/lib.linux-armv7l-3.10/numpy/polynomial
copying numpy/polynomial/polyutils.py -> build/lib.linux-armv7l-3.10/numpy/polynomial
copying numpy/polynomial/setup.py -> build/lib.linux-armv7l-3.10/numpy/polynomial
copying numpy/polynomial/__init__.py -> build/lib.linux-armv7l-3.10/numpy/polynomial
copying numpy/polynomial/polynomial.py -> build/lib.linux-armv7l-3.10/numpy/polynomial
creating build/lib.linux-armv7l-3.10/numpy/polynomial/tests
copying numpy/polynomial/tests/test_laguerre.py -> build/lib.linux-armv7l-3.10/numpy/polynomial/tests
copying numpy/polynomial/tests/test_printing.py -> build/lib.linux-armv7l-3.10/numpy/polynomial/tests
copying numpy/polynomial/tests/test_legendre.py -> build/lib.linux-armv7l-3.10/numpy/polynomial/tests
copying numpy/polynomial/tests/test_hermite_e.py -> build/lib.linux-armv7l-3.10/numpy/polynomial/tests
copying numpy/polynomial/tests/test_classes.py -> build/lib.linux-armv7l-3.10/numpy/polynomial/tests
copying numpy/polynomial/tests/__init__.py -> build/lib.linux-armv7l-3.10/numpy/polynomial/tests
copying numpy/polynomial/tests/test_polynomial.py -> build/lib.linux-armv7l-3.10/numpy/polynomial/tests
copying numpy/polynomial/tests/test_polyutils.py -> build/lib.linux-armv7l-3.10/numpy/polynomial/tests
copying numpy/polynomial/tests/test_chebyshev.py -> build/lib.linux-armv7l-3.10/numpy/polynomial/tests
copying numpy/polynomial/tests/test_hermite.py -> build/lib.linux-armv7l-3.10/numpy/polynomial/tests
creating build/lib.linux-armv7l-3.10/numpy/random
copying numpy/random/_pickle.py -> build/lib.linux-armv7l-3.10/numpy/random
copying numpy/random/setup.py -> build/lib.linux-armv7l-3.10/numpy/random
copying numpy/random/__init__.py -> build/lib.linux-armv7l-3.10/numpy/random
creating build/lib.linux-armv7l-3.10/numpy/random/tests
copying numpy/random/tests/test_randomstate_regression.py -> build/lib.linux-armv7l-3.10/numpy/random/tests
copying numpy/random/tests/test_smoke.py -> build/lib.linux-armv7l-3.10/numpy/random/tests
copying numpy/random/tests/test_randomstate.py -> build/lib.linux-armv7l-3.10/numpy/random/tests
copying numpy/random/tests/test_regression.py -> build/lib.linux-armv7l-3.10/numpy/random/tests
copying numpy/random/tests/test_generator_mt19937.py -> build/lib.linux-armv7l-3.10/numpy/random/tests
copying numpy/random/tests/test_random.py -> build/lib.linux-armv7l-3.10/numpy/random/tests
copying numpy/random/tests/test_direct.py -> build/lib.linux-armv7l-3.10/numpy/random/tests
copying numpy/random/tests/test_generator_mt19937_regressions.py -> build/lib.linux-armv7l-3.10/numpy/random/tests
copying numpy/random/tests/test_seed_sequence.py -> build/lib.linux-armv7l-3.10/numpy/random/tests
copying numpy/random/tests/test_extending.py -> build/lib.linux-armv7l-3.10/numpy/random/tests
copying numpy/random/tests/__init__.py -> build/lib.linux-armv7l-3.10/numpy/random/tests
creating build/lib.linux-armv7l-3.10/numpy/testing
copying numpy/testing/setup.py -> build/lib.linux-armv7l-3.10/numpy/testing
copying numpy/testing/print_coercion_tables.py -> build/lib.linux-armv7l-3.10/numpy/testing
copying numpy/testing/__init__.py -> build/lib.linux-armv7l-3.10/numpy/testing
copying numpy/testing/utils.py -> build/lib.linux-armv7l-3.10/numpy/testing
creating build/lib.linux-armv7l-3.10/numpy/testing/_private
copying numpy/testing/_private/nosetester.py -> build/lib.linux-armv7l-3.10/numpy/testing/_private
copying numpy/testing/_private/parameterized.py -> build/lib.linux-armv7l-3.10/numpy/testing/_private
copying numpy/testing/_private/__init__.py -> build/lib.linux-armv7l-3.10/numpy/testing/_private
copying numpy/testing/_private/utils.py -> build/lib.linux-armv7l-3.10/numpy/testing/_private
copying numpy/testing/_private/noseclasses.py -> build/lib.linux-armv7l-3.10/numpy/testing/_private
copying numpy/testing/_private/decorators.py -> build/lib.linux-armv7l-3.10/numpy/testing/_private
creating build/lib.linux-armv7l-3.10/numpy/testing/tests
copying numpy/testing/tests/test_utils.py -> build/lib.linux-armv7l-3.10/numpy/testing/tests
copying numpy/testing/tests/test_doctesting.py -> build/lib.linux-armv7l-3.10/numpy/testing/tests
copying numpy/testing/tests/test_decorators.py -> build/lib.linux-armv7l-3.10/numpy/testing/tests
copying numpy/testing/tests/__init__.py -> build/lib.linux-armv7l-3.10/numpy/testing/tests
creating build/lib.linux-armv7l-3.10/numpy/tests
copying numpy/tests/test_scripts.py -> build/lib.linux-armv7l-3.10/numpy/tests
copying numpy/tests/test_reloading.py -> build/lib.linux-armv7l-3.10/numpy/tests
copying numpy/tests/test_ctypeslib.py -> build/lib.linux-armv7l-3.10/numpy/tests
copying numpy/tests/test_public_api.py -> build/lib.linux-armv7l-3.10/numpy/tests
copying numpy/tests/test_warnings.py -> build/lib.linux-armv7l-3.10/numpy/tests
copying numpy/tests/test_numpy_version.py -> build/lib.linux-armv7l-3.10/numpy/tests
copying numpy/tests/__init__.py -> build/lib.linux-armv7l-3.10/numpy/tests
copying numpy/tests/test_matlib.py -> build/lib.linux-armv7l-3.10/numpy/tests
running build_clib
customize UnixCCompiler
customize UnixCCompiler using new_build_clib
building 'npymath' library
compiling C sources
C compiler: gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC

creating build/temp.linux-armv7l-3.10
creating build/temp.linux-armv7l-3.10/numpy
creating build/temp.linux-armv7l-3.10/numpy/core
creating build/temp.linux-armv7l-3.10/numpy/core/src
creating build/temp.linux-armv7l-3.10/numpy/core/src/npymath
creating build/temp.linux-armv7l-3.10/build
creating build/temp.linux-armv7l-3.10/build/src.linux-armv7l-3.10
creating build/temp.linux-armv7l-3.10/build/src.linux-armv7l-3.10/numpy
creating build/temp.linux-armv7l-3.10/build/src.linux-armv7l-3.10/numpy/core
creating build/temp.linux-armv7l-3.10/build/src.linux-armv7l-3.10/numpy/core/src
creating build/temp.linux-armv7l-3.10/build/src.linux-armv7l-3.10/numpy/core/src/npymath
compile options: '-Ibuild/src.linux-armv7l-3.10/numpy/core/src/npymath -Inumpy/core/include -Ibuild/src.linux-armv7l-3.10/numpy/core/include/numpy -Inumpy/core/src/common -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/home/hesperosaurus/.pyenv/versions/3.10.0/include/python3.10 -Ibuild/src.linux-armv7l-3.10/numpy/core/src/common -Ibuild/src.linux-armv7l-3.10/numpy/core/src/npymath -c'
extra options: '-std=c99'
gcc: numpy/core/src/npymath/npy_math.c
gcc: build/src.linux-armv7l-3.10/numpy/core/src/npymath/ieee754.c
gcc: build/src.linux-armv7l-3.10/numpy/core/src/npymath/npy_math_complex.c
gcc: numpy/core/src/npymath/halffloat.c
In file included from numpy/core/src/npymath/npy_math.c:9:
numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_modfl’:
numpy/core/src/npymath/npy_math_internal.h.src:490:21: warning: passing argument 2 of ‘modfl’ from incompatible pointer type [-Wincompatible-pointer-types]
     return modf@c@(x, iptr);
                     ^~~~
In file included from /home/hesperosaurus/.pyenv/versions/3.10.0/include/python3.10/pyport.h:210,
                 from /home/hesperosaurus/.pyenv/versions/3.10.0/include/python3.10/Python.h:63,
                 from numpy/core/src/npymath/npy_math_private.h:21,
                 from numpy/core/src/npymath/npy_math_internal.h.src:56,
                 from numpy/core/src/npymath/npy_math.c:9:
/usr/include/arm-linux-gnueabihf/bits/mathcalls.h:110:1: note: expected ‘long double *’ but argument is of type ‘npy_longdouble *’ {aka ‘double *’}
 __MATHCALL (modf,, (_Mdouble_ __x, _Mdouble_ *__iptr)) __nonnull ((2));
 ^
ar: adding 4 object files to build/temp.linux-armv7l-3.10/libnpymath.a
building 'npysort' library
compiling C sources
C compiler: gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC

creating build/temp.linux-armv7l-3.10/build/src.linux-armv7l-3.10/numpy/core/src/npysort
compile options: '-Ibuild/src.linux-armv7l-3.10/numpy/core/src/common -Inumpy/core/include -Ibuild/src.linux-armv7l-3.10/numpy/core/include/numpy -Inumpy/core/src/common -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/home/hesperosaurus/.pyenv/versions/3.10.0/include/python3.10 -Ibuild/src.linux-armv7l-3.10/numpy/core/src/common -Ibuild/src.linux-armv7l-3.10/numpy/core/src/npymath -c'
extra options: '-std=c99'
gcc: build/src.linux-armv7l-3.10/numpy/core/src/npysort/quicksort.c
gcc: build/src.linux-armv7l-3.10/numpy/core/src/npysort/mergesort.c
gcc: build/src.linux-armv7l-3.10/numpy/core/src/npysort/timsort.c
gcc: build/src.linux-armv7l-3.10/numpy/core/src/npysort/heapsort.c
gcc: build/src.linux-armv7l-3.10/numpy/core/src/npysort/radixsort.c
gcc: build/src.linux-armv7l-3.10/numpy/core/src/npysort/selection.c
gcc: build/src.linux-armv7l-3.10/numpy/core/src/npysort/binsearch.c
ar: adding 7 object files to build/temp.linux-armv7l-3.10/libnpysort.a
building 'npyrandom' library
compiling C sources
C compiler: gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC

creating build/temp.linux-armv7l-3.10/numpy/random
creating build/temp.linux-armv7l-3.10/numpy/random/src
creating build/temp.linux-armv7l-3.10/numpy/random/src/distributions
compile options: '-Inumpy/core/include -Ibuild/src.linux-armv7l-3.10/numpy/core/include/numpy -Inumpy/core/src/common -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/home/hesperosaurus/.pyenv/versions/3.10.0/include/python3.10 -Ibuild/src.linux-armv7l-3.10/numpy/core/src/common -Ibuild/src.linux-armv7l-3.10/numpy/core/src/npymath -c'
extra options: '-std=c99'
gcc: numpy/random/src/distributions/logfactorial.c
gcc: numpy/random/src/distributions/distributions.c
gcc: numpy/random/src/distributions/random_mvhg_count.c
gcc: numpy/random/src/distributions/random_mvhg_marginals.c
gcc: numpy/random/src/distributions/random_hypergeometric.c
ar: adding 5 object files to build/temp.linux-armv7l-3.10/libnpyrandom.a
running build_ext
customize UnixCCompiler
customize UnixCCompiler using new_build_ext
building 'numpy.core._multiarray_tests' extension
compiling C sources
C compiler: gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC

creating build/temp.linux-armv7l-3.10/build/src.linux-armv7l-3.10/numpy/core/src/multiarray
creating build/temp.linux-armv7l-3.10/numpy/core/src/common
compile options: '-DNPY_INTERNAL_BUILD=1 -DHAVE_NPY_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -Inumpy/core/include -Ibuild/src.linux-armv7l-3.10/numpy/core/include/numpy -Inumpy/core/src/common -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/home/hesperosaurus/.pyenv/versions/3.10.0/include/python3.10 -Ibuild/src.linux-armv7l-3.10/numpy/core/src/common -Ibuild/src.linux-armv7l-3.10/numpy/core/src/npymath -c'
extra options: '-std=c99'
gcc: build/src.linux-armv7l-3.10/numpy/core/src/multiarray/_multiarray_tests.c
gcc: numpy/core/src/common/mem_overlap.c
In file included from numpy/core/include/numpy/npy_math.h:596,
                 from numpy/core/src/multiarray/_multiarray_tests.c.src:7:
numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_modfl’:
numpy/core/src/npymath/npy_math_internal.h.src:490:21: warning: passing argument 2 of ‘modfl’ from incompatible pointer type [-Wincompatible-pointer-types]
     return modf@c@(x, iptr);
                     ^~~~
In file included from /home/hesperosaurus/.pyenv/versions/3.10.0/include/python3.10/pyport.h:210,
                 from /home/hesperosaurus/.pyenv/versions/3.10.0/include/python3.10/Python.h:63,
                 from numpy/core/src/multiarray/_multiarray_tests.c.src:3:
/usr/include/arm-linux-gnueabihf/bits/mathcalls.h:110:1: note: expected ‘long double *’ but argument is of type ‘npy_longdouble *’ {aka ‘double *’}
 __MATHCALL (modf,, (_Mdouble_ __x, _Mdouble_ *__iptr)) __nonnull ((2));
 ^
numpy/core/src/multiarray/_multiarray_tests.c.src: In function ‘array_solve_diophantine’:
numpy/core/src/multiarray/_multiarray_tests.c.src:1152:29: warning: comparison of integer expressions of different signedness: ‘Py_ssize_t’ {aka ‘int’} and ‘unsigned int’ [-Wsign-compare]
     if (PyTuple_GET_SIZE(U) != nterms) {
                             ^~
numpy/core/src/multiarray/_multiarray_tests.c.src: In function ‘PrintFloat_Printf_g’:
numpy/core/src/multiarray/_multiarray_tests.c.src:1895:41: warning: format ‘%Lg’ expects argument of type ‘long double’, but argument 5 has type ‘npy_longdouble’ {aka ‘double’} [-Wformat=]
         PyOS_snprintf(str, sizeof(str), "%.*Lg", precision, x);
                                         ^~~~~~~             ~
gcc -pthread -shared -L/home/hesperosaurus/.pyenv/versions/3.10.0/lib -L/home/hesperosaurus/.pyenv/versions/3.10.0/lib build/temp.linux-armv7l-3.10/build/src.linux-armv7l-3.10/numpy/core/src/multiarray/_multiarray_tests.o build/temp.linux-armv7l-3.10/numpy/core/src/common/mem_overlap.o -Lbuild/temp.linux-armv7l-3.10 -lnpymath -o build/lib.linux-armv7l-3.10/numpy/core/_multiarray_tests.cpython-310-arm-linux-gnueabihf.so
building 'numpy.core._multiarray_umath' extension
compiling C sources
C compiler: gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC

creating build/temp.linux-armv7l-3.10/numpy/core/src/multiarray
creating build/temp.linux-armv7l-3.10/numpy/core/src/umath
creating build/temp.linux-armv7l-3.10/build/src.linux-armv7l-3.10/numpy/core/src/umath
creating build/temp.linux-armv7l-3.10/build/src.linux-armv7l-3.10/numpy/core/src/common
compile options: '-DNPY_INTERNAL_BUILD=1 -DHAVE_NPY_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -Ibuild/src.linux-armv7l-3.10/numpy/core/src/umath -Ibuild/src.linux-armv7l-3.10/numpy/core/src/npymath -Ibuild/src.linux-armv7l-3.10/numpy/core/src/common -Inumpy/core/include -Ibuild/src.linux-armv7l-3.10/numpy/core/include/numpy -Inumpy/core/src/common -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/home/hesperosaurus/.pyenv/versions/3.10.0/include/python3.10 -Ibuild/src.linux-armv7l-3.10/numpy/core/src/common -Ibuild/src.linux-armv7l-3.10/numpy/core/src/npymath -c'
extra options: '-std=c99'
gcc: numpy/core/src/multiarray/alloc.c
gcc: numpy/core/src/multiarray/datetime_strings.c
gcc: numpy/core/src/multiarray/convert.c
gcc: numpy/core/src/multiarray/arrayfunction_override.c
gcc: numpy/core/src/multiarray/arrayobject.c
gcc: numpy/core/src/multiarray/buffer.c
gcc: numpy/core/src/multiarray/convert_datatype.c
In file included from numpy/core/include/numpy/npy_math.h:596,
                 from numpy/core/src/multiarray/convert_datatype.c:13:
numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_modfl’:
numpy/core/src/npymath/npy_math_internal.h.src:490:21: warning: passing argument 2 of ‘modfl’ from incompatible pointer type [-Wincompatible-pointer-types]
     return modf@c@(x, iptr);
                     ^~~~
In file included from /home/hesperosaurus/.pyenv/versions/3.10.0/include/python3.10/pyport.h:210,
                 from /home/hesperosaurus/.pyenv/versions/3.10.0/include/python3.10/Python.h:63,
                 from numpy/core/src/multiarray/convert_datatype.c:2:
/usr/include/arm-linux-gnueabihf/bits/mathcalls.h:110:1: note: expected ‘long double *’ but argument is of type ‘npy_longdouble *’ {aka ‘double *’}
 __MATHCALL (modf,, (_Mdouble_ __x, _Mdouble_ *__iptr)) __nonnull ((2));
 ^
gcc: numpy/core/src/multiarray/datetime_busday.c
gcc: numpy/core/src/multiarray/calculation.c
gcc: numpy/core/src/multiarray/conversion_utils.c
gcc: numpy/core/src/multiarray/datetime_busdaycal.c
gcc: build/src.linux-armv7l-3.10/numpy/core/src/multiarray/arraytypes.c
gcc: numpy/core/src/multiarray/compiled_base.c
gcc: numpy/core/src/multiarray/descriptor.c
gcc: numpy/core/src/multiarray/ctors.c
In file included from numpy/core/include/numpy/npy_math.h:596,
                 from numpy/core/src/multiarray/arraytypes.c.src:16:
numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_modfl’:
numpy/core/src/npymath/npy_math_internal.h.src:490:21: warning: passing argument 2 of ‘modfl’ from incompatible pointer type [-Wincompatible-pointer-types]
     return modf@c@(x, iptr);
                     ^~~~
In file included from /home/hesperosaurus/.pyenv/versions/3.10.0/include/python3.10/pyport.h:210,
                 from /home/hesperosaurus/.pyenv/versions/3.10.0/include/python3.10/Python.h:63,
                 from numpy/core/src/multiarray/arraytypes.c.src:3:
/usr/include/arm-linux-gnueabihf/bits/mathcalls.h:110:1: note: expected ‘long double *’ but argument is of type ‘npy_longdouble *’ {aka ‘double *’}
 __MATHCALL (modf,, (_Mdouble_ __x, _Mdouble_ *__iptr)) __nonnull ((2));
 ^
In file included from numpy/core/include/numpy/npy_math.h:596,
                 from numpy/core/src/multiarray/compiled_base.c:9:
numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_modfl’:
numpy/core/src/npymath/npy_math_internal.h.src:490:21: warning: passing argument 2 of ‘modfl’ from incompatible pointer type [-Wincompatible-pointer-types]
     return modf@c@(x, iptr);
                     ^~~~
In file included from /home/hesperosaurus/.pyenv/versions/3.10.0/include/python3.10/pyport.h:210,
                 from /home/hesperosaurus/.pyenv/versions/3.10.0/include/python3.10/Python.h:63,
                 from numpy/core/src/multiarray/compiled_base.c:2:
/usr/include/arm-linux-gnueabihf/bits/mathcalls.h:110:1: note: expected ‘long double *’ but argument is of type ‘npy_longdouble *’ {aka ‘double *’}
 __MATHCALL (modf,, (_Mdouble_ __x, _Mdouble_ *__iptr)) __nonnull ((2));
 ^
In file included from numpy/core/include/numpy/npy_math.h:596,
                 from numpy/core/src/multiarray/ctors.c:10:
numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_modfl’:
numpy/core/src/npymath/npy_math_internal.h.src:490:21: warning: passing argument 2 of ‘modfl’ from incompatible pointer type [-Wincompatible-pointer-types]
     return modf@c@(x, iptr);
                     ^~~~
In file included from /home/hesperosaurus/.pyenv/versions/3.10.0/include/python3.10/pyport.h:210,
                 from /home/hesperosaurus/.pyenv/versions/3.10.0/include/python3.10/Python.h:63,
                 from numpy/core/src/multiarray/ctors.c:2:
/usr/include/arm-linux-gnueabihf/bits/mathcalls.h:110:1: note: expected ‘long double *’ but argument is of type ‘npy_longdouble *’ {aka ‘double *’}
 __MATHCALL (modf,, (_Mdouble_ __x, _Mdouble_ *__iptr)) __nonnull ((2));
 ^
gcc: numpy/core/src/multiarray/common.c
gcc: numpy/core/src/multiarray/dragon4.c
gcc: numpy/core/src/multiarray/dtype_transfer.c
gcc: numpy/core/src/multiarray/datetime.c
gcc: numpy/core/src/multiarray/item_selection.c
In file included from numpy/core/include/numpy/npy_math.h:596,
                 from numpy/core/src/multiarray/item_selection.c:10:
numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_modfl’:
numpy/core/src/npymath/npy_math_internal.h.src:490:21: warning: passing argument 2 of ‘modfl’ from incompatible pointer type [-Wincompatible-pointer-types]
     return modf@c@(x, iptr);
                     ^~~~
In file included from /home/hesperosaurus/.pyenv/versions/3.10.0/include/python3.10/pyport.h:210,
                 from /home/hesperosaurus/.pyenv/versions/3.10.0/include/python3.10/Python.h:63,
                 from numpy/core/src/multiarray/item_selection.c:2:
/usr/include/arm-linux-gnueabihf/bits/mathcalls.h:110:1: note: expected ‘long double *’ but argument is of type ‘npy_longdouble *’ {aka ‘double *’}
 __MATHCALL (modf,, (_Mdouble_ __x, _Mdouble_ *__iptr)) __nonnull ((2));
 ^
gcc: build/src.linux-armv7l-3.10/numpy/core/src/multiarray/einsum.c
In file included from numpy/core/include/numpy/npy_math.h:596,
                 from numpy/core/include/numpy/halffloat.h:5,
                 from numpy/core/src/multiarray/einsum.c.src:19:
numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_modfl’:
numpy/core/src/npymath/npy_math_internal.h.src:490:21: warning: passing argument 2 of ‘modfl’ from incompatible pointer type [-Wincompatible-pointer-types]
     return modf@c@(x, iptr);
                     ^~~~
In file included from /home/hesperosaurus/.pyenv/versions/3.10.0/include/python3.10/pyport.h:210,
                 from /home/hesperosaurus/.pyenv/versions/3.10.0/include/python3.10/Python.h:63,
                 from numpy/core/src/multiarray/einsum.c.src:12:
/usr/include/arm-linux-gnueabihf/bits/mathcalls.h:110:1: note: expected ‘long double *’ but argument is of type ‘npy_longdouble *’ {aka ‘double *’}
 __MATHCALL (modf,, (_Mdouble_ __x, _Mdouble_ *__iptr)) __nonnull ((2));
 ^
gcc: numpy/core/src/multiarray/multiarraymodule.c
In file included from numpy/core/include/numpy/npy_math.h:596,
                 from numpy/core/src/multiarray/multiarraymodule.c:28:
numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_modfl’:
numpy/core/src/npymath/npy_math_internal.h.src:490:21: warning: passing argument 2 of ‘modfl’ from incompatible pointer type [-Wincompatible-pointer-types]
     return modf@c@(x, iptr);
                     ^~~~
In file included from /home/hesperosaurus/.pyenv/versions/3.10.0/include/python3.10/pyport.h:210,
                 from /home/hesperosaurus/.pyenv/versions/3.10.0/include/python3.10/Python.h:63,
                 from numpy/core/src/multiarray/multiarraymodule.c:18:
/usr/include/arm-linux-gnueabihf/bits/mathcalls.h:110:1: note: expected ‘long double *’ but argument is of type ‘npy_longdouble *’ {aka ‘double *’}
 __MATHCALL (modf,, (_Mdouble_ __x, _Mdouble_ *__iptr)) __nonnull ((2));
 ^
gcc: numpy/core/src/multiarray/iterators.c
gcc: build/src.linux-armv7l-3.10/numpy/core/src/multiarray/lowlevel_strided_loops.c
In file included from numpy/core/include/numpy/npy_math.h:596,
                 from numpy/core/include/numpy/halffloat.h:5,
                 from numpy/core/src/multiarray/lowlevel_strided_loops.c.src:18:
numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_modfl’:
numpy/core/src/npymath/npy_math_internal.h.src:490:21: warning: passing argument 2 of ‘modfl’ from incompatible pointer type [-Wincompatible-pointer-types]
     return modf@c@(x, iptr);
                     ^~~~
In file included from /home/hesperosaurus/.pyenv/versions/3.10.0/include/python3.10/pyport.h:210,
                 from /home/hesperosaurus/.pyenv/versions/3.10.0/include/python3.10/Python.h:63,
                 from numpy/core/src/multiarray/lowlevel_strided_loops.c.src:12:
/usr/include/arm-linux-gnueabihf/bits/mathcalls.h:110:1: note: expected ‘long double *’ but argument is of type ‘npy_longdouble *’ {aka ‘double *’}
 __MATHCALL (modf,, (_Mdouble_ __x, _Mdouble_ *__iptr)) __nonnull ((2));
 ^
gcc: build/src.linux-armv7l-3.10/numpy/core/src/multiarray/nditer_templ.c
gcc: numpy/core/src/multiarray/flagsobject.c
gcc: numpy/core/src/multiarray/array_assign_scalar.c
gcc: numpy/core/src/multiarray/getset.c
gcc: numpy/core/src/multiarray/nditer_api.c
gcc: numpy/core/src/multiarray/array_assign_array.c
gcc: numpy/core/src/multiarray/number.c
gcc: numpy/core/src/multiarray/hashdescr.c
gcc: build/src.linux-armv7l-3.10/numpy/core/src/multiarray/scalartypes.c
In file included from numpy/core/include/numpy/npy_math.h:596,
                 from numpy/core/src/multiarray/scalartypes.c.src:12:
numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_modfl’:
numpy/core/src/npymath/npy_math_internal.h.src:490:21: warning: passing argument 2 of ‘modfl’ from incompatible pointer type [-Wincompatible-pointer-types]
     return modf@c@(x, iptr);
                     ^~~~
In file included from /home/hesperosaurus/.pyenv/versions/3.10.0/include/python3.10/pyport.h:210,
                 from /home/hesperosaurus/.pyenv/versions/3.10.0/include/python3.10/Python.h:63,
                 from numpy/core/src/multiarray/scalartypes.c.src:3:
/usr/include/arm-linux-gnueabihf/bits/mathcalls.h:110:1: note: expected ‘long double *’ but argument is of type ‘npy_longdouble *’ {aka ‘double *’}
 __MATHCALL (modf,, (_Mdouble_ __x, _Mdouble_ *__iptr)) __nonnull ((2));
 ^
numpy/core/src/multiarray/scalartypes.c.src: In function ‘float_arrtype_hash’:
numpy/core/src/multiarray/scalartypes.c.src:2967:27: error: incompatible type for argument 1 of ‘_Py_HashDouble’
     return _Py_HashDouble((double) PyArrayScalar_VAL(obj, @name@));
In file included from /home/hesperosaurus/.pyenv/versions/3.10.0/include/python3.10/Python.h:90,
                 from numpy/core/src/multiarray/scalartypes.c.src:3:
/home/hesperosaurus/.pyenv/versions/3.10.0/include/python3.10/pyhash.h:10:38: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘double’
 PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
                                      ^~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src:2967:12: error: too few arguments to function ‘_Py_HashDouble’
     return _Py_HashDouble((double) PyArrayScalar_VAL(obj, @name@));
            ^~~~~~~~~~~~~~
In file included from /home/hesperosaurus/.pyenv/versions/3.10.0/include/python3.10/Python.h:90,
                 from numpy/core/src/multiarray/scalartypes.c.src:3:
/home/hesperosaurus/.pyenv/versions/3.10.0/include/python3.10/pyhash.h:10:23: note: declared here
 PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
                       ^~~~~~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src: In function ‘cfloat_arrtype_hash’:
numpy/core/src/multiarray/scalartypes.c.src:2975:31: error: incompatible type for argument 1 of ‘_Py_HashDouble’
     hashreal = _Py_HashDouble((double)
                               ^~~~~~~~
             PyArrayScalar_VAL(obj, C@name@).real);
             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/hesperosaurus/.pyenv/versions/3.10.0/include/python3.10/Python.h:90,
                 from numpy/core/src/multiarray/scalartypes.c.src:3:
/home/hesperosaurus/.pyenv/versions/3.10.0/include/python3.10/pyhash.h:10:38: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘double’
 PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
                                      ^~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src:2975:16: error: too few arguments to function ‘_Py_HashDouble’
     hashreal = _Py_HashDouble((double)
                ^~~~~~~~~~~~~~
In file included from /home/hesperosaurus/.pyenv/versions/3.10.0/include/python3.10/Python.h:90,
                 from numpy/core/src/multiarray/scalartypes.c.src:3:
/home/hesperosaurus/.pyenv/versions/3.10.0/include/python3.10/pyhash.h:10:23: note: declared here
 PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
                       ^~~~~~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src:2981:31: error: incompatible type for argument 1 of ‘_Py_HashDouble’
     hashimag = _Py_HashDouble((double)
                               ^~~~~~~~
             PyArrayScalar_VAL(obj, C@name@).imag);
             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/hesperosaurus/.pyenv/versions/3.10.0/include/python3.10/Python.h:90,
                 from numpy/core/src/multiarray/scalartypes.c.src:3:
/home/hesperosaurus/.pyenv/versions/3.10.0/include/python3.10/pyhash.h:10:38: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘double’
 PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
                                      ^~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src:2981:16: error: too few arguments to function ‘_Py_HashDouble’
     hashimag = _Py_HashDouble((double)
                ^~~~~~~~~~~~~~
In file included from /home/hesperosaurus/.pyenv/versions/3.10.0/include/python3.10/Python.h:90,
                 from numpy/core/src/multiarray/scalartypes.c.src:3:
/home/hesperosaurus/.pyenv/versions/3.10.0/include/python3.10/pyhash.h:10:23: note: declared here
 PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
                       ^~~~~~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src: In function ‘longdouble_arrtype_hash’:
numpy/core/src/multiarray/scalartypes.c.src:2967:27: error: incompatible type for argument 1 of ‘_Py_HashDouble’
     return _Py_HashDouble((double) PyArrayScalar_VAL(obj, @name@));
In file included from /home/hesperosaurus/.pyenv/versions/3.10.0/include/python3.10/Python.h:90,
                 from numpy/core/src/multiarray/scalartypes.c.src:3:
/home/hesperosaurus/.pyenv/versions/3.10.0/include/python3.10/pyhash.h:10:38: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘double’
 PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
                                      ^~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src:2967:12: error: too few arguments to function ‘_Py_HashDouble’
     return _Py_HashDouble((double) PyArrayScalar_VAL(obj, @name@));
            ^~~~~~~~~~~~~~
In file included from /home/hesperosaurus/.pyenv/versions/3.10.0/include/python3.10/Python.h:90,
                 from numpy/core/src/multiarray/scalartypes.c.src:3:
/home/hesperosaurus/.pyenv/versions/3.10.0/include/python3.10/pyhash.h:10:23: note: declared here
 PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
                       ^~~~~~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src: In function ‘clongdouble_arrtype_hash’:
numpy/core/src/multiarray/scalartypes.c.src:2975:31: error: incompatible type for argument 1 of ‘_Py_HashDouble’
     hashreal = _Py_HashDouble((double)
                               ^~~~~~~~
             PyArrayScalar_VAL(obj, C@name@).real);
             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/hesperosaurus/.pyenv/versions/3.10.0/include/python3.10/Python.h:90,
                 from numpy/core/src/multiarray/scalartypes.c.src:3:
/home/hesperosaurus/.pyenv/versions/3.10.0/include/python3.10/pyhash.h:10:38: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘double’
 PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
                                      ^~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src:2975:16: error: too few arguments to function ‘_Py_HashDouble’
     hashreal = _Py_HashDouble((double)
                ^~~~~~~~~~~~~~
In file included from /home/hesperosaurus/.pyenv/versions/3.10.0/include/python3.10/Python.h:90,
                 from numpy/core/src/multiarray/scalartypes.c.src:3:
/home/hesperosaurus/.pyenv/versions/3.10.0/include/python3.10/pyhash.h:10:23: note: declared here
 PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
                       ^~~~~~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src:2981:31: error: incompatible type for argument 1 of ‘_Py_HashDouble’
     hashimag = _Py_HashDouble((double)
                               ^~~~~~~~
             PyArrayScalar_VAL(obj, C@name@).imag);
             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/hesperosaurus/.pyenv/versions/3.10.0/include/python3.10/Python.h:90,
                 from numpy/core/src/multiarray/scalartypes.c.src:3:
/home/hesperosaurus/.pyenv/versions/3.10.0/include/python3.10/pyhash.h:10:38: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘double’
 PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
                                      ^~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src:2981:16: error: too few arguments to function ‘_Py_HashDouble’
     hashimag = _Py_HashDouble((double)
                ^~~~~~~~~~~~~~
In file included from /home/hesperosaurus/.pyenv/versions/3.10.0/include/python3.10/Python.h:90,
                 from numpy/core/src/multiarray/scalartypes.c.src:3:
/home/hesperosaurus/.pyenv/versions/3.10.0/include/python3.10/pyhash.h:10:23: note: declared here
 PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
                       ^~~~~~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src: In function ‘half_arrtype_hash’:
numpy/core/src/multiarray/scalartypes.c.src:2997:27: error: incompatible type for argument 1 of ‘_Py_HashDouble’
     return _Py_HashDouble(npy_half_to_double(PyArrayScalar_VAL(obj, Half)));
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/hesperosaurus/.pyenv/versions/3.10.0/include/python3.10/Python.h:90,
                 from numpy/core/src/multiarray/scalartypes.c.src:3:
/home/hesperosaurus/.pyenv/versions/3.10.0/include/python3.10/pyhash.h:10:38: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘double’
 PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
                                      ^~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src:2997:12: error: too few arguments to function ‘_Py_HashDouble’
     return _Py_HashDouble(npy_half_to_double(PyArrayScalar_VAL(obj, Half)));
            ^~~~~~~~~~~~~~
In file included from /home/hesperosaurus/.pyenv/versions/3.10.0/include/python3.10/Python.h:90,
                 from numpy/core/src/multiarray/scalartypes.c.src:3:
/home/hesperosaurus/.pyenv/versions/3.10.0/include/python3.10/pyhash.h:10:23: note: declared here
 PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
                       ^~~~~~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src: In function ‘longdouble_arrtype_hash’:
numpy/core/src/multiarray/scalartypes.c.src:2968:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
numpy/core/src/multiarray/scalartypes.c.src: In function ‘float_arrtype_hash’:
numpy/core/src/multiarray/scalartypes.c.src:2968:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
numpy/core/src/multiarray/scalartypes.c.src: In function ‘half_arrtype_hash’:
numpy/core/src/multiarray/scalartypes.c.src:2998:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
gcc: numpy/core/src/multiarray/vdot.c
gcc: numpy/core/src/umath/umathmodule.c
In file included from numpy/core/include/numpy/npy_math.h:596,
                 from numpy/core/include/numpy/ufuncobject.h:4,
                 from numpy/core/src/umath/umathmodule.c:27:
numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_modfl’:
numpy/core/src/npymath/npy_math_internal.h.src:490:21: warning: passing argument 2 of ‘modfl’ from incompatible pointer type [-Wincompatible-pointer-types]
     return modf@c@(x, iptr);
                     ^~~~
In file included from /home/hesperosaurus/.pyenv/versions/3.10.0/include/python3.10/pyport.h:210,
                 from /home/hesperosaurus/.pyenv/versions/3.10.0/include/python3.10/Python.h:63,
                 from numpy/core/src/umath/umathmodule.c:22:
/usr/include/arm-linux-gnueabihf/bits/mathcalls.h:110:1: note: expected ‘long double *’ but argument is of type ‘npy_longdouble *’ {aka ‘double *’}
 __MATHCALL (modf,, (_Mdouble_ __x, _Mdouble_ *__iptr)) __nonnull ((2));
 ^
gcc: numpy/core/src/multiarray/nditer_constr.c
gcc: numpy/core/src/umath/reduction.c
In file included from numpy/core/include/numpy/npy_math.h:596,
                 from numpy/core/include/numpy/ufuncobject.h:4,
                 from numpy/core/src/umath/reduction.c:23:
numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_modfl’:
numpy/core/src/npymath/npy_math_internal.h.src:490:21: warning: passing argument 2 of ‘modfl’ from incompatible pointer type [-Wincompatible-pointer-types]
     return modf@c@(x, iptr);
                     ^~~~
In file included from /home/hesperosaurus/.pyenv/versions/3.10.0/include/python3.10/pyport.h:210,
                 from /home/hesperosaurus/.pyenv/versions/3.10.0/include/python3.10/Python.h:63,
                 from numpy/core/src/umath/reduction.c:14:
/usr/include/arm-linux-gnueabihf/bits/mathcalls.h:110:1: note: expected ‘long double *’ but argument is of type ‘npy_longdouble *’ {aka ‘double *’}
 __MATHCALL (modf,, (_Mdouble_ __x, _Mdouble_ *__iptr)) __nonnull ((2));
 ^
gcc: numpy/core/src/multiarray/refcount.c
gcc: build/src.linux-armv7l-3.10/numpy/core/src/umath/loops.c
In file included from numpy/core/include/numpy/npy_math.h:596,
                 from numpy/core/include/numpy/ufuncobject.h:4,
                 from numpy/core/src/umath/loops.c.src:12:
numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_modfl’:
numpy/core/src/npymath/npy_math_internal.h.src:490:21: warning: passing argument 2 of ‘modfl’ from incompatible pointer type [-Wincompatible-pointer-types]
     return modf@c@(x, iptr);
                     ^~~~
In file included from /home/hesperosaurus/.pyenv/versions/3.10.0/include/python3.10/pyport.h:210,
                 from /home/hesperosaurus/.pyenv/versions/3.10.0/include/python3.10/Python.h:63,
                 from numpy/core/src/umath/loops.c.src:7:
/usr/include/arm-linux-gnueabihf/bits/mathcalls.h:110:1: note: expected ‘long double *’ but argument is of type ‘npy_longdouble *’ {aka ‘double *’}
 __MATHCALL (modf,, (_Mdouble_ __x, _Mdouble_ *__iptr)) __nonnull ((2));
 ^
gcc: numpy/core/src/multiarray/sequence.c
gcc: numpy/core/src/multiarray/shape.c
In file included from numpy/core/include/numpy/npy_math.h:596,
                 from numpy/core/src/multiarray/shape.c:10:
numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_modfl’:
numpy/core/src/npymath/npy_math_internal.h.src:490:21: warning: passing argument 2 of ‘modfl’ from incompatible pointer type [-Wincompatible-pointer-types]
     return modf@c@(x, iptr);
                     ^~~~
In file included from /home/hesperosaurus/.pyenv/versions/3.10.0/include/python3.10/pyport.h:210,
                 from /home/hesperosaurus/.pyenv/versions/3.10.0/include/python3.10/Python.h:63,
                 from numpy/core/src/multiarray/shape.c:2:
/usr/include/arm-linux-gnueabihf/bits/mathcalls.h:110:1: note: expected ‘long double *’ but argument is of type ‘npy_longdouble *’ {aka ‘double *’}
 __MATHCALL (modf,, (_Mdouble_ __x, _Mdouble_ *__iptr)) __nonnull ((2));
 ^
gcc: numpy/core/src/multiarray/scalarapi.c
In file included from numpy/core/include/numpy/npy_math.h:596,
                 from numpy/core/src/multiarray/scalarapi.c:10:
numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_modfl’:
numpy/core/src/npymath/npy_math_internal.h.src:490:21: warning: passing argument 2 of ‘modfl’ from incompatible pointer type [-Wincompatible-pointer-types]
     return modf@c@(x, iptr);
                     ^~~~
In file included from /home/hesperosaurus/.pyenv/versions/3.10.0/include/python3.10/pyport.h:210,
                 from /home/hesperosaurus/.pyenv/versions/3.10.0/include/python3.10/Python.h:63,
                 from numpy/core/src/multiarray/scalarapi.c:2:
/usr/include/arm-linux-gnueabihf/bits/mathcalls.h:110:1: note: expected ‘long double *’ but argument is of type ‘npy_longdouble *’ {aka ‘double *’}
 __MATHCALL (modf,, (_Mdouble_ __x, _Mdouble_ *__iptr)) __nonnull ((2));
 ^
gcc: numpy/core/src/multiarray/nditer_pywrap.c
gcc: build/src.linux-armv7l-3.10/numpy/core/src/umath/clip.c
In file included from numpy/core/include/numpy/npy_math.h:596,
                 from numpy/core/include/numpy/halffloat.h:5,
                 from numpy/core/src/umath/clip.c.src:10:
numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_modfl’:
numpy/core/src/npymath/npy_math_internal.h.src:490:21: warning: passing argument 2 of ‘modfl’ from incompatible pointer type [-Wincompatible-pointer-types]
     return modf@c@(x, iptr);
                     ^~~~
In file included from /home/hesperosaurus/.pyenv/versions/3.10.0/include/python3.10/pyport.h:210,
                 from /home/hesperosaurus/.pyenv/versions/3.10.0/include/python3.10/Python.h:63,
                 from numpy/core/src/umath/clip.c.src:8:
/usr/include/arm-linux-gnueabihf/bits/mathcalls.h:110:1: note: expected ‘long double *’ but argument is of type ‘npy_longdouble *’ {aka ‘double *’}
 __MATHCALL (modf,, (_Mdouble_ __x, _Mdouble_ *__iptr)) __nonnull ((2));
 ^
gcc: numpy/core/src/umath/override.c
gcc: numpy/core/src/umath/ufunc_object.c
In file included from numpy/core/include/numpy/npy_math.h:596,
                 from numpy/core/include/numpy/ufuncobject.h:4,
                 from numpy/core/src/umath/override.c:5:
numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_modfl’:
numpy/core/src/npymath/npy_math_internal.h.src:490:21: warning: passing argument 2 of ‘modfl’ from incompatible pointer type [-Wincompatible-pointer-types]
     return modf@c@(x, iptr);
                     ^~~~
In file included from /home/hesperosaurus/.pyenv/versions/3.10.0/include/python3.10/pyport.h:210,
                 from /home/hesperosaurus/.pyenv/versions/3.10.0/include/python3.10/Python.h:63,
                 from numpy/core/include/numpy/npy_3kcompat.h:13,
                 from numpy/core/src/common/npy_pycompat.h:4,
                 from numpy/core/src/umath/override.c:4:
/usr/include/arm-linux-gnueabihf/bits/mathcalls.h:110:1: note: expected ‘long double *’ but argument is of type ‘npy_longdouble *’ {aka ‘double *’}
 __MATHCALL (modf,, (_Mdouble_ __x, _Mdouble_ *__iptr)) __nonnull ((2));
 ^
In file included from numpy/core/include/numpy/npy_math.h:596,
                 from numpy/core/include/numpy/ufuncobject.h:4,
                 from numpy/core/src/umath/ufunc_object.c:37:
numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_modfl’:
numpy/core/src/npymath/npy_math_internal.h.src:490:21: warning: passing argument 2 of ‘modfl’ from incompatible pointer type [-Wincompatible-pointer-types]
     return modf@c@(x, iptr);
                     ^~~~
In file included from /home/hesperosaurus/.pyenv/versions/3.10.0/include/python3.10/pyport.h:210,
                 from /home/hesperosaurus/.pyenv/versions/3.10.0/include/python3.10/Python.h:63,
                 from numpy/core/src/umath/ufunc_object.c:30:
/usr/include/arm-linux-gnueabihf/bits/mathcalls.h:110:1: note: expected ‘long double *’ but argument is of type ‘npy_longdouble *’ {aka ‘double *’}
 __MATHCALL (modf,, (_Mdouble_ __x, _Mdouble_ *__iptr)) __nonnull ((2));
 ^
gcc: numpy/core/src/npymath/npy_math.c
In file included from numpy/core/src/npymath/npy_math.c:9:
numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_modfl’:
numpy/core/src/npymath/npy_math_internal.h.src:490:21: warning: passing argument 2 of ‘modfl’ from incompatible pointer type [-Wincompatible-pointer-types]
     return modf@c@(x, iptr);
                     ^~~~
In file included from /home/hesperosaurus/.pyenv/versions/3.10.0/include/python3.10/pyport.h:210,
                 from /home/hesperosaurus/.pyenv/versions/3.10.0/include/python3.10/Python.h:63,
                 from numpy/core/src/npymath/npy_math_private.h:21,
                 from numpy/core/src/npymath/npy_math_internal.h.src:56,
                 from numpy/core/src/npymath/npy_math.c:9:
/usr/include/arm-linux-gnueabihf/bits/mathcalls.h:110:1: note: expected ‘long double *’ but argument is of type ‘npy_longdouble *’ {aka ‘double *’}
 __MATHCALL (modf,, (_Mdouble_ __x, _Mdouble_ *__iptr)) __nonnull ((2));
 ^
gcc: build/src.linux-armv7l-3.10/numpy/core/src/npymath/ieee754.c
In file included from numpy/core/include/numpy/npy_math.h:596,
                 from numpy/core/src/npymath/npy_math_common.h:9,
                 from numpy/core/src/npymath/ieee754.c.src:7:
numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_modfl’:
numpy/core/src/npymath/npy_math_internal.h.src:490:21: warning: passing argument 2 of ‘modfl’ from incompatible pointer type [-Wincompatible-pointer-types]
     return modf@c@(x, iptr);
                     ^~~~
In file included from /home/hesperosaurus/.pyenv/versions/3.10.0/include/python3.10/pyport.h:210,
                 from /home/hesperosaurus/.pyenv/versions/3.10.0/include/python3.10/Python.h:63,
                 from numpy/core/src/npymath/npy_math_common.h:4,
                 from numpy/core/src/npymath/ieee754.c.src:7:
/usr/include/arm-linux-gnueabihf/bits/mathcalls.h:110:1: note: expected ‘long double *’ but argument is of type ‘npy_longdouble *’ {aka ‘double *’}
 __MATHCALL (modf,, (_Mdouble_ __x, _Mdouble_ *__iptr)) __nonnull ((2));
 ^
gcc: build/src.linux-armv7l-3.10/numpy/core/src/npymath/npy_math_complex.c
In file included from numpy/core/include/numpy/npy_math.h:596,
                 from numpy/core/src/npymath/npy_math_common.h:9,
                 from numpy/core/src/npymath/npy_math_complex.c.src:34:
numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_modfl’:
numpy/core/src/npymath/npy_math_internal.h.src:490:21: warning: passing argument 2 of ‘modfl’ from incompatible pointer type [-Wincompatible-pointer-types]
     return modf@c@(x, iptr);
                     ^~~~
In file included from /home/hesperosaurus/.pyenv/versions/3.10.0/include/python3.10/pyport.h:210,
                 from /home/hesperosaurus/.pyenv/versions/3.10.0/include/python3.10/Python.h:63,
                 from numpy/core/src/npymath/npy_math_common.h:4,
                 from numpy/core/src/npymath/npy_math_complex.c.src:34:
/usr/include/arm-linux-gnueabihf/bits/mathcalls.h:110:1: note: expected ‘long double *’ but argument is of type ‘npy_longdouble *’ {aka ‘double *’}
 __MATHCALL (modf,, (_Mdouble_ __x, _Mdouble_ *__iptr)) __nonnull ((2));
 ^
gcc: numpy/core/src/npymath/halffloat.c
In file included from numpy/core/include/numpy/npy_math.h:596,
                 from numpy/core/include/numpy/halffloat.h:5,
                 from numpy/core/src/npymath/halffloat.c:2:
numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_modfl’:
numpy/core/src/npymath/npy_math_internal.h.src:490:21: warning: passing argument 2 of ‘modfl’ from incompatible pointer type [-Wincompatible-pointer-types]
     return modf@c@(x, iptr);
                     ^~~~
In file included from /home/hesperosaurus/.pyenv/versions/3.10.0/include/python3.10/pyport.h:210,
                 from /home/hesperosaurus/.pyenv/versions/3.10.0/include/python3.10/Python.h:63,
                 from numpy/core/include/numpy/halffloat.h:4,
                 from numpy/core/src/npymath/halffloat.c:2:
/usr/include/arm-linux-gnueabihf/bits/mathcalls.h:110:1: note: expected ‘long double *’ but argument is of type ‘npy_longdouble *’ {aka ‘double *’}
 __MATHCALL (modf,, (_Mdouble_ __x, _Mdouble_ *__iptr)) __nonnull ((2));
 ^
gcc: numpy/core/src/common/array_assign.c
gcc: numpy/core/src/common/mem_overlap.c
gcc: numpy/core/src/umath/extobj.c
In file included from numpy/core/include/numpy/npy_math.h:596,
                 from numpy/core/include/numpy/ufuncobject.h:4,
                 from numpy/core/src/umath/extobj.c:12:
numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_modfl’:
numpy/core/src/npymath/npy_math_internal.h.src:490:21: warning: passing argument 2 of ‘modfl’ from incompatible pointer type [-Wincompatible-pointer-types]
     return modf@c@(x, iptr);
                     ^~~~
In file included from /home/hesperosaurus/.pyenv/versions/3.10.0/include/python3.10/pyport.h:210,
                 from /home/hesperosaurus/.pyenv/versions/3.10.0/include/python3.10/Python.h:63,
                 from numpy/core/src/umath/extobj.c:5:
/usr/include/arm-linux-gnueabihf/bits/mathcalls.h:110:1: note: expected ‘long double *’ but argument is of type ‘npy_longdouble *’ {aka ‘double *’}
 __MATHCALL (modf,, (_Mdouble_ __x, _Mdouble_ *__iptr)) __nonnull ((2));
 ^
gcc: numpy/core/src/common/npy_longdouble.c
In file included from numpy/core/include/numpy/npy_math.h:596,
                 from numpy/core/src/common/npy_longdouble.c:7:
numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_modfl’:
numpy/core/src/npymath/npy_math_internal.h.src:490:21: warning: passing argument 2 of ‘modfl’ from incompatible pointer type [-Wincompatible-pointer-types]
     return modf@c@(x, iptr);
                     ^~~~
In file included from /home/hesperosaurus/.pyenv/versions/3.10.0/include/python3.10/pyport.h:210,
                 from /home/hesperosaurus/.pyenv/versions/3.10.0/include/python3.10/Python.h:63,
                 from numpy/core/src/common/npy_longdouble.c:1:
/usr/include/arm-linux-gnueabihf/bits/mathcalls.h:110:1: note: expected ‘long double *’ but argument is of type ‘npy_longdouble *’ {aka ‘double *’}
 __MATHCALL (modf,, (_Mdouble_ __x, _Mdouble_ *__iptr)) __nonnull ((2));
 ^
gcc: build/src.linux-armv7l-3.10/numpy/core/src/umath/scalarmath.c
gcc: numpy/core/src/common/ucsnarrow.c
In file included from numpy/core/include/numpy/npy_math.h:596,
                 from numpy/core/include/numpy/ufuncobject.h:4,
                 from numpy/core/src/umath/scalarmath.c.src:16:
numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_modfl’:
numpy/core/src/npymath/npy_math_internal.h.src:490:21: warning: passing argument 2 of ‘modfl’ from incompatible pointer type [-Wincompatible-pointer-types]
     return modf@c@(x, iptr);
                     ^~~~
In file included from /home/hesperosaurus/.pyenv/versions/3.10.0/include/python3.10/pyport.h:210,
                 from /home/hesperosaurus/.pyenv/versions/3.10.0/include/python3.10/Python.h:63,
                 from numpy/core/src/umath/scalarmath.c.src:13:
/usr/include/arm-linux-gnueabihf/bits/mathcalls.h:110:1: note: expected ‘long double *’ but argument is of type ‘npy_longdouble *’ {aka ‘double *’}
 __MATHCALL (modf,, (_Mdouble_ __x, _Mdouble_ *__iptr)) __nonnull ((2));
 ^
In file included from numpy/core/include/numpy/npy_math.h:596,
                 from numpy/core/src/common/ucsnarrow.c:11:
numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_modfl’:
numpy/core/src/npymath/npy_math_internal.h.src:490:21: warning: passing argument 2 of ‘modfl’ from incompatible pointer type [-Wincompatible-pointer-types]
     return modf@c@(x, iptr);
                     ^~~~
In file included from /home/hesperosaurus/.pyenv/versions/3.10.0/include/python3.10/pyport.h:210,
                 from /home/hesperosaurus/.pyenv/versions/3.10.0/include/python3.10/Python.h:63,
                 from numpy/core/src/common/ucsnarrow.c:4:
/usr/include/arm-linux-gnueabihf/bits/mathcalls.h:110:1: note: expected ‘long double *’ but argument is of type ‘npy_longdouble *’ {aka ‘double *’}
 __MATHCALL (modf,, (_Mdouble_ __x, _Mdouble_ *__iptr)) __nonnull ((2));
 ^
gcc: numpy/core/src/common/ufunc_override.c
gcc: numpy/core/src/common/numpyos.c
In file included from numpy/core/include/numpy/npy_math.h:596,
                 from numpy/core/src/common/numpyos.c:10:
numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_modfl’:
numpy/core/src/npymath/npy_math_internal.h.src:490:21: warning: passing argument 2 of ‘modfl’ from incompatible pointer type [-Wincompatible-pointer-types]
     return modf@c@(x, iptr);
                     ^~~~
In file included from /home/hesperosaurus/.pyenv/versions/3.10.0/include/python3.10/pyport.h:210,
                 from /home/hesperosaurus/.pyenv/versions/3.10.0/include/python3.10/Python.h:63,
                 from numpy/core/src/common/numpyos.c:2:
/usr/include/arm-linux-gnueabihf/bits/mathcalls.h:110:1: note: expected ‘long double *’ but argument is of type ‘npy_longdouble *’ {aka ‘double *’}
 __MATHCALL (modf,, (_Mdouble_ __x, _Mdouble_ *__iptr)) __nonnull ((2));
 ^
gcc: build/src.linux-armv7l-3.10/numpy/core/src/common/npy_cpu_features.c
gcc: numpy/core/src/multiarray/mapping.c
gcc: numpy/core/src/multiarray/methods.c
gcc: numpy/core/src/umath/ufunc_type_resolution.c
In file included from numpy/core/include/numpy/npy_math.h:596,
                 from numpy/core/include/numpy/ufuncobject.h:4,
                 from numpy/core/src/umath/ufunc_type_resolution.c:23:
numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_modfl’:
numpy/core/src/npymath/npy_math_internal.h.src:490:21: warning: passing argument 2 of ‘modfl’ from incompatible pointer type [-Wincompatible-pointer-types]
     return modf@c@(x, iptr);
                     ^~~~
In file included from /home/hesperosaurus/.pyenv/versions/3.10.0/include/python3.10/pyport.h:210,
                 from /home/hesperosaurus/.pyenv/versions/3.10.0/include/python3.10/Python.h:63,
                 from numpy/core/src/umath/ufunc_type_resolution.c:17:
/usr/include/arm-linux-gnueabihf/bits/mathcalls.h:110:1: note: expected ‘long double *’ but argument is of type ‘npy_longdouble *’ {aka ‘double *’}
 __MATHCALL (modf,, (_Mdouble_ __x, _Mdouble_ *__iptr)) __nonnull ((2));
 ^
gcc: build/src.linux-armv7l-3.10/numpy/core/src/umath/matmul.c
In file included from numpy/core/include/numpy/npy_math.h:596,
                 from numpy/core/include/numpy/ufuncobject.h:4,
                 from numpy/core/src/umath/matmul.c.src:12:
numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_modfl’:
numpy/core/src/npymath/npy_math_internal.h.src:490:21: warning: passing argument 2 of ‘modfl’ from incompatible pointer type [-Wincompatible-pointer-types]
     return modf@c@(x, iptr);
                     ^~~~
In file included from /home/hesperosaurus/.pyenv/versions/3.10.0/include/python3.10/pyport.h:210,
                 from /home/hesperosaurus/.pyenv/versions/3.10.0/include/python3.10/Python.h:63,
                 from numpy/core/src/umath/matmul.c.src:7:
/usr/include/arm-linux-gnueabihf/bits/mathcalls.h:110:1: note: expected ‘long double *’ but argument is of type ‘npy_longdouble *’ {aka ‘double *’}
 __MATHCALL (modf,, (_Mdouble_ __x, _Mdouble_ *__iptr)) __nonnull ((2));
 ^
error: Command "gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DNPY_INTERNAL_BUILD=1 -DHAVE_NPY_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -Ibuild/src.linux-armv7l-3.10/numpy/core/src/umath -Ibuild/src.linux-armv7l-3.10/numpy/core/src/npymath -Ibuild/src.linux-armv7l-3.10/numpy/core/src/common -Inumpy/core/include -Ibuild/src.linux-armv7l-3.10/numpy/core/include/numpy -Inumpy/core/src/common -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/home/hesperosaurus/.pyenv/versions/3.10.0/include/python3.10 -Ibuild/src.linux-armv7l-3.10/numpy/core/src/common -Ibuild/src.linux-armv7l-3.10/numpy/core/src/npymath -c build/src.linux-armv7l-3.10/numpy/core/src/multiarray/scalartypes.c -o build/temp.linux-armv7l-3.10/build/src.linux-armv7l-3.10/numpy/core/src/multiarray/scalartypes.o -MMD -MF build/temp.linux-armv7l-3.10/build/src.linux-armv7l-3.10/numpy/core/src/multiarray/scalartypes.o.d -std=c99" failed with exit status 1
----------------------------------------
ERROR: Failed building wheel for numpy
Building wheel for cmake (pyproject.toml): started
Building wheel for cmake (pyproject.toml): still running...
Building wheel for cmake (pyproject.toml): still running...
Building wheel for cmake (pyproject.toml): still running...
Building wheel for cmake (pyproject.toml): still running...
Building wheel for cmake (pyproject.toml): still running...
Building wheel for cmake (pyproject.toml): still running...
Building wheel for cmake (pyproject.toml): still running...
Building wheel for cmake (pyproject.toml): still running...
Building wheel for cmake (pyproject.toml): still running...
Building wheel for cmake (pyproject.toml): still running...
Building wheel for cmake (pyproject.toml): still running...
Building wheel for cmake (pyproject.toml): still running...`

The device LEDs indicate that it is idle.

Please advise.

@neuron-whisperer
Copy link

I determined the issue that caused my build to fail:

The latest version of numpy is incompatible with Python 3.10.0. Link to numpy known issue.

This is extraordinarily confusing because the precompiled binary for numpy, installable via pip, successfully installs in Python 3 - but the build process for opencv-python requires rebuilding numpy from source, and that process fails under 3.10.0.

Installing Python 3.9.7, making that version global (via pyenv), and building opencv-python for Python 3.9.7 was successful.

@asenyaev
Copy link
Contributor

@elmeriniemela thank you for your feedback!

At the moment, we hardly depends on files in opencv-python repository, especially on scripts folder, to build the proper package. I will remove this dependency to solve the issue.

@asenyaev
Copy link
Contributor

@neuron-whisperer the previous release (4.5.3.56) does not support Python 3.10. In your log python3.10 tries to install numpy==1.19.3. This happens because numpy versions were defined in setup.py and pyproject.toml for certain python versions.

A line in your log:

setup.py:67: RuntimeWarning: NumPy 1.19.3 may not yet support Python 3.10.

I will remove the dependency on scripts/__init__.py file.

Currently, you can build the package from source using this repository.

@wasauce
Copy link

wasauce commented Oct 23, 2021

Will you end up pulling/removing https://pypi.org/project/opencv-python/4.5.4.58/?

@guigarfr
Copy link

@asenyaev will this be fixed soon?

@jgoenetxea
Copy link

In my case, upgrading to the last pip version fixed the problem:

python3 -m pip install pip --upgrade

@bonzairob
Copy link

bonzairob commented Oct 26, 2021

Upgrading to the latest pip version didn't fix it for me, on 4.5.4.58

Python 3.9.1 via homebrew, pip 21.3.2, on macos 10.13.6.

@neuron-whisperer
Copy link

Upgrading to the latest pip version didn't fix it for me, on 4.5.4.58

Same. My experiments followed the usual commands:

#sudo apt update
sudo apt full-upgrade
python -m pip install —upgrade pip

…etc.

@theyosh
Copy link

theyosh commented Oct 26, 2021

Upgrading to the latest pip version didn't fix it for me, on 4.5.4.58

Failed on a Raspberry PI 4 with Debian buster
Python: 3.7.3
pip: 21.3.1

Also the builds fails on piwheels: https://www.piwheels.org/project/opencv-python-headless/

Keeps the error

Copying files from CMake output
  Traceback (most recent call last):
    File "/home/pi/TerrariumPI/venv/lib/python3.7/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 363, in <module>
      main()
    File "/home/pi/TerrariumPI/venv/lib/python3.7/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 345, in main
      json_out['return_val'] = hook(**hook_input['kwargs'])
    File "/home/pi/TerrariumPI/venv/lib/python3.7/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 262, in build_wheel
      metadata_directory)
    File "/tmp/pip-build-env-gnon1tj9/overlay/lib/python3.7/site-packages/setuptools/build_meta.py", line 222, in build_wheel
      wheel_directory, config_settings)
    File "/tmp/pip-build-env-gnon1tj9/overlay/lib/python3.7/site-packages/setuptools/build_meta.py", line 207, in _build_with_temp_dir
      self.run_setup()
    File "/tmp/pip-build-env-gnon1tj9/overlay/lib/python3.7/site-packages/setuptools/build_meta.py", line 259, in run_setup
      self).run_setup(setup_script=setup_script)
    File "/tmp/pip-build-env-gnon1tj9/overlay/lib/python3.7/site-packages/setuptools/build_meta.py", line 150, in run_setup
      exec(compile(code, __file__, 'exec'), locals())
    File "setup.py", line 496, in <module>
      main()
    File "setup.py", line 289, in main
      cmake_source_dir=cmake_source_dir,
    File "/tmp/pip-build-env-gnon1tj9/overlay/lib/python3.7/site-packages/skbuild/setuptools_wrap.py", line 629, in setup
      cmake_source_dir, skbuild_kw['cmake_install_dir'])
    File "setup.py", line 381, in _classify_installed_files_override
      with open('scripts/__init__.py', 'r') as custom_init:
  FileNotFoundError: [Errno 2] No such file or directory: 'scripts/__init__.py'
  ----------------------------------------
  ERROR: Failed building wheel for opencv-python-headless

@eugeneswalker
Copy link

Same error for me :(

  • Python 3.6.13 w/ pip 21.3.1
  • Ubuntu 18.04, ppc64le, GCC 7.5.0

@asenyaev
Copy link
Contributor

asenyaev commented Nov 1, 2021

I am sorry for a long period of time with a silence, the PR should fix the problem.

@bartgrefte
Copy link

bartgrefte commented Nov 1, 2021

.... so that's why "pip3 install opencv-python" failed.

FileNotFoundError: [Errno 2] No such file or directory: 'scripts/init.py'
ERROR: Failed building wheel for opencv-python
Failed to build opencv-python
ERROR: Could not build wheels for opencv-python, which is required to install pyproject.toml-based projects

Too bad it takes hours of compiling before this error appears. From which version is this fixed? (Thanks :) )

OS: Raspbian 10
Python: 3.7.3.

@theyosh
Copy link

theyosh commented Nov 1, 2021

@bartgrefte as soon #577 is merged I guess.

And for Pi look at: https://www.piwheels.org/project/opencv-python/ to see if there is a wheel version available. That will save the compilation time. And is a good indicator the build is correct and working. So we have to wait a bit more....

@neuron-whisperer
Copy link

@bartgrefte as soon #577 is merged I guess.

And for Pi look at: https://www.piwheels.org/project/opencv-python/ to see if there is a wheel version available.

The piwheels version availability chart for this project looks like a minefield.

@skvark
Copy link
Member

skvark commented Nov 2, 2021

If you have arm64 compatible OS on your Raspberry Pi then you should be able to run the arm64 wheels this project provides. If the latest release does not work, try one of the previous ones.

@bartgrefte
Copy link

bartgrefte commented Nov 2, 2021

I tried "pip3 install piwheels --extra-index-url https://www.piwheels.org/simple" , which resulted in:
Defaulting to user installation because normal site-packages is not writeable
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple, https://www.piwheels.org/simple
Collecting piwheels
Downloading piwheels-0.0-py3-none-any.whl (1.1 kB)
Installing collected packages: piwheels
Successfully installed piwheels-0.0

After which "pip3 install opencv-python" still wants to spend hours compiling wheels, am I missing something?

@pufferbatterie
Copy link

pufferbatterie commented Nov 2, 2021

Still failing after upgrading pip from 20.3.4 to 21.3.1

FileNotFoundError: [Errno 2] No such file or directory: 'scripts/__init__.py'

  • host: Linux 5.10.0-9-cloud-amd64 x86_64
  • docker_image: debian:11.1
  • python: 3.9.2
  • cmake: 3.21.4
  • opencv-python-headless: 4.5.4.58
  • pip: 20.3.4/21.3.1

Edited: building wheel works with older version like mentioned in the first comment (tested: opencv-python-headless: 4.5.1.48)

daniel-richter pushed a commit to daniel-richter/DIN_GAR that referenced this issue Nov 5, 2021
daniel-richter pushed a commit to daniel-richter/DIN_GAR that referenced this issue Nov 5, 2021
daniel-richter added a commit to daniel-richter/DIN_GAR that referenced this issue Nov 5, 2021
JacobYuan7 pushed a commit to JacobYuan7/DIN-Group-Activity-Recognition-Benchmark that referenced this issue Nov 8, 2021
@K-AWS
Copy link

K-AWS commented Nov 9, 2021

Is anyone still working on this? The piwheels build is still failing, https://www.piwheels.org/project/opencv-python/

@skvark
Copy link
Member

skvark commented Nov 9, 2021

#577 I believe it will be fixed in the next release.

@zubairahmed-ai
Copy link

In my case, upgrading to the last pip version fixed the problem:

python3 -m pip install pip --upgrade

Faced this inside docker container on Nvidia Jetson nano, this fixed it for me too

@KristianBalaj
Copy link

Installing the previous version succeeds using the following command:

pip install opencv-python==4.5.3.56

@asmorkalov
Copy link
Collaborator

asmorkalov commented Nov 22, 2021

Fixed in 4.5.4.60. Tested with Ubuntu 18.04 and command:

python -m pip install -v --no-binary=opencv-python-headless opencv-python-headless==4.5.4.60

copybara-service bot pushed a commit to tensorflow/tfx that referenced this issue Nov 23, 2021
See opencv/opencv-python#571 for the related discussion.

PiperOrigin-RevId: 411686231
copybara-service bot pushed a commit to tensorflow/tfx that referenced this issue Nov 23, 2021
See opencv/opencv-python#571 for the related discussion.

PiperOrigin-RevId: 411686231
copybara-service bot pushed a commit to tensorflow/tfx that referenced this issue Nov 23, 2021
See opencv/opencv-python#571 for the related discussion.

PiperOrigin-RevId: 411686231
copybara-service bot pushed a commit to tensorflow/tfx that referenced this issue Nov 23, 2021
See opencv/opencv-python#571 for the related discussion.

PiperOrigin-RevId: 411728512
@tfuto
Copy link

tfuto commented Jun 19, 2022

Ubuntu 22.04 LTS needs the same command as #571 (comment)

@asenyaev
Copy link
Contributor

Ubuntu 22.04 LTS needs the same command as #571 (comment)

@tfuto, what do you mean? Did you try to install 4.5.3.56 version and faced the same issue and 4.5.4.60 version helped you? Or did you try to install the latest version 4.6.0.66 and faced the same issue as the author, and you downgraded to 4.5.4.60 version?

By the way, I've tried to build opencv-python-headless from source on Ubuntu 20.04 using 4.5.4.60 and 4.6.0.66 versions, so, I've not faced the same issue.

@tfuto
Copy link

tfuto commented Jun 22, 2022

@asenyaev I took a vanilla Ubuntu 22.04 LTS, upgraded everything (sudo apt update, sudo apt upgrade), then tried installing opencv-python, failed, arrived here, and comment #571 was the command that actually worked. A few days passed, and I worked on various things, but I can redo this quick drill to check again.

@asenyaev
Copy link
Contributor

@tfuto, if you tried to just install opencv-python, I guess it means that you use a latest version (4.6.0.66). However, I couldn't reproduce an issue with the latest version of opencv-python package on Ubuntu 22.04 LTS.

python3 -m pip install opencv-python
Collecting opencv-python
  Downloading opencv_python-4.6.0.66-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (60.9 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 60.9/60.9 MB 30.4 MB/s eta 0:00:00
Requirement already satisfied: numpy>=1.17.3 in /usr/lib/python3/dist-packages (from opencv-python) (1.21.5)
Installing collected packages: opencv-python
Successfully installed opencv-python-4.6.0.66

Even the build from source using the command python3 -m pip install -v --no-binary=opencv-python-headless opencv-python-headless==4.6.0.66 finished successufully:

Collecting opencv-python-headless==4.6.0.66
  Downloading opencv-python-headless-4.6.0.66.tar.gz (90.3 MB)
  ...
  Building wheel for opencv-python-headless (pyproject.toml) ... done
  Created wheel for opencv-python-headless: filename=opencv_python_headless-4.6.0.66-cp310-cp310-linux_x86_64.whl size=28120290 sha256=0ac583a9298c42abaf58688ee9909678427e8298fd96691f03e8a776d42ecb95
  Stored in directory: /root/.cache/pip/wheels/4f/d2/a1/274a3a72cf197b06f6dd7a60c305fdfda1f3c49c9bc8d1d880
Successfully built opencv-python-headless
Installing collected packages: opencv-python-headless
Successfully installed opencv-python-headless-4.6.0.66

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests