Error compiling Cython file: ------------------------------------------------------------ ... IF HAVE_SINGLE_MULTITHREADING: fftwf_init_threads() IF HAVE_LONG_MULTITHREADING: fftwl_init_threads() Py_AtExit(_cleanup) ^ ------------------------------------------------------------ pyfftw/pyfftw.pyx:756:10: Cannot assign type 'void (void) except *' to 'void (*)(void) noexcept' warning: pyfftw/pyfftw.pyx:414:22: Casting a GIL-requiring function into a nogil function circumvents GIL validation warning: pyfftw/pyfftw.pyx:420:22: Casting a GIL-requiring function into a nogil function circumvents GIL validation warning: pyfftw/pyfftw.pyx:425:23: Casting a GIL-requiring function into a nogil function circumvents GIL validation warning: pyfftw/pyfftw.pyx:430:23: Casting a GIL-requiring function into a nogil function circumvents GIL validation warning: pyfftw/pyfftw.pyx:437:23: Casting a GIL-requiring function into a nogil function circumvents GIL validation Error compiling Cython file: ------------------------------------------------------------ ... # count the length of the string and extract it manually rather than using # `fftw_export_wisdom_to_string` to avoid calling `free` on the string # potentially allocated by a different C library; see #3 IF HAVE_DOUBLE: fftw_export_wisdom(&count_char, &counter) ^ ------------------------------------------------------------ pyfftw/pyfftw.pyx:2053:27: Cannot assign type 'void (*)(char, void *) except *' to 'void (*)(char, void *) noexcept' Error compiling Cython file: ------------------------------------------------------------ ... c_wisdom = malloc(sizeof(char)*(counter + 1)) if c_wisdom == NULL: raise MemoryError # Set the pointers to the string pointers cdef intptr_t c_wisdom_ptr = c_wisdom fftw_export_wisdom(&write_char_to_string, &c_wisdom_ptr) ^ ------------------------------------------------------------ pyfftw/pyfftw.pyx:2059:27: Cannot assign type 'void (*)(char, void *) except *' to 'void (*)(char, void *) noexcept' Error compiling Cython file: ------------------------------------------------------------ ... try: py_wisdom = c_wisdom finally: free(c_wisdom) IF HAVE_SINGLE: fftwf_export_wisdom(&count_char, &counterf) ^ ------------------------------------------------------------ pyfftw/pyfftw.pyx:2067:28: Cannot assign type 'void (*)(char, void *) except *' to 'void (*)(char, void *) noexcept' Error compiling Cython file: ------------------------------------------------------------ ... fftwf_export_wisdom(&count_char, &counterf) c_wisdomf = malloc(sizeof(char)*(counterf + 1)) if c_wisdomf == NULL: raise MemoryError cdef intptr_t c_wisdomf_ptr = c_wisdomf fftwf_export_wisdom(&write_char_to_string, &c_wisdomf_ptr) ^ ------------------------------------------------------------ pyfftw/pyfftw.pyx:2072:28: Cannot assign type 'void (*)(char, void *) except *' to 'void (*)(char, void *) noexcept' Error compiling Cython file: ------------------------------------------------------------ ... try: py_wisdomf = c_wisdomf finally: free(c_wisdomf) IF HAVE_LONG: fftwl_export_wisdom(&count_char, &counterl) ^ ------------------------------------------------------------ pyfftw/pyfftw.pyx:2079:28: Cannot assign type 'void (*)(char, void *) except *' to 'void (*)(char, void *) noexcept' Error compiling Cython file: ------------------------------------------------------------ ... fftwl_export_wisdom(&count_char, &counterl) c_wisdoml = malloc(sizeof(char)*(counterl + 1)) if c_wisdoml == NULL: raise MemoryError cdef intptr_t c_wisdoml_ptr = c_wisdoml fftwl_export_wisdom(&write_char_to_string, &c_wisdoml_ptr) ^ ------------------------------------------------------------ pyfftw/pyfftw.pyx:2084:28: Cannot assign type 'void (*)(char, void *) except *' to 'void (*)(char, void *) noexcept' Traceback (most recent call last): File "/home/massimo/.cache/yay/python-pyfftw/src/pyFFTW-0.13.1/setup.py", line 827, in setup_package() File "/home/massimo/.cache/yay/python-pyfftw/src/pyFFTW-0.13.1/setup.py", line 824, in setup_package setup(**setup_args) File "/usr/lib/python3.11/site-packages/setuptools/__init__.py", line 107, in setup return distutils.core.setup(**attrs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 185, in setup return run_commands(dist) ^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 201, in run_commands dist.run_commands() File "/usr/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands self.run_command(cmd) File "/usr/lib/python3.11/site-packages/setuptools/dist.py", line 1234, in run_command super().run_command(command) File "/usr/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 988, in run_command cmd_obj.run() File "/usr/lib/python3.11/site-packages/setuptools/_distutils/command/build.py", line 131, in run self.run_command(cmd_name) File "/usr/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command self.distribution.run_command(command) File "/usr/lib/python3.11/site-packages/setuptools/dist.py", line 1234, in run_command super().run_command(command) File "/usr/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 988, in run_command cmd_obj.run() File "/usr/lib/python3.11/site-packages/setuptools/command/build_ext.py", line 84, in run _build_ext.run(self) File "/usr/lib/python3.11/site-packages/setuptools/_distutils/command/build_ext.py", line 345, in run self.build_extensions() File "/home/massimo/.cache/yay/python-pyfftw/src/pyFFTW-0.13.1/setup.py", line 643, in build_extensions build_ext.build_extensions(self) File "/usr/lib/python3.11/site-packages/setuptools/_distutils/command/build_ext.py", line 467, in build_extensions self._build_extensions_serial() File "/usr/lib/python3.11/site-packages/setuptools/_distutils/command/build_ext.py", line 493, in _build_extensions_serial self.build_extension(ext) File "/usr/lib/python3.11/site-packages/setuptools/command/build_ext.py", line 246, in build_extension _build_ext.build_extension(self, ext) File "/usr/lib/python3.11/site-packages/Cython/Distutils/build_ext.py", line 122, in build_extension new_ext = cythonize( ^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/Cython/Build/Dependencies.py", line 1134, in cythonize cythonize_one(*args) File "/usr/lib/python3.11/site-packages/Cython/Build/Dependencies.py", line 1301, in cythonize_one raise CompileError(None, pyx_file) Cython.Compiler.Errors.CompileError: pyfftw/pyfftw.pyx ==> ERROR: A failure occurred in build(). Aborting... -> error making: python-pyfftw-exit status 4 -> Failed to install the following packages. Manual intervention is required: python-pyfftw - exit status 4