Package Details: pinocchio 3.3.1-1

Git Clone URL: https://aur.archlinux.org/pinocchio.git (read-only, click to copy)
Package Base: pinocchio
Description: Dynamic computations using Spatial Algebra
Upstream URL: https://github.com/stack-of-tasks/pinocchio
Licenses: BSD-2-Clause
Submitter: Nim65s
Maintainer: Nim65s
Last Packager: Nim65s
Votes: 2
Popularity: 0.000007
First Submitted: 2016-07-27 16:53 (UTC)
Last Updated: 2024-12-18 09:21 (UTC)

Latest Comments

sylvm commented on 2024-10-17 22:23 (UTC) (edited on 2024-10-17 22:24 (UTC) by sylvm)

Finally updating all the dependencies with yay -Syu solved the problem.

Still, there are problems with some tests, so no install by default. I had to customize install without python interface for the install to complete. I use only the c++ interface, so not a problem for me.

sylvm commented on 2024-10-17 09:30 (UTC) (edited on 2024-10-17 09:30 (UTC) by sylvm)

I saw indeed with pacman -Qm that many dependencies of Pinocchio were not updated.

First I tried to update was eigenpy. It happens it could not find the key F6B9DDE42ED91D7939BC25B2A4D60E0153ADD041 https://github.com/manifoldfr.gpg on any key server. I had to add it manually with wget https://github.com/manifoldfr.gpg and gpg --import manifoldfr.gpg Can it explain not all dependencies of pinocchio were updated ?

Waiting for compilation now...

Nim65s commented on 2024-10-16 20:46 (UTC)

Pinocchio is compatible with python 3.12: this is tested in its CI, and this AUR package build fine for me in a clean docker (hum, except 5 unit tests, I'll report this)

Your issue probably comes from something wrong in your dependencies. I suggest to run pacman -Syu, then look at pacman -Qm and remove, clear the build cache, and rebuild the AUR packages that might need it (maybe they are still linked to python 3.11 or something).

sylvm commented on 2024-10-16 14:08 (UTC) (edited on 2024-10-16 14:12 (UTC) by sylvm)

Hello,

First, thanks for providing Pinocchio for archlinux.

I have a compilation problem with this new version 3.2.0-1 at about 50% (error message at the end). It seems to be related to the python version. Now Archlinux official version of python is 3.12, while Pinocchio seems compatible with python 3.11 at maximum.

I updated my system and so have python 3.12. I installed AUR package python311, but pinocchio config detect and use python 3.12. How to make it use python311 ?

Thanks, best regards,

Sylvain

Pinocchio compilation error :


cd /home/sylvain/.cache/yay/pinocchio/src/build-3.2.0/bindings/python && /usr/bin/cmake -E env /usr/bin/cmake -E env PYTHONPATH=/home/sylvain/.cache/yay/pinocchio/src/build-3.2.0/bindings/python /usr/bin/python /home/sylvain/.cache/yay/pinocchio/src/build-3.2.0/bindings/python/stubgen/src/pybind11_stubgen/__init__.py -o /home/sylvain/.cache/yay/pinocchio/src/build-3.2.0/bindings/python pinocchio --boost-python --ignore-invalid signature --no-setup-py --root-module-suffix ""
/home/sylvain/.cache/yay/pinocchio/src/build-3.2.0/bindings/python/stubgen/src/pybind11_stubgen/__init__.py:93: SyntaxWarning: invalid escape sequence '\['
  find_optional_args = re.findall('\[(.*?)\]$', args)
/home/sylvain/.cache/yay/pinocchio/src/build-3.2.0/bindings/python/stubgen/src/pybind11_stubgen/__init__.py:117: SyntaxWarning: invalid escape sequence '\('
  type_name = re.findall('\((.*?)\)', arg)[0]
/home/sylvain/.cache/yay/pinocchio/src/build-3.2.0/bindings/python/stubgen/src/pybind11_stubgen/__init__.py:133: SyntaxWarning: invalid escape sequence '\('
  type_name = re.findall('\((.*?)\)', main_arg)[0]
Traceback (most recent call last):
  File "/home/sylvain/.cache/yay/pinocchio/src/build-3.2.0/bindings/python/stubgen/src/pybind11_stubgen/__init__.py", line 1023, in <module>
    main()
  File "/home/sylvain/.cache/yay/pinocchio/src/build-3.2.0/bindings/python/stubgen/src/pybind11_stubgen/__init__.py", line 1001, in main
    _module = ModuleStubsGenerator(_module_name)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/sylvain/.cache/yay/pinocchio/src/build-3.2.0/bindings/python/stubgen/src/pybind11_stubgen/__init__.py", line 734, in __init__
    self.module = importlib.import_module(module_or_module_name)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/importlib/__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 995, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/home/sylvain/.cache/yay/pinocchio/src/pinocchio-3.2.0/bindings/python/pinocchio/__init__.py", line 19, in <module>
    from .pinocchio_pywrap_default import *
ImportError: /home/sylvain/.cache/yay/pinocchio/src/build-3.2.0/bindings/python/pinocchio/pinocchio_pywrap_default.cpython-312-x86_64-linux-gnu.so: undefined symbol: EIGENPY_ARRAY_APIPyArray_RUNTIME_VERSION
make[2]: *** [bindings/python/CMakeFiles/pinocchio-generate_stubs__home_sylvain_.cache_yay_pinocchio_src_build-3.2.0_bindings_python_pinocchio.dir/build.make:73: bindings/python/CMakeFiles/pinocchio-generate_stubs__home_sylvain_.cache_yay_pinocchio_src_build-3.2.0_bindings_python_pinocchio] Error 1
make[2]: Leaving directory '/home/sylvain/.cache/yay/pinocchio/src/build-3.2.0'
make[1]: *** [CMakeFiles/Makefile2:2824: bindings/python/CMakeFiles/pinocchio-generate_stubs__home_sylvain_.cache_yay_pinocchio_src_build-3.2.0_bindings_python_pinocchio.dir/all] Error 2
make[1]: Leaving directory '/home/sylvain/.cache/yay/pinocchio/src/build-3.2.0'
make: *** [Makefile:149: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: pinocchio-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
pinocchio - exit status 4