silx-kit / pyFAI

Fast Azimuthal Integration in Python
Other
101 stars 93 forks source link

pip install pyFAI fails #2232

Open opens21 opened 4 days ago

opens21 commented 4 days ago

See below the code.

Collecting pyfai<=2023.9.0 (from pyxem)
  Using cached pyfai-2023.9.0.tar.gz (54.8 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Preparing metadata (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [364 lines of output]
      + meson setup /tmp/pip-install-q28iyqht/pyfai_fb1f494d1245454da3ebea7b246b976a /tmp/pip-install-q28iyqht/pyfai_fb1f494d1245454da3ebea7b246b976a/.mesonpy-gj960y43 -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md --native-file=/tmp/pip-install-q28iyqht/pyfai_fb1f494d1245454da3ebea7b246b976a/.mesonpy-gj960y43/meson-python-native-file.ini
      The Meson build system
      Version: 1.4.1
      Source dir: /tmp/pip-install-q28iyqht/pyfai_fb1f494d1245454da3ebea7b246b976a
      Build dir: /tmp/pip-install-q28iyqht/pyfai_fb1f494d1245454da3ebea7b246b976a/.mesonpy-gj960y43
      Build type: native build
      Project name: pyFAI
      Project version: 2023.9.0
      C compiler for the host machine: cc (gcc 14.1.1 "cc (GCC) 14.1.1 20240522")
      C linker for the host machine: cc ld.bfd 2.42.0
      C++ compiler for the host machine: c++ (gcc 14.1.1 "c++ (GCC) 14.1.1 20240522")
      C++ linker for the host machine: c++ ld.bfd 2.42.0
      Cython compiler for the host machine: cython (cython 3.0.10)
      Host machine cpu family: x86_64
      Host machine cpu: x86_64
      Library m found: YES
      Program python found: YES (/home/archie/myenv/bin/python)
      Found pkg-config: YES (/usr/bin/pkg-config) 2.1.1
      Run-time dependency python found: YES 3.12
      Run-time dependency OpenMP found: YES 4.5
      Build targets in project: 29
      NOTICE: Future-deprecated features used:
       * 0.64.0: {'copy arg in configure_file'}

      pyFAI 2023.9.0

        User defined options
          Native files: /tmp/pip-install-q28iyqht/pyfai_fb1f494d1245454da3ebea7b246b976a/.mesonpy-gj960y43/meson-python-native-file.ini
          buildtype   : release
          b_ndebug    : if-release
          b_vscrt     : md

      Found ninja-1.11.1.git.kitware.jobserver-1 at /tmp/pip-build-env-hgldyiw2/overlay/bin/ninja
      + /tmp/pip-build-env-hgldyiw2/overlay/bin/ninja
      [1/88] Compiling Cython source /tmp/pip-install-q28iyqht/pyfai_fb1f494d1245454da3ebea7b246b976a/pyFAI/ext/relabel.pyx
      [2/88] Compiling Cython source /tmp/pip-install-q28iyqht/pyfai_fb1f494d1245454da3ebea7b246b976a/pyFAI/ext/_bispev.pyx
      warning: /tmp/pip-install-q28iyqht/pyfai_fb1f494d1245454da3ebea7b246b976a/pyFAI/ext/_bispev.pyx:193:14: noexcept clause is ignored for function returning Python object
      [3/88] Compiling Cython source /tmp/pip-install-q28iyqht/pyfai_fb1f494d1245454da3ebea7b246b976a/pyFAI/ext/reconstruct.pyx
      [4/88] Compiling Cython source /tmp/pip-install-q28iyqht/pyfai_fb1f494d1245454da3ebea7b246b976a/pyFAI/ext/_convolution.pyx
      [5/88] Compiling Cython source /tmp/pip-install-q28iyqht/pyfai_fb1f494d1245454da3ebea7b246b976a/pyFAI/ext/splitPixelFullLUT.pyx
      [6/88] Compiling Cython source /tmp/pip-install-q28iyqht/pyfai_fb1f494d1245454da3ebea7b246b976a/pyFAI/ext/splitBBoxCSC.pyx
      [7/88] Compiling Cython source /tmp/pip-install-q28iyqht/pyfai_fb1f494d1245454da3ebea7b246b976a/pyFAI/ext/bilinear.pyx
      [8/88] Compiling Cython source /tmp/pip-install-q28iyqht/pyfai_fb1f494d1245454da3ebea7b246b976a/pyFAI/ext/_geometry.pyx
      [9/88] Compiling Cython source /tmp/pip-install-q28iyqht/pyfai_fb1f494d1245454da3ebea7b246b976a/pyFAI/ext/splitBBoxCSR.pyx
      [10/88] Compiling Cython source /tmp/pip-install-q28iyqht/pyfai_fb1f494d1245454da3ebea7b246b976a/pyFAI/ext/splitBBox_common.pyx
      [11/88] Compiling Cython source /tmp/pip-install-q28iyqht/pyfai_fb1f494d1245454da3ebea7b246b976a/pyFAI/ext/splitpixel_common.pyx
      [12/88] Compiling Cython source /tmp/pip-install-q28iyqht/pyfai_fb1f494d1245454da3ebea7b246b976a/pyFAI/ext/splitPixelFullCSC.pyx
      [13/88] Compiling Cython source /tmp/pip-install-q28iyqht/pyfai_fb1f494d1245454da3ebea7b246b976a/pyFAI/ext/splitBBox.pyx
      [14/88] Compiling Cython source /tmp/pip-install-q28iyqht/pyfai_fb1f494d1245454da3ebea7b246b976a/pyFAI/ext/splitPixelFullCSR.pyx
      [15/88] Compiling Cython source /tmp/pip-install-q28iyqht/pyfai_fb1f494d1245454da3ebea7b246b976a/pyFAI/ext/splitBBoxLUT.pyx
      [16/88] Compiling Cython source /tmp/pip-install-q28iyqht/pyfai_fb1f494d1245454da3ebea7b246b976a/pyFAI/ext/histogram.pyx
      [17/88] Compiling Cython source /tmp/pip-install-q28iyqht/pyfai_fb1f494d1245454da3ebea7b246b976a/pyFAI/ext/splitPixel.pyx
      [18/88] Compiling Cython source /tmp/pip-install-q28iyqht/pyfai_fb1f494d1245454da3ebea7b246b976a/pyFAI/ext/preproc.pyx
      performance hint: /tmp/pip-install-q28iyqht/pyfai_fb1f494d1245454da3ebea7b246b976a/pyFAI/ext/preproc.pyx:52:5: Exception check on 'c1_preproc' will always require the GIL to be acquired. Declare 'c1_preproc' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
      performance hint: /tmp/pip-install-q28iyqht/pyfai_fb1f494d1245454da3ebea7b246b976a/pyFAI/ext/preproc.pyx:141:5: Exception check on 'c2_preproc' will always require the GIL to be acquired. Declare 'c2_preproc' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
      performance hint: /tmp/pip-install-q28iyqht/pyfai_fb1f494d1245454da3ebea7b246b976a/pyFAI/ext/preproc.pyx:235:5: Exception check on 'c3_preproc' will always require the GIL to be acquired. Declare 'c3_preproc' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
      performance hint: /tmp/pip-install-q28iyqht/pyfai_fb1f494d1245454da3ebea7b246b976a/pyFAI/ext/preproc.pyx:350:5: Exception check on 'c4_preproc' will always require the GIL to be acquired. Declare 'c4_preproc' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
      [19/88] Compiling C object pyFAI/ext/relabel.cpython-312-x86_64-linux-gnu.so.p/meson-generated_pyFAI_ext_relabel.pyx.c.o
      [20/88] Linking target pyFAI/ext/relabel.cpython-312-x86_64-linux-gnu.so
      [21/88] Compiling C object pyFAI/ext/reconstruct.cpython-312-x86_64-linux-gnu.so.p/meson-generated_pyFAI_ext_reconstruct.pyx.c.o
      pyFAI/ext/reconstruct.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/reconstruct.pyx.c: In function ‘__pyx_pf_5pyFAI_3ext_11reconstruct_reconstruct.isra’:
      pyFAI/ext/reconstruct.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/reconstruct.pyx.c:18301:9: warning: ‘__pyx_v_cdummy’ may be used uninitialized [-Wmaybe-uninitialized]
      18301 |   float __pyx_v_cdummy;
            |         ^~~~~~~~~~~~~~
      pyFAI/ext/reconstruct.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/reconstruct.pyx.c:18302:9: warning: ‘__pyx_v_cddummy’ may be used uninitialized [-Wmaybe-uninitialized]
      18302 |   float __pyx_v_cddummy;
            |         ^~~~~~~~~~~~~~~
      [22/88] Linking target pyFAI/ext/reconstruct.cpython-312-x86_64-linux-gnu.so
      [23/88] Compiling C object pyFAI/ext/_convolution.cpython-312-x86_64-linux-gnu.so.p/meson-generated_pyFAI_ext__convolution.pyx.c.o
      In function ‘__pyx_pf_5pyFAI_3ext_12_convolution_2vertical_convolution’,
          inlined from ‘__pyx_pw_5pyFAI_3ext_12_convolution_3vertical_convolution’ at pyFAI/ext/_convolution.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/_convolution.pyx.c:18416:13:
      pyFAI/ext/_convolution.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/_convolution.pyx.c:18612:25: warning: ‘__pyx_v_acc’ may be used uninitialized [-Wmaybe-uninitialized]
      18612 |                 #pragma omp parallel reduction(+:__pyx_v_acc) private(__pyx_t_1, __pyx_t_11, __pyx_t_12, __pyx_t_13, __pyx_t_14, __pyx_t_15, __pyx_t_16, __pyx_t_17, __pyx_t_18, __pyx_t_19)
            |                         ^~~
      pyFAI/ext/_convolution.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/_convolution.pyx.c: In function ‘__pyx_pw_5pyFAI_3ext_12_convolution_3vertical_convolution’:
      pyFAI/ext/_convolution.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/_convolution.pyx.c:18440:10: note: ‘__pyx_v_acc’ was declared here
      18440 |   double __pyx_v_acc;
            |          ^~~~~~~~~~~
      In function ‘__pyx_pf_5pyFAI_3ext_12_convolution_horizontal_convolution’,
          inlined from ‘__pyx_pw_5pyFAI_3ext_12_convolution_1horizontal_convolution’ at pyFAI/ext/_convolution.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/_convolution.pyx.c:17874:13:
      pyFAI/ext/_convolution.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/_convolution.pyx.c:18070:25: warning: ‘__pyx_v_acc’ may be used uninitialized [-Wmaybe-uninitialized]
      18070 |                 #pragma omp parallel reduction(+:__pyx_v_acc) private(__pyx_t_1, __pyx_t_11, __pyx_t_12, __pyx_t_13, __pyx_t_14, __pyx_t_15, __pyx_t_16, __pyx_t_17, __pyx_t_18, __pyx_t_19)
            |                         ^~~
      pyFAI/ext/_convolution.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/_convolution.pyx.c: In function ‘__pyx_pw_5pyFAI_3ext_12_convolution_1horizontal_convolution’:
      pyFAI/ext/_convolution.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/_convolution.pyx.c:17898:10: note: ‘__pyx_v_acc’ was declared here
      17898 |   double __pyx_v_acc;
            |          ^~~~~~~~~~~
      [24/88] Linking target pyFAI/ext/_convolution.cpython-312-x86_64-linux-gnu.so
      [25/88] Compiling C object pyFAI/ext/_bispev.cpython-312-x86_64-linux-gnu.so.p/meson-generated_pyFAI_ext__bispev.pyx.c.o
      [26/88] Linking target pyFAI/ext/_bispev.cpython-312-x86_64-linux-gnu.so
      [27/88] Compiling Cython source /tmp/pip-install-q28iyqht/pyfai_fb1f494d1245454da3ebea7b246b976a/pyFAI/ext/_blob.pyx
      [28/88] Compiling Cython source /tmp/pip-install-q28iyqht/pyfai_fb1f494d1245454da3ebea7b246b976a/pyFAI/ext/morphology.pyx
      [29/88] Compiling Cython source /tmp/pip-install-q28iyqht/pyfai_fb1f494d1245454da3ebea7b246b976a/pyFAI/ext/_tree.pyx
      [30/88] Compiling Cython source /tmp/pip-install-q28iyqht/pyfai_fb1f494d1245454da3ebea7b246b976a/pyFAI/ext/watershed.pyx
      [31/88] Compiling C object pyFAI/ext/_tree.cpython-312-x86_64-linux-gnu.so.p/meson-generated_pyFAI_ext__tree.pyx.c.o
      [32/88] Linking target pyFAI/ext/_tree.cpython-312-x86_64-linux-gnu.so
      [33/88] Compiling C++ object pyFAI/ext/splitBBox_common.cpython-312-x86_64-linux-gnu.so.p/meson-generated_pyFAI_ext_splitBBox_common.pyx.cpp.o
      pyFAI/ext/splitBBox_common.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/splitBBox_common.pyx.cpp: In function ‘PyObject* __pyx_pw_5pyFAI_3ext_16splitBBox_common_11calc_boundaries(PyObject*, PyObject* const*, Py_ssize_t, PyObject*)’:
      pyFAI/ext/splitBBox_common.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/splitBBox_common.pyx.cpp:24056:53: warning: ‘__pyx_v_pos0_min’ may be used uninitialized [-Wmaybe-uninitialized]
      24056 |   __pyx_t_5pyFAI_3ext_16splitBBox_common_position_t __pyx_v_pos0_min;
            |                                                     ^~~~~~~~~~~~~~~~
      pyFAI/ext/splitBBox_common.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/splitBBox_common.pyx.cpp:24057:53: warning: ‘__pyx_v_pos0_max’ may be used uninitialized [-Wmaybe-uninitialized]
      24057 |   __pyx_t_5pyFAI_3ext_16splitBBox_common_position_t __pyx_v_pos0_max;
            |                                                     ^~~~~~~~~~~~~~~~
      [34/88] Linking target pyFAI/ext/splitBBox_common.cpython-312-x86_64-linux-gnu.so
      [35/88] Compiling C++ object pyFAI/ext/splitpixel_common.cpython-312-x86_64-linux-gnu.so.p/meson-generated_pyFAI_ext_splitpixel_common.pyx.cpp.o
      pyFAI/ext/splitpixel_common.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/splitpixel_common.pyx.cpp: In function ‘PyObject* __pyx_pw_5pyFAI_3ext_17splitpixel_common_11calc_boundaries(PyObject*, PyObject* const*, Py_ssize_t, PyObject*)’:
      pyFAI/ext/splitpixel_common.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/splitpixel_common.pyx.cpp:25493:54: warning: ‘__pyx_v_pos0_min’ may be used uninitialized [-Wmaybe-uninitialized]
      25493 |   __pyx_t_5pyFAI_3ext_17splitpixel_common_position_t __pyx_v_pos0_min;
            |                                                      ^~~~~~~~~~~~~~~~
      pyFAI/ext/splitpixel_common.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/splitpixel_common.pyx.cpp:25494:54: warning: ‘__pyx_v_pos0_max’ may be used uninitialized [-Wmaybe-uninitialized]
      25494 |   __pyx_t_5pyFAI_3ext_17splitpixel_common_position_t __pyx_v_pos0_max;
            |                                                      ^~~~~~~~~~~~~~~~
      [36/88] Linking target pyFAI/ext/splitpixel_common.cpython-312-x86_64-linux-gnu.so
      [37/88] Compiling Cython source /tmp/pip-install-q28iyqht/pyfai_fb1f494d1245454da3ebea7b246b976a/pyFAI/ext/sparse_utils.pyx
      [38/88] Compiling C object pyFAI/ext/bilinear.cpython-312-x86_64-linux-gnu.so.p/meson-generated_pyFAI_ext_bilinear.pyx.c.o
      [39/88] Linking target pyFAI/ext/bilinear.cpython-312-x86_64-linux-gnu.so
      [40/88] Compiling C object pyFAI/ext/morphology.cpython-312-x86_64-linux-gnu.so.p/meson-generated_pyFAI_ext_morphology.pyx.c.o
      [41/88] Linking target pyFAI/ext/morphology.cpython-312-x86_64-linux-gnu.so
      [42/88] Compiling C object pyFAI/ext/_blob.cpython-312-x86_64-linux-gnu.so.p/meson-generated_pyFAI_ext__blob.pyx.c.o
      [43/88] Linking target pyFAI/ext/_blob.cpython-312-x86_64-linux-gnu.so
      [44/88] Compiling Cython source /tmp/pip-install-q28iyqht/pyfai_fb1f494d1245454da3ebea7b246b976a/pyFAI/ext/inpainting.pyx
      [45/88] Compiling Cython source /tmp/pip-install-q28iyqht/pyfai_fb1f494d1245454da3ebea7b246b976a/pyFAI/ext/invert_geometry.pyx
      [46/88] Compiling Cython source /tmp/pip-install-q28iyqht/pyfai_fb1f494d1245454da3ebea7b246b976a/pyFAI/ext/dynamic_rectangle.pyx
      [47/88] Compiling C++ object pyFAI/ext/splitPixelFullLUT.cpython-312-x86_64-linux-gnu.so.p/meson-generated_pyFAI_ext_splitPixelFullLUT.pyx.cpp.o
      [48/88] Linking target pyFAI/ext/splitPixelFullLUT.cpython-312-x86_64-linux-gnu.so
      [49/88] Compiling C++ object pyFAI/ext/splitBBoxCSR.cpython-312-x86_64-linux-gnu.so.p/meson-generated_pyFAI_ext_splitBBoxCSR.pyx.cpp.o
      [50/88] Compiling C object pyFAI/ext/_geometry.cpython-312-x86_64-linux-gnu.so.p/meson-generated_pyFAI_ext__geometry.pyx.c.o
      pyFAI/ext/_geometry.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/_geometry.pyx.c: In function ‘__pyx_pw_5pyFAI_3ext_9_geometry_15calc_rad_azim’:
      pyFAI/ext/_geometry.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/_geometry.pyx.c:26385:10: warning: ‘__pyx_v_fwavelength’ may be used uninitialized [-Wmaybe-uninitialized]
      26385 |   double __pyx_v_fwavelength;
            |          ^~~~~~~~~~~~~~~~~~~
      [51/88] Linking target pyFAI/ext/splitBBoxCSR.cpython-312-x86_64-linux-gnu.so
      [52/88] Linking target pyFAI/ext/_geometry.cpython-312-x86_64-linux-gnu.so
      [53/88] Compiling C object pyFAI/ext/fastcrc.cpython-312-x86_64-linux-gnu.so.p/src_crc32.c.o
      [54/88] Compiling C++ object pyFAI/ext/splitPixelFullCSC.cpython-312-x86_64-linux-gnu.so.p/meson-generated_pyFAI_ext_splitPixelFullCSC.pyx.cpp.o
      [55/88] Compiling C++ object pyFAI/ext/splitBBoxCSC.cpython-312-x86_64-linux-gnu.so.p/meson-generated_pyFAI_ext_splitBBoxCSC.pyx.cpp.o
      [56/88] Linking target pyFAI/ext/splitPixelFullCSC.cpython-312-x86_64-linux-gnu.so
      [57/88] Compiling Cython source /tmp/pip-install-q28iyqht/pyfai_fb1f494d1245454da3ebea7b246b976a/pyFAI/ext/sparse_builder.pyx
      warning: /tmp/pip-install-q28iyqht/pyfai_fb1f494d1245454da3ebea7b246b976a/pyFAI/ext/sparse_builder.pxi:90:8: noexcept clause is ignored for function returning Python object
      warning: /tmp/pip-install-q28iyqht/pyfai_fb1f494d1245454da3ebea7b246b976a/pyFAI/ext/sparse_builder.pxi:100:15: noexcept clause is ignored for function returning Python object
      warning: /tmp/pip-install-q28iyqht/pyfai_fb1f494d1245454da3ebea7b246b976a/pyFAI/ext/sparse_builder.pxi:193:24: noexcept clause is ignored for function returning Python object
      warning: /tmp/pip-install-q28iyqht/pyfai_fb1f494d1245454da3ebea7b246b976a/pyFAI/ext/sparse_builder.pxi:205:15: noexcept clause is ignored for function returning Python object
      warning: /tmp/pip-install-q28iyqht/pyfai_fb1f494d1245454da3ebea7b246b976a/pyFAI/ext/sparse_builder.pxi:231:14: noexcept clause is ignored for function returning Python object
      warning: /tmp/pip-install-q28iyqht/pyfai_fb1f494d1245454da3ebea7b246b976a/pyFAI/ext/sparse_builder.pxi:236:15: noexcept clause is ignored for function returning Python object
      warning: /tmp/pip-install-q28iyqht/pyfai_fb1f494d1245454da3ebea7b246b976a/pyFAI/ext/sparse_builder.pxi:311:12: noexcept clause is ignored for function returning Python object
      warning: /tmp/pip-install-q28iyqht/pyfai_fb1f494d1245454da3ebea7b246b976a/pyFAI/ext/sparse_builder.pxi:317:15: noexcept clause is ignored for function returning Python object
      [58/88] Linking target pyFAI/ext/splitBBoxCSC.cpython-312-x86_64-linux-gnu.so
      [59/88] Compiling C object pyFAI/ext/sparse_utils.cpython-312-x86_64-linux-gnu.so.p/meson-generated_pyFAI_ext_sparse_utils.pyx.c.o
      FAILED: pyFAI/ext/sparse_utils.cpython-312-x86_64-linux-gnu.so.p/meson-generated_pyFAI_ext_sparse_utils.pyx.c.o
      cc -IpyFAI/ext/sparse_utils.cpython-312-x86_64-linux-gnu.so.p -IpyFAI/ext -I../pyFAI/ext -I/usr/include/python3.12 -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O3 -fPIC -MD -MQ pyFAI/ext/sparse_utils.cpython-312-x86_64-linux-gnu.so.p/meson-generated_pyFAI_ext_sparse_utils.pyx.c.o -MF pyFAI/ext/sparse_utils.cpython-312-x86_64-linux-gnu.so.p/meson-generated_pyFAI_ext_sparse_utils.pyx.c.o.d -o pyFAI/ext/sparse_utils.cpython-312-x86_64-linux-gnu.so.p/meson-generated_pyFAI_ext_sparse_utils.pyx.c.o -c pyFAI/ext/sparse_utils.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/sparse_utils.pyx.c
      pyFAI/ext/sparse_utils.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/sparse_utils.pyx.c: In function ‘__pyx_pf_5pyFAI_3ext_12sparse_utils_12ArrayBuilder___cinit__’:
      pyFAI/ext/sparse_utils.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/sparse_utils.pyx.c:45247:17: error: assignment to ‘struct __pyx_obj_5pyFAI_3ext_12sparse_utils_Vector *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types]
      45247 |     *__pyx_t_10 = __pyx_t_1;
            |                 ^
      pyFAI/ext/sparse_utils.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/sparse_utils.pyx.c: In function ‘__pyx_pf_5pyFAI_3ext_12sparse_utils_12ArrayBuilder_2__dealloc__’:
      pyFAI/ext/sparse_utils.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/sparse_utils.pyx.c:45335:16: error: assignment to ‘struct __pyx_obj_5pyFAI_3ext_12sparse_utils_Vector *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types]
      45335 |     *__pyx_t_5 = Py_None;
            |                ^
      pyFAI/ext/sparse_utils.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/sparse_utils.pyx.c: At top level:
      pyFAI/ext/sparse_utils.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/sparse_utils.pyx.c:61138:12: warning: ‘__pyx_memview_set_object’ defined but not used [-Wunused-function]
      61138 | static int __pyx_memview_set_object(const char *itemp, PyObject *obj) {
            |            ^~~~~~~~~~~~~~~~~~~~~~~~
      pyFAI/ext/sparse_utils.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/sparse_utils.pyx.c:61133:20: warning: ‘__pyx_memview_get_object’ defined but not used [-Wunused-function]
      61133 |   static PyObject *__pyx_memview_get_object(const char *itemp) {
            |                    ^~~~~~~~~~~~~~~~~~~~~~~~
      [60/88] Compiling Cython source /tmp/pip-install-q28iyqht/pyfai_fb1f494d1245454da3ebea7b246b976a/pyFAI/ext/fastcrc.pyx
      [61/88] Compiling Cython source /tmp/pip-install-q28iyqht/pyfai_fb1f494d1245454da3ebea7b246b976a/pyFAI/ext/_distortion.pyx
      [62/88] Compiling C++ object pyFAI/ext/splitBBoxLUT.cpython-312-x86_64-linux-gnu.so.p/meson-generated_pyFAI_ext_splitBBoxLUT.pyx.cpp.o
      [63/88] Compiling C++ object pyFAI/ext/splitPixelFullCSR.cpython-312-x86_64-linux-gnu.so.p/meson-generated_pyFAI_ext_splitPixelFullCSR.pyx.cpp.o
      [64/88] Compiling C object pyFAI/ext/histogram.cpython-312-x86_64-linux-gnu.so.p/meson-generated_pyFAI_ext_histogram.pyx.c.o
      [65/88] Compiling C object pyFAI/ext/dynamic_rectangle.cpython-312-x86_64-linux-gnu.so.p/meson-generated_pyFAI_ext_dynamic_rectangle.pyx.c.o
      [66/88] Compiling C object pyFAI/ext/watershed.cpython-312-x86_64-linux-gnu.so.p/meson-generated_pyFAI_ext_watershed.pyx.c.o
      [67/88] Compiling C object pyFAI/ext/invert_geometry.cpython-312-x86_64-linux-gnu.so.p/meson-generated_pyFAI_ext_invert_geometry.pyx.c.o
      [68/88] Compiling C object pyFAI/ext/splitBBox.cpython-312-x86_64-linux-gnu.so.p/meson-generated_pyFAI_ext_splitBBox.pyx.c.o
      pyFAI/ext/splitBBox.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/splitBBox.pyx.c: In function ‘__pyx_pf_5pyFAI_3ext_9splitBBox_12histoBBox1d_engine.isra’:
      pyFAI/ext/splitBBox.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/splitBBox.pyx.c:30766:16: warning: ‘__pyx_v_pos1_max’ may be used uninitialized [-Wmaybe-uninitialized]
      30766 |             if (__pyx_t_5) {
            |                ^
      pyFAI/ext/splitBBox.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/splitBBox.pyx.c:28440:45: note: ‘__pyx_v_pos1_max’ was declared here
      28440 |   __pyx_t_5pyFAI_3ext_9splitBBox_position_t __pyx_v_pos1_max;
            |                                             ^~~~~~~~~~~~~~~~
      pyFAI/ext/splitBBox.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/splitBBox.pyx.c: In function ‘__pyx_pf_5pyFAI_3ext_9splitBBox_10histoBBox1d.isra’:
      pyFAI/ext/splitBBox.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/splitBBox.pyx.c:24924:14: warning: ‘__pyx_v_bin0_max’ may be used uninitialized [-Wmaybe-uninitialized]
      24924 |   Py_ssize_t __pyx_v_bin0_max;
            |              ^~~~~~~~~~~~~~~~
      [69/88] Compiling C object pyFAI/ext/splitPixel.cpython-312-x86_64-linux-gnu.so.p/meson-generated_pyFAI_ext_splitPixel.pyx.c.o
      pyFAI/ext/splitPixel.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/splitPixel.pyx.c: In function ‘__pyx_pf_5pyFAI_3ext_10splitPixel_16pseudoSplit2D_engine.isra’:
      pyFAI/ext/splitPixel.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/splitPixel.pyx.c:40301:14: warning: ‘__pyx_v_new_min0’ may be used uninitialized [-Wmaybe-uninitialized]
      40301 |           if (!__pyx_t_26) {
            |              ^
      pyFAI/ext/splitPixel.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/splitPixel.pyx.c:37943:47: note: ‘__pyx_v_new_min0’ was declared here
      37943 |   __pyx_t_5pyFAI_3ext_10splitPixel_position_t __pyx_v_new_min0;
            |                                               ^~~~~~~~~~~~~~~~
      pyFAI/ext/splitPixel.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/splitPixel.pyx.c:40307:14: warning: ‘__pyx_v_new_max0’ may be used uninitialized [-Wmaybe-uninitialized]
      40307 |           if (!__pyx_t_26) {
            |              ^
      pyFAI/ext/splitPixel.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/splitPixel.pyx.c:37944:47: note: ‘__pyx_v_new_max0’ was declared here
      37944 |   __pyx_t_5pyFAI_3ext_10splitPixel_position_t __pyx_v_new_max0;
            |                                               ^~~~~~~~~~~~~~~~
      pyFAI/ext/splitPixel.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/splitPixel.pyx.c:40313:14: warning: ‘__pyx_v_new_min1’ may be used uninitialized [-Wmaybe-uninitialized]
      40313 |           if (!__pyx_t_26) {
            |              ^
      pyFAI/ext/splitPixel.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/splitPixel.pyx.c:37945:47: note: ‘__pyx_v_new_min1’ was declared here
      37945 |   __pyx_t_5pyFAI_3ext_10splitPixel_position_t __pyx_v_new_min1;
            |                                               ^~~~~~~~~~~~~~~~
      pyFAI/ext/splitPixel.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/splitPixel.pyx.c:40321:14: warning: ‘__pyx_v_new_max1’ may be used uninitialized [-Wmaybe-uninitialized]
      40321 |           if (__pyx_t_4) {
            |              ^
      pyFAI/ext/splitPixel.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/splitPixel.pyx.c:37946:47: note: ‘__pyx_v_new_max1’ was declared here
      37946 |   __pyx_t_5pyFAI_3ext_10splitPixel_position_t __pyx_v_new_max1;
            |                                               ^~~~~~~~~~~~~~~~
      [70/88] Compiling C++ object pyFAI/ext/sparse_builder.cpython-312-x86_64-linux-gnu.so.p/meson-generated_pyFAI_ext_sparse_builder.pyx.cpp.o
      [71/88] Compiling C object pyFAI/ext/inpainting.cpython-312-x86_64-linux-gnu.so.p/meson-generated_pyFAI_ext_inpainting.pyx.c.o
      In function ‘__pyx_pf_5pyFAI_3ext_10inpainting_14polar_inpaint’,
          inlined from ‘__pyx_fuse_1__pyx_pw_5pyFAI_3ext_10inpainting_15polar_inpaint’ at pyFAI/ext/inpainting.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/inpainting.pyx.c:28066:13:
      pyFAI/ext/inpainting.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/inpainting.pyx.c:28670:44: warning: ‘__pyx_v_idx_row’ may be used uninitialized [-Wmaybe-uninitialized]
      28670 |           __pyx_t_22 = (((2 * __pyx_v_row) - __pyx_v_idx_row) + 1);
            |                         ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
      pyFAI/ext/inpainting.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/inpainting.pyx.c: In function ‘__pyx_fuse_1__pyx_pw_5pyFAI_3ext_10inpainting_15polar_inpaint’:
      pyFAI/ext/inpainting.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/inpainting.pyx.c:28100:7: note: ‘__pyx_v_idx_row’ was declared here
      28100 |   int __pyx_v_idx_row;
            |       ^~~~~~~~~~~~~~~
      In function ‘__pyx_pf_5pyFAI_3ext_10inpainting_14polar_inpaint’,
          inlined from ‘__pyx_fuse_1__pyx_pw_5pyFAI_3ext_10inpainting_15polar_inpaint’ at pyFAI/ext/inpainting.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/inpainting.pyx.c:28066:13:
      pyFAI/ext/inpainting.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/inpainting.pyx.c:29747:147: warning: ‘__pyx_v_dummy’ may be used uninitialized [-Wmaybe-uninitialized]
      29747 |       *((float *) ( /* dim=1 */ ((char *) (((float *) ( /* dim=0 */ (__pyx_v_res.data + __pyx_t_17 * __pyx_v_res.strides[0]) )) + __pyx_t_16)) )) = __pyx_v_value;
            |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
      pyFAI/ext/inpainting.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/inpainting.pyx.c: In function ‘__pyx_fuse_1__pyx_pw_5pyFAI_3ext_10inpainting_15polar_inpaint’:
      pyFAI/ext/inpainting.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/inpainting.pyx.c:28106:9: note: ‘__pyx_v_dummy’ was declared here
      28106 |   float __pyx_v_dummy;
            |         ^~~~~~~~~~~~~
      In function ‘__pyx_pf_5pyFAI_3ext_10inpainting_12polar_inpaint’,
          inlined from ‘__pyx_fuse_0__pyx_pw_5pyFAI_3ext_10inpainting_13polar_inpaint’ at pyFAI/ext/inpainting.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/inpainting.pyx.c:26116:13:
      pyFAI/ext/inpainting.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/inpainting.pyx.c:26720:44: warning: ‘__pyx_v_idx_row’ may be used uninitialized [-Wmaybe-uninitialized]
      26720 |           __pyx_t_22 = (((2 * __pyx_v_row) - __pyx_v_idx_row) + 1);
            |                         ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
      pyFAI/ext/inpainting.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/inpainting.pyx.c: In function ‘__pyx_fuse_0__pyx_pw_5pyFAI_3ext_10inpainting_13polar_inpaint’:
      pyFAI/ext/inpainting.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/inpainting.pyx.c:26150:7: note: ‘__pyx_v_idx_row’ was declared here
      26150 |   int __pyx_v_idx_row;
            |       ^~~~~~~~~~~~~~~
      In function ‘__pyx_pf_5pyFAI_3ext_10inpainting_12polar_inpaint’,
          inlined from ‘__pyx_fuse_0__pyx_pw_5pyFAI_3ext_10inpainting_13polar_inpaint’ at pyFAI/ext/inpainting.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/inpainting.pyx.c:26116:13:
      pyFAI/ext/inpainting.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/inpainting.pyx.c:27797:147: warning: ‘__pyx_v_dummy’ may be used uninitialized [-Wmaybe-uninitialized]
      27797 |       *((float *) ( /* dim=1 */ ((char *) (((float *) ( /* dim=0 */ (__pyx_v_res.data + __pyx_t_17 * __pyx_v_res.strides[0]) )) + __pyx_t_16)) )) = __pyx_v_value;
            |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
      pyFAI/ext/inpainting.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/inpainting.pyx.c: In function ‘__pyx_fuse_0__pyx_pw_5pyFAI_3ext_10inpainting_13polar_inpaint’:
      pyFAI/ext/inpainting.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/inpainting.pyx.c:26156:9: note: ‘__pyx_v_dummy’ was declared here
      26156 |   float __pyx_v_dummy;
            |         ^~~~~~~~~~~~~
      [72/88] Compiling C object pyFAI/ext/preproc.cpython-312-x86_64-linux-gnu.so.p/meson-generated_pyFAI_ext_preproc.pyx.c.o
      pyFAI/ext/preproc.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/preproc.pyx.c: In function ‘__pyx_fuse_1_7__pyx_f_5pyFAI_3ext_7preproc_c1_preproc.constprop’:
      pyFAI/ext/preproc.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/preproc.pyx.c:39234:31: warning: ‘__pyx_v_one_flat’ may be used uninitialized [-Wmaybe-uninitialized]
      39234 |               __pyx_v_one_den = (__pyx_v_one_den * __pyx_v_one_flat);
            |               ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      pyFAI/ext/preproc.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/preproc.pyx.c:38726:10: note: ‘__pyx_v_one_flat’ was declared here
      38726 |   double __pyx_v_one_flat;
            |          ^~~~~~~~~~~~~~~~
      pyFAI/ext/preproc.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/preproc.pyx.c: In function ‘__pyx_fuse_1_4__pyx_f_5pyFAI_3ext_7preproc_c1_preproc.constprop’:
      pyFAI/ext/preproc.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/preproc.pyx.c:36888:31: warning: ‘__pyx_v_one_flat’ may be used uninitialized [-Wmaybe-uninitialized]
      36888 |               __pyx_v_one_den = (__pyx_v_one_den * __pyx_v_one_flat);
            |               ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      pyFAI/ext/preproc.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/preproc.pyx.c:36380:10: note: ‘__pyx_v_one_flat’ was declared here
      36380 |   double __pyx_v_one_flat;
            |          ^~~~~~~~~~~~~~~~
      pyFAI/ext/preproc.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/preproc.pyx.c: In function ‘__pyx_fuse_1_3__pyx_f_5pyFAI_3ext_7preproc_c1_preproc.constprop’:
      pyFAI/ext/preproc.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/preproc.pyx.c:36106:31: warning: ‘__pyx_v_one_flat’ may be used uninitialized [-Wmaybe-uninitialized]
      36106 |               __pyx_v_one_den = (__pyx_v_one_den * __pyx_v_one_flat);
            |               ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      pyFAI/ext/preproc.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/preproc.pyx.c:35598:10: note: ‘__pyx_v_one_flat’ was declared here
      35598 |   double __pyx_v_one_flat;
            |          ^~~~~~~~~~~~~~~~
      pyFAI/ext/preproc.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/preproc.pyx.c: In function ‘__pyx_fuse_1_0__pyx_f_5pyFAI_3ext_7preproc_c1_preproc.constprop’:
      pyFAI/ext/preproc.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/preproc.pyx.c:33760:31: warning: ‘__pyx_v_one_flat’ may be used uninitialized [-Wmaybe-uninitialized]
      33760 |               __pyx_v_one_den = (__pyx_v_one_den * __pyx_v_one_flat);
            |               ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      pyFAI/ext/preproc.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/preproc.pyx.c:33252:10: note: ‘__pyx_v_one_flat’ was declared here
      33252 |   double __pyx_v_one_flat;
            |          ^~~~~~~~~~~~~~~~
      pyFAI/ext/preproc.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/preproc.pyx.c: In function ‘__pyx_fuse_0_6__pyx_f_5pyFAI_3ext_7preproc_c1_preproc.constprop’:
      pyFAI/ext/preproc.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/preproc.pyx.c:32196:31: warning: ‘__pyx_v_one_flat’ may be used uninitialized [-Wmaybe-uninitialized]
      32196 |               __pyx_v_one_den = (__pyx_v_one_den * __pyx_v_one_flat);
            |               ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      pyFAI/ext/preproc.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/preproc.pyx.c:31688:9: note: ‘__pyx_v_one_flat’ was declared here
      31688 |   float __pyx_v_one_flat;
            |         ^~~~~~~~~~~~~~~~
      pyFAI/ext/preproc.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/preproc.pyx.c: In function ‘__pyx_fuse_0_4__pyx_f_5pyFAI_3ext_7preproc_c1_preproc.constprop’:
      pyFAI/ext/preproc.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/preproc.pyx.c:30632:31: warning: ‘__pyx_v_one_flat’ may be used uninitialized [-Wmaybe-uninitialized]
      30632 |               __pyx_v_one_den = (__pyx_v_one_den * __pyx_v_one_flat);
            |               ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      pyFAI/ext/preproc.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/preproc.pyx.c:30124:9: note: ‘__pyx_v_one_flat’ was declared here
      30124 |   float __pyx_v_one_flat;
            |         ^~~~~~~~~~~~~~~~
      pyFAI/ext/preproc.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/preproc.pyx.c: In function ‘__pyx_fuse_0_2__pyx_f_5pyFAI_3ext_7preproc_c1_preproc.constprop’:
      pyFAI/ext/preproc.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/preproc.pyx.c:29068:31: warning: ‘__pyx_v_one_flat’ may be used uninitialized [-Wmaybe-uninitialized]
      29068 |               __pyx_v_one_den = (__pyx_v_one_den * __pyx_v_one_flat);
            |               ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      pyFAI/ext/preproc.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/preproc.pyx.c:28560:9: note: ‘__pyx_v_one_flat’ was declared here
      28560 |   float __pyx_v_one_flat;
            |         ^~~~~~~~~~~~~~~~
      pyFAI/ext/preproc.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/preproc.pyx.c: In function ‘__pyx_fuse_0_0__pyx_f_5pyFAI_3ext_7preproc_c1_preproc.constprop’:
      pyFAI/ext/preproc.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/preproc.pyx.c:27504:31: warning: ‘__pyx_v_one_flat’ may be used uninitialized [-Wmaybe-uninitialized]
      27504 |               __pyx_v_one_den = (__pyx_v_one_den * __pyx_v_one_flat);
            |               ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      pyFAI/ext/preproc.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/preproc.pyx.c:26996:9: note: ‘__pyx_v_one_flat’ was declared here
      26996 |   float __pyx_v_one_flat;
            |         ^~~~~~~~~~~~~~~~
      pyFAI/ext/preproc.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/preproc.pyx.c: In function ‘__pyx_fuse_1_6__pyx_f_5pyFAI_3ext_7preproc_c1_preproc.constprop’:
      pyFAI/ext/preproc.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/preproc.pyx.c:38452:31: warning: ‘__pyx_v_one_flat’ may be used uninitialized [-Wmaybe-uninitialized]
      38452 |               __pyx_v_one_den = (__pyx_v_one_den * __pyx_v_one_flat);
            |               ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      pyFAI/ext/preproc.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/preproc.pyx.c:37944:10: note: ‘__pyx_v_one_flat’ was declared here
      37944 |   double __pyx_v_one_flat;
            |          ^~~~~~~~~~~~~~~~
      pyFAI/ext/preproc.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/preproc.pyx.c: In function ‘__pyx_fuse_1_5__pyx_f_5pyFAI_3ext_7preproc_c1_preproc.constprop’:
      pyFAI/ext/preproc.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/preproc.pyx.c:37670:31: warning: ‘__pyx_v_one_flat’ may be used uninitialized [-Wmaybe-uninitialized]
      37670 |               __pyx_v_one_den = (__pyx_v_one_den * __pyx_v_one_flat);
            |               ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      pyFAI/ext/preproc.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/preproc.pyx.c:37162:10: note: ‘__pyx_v_one_flat’ was declared here
      37162 |   double __pyx_v_one_flat;
            |          ^~~~~~~~~~~~~~~~
      pyFAI/ext/preproc.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/preproc.pyx.c: In function ‘__pyx_fuse_1_2__pyx_f_5pyFAI_3ext_7preproc_c1_preproc.constprop’:
      pyFAI/ext/preproc.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/preproc.pyx.c:35324:31: warning: ‘__pyx_v_one_flat’ may be used uninitialized [-Wmaybe-uninitialized]
      35324 |               __pyx_v_one_den = (__pyx_v_one_den * __pyx_v_one_flat);
            |               ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      pyFAI/ext/preproc.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/preproc.pyx.c:34816:10: note: ‘__pyx_v_one_flat’ was declared here
      34816 |   double __pyx_v_one_flat;
            |          ^~~~~~~~~~~~~~~~
      pyFAI/ext/preproc.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/preproc.pyx.c: In function ‘__pyx_fuse_1_1__pyx_f_5pyFAI_3ext_7preproc_c1_preproc.constprop’:
      pyFAI/ext/preproc.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/preproc.pyx.c:34542:31: warning: ‘__pyx_v_one_flat’ may be used uninitialized [-Wmaybe-uninitialized]
      34542 |               __pyx_v_one_den = (__pyx_v_one_den * __pyx_v_one_flat);
            |               ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      pyFAI/ext/preproc.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/preproc.pyx.c:34034:10: note: ‘__pyx_v_one_flat’ was declared here
      34034 |   double __pyx_v_one_flat;
            |          ^~~~~~~~~~~~~~~~
      pyFAI/ext/preproc.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/preproc.pyx.c: In function ‘__pyx_fuse_0_7__pyx_f_5pyFAI_3ext_7preproc_c1_preproc.constprop’:
      pyFAI/ext/preproc.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/preproc.pyx.c:32978:31: warning: ‘__pyx_v_one_flat’ may be used uninitialized [-Wmaybe-uninitialized]
      32978 |               __pyx_v_one_den = (__pyx_v_one_den * __pyx_v_one_flat);
            |               ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      pyFAI/ext/preproc.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/preproc.pyx.c:32470:9: note: ‘__pyx_v_one_flat’ was declared here
      32470 |   float __pyx_v_one_flat;
            |         ^~~~~~~~~~~~~~~~
      pyFAI/ext/preproc.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/preproc.pyx.c: In function ‘__pyx_fuse_0_5__pyx_f_5pyFAI_3ext_7preproc_c1_preproc.constprop’:
      pyFAI/ext/preproc.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/preproc.pyx.c:31414:31: warning: ‘__pyx_v_one_flat’ may be used uninitialized [-Wmaybe-uninitialized]
      31414 |               __pyx_v_one_den = (__pyx_v_one_den * __pyx_v_one_flat);
            |               ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      pyFAI/ext/preproc.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/preproc.pyx.c:30906:9: note: ‘__pyx_v_one_flat’ was declared here
      30906 |   float __pyx_v_one_flat;
            |         ^~~~~~~~~~~~~~~~
      pyFAI/ext/preproc.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/preproc.pyx.c: In function ‘__pyx_fuse_0_3__pyx_f_5pyFAI_3ext_7preproc_c1_preproc.constprop’:
      pyFAI/ext/preproc.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/preproc.pyx.c:29850:31: warning: ‘__pyx_v_one_flat’ may be used uninitialized [-Wmaybe-uninitialized]
      29850 |               __pyx_v_one_den = (__pyx_v_one_den * __pyx_v_one_flat);
            |               ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      pyFAI/ext/preproc.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/preproc.pyx.c:29342:9: note: ‘__pyx_v_one_flat’ was declared here
      29342 |   float __pyx_v_one_flat;
            |         ^~~~~~~~~~~~~~~~
      pyFAI/ext/preproc.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/preproc.pyx.c: In function ‘__pyx_fuse_0_1__pyx_f_5pyFAI_3ext_7preproc_c1_preproc.constprop’:
      pyFAI/ext/preproc.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/preproc.pyx.c:28286:31: warning: ‘__pyx_v_one_flat’ may be used uninitialized [-Wmaybe-uninitialized]
      28286 |               __pyx_v_one_den = (__pyx_v_one_den * __pyx_v_one_flat);
            |               ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      pyFAI/ext/preproc.cpython-312-x86_64-linux-gnu.so.p/pyFAI/ext/preproc.pyx.c:27778:9: note: ‘__pyx_v_one_flat’ was declared here
      27778 |   float __pyx_v_one_flat;
            |         ^~~~~~~~~~~~~~~~
      ninja: build stopped: subcommand failed.
      [end of output]

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

× Encountered error while generating package metadata.
╰─> See above for output.
kif commented 3 days ago

To summarize, you are trying to build from source pyFAI v 2023.09 with those dependencies:

Which version of numpy are you using ? numpy2 support has only been introduced in version 2024.05.

opens21 commented 3 days ago

Yes, the dependencies are correct. I am using numpy2. Is there any workaround or fix?

kif commented 3 days ago

The are only 2 alternatives:

I have no resources to backport fixes. So if you find new bug, they will only be fixed in the development branch.