stack-of-tasks / pinocchio

A fast and flexible implementation of Rigid Body Dynamics algorithms and their analytical derivatives
http://stack-of-tasks.github.io/pinocchio/
BSD 2-Clause "Simplified" License
1.8k stars 379 forks source link

CI failing with libboost_python38.so.1.81.0 not found #1967

Closed stephane-caron closed 1 year ago

stephane-caron commented 1 year ago

Since yesterday we have observed the Pink CI failing with:

  File "/home/runner/work/pink/pink/pink/configuration.py", line 28, in <module>
    import pinocchio as pin
  File "/home/runner/work/pink/pink/.tox/coverage/lib/python3.8/site-packages/cmeel.prefix/lib/python3.8/site-packages/pinocchio/__init__.py", line 6, in <module>
    from .pinocchio_pywrap import *
ImportError: libboost_python38.so.1.81.0: cannot open shared object file: No such file or directory

The PyPI dependency configured in this test environment is pin >= 2.6.4.

Update: reproduced this issue locally in a fresh conda environment. :point_down:

stephane-caron commented 1 year ago

This issue may be related to https://github.com/stack-of-tasks/pinocchio/issues/1960

stephane-caron commented 1 year ago

Timing-wise, this issue started happening yesterday:

image

stephane-caron commented 1 year ago

I can reproduce the issue locally in a Python 3.9 conda environment:

$ conda activate test2
$ pip install pin
Collecting pin
  Using cached pin-2.6.18-0-cp39-cp39-manylinux_2_17_x86_64.whl (6.1 MB)
Collecting cmeel (from pin)
  Using cached cmeel-0.43.1-py3-none-any.whl (16 kB)
Collecting hpp-fcl (from pin)
  Using cached hpp_fcl-2.3.2-0-cp39-cp39-manylinux_2_17_x86_64.whl (2.3 MB)
Collecting cmeel-urdfdom (from pin)
  Using cached cmeel_urdfdom-3.1.0.2-0-py3-none-manylinux_2_17_x86_64.whl (433 kB)
Collecting cmeel-console-bridge (from pin)
  Downloading cmeel_console_bridge-1.0.2.2-1-py3-none-manylinux_2_28_x86_64.whl (23 kB)
Collecting cmeel-tinyxml (from pin)
  Downloading cmeel_tinyxml-2.6.2.2-1-py3-none-manylinux_2_28_x86_64.whl (62 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.9/62.9 kB 693.7 kB/s eta 0:00:00
Collecting tomli<3.0.0,>=2.0.1 (from cmeel->pin)
  Using cached tomli-2.0.1-py3-none-any.whl (12 kB)
Collecting cmeel-assimp<6 (from hpp-fcl->pin)
  Downloading cmeel_assimp-5.2.5.1-0-py3-none-manylinux_2_28_x86_64.whl (13.6 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 13.6/13.6 MB 1.8 MB/s eta 0:00:00
Collecting cmeel-octomap<2 (from hpp-fcl->pin)
  Downloading cmeel_octomap-1.9.8.2-0-py3-none-manylinux_2_28_x86_64.whl (694 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 695.0/695.0 kB 1.9 MB/s eta 0:00:00
Collecting eigenpy<4 (from hpp-fcl->pin)
  Downloading eigenpy-3.0.0-7-cp39-cp39-manylinux_2_28_x86_64.whl (2.5 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.5/2.5 MB 1.9 MB/s eta 0:00:00
Collecting cmeel-boost<1.83.0 (from eigenpy<4->hpp-fcl->pin)
  Downloading cmeel_boost-1.82.0-0-cp39-cp39-manylinux_2_28_x86_64.whl (34.6 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 34.6/34.6 MB 1.7 MB/s eta 0:00:00
Collecting numpy<1.25,>=1.23 (from cmeel-boost<1.83.0->eigenpy<4->hpp-fcl->pin)
  Using cached numpy-1.24.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.3 MB)
Installing collected packages: tomli, numpy, cmeel, cmeel-urdfdom, cmeel-tinyxml, cmeel-octomap, cmeel-console-bridge, cmeel-boost, cmeel-assimp, eigenpy, hpp-fcl, pin
Successfully installed cmeel-0.43.1 cmeel-assimp-5.2.5.1 cmeel-boost-1.82.0 cmeel-console-bridge-1.0.2.2 cmeel-octomap-1.9.8.2 cmeel-tinyxml-2.6.2.2 cmeel-urdfdom-3.1.0.2 eigenpy-3.0.0 hpp-fcl-2.3.2 numpy-1.24.3 pin-2.6.18 tomli-2.0.1
$ python
Python 3.9.16 | packaged by conda-forge | (main, Feb  1 2023, 21:39:03) 
[GCC 11.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pinocchio
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/nelson/.micromamba/envs/test2/lib/python3.9/site-packages/cmeel.prefix/lib/python3.9/site-packages/pinocchio/__init__.py", line 6, in <module>
    from .pinocchio_pywrap import *
ImportError: libboost_python39.so.1.81.0: cannot open shared object file: No such file or directory
nim65s commented 1 year ago

This is the same issue: I'm rebuilding everything for boost 1.82

jcarpent commented 1 year ago

Close as duplicated with #1960.