Python Wrapper not building on Linux Mint 22.3
Hi,
When I try to pip install cmsisdsp on a fresh Python 3.14.2 environment, I get the following error:
Using cached cmsisdsp-1.9.5.tar.gz (2.0 MB)
Installing build dependencies ... error
error: subprocess-exited-with-error
× installing build dependencies for cmsisdsp did not run successfully.
│ exit code: 2
╰─> [122 lines of output]
...
pip._vendor.pyproject_hooks._impl.BackendUnavailable: Cannot import 'setuptools.build_meta'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed to build 'cmsisdsp' when installing build dependencies for cmsisdsp
I don't think this is OS related. Any ideas what causes this and how to fix it?
In the past, cmsisdsp package was provided in binary for different platforms. But it was too difficult to generate all the variants, Recently a source option was added but it looks like it needs improvement.
In the meantime, you may try:
python3.14 -m pip install -U pip setuptools wheel packaging numpy cmake
python3.14 -m pip install -v --no-build-isolation --no-binary cmsisdsp cmsisdsp
Note that I have not tested yet. I have so far not tested to rebuild the wrapper with 3.14 but it looks like I'll have to do it soon.
Thank you for the quick response. Sadly, it did not work. I get the following outputs: First, it seems the numpy libs used are for older Python versions:
$ pip install -v --no-build-isolation --no-binary cmsisdsp cmsisdsp
Collecting cmsisdsp
Using cached cmsisdsp-1.9.5.tar.gz (2.0 MB)
...
Preparing metadata (pyproject.toml) ... done
Link requires a different Python (3.14.2 not in: '>=3.7,<3.11'): https://files.pythonhosted.org/packages/3a/be/650f9c091ef71cb01d735775d554e068752d3ff63d7943b26316dc401749/numpy-1.21.2.zip (from https://pypi.org/simple/numpy/) (requires-python:>=3.7,<3.11)
Link requires a different Python (3.14.2 not in: '>=3.7,<3.11'): https://files.pythonhosted.org/packages/5f/d6/ad58ded26556eaeaa8c971e08b6466f17c4ac4d786cd3d800e26ce59cc01/numpy-1.21.3.zip (from https://pypi.org/simple/numpy/) (requires-python:>=3.7,<3.11)
Link requires a different Python (3.14.2 not in: '>=3.7,<3.11'): https://files.pythonhosted.org/packages/fb/48/b0708ebd7718a8933f0d3937513ef8ef2f4f04529f1f66ca86d873043921/numpy-1.21.4.zip (from https://pypi.org/simple/numpy/) (requires-python:>=3.7,<3.11)
Link requires a different Python (3.14.2 not in: '>=3.7,<3.11'): https://files.pythonhosted.org/packages/c2/a8/a924a09492bdfee8c2ec3094d0a13f2799800b4fdc9c890738aeeb12c72e/numpy-1.21.5.zip (from https://pypi.org/simple/numpy/) (requires-python:>=3.7,<3.11)
Link requires a different Python (3.14.2 not in: '>=3.7,<3.11'): https://files.pythonhosted.org/packages/45/b7/de7b8e67f2232c26af57c205aaad29fe17754f793404f59c8a730c7a191a/numpy-1.21.6.zip (from https://pypi.org/simple/numpy/) (requires-python:>=3.7,<3.11)
Link requires a different Python (3.14.2 not in: '<3.13,>=3.9'): https://files.pythonhosted.org/packages/55/b3/b13bce39ba82b7398c06d10446f5ffd5c07db39b09bd37370dc720c7951c/numpy-1.26.0.tar.gz (from https://pypi.org/simple/numpy/) (requires-python:<3.13,>=3.9)
Link requires a different Python (3.14.2 not in: '<3.13,>=3.9'): https://files.pythonhosted.org/packages/78/23/f78fd8311e0f710fe1d065d50b92ce0057fe877b8ed7fd41b28ad6865bfc/numpy-1.26.1.tar.gz (from https://pypi.org/simple/numpy/) (requires-python:<3.13,>=3.9)
Second, are those numpy libs trying to build with MSVC?
Collecting numpy<1.22,>=1.21 (from cmsisdsp)
Using cached numpy-1.21.1.zip (10.3 MB)
Running command Preparing metadata (pyproject.toml)
<string>:63: RuntimeWarning: NumPy 1.21.1 may not yet support Python 3.14.
Running from numpy source directory.
Traceback (most recent call last):
...
ModuleNotFoundError: No module named 'distutils.msvccompiler'
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> No available output.
I tried your commands with Python 3.12.12, but get the same error. However, a regular pip install cmsisdsp works under 3.12.12!
Yes, for Python 3.12 the binaries are available on PyPI.
But for 3.14 it attempts to recompile from the source and obviously this will need a rework to better work on different versions and platform.
Ahh I see, I can test the build on my platform if you find time to rework it, Or if you point me to what needs to be done, I can give it a try in a PR.
The pyproject.toml was not ok. It was using a too old setuptools for Python 3.14
I have just commited an untested fix. So perhaps it may work if you build from the repo.
Then it needs more testing for the source build from the extension to find the issues before I can make an update on PyPI.
I cloned the repo and tried to build it with python -m build but get some weird errors, unchanged by your fix.
Is there anything else I need to consider before building?
$ python -m build
* Creating isolated environment: venv+pip...
* Installing packages in isolated environment:
- cmake
- numpy>=2.0.0
- packaging>=24.2
- setuptools>=42; python_version < '3.12'
- setuptools>=69; python_version >= '3.12' and python_version < '3.14'
- setuptools>=80; python_version >= '3.14'
- wheel
* Getting build dependencies for sdist...
running egg_info
writing cmsisdsp.egg-info/PKG-INFO
writing dependency_links to cmsisdsp.egg-info/dependency_links.txt
writing requirements to cmsisdsp.egg-info/requires.txt
writing top-level names to cmsisdsp.egg-info/top_level.txt
reading manifest file 'cmsisdsp.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file 'cmsisdsp.egg-info/SOURCES.txt'
* Building sdist...
running sdist
running egg_info
writing cmsisdsp.egg-info/PKG-INFO
writing dependency_links to cmsisdsp.egg-info/dependency_links.txt
writing requirements to cmsisdsp.egg-info/requires.txt
writing top-level names to cmsisdsp.egg-info/top_level.txt
reading manifest file 'cmsisdsp.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file 'cmsisdsp.egg-info/SOURCES.txt'
running check
creating cmsisdsp-1.10.2
creating cmsisdsp-1.10.2/Include
creating cmsisdsp-1.10.2/Include/dsp
creating cmsisdsp-1.10.2/PrivateInclude
creating cmsisdsp-1.10.2/PythonWrapper/cmsisdsp_pkg/src
creating cmsisdsp-1.10.2/Source/DistanceFunctions
creating cmsisdsp-1.10.2/cmsisdsp
creating cmsisdsp-1.10.2/cmsisdsp.egg-info
copying files to cmsisdsp-1.10.2...
copying LICENSE -> cmsisdsp-1.10.2
copying MANIFEST.in -> cmsisdsp-1.10.2
copying PythonWrapper_README.md -> cmsisdsp-1.10.2
copying README.md -> cmsisdsp-1.10.2
copying pyproject.toml -> cmsisdsp-1.10.2
copying setup.py -> cmsisdsp-1.10.2
copying Include/arm_common_tables.h -> cmsisdsp-1.10.2/Include
copying Include/arm_common_tables_f16.h -> cmsisdsp-1.10.2/Include
copying Include/arm_const_structs.h -> cmsisdsp-1.10.2/Include
copying Include/arm_const_structs_f16.h -> cmsisdsp-1.10.2/Include
copying Include/arm_helium_utils.h -> cmsisdsp-1.10.2/Include
copying Include/arm_math.h -> cmsisdsp-1.10.2/Include
copying Include/arm_math_f16.h -> cmsisdsp-1.10.2/Include
copying Include/arm_math_memory.h -> cmsisdsp-1.10.2/Include
copying Include/arm_math_types.h -> cmsisdsp-1.10.2/Include
copying Include/arm_math_types_f16.h -> cmsisdsp-1.10.2/Include
copying Include/arm_mve_tables.h -> cmsisdsp-1.10.2/Include
copying Include/arm_mve_tables_f16.h -> cmsisdsp-1.10.2/Include
copying Include/arm_neon_tables.h -> cmsisdsp-1.10.2/Include
copying Include/arm_neon_tables_f16.h -> cmsisdsp-1.10.2/Include
copying Include/arm_vec_math.h -> cmsisdsp-1.10.2/Include
copying Include/arm_vec_math_f16.h -> cmsisdsp-1.10.2/Include
copying Include/dsp/basic_math_functions.h -> cmsisdsp-1.10.2/Include/dsp
copying Include/dsp/basic_math_functions_f16.h -> cmsisdsp-1.10.2/Include/dsp
copying Include/dsp/bayes_functions.h -> cmsisdsp-1.10.2/Include/dsp
copying Include/dsp/bayes_functions_f16.h -> cmsisdsp-1.10.2/Include/dsp
copying Include/dsp/complex_math_functions.h -> cmsisdsp-1.10.2/Include/dsp
copying Include/dsp/complex_math_functions_f16.h -> cmsisdsp-1.10.2/Include/dsp
copying Include/dsp/controller_functions.h -> cmsisdsp-1.10.2/Include/dsp
copying Include/dsp/controller_functions_f16.h -> cmsisdsp-1.10.2/Include/dsp
copying Include/dsp/debug.h -> cmsisdsp-1.10.2/Include/dsp
copying Include/dsp/distance_functions.h -> cmsisdsp-1.10.2/Include/dsp
copying Include/dsp/distance_functions_f16.h -> cmsisdsp-1.10.2/Include/dsp
copying Include/dsp/fast_math_functions.h -> cmsisdsp-1.10.2/Include/dsp
copying Include/dsp/fast_math_functions_f16.h -> cmsisdsp-1.10.2/Include/dsp
copying Include/dsp/filtering_functions.h -> cmsisdsp-1.10.2/Include/dsp
copying Include/dsp/filtering_functions_f16.h -> cmsisdsp-1.10.2/Include/dsp
copying Include/dsp/interpolation_functions.h -> cmsisdsp-1.10.2/Include/dsp
copying Include/dsp/interpolation_functions_f16.h -> cmsisdsp-1.10.2/Include/dsp
copying Include/dsp/matrix_functions.h -> cmsisdsp-1.10.2/Include/dsp
copying Include/dsp/matrix_functions_f16.h -> cmsisdsp-1.10.2/Include/dsp
copying Include/dsp/matrix_utils.h -> cmsisdsp-1.10.2/Include/dsp
copying Include/dsp/none.h -> cmsisdsp-1.10.2/Include/dsp
copying Include/dsp/quaternion_math_functions.h -> cmsisdsp-1.10.2/Include/dsp
copying Include/dsp/statistics_functions.h -> cmsisdsp-1.10.2/Include/dsp
copying Include/dsp/statistics_functions_f16.h -> cmsisdsp-1.10.2/Include/dsp
copying Include/dsp/support_functions.h -> cmsisdsp-1.10.2/Include/dsp
copying Include/dsp/support_functions_f16.h -> cmsisdsp-1.10.2/Include/dsp
copying Include/dsp/svm_defines.h -> cmsisdsp-1.10.2/Include/dsp
copying Include/dsp/svm_functions.h -> cmsisdsp-1.10.2/Include/dsp
copying Include/dsp/svm_functions_f16.h -> cmsisdsp-1.10.2/Include/dsp
copying Include/dsp/transform_functions.h -> cmsisdsp-1.10.2/Include/dsp
copying Include/dsp/transform_functions_f16.h -> cmsisdsp-1.10.2/Include/dsp
copying Include/dsp/utils.h -> cmsisdsp-1.10.2/Include/dsp
copying Include/dsp/window_functions.h -> cmsisdsp-1.10.2/Include/dsp
copying PrivateInclude/arm_compiler_specific.h -> cmsisdsp-1.10.2/PrivateInclude
copying PrivateInclude/arm_neon_private.h -> cmsisdsp-1.10.2/PrivateInclude
copying PrivateInclude/arm_sorting.h -> cmsisdsp-1.10.2/PrivateInclude
copying PrivateInclude/arm_vec_fft.h -> cmsisdsp-1.10.2/PrivateInclude
copying PrivateInclude/arm_vec_filtering.h -> cmsisdsp-1.10.2/PrivateInclude
copying PythonWrapper/cmsisdsp_pkg/src/cmsisdsp_basic.c -> cmsisdsp-1.10.2/PythonWrapper/cmsisdsp_pkg/src
copying PythonWrapper/cmsisdsp_pkg/src/cmsisdsp_bayes.c -> cmsisdsp-1.10.2/PythonWrapper/cmsisdsp_pkg/src
copying PythonWrapper/cmsisdsp_pkg/src/cmsisdsp_complexf.c -> cmsisdsp-1.10.2/PythonWrapper/cmsisdsp_pkg/src
copying PythonWrapper/cmsisdsp_pkg/src/cmsisdsp_controller.c -> cmsisdsp-1.10.2/PythonWrapper/cmsisdsp_pkg/src
copying PythonWrapper/cmsisdsp_pkg/src/cmsisdsp_distance.c -> cmsisdsp-1.10.2/PythonWrapper/cmsisdsp_pkg/src
copying PythonWrapper/cmsisdsp_pkg/src/cmsisdsp_fastmath.c -> cmsisdsp-1.10.2/PythonWrapper/cmsisdsp_pkg/src
copying PythonWrapper/cmsisdsp_pkg/src/cmsisdsp_filtering.c -> cmsisdsp-1.10.2/PythonWrapper/cmsisdsp_pkg/src
copying PythonWrapper/cmsisdsp_pkg/src/cmsisdsp_interpolation.c -> cmsisdsp-1.10.2/PythonWrapper/cmsisdsp_pkg/src
copying PythonWrapper/cmsisdsp_pkg/src/cmsisdsp_matrix.c -> cmsisdsp-1.10.2/PythonWrapper/cmsisdsp_pkg/src
copying PythonWrapper/cmsisdsp_pkg/src/cmsisdsp_module.h -> cmsisdsp-1.10.2/PythonWrapper/cmsisdsp_pkg/src
copying PythonWrapper/cmsisdsp_pkg/src/cmsisdsp_quaternion.c -> cmsisdsp-1.10.2/PythonWrapper/cmsisdsp_pkg/src
copying PythonWrapper/cmsisdsp_pkg/src/cmsisdsp_statistics.c -> cmsisdsp-1.10.2/PythonWrapper/cmsisdsp_pkg/src
copying PythonWrapper/cmsisdsp_pkg/src/cmsisdsp_support.c -> cmsisdsp-1.10.2/PythonWrapper/cmsisdsp_pkg/src
copying PythonWrapper/cmsisdsp_pkg/src/cmsisdsp_svm.c -> cmsisdsp-1.10.2/PythonWrapper/cmsisdsp_pkg/src
copying PythonWrapper/cmsisdsp_pkg/src/cmsisdsp_transform.c -> cmsisdsp-1.10.2/PythonWrapper/cmsisdsp_pkg/src
copying PythonWrapper/cmsisdsp_pkg/src/cmsisdsp_window.c -> cmsisdsp-1.10.2/PythonWrapper/cmsisdsp_pkg/src
copying Source/DistanceFunctions/arm_boolean_distance_template.h -> cmsisdsp-1.10.2/Source/DistanceFunctions
copying cmsisdsp/__init__.py -> cmsisdsp-1.10.2/cmsisdsp
copying cmsisdsp/datatype.py -> cmsisdsp-1.10.2/cmsisdsp
copying cmsisdsp/demo.py -> cmsisdsp-1.10.2/cmsisdsp
copying cmsisdsp/fixedpoint.py -> cmsisdsp-1.10.2/cmsisdsp
copying cmsisdsp/mfcc.py -> cmsisdsp-1.10.2/cmsisdsp
copying cmsisdsp/version.py -> cmsisdsp-1.10.2/cmsisdsp
copying cmsisdsp.egg-info/PKG-INFO -> cmsisdsp-1.10.2/cmsisdsp.egg-info
copying cmsisdsp.egg-info/SOURCES.txt -> cmsisdsp-1.10.2/cmsisdsp.egg-info
copying cmsisdsp.egg-info/dependency_links.txt -> cmsisdsp-1.10.2/cmsisdsp.egg-info
copying cmsisdsp.egg-info/requires.txt -> cmsisdsp-1.10.2/cmsisdsp.egg-info
copying cmsisdsp.egg-info/top_level.txt -> cmsisdsp-1.10.2/cmsisdsp.egg-info
copying cmsisdsp.egg-info/SOURCES.txt -> cmsisdsp-1.10.2/cmsisdsp.egg-info
Writing cmsisdsp-1.10.2/setup.cfg
Creating tar archive
removing 'cmsisdsp-1.10.2' (and everything under it)
* Building wheel from sdist
* Creating isolated environment: venv+pip...
* Installing packages in isolated environment:
- cmake
- numpy>=2.0.0
- packaging>=24.2
- setuptools>=42; python_version < '3.12'
- setuptools>=69; python_version >= '3.12' and python_version < '3.14'
- setuptools>=80; python_version >= '3.14'
- wheel
* Getting build dependencies for wheel...
running egg_info
writing cmsisdsp.egg-info/PKG-INFO
writing dependency_links to cmsisdsp.egg-info/dependency_links.txt
writing requirements to cmsisdsp.egg-info/requires.txt
writing top-level names to cmsisdsp.egg-info/top_level.txt
reading manifest file 'cmsisdsp.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file 'cmsisdsp.egg-info/SOURCES.txt'
* Building wheel...
running bdist_wheel
running build
running build_py
creating build/lib.linux-x86_64-cpython-314/cmsisdsp
copying cmsisdsp/version.py -> build/lib.linux-x86_64-cpython-314/cmsisdsp
copying cmsisdsp/fixedpoint.py -> build/lib.linux-x86_64-cpython-314/cmsisdsp
copying cmsisdsp/demo.py -> build/lib.linux-x86_64-cpython-314/cmsisdsp
copying cmsisdsp/__init__.py -> build/lib.linux-x86_64-cpython-314/cmsisdsp
copying cmsisdsp/mfcc.py -> build/lib.linux-x86_64-cpython-314/cmsisdsp
copying cmsisdsp/datatype.py -> build/lib.linux-x86_64-cpython-314/cmsisdsp
running egg_info
writing cmsisdsp.egg-info/PKG-INFO
writing dependency_links to cmsisdsp.egg-info/dependency_links.txt
writing requirements to cmsisdsp.egg-info/requires.txt
writing top-level names to cmsisdsp.egg-info/top_level.txt
reading manifest file 'cmsisdsp.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file 'cmsisdsp.egg-info/SOURCES.txt'
running build_ext
CMake Error: The source directory "/tmp/build-via-sdist-zy410u0j/cmsisdsp-1.10.2/PythonWrapper" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
/tmp/build-via-sdist-zy410u0j/cmsisdsp-1.10.2/PythonWrapper" does not appear to contain CMakeLists.txt.
I have added the CMakeLists.txt to the Python package manifest and commited. I am just trying to unblock you because ideally I should get some time to investigate the problem cleanly and tests all my fixes.
Thank you, but now I am stuck with a different error... I don't want to bother you, for now I can also test with 3.12. Just let me know when I can help test something :)
In case it helps, the new error:
$ python -m build
...
running build_ext
-- The C compiler identification is GNU 13.3.0
-- The CXX compiler identification is GNU 13.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:12 (add_subdirectory):
The source directory
/tmp/build-via-sdist-8su9bzdh/cmsisdsp-1.10.2/Source
does not contain a CMakeLists.txt file.
I created an MR so my changes can be tested on the Windows build as well.
With the suggested changes, it builds, but when I try to run example.py, I get the error:
Traceback (most recent call last):
File "CMSIS-DSP/PythonWrapper/examples/example.py", line 1, in <module>
import cmsisdsp as dsp
File "CMSIS-DSP/cmsisdsp/__init__.py", line 6, in <module>
from cmsisdsp_statistics import *
ImportError: CMSIS-DSP/cmsisdsp_statistics.cpython-314-x86_64-linux-gnu.so: undefined symbol: _ZGVbN2v_log
@felhub Thanks for the PR. Indeed the MANIFEST was missing all the source code. It was ok for a build in-place but not for creating a package. There are other source files to add (for aach64). I'll merge your PR and starts from here.
Regarding the missing log symbol ... probably a missing libraries to add when linking. I can't easily test on x86 linux. I'll focus on x86 windows and aarch64 linux to begin.
Thank you!
I have created a new branch : https://github.com/ARM-software/CMSIS-DSP/tree/PythonWrapperSrcBuild
I have added new link option for linux that should solve your issue (but I can't test this config)
I just tested it:
pip install . completes without error, but I get the same error as in https://github.com/ARM-software/CMSIS-DSP/issues/308#issuecomment-4594521336 when running it.
python -m build I now get an error at the linking stage:
$ python -m build
...
running build_ext
-- The C compiler identification is GNU 13.3.0
-- The CXX compiler identification is GNU 13.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done (0.3s)
-- Generating done (0.0s)
-- Build files have been written to: /tmp/build-via-sdist-v4vuk5br/cmsisdsp-1.10.2/build/pythonwrapper
[623/623] Linking C static library bin_dsp/libCMSISDSP.a
building 'cmsisdsp_filtering' extension
creating build/temp.linux-x86_64-cpython-314/PythonWrapper/cmsisdsp_pkg/src
gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -fPIC -ISource/FilteringFunctions -IInclude -IPrivateInclude -IPythonWrapper/cmsisdsp_pkg/src -I/tmp/build-env-ifzmthgx/lib/python3.14/site-packages/numpy/_core/include -I/tmp/build-env-ifzmthgx/include -I/.../python3.14 -c PythonWrapper/cmsisdsp_pkg/src/cmsisdsp_filtering.c -o build/temp.linux-x86_64-cpython-314/PythonWrapper/cmsisdsp_pkg/src/cmsisdsp_filtering.o -Wno-attributes -Wno-unused-function -Wno-unused-variable -Wno-implicit-function-declaration -DCMSISDSP -D__GNUC_PYTHON__
Traceback (most recent call last):
...
File "/tmp/build-env-ifzmthgx/lib/python3.14/site-packages/setuptools/_distutils/command/build_ext.py", line 588, in build_extension
self.compiler.link_shared_object(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
objects,
^^^^^^^^
...<8 lines>...
target_lang=language,
^^^^^^^^^^^^^^^^^^^^^
)
^
File "/tmp/build-env-ifzmthgx/lib/python3.14/site-packages/setuptools/_distutils/compilers/C/base.py", line 805, in link_shared_object
self.link(
~~~~~~~~~^
Compiler.SHARED_OBJECT,
^^^^^^^^^^^^^^^^^^^^^^^
...<11 lines>...
target_lang,
^^^^^^^^^^^^
)
^
File "/tmp/build-env-ifzmthgx/lib/python3.14/site-packages/setuptools/_distutils/compilers/C/unix.py", line 307, in link
self.spawn(linker + ld_args)
~~~~~~~~~~^^^^^^^^^^^^^^^^^^
File "/tmp/build-env-ifzmthgx/lib/python3.14/site-packages/setuptools/_distutils/compilers/C/base.py", line 1151, in spawn
spawn(cmd, **kwargs)
~~~~~^^^^^^^^^^^^^^^
File "/tmp/build-env-ifzmthgx/lib/python3.14/site-packages/setuptools/_distutils/spawn.py", line 75, in spawn
log.info(subprocess.list2cmdline(cmd))
~~~~~~~~~~~~~~~~~~~~~~~^^^^^
File "python3.14/subprocess.py", line 614, in list2cmdline
for arg in map(os.fsdecode, seq):
~~~^^^^^^^^^^^^^^^^^^
File "<frozen os>", line 869, in fsdecode
TypeError: expected str, bytes or os.PathLike object, not list
The two errors seem to be related.
With version on the branch, I have been able to build on linux x86_64 and Python 3.14.5
But when I try to run, I still have the link issue -linux-gnu.so: undefined symbol: _ZGVbN2v_log
It looks like it is the last issue to solve.
I think the last push on https://github.com/ARM-software/CMSIS-DSP/tree/PythonWrapperSrcBuild should be solving the last issue
I'll merge it in main once it is confirmed.
Works like a charm, thank you!