Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem when building the superbuild at commit babf8b5 #1519

Closed
fedeceola opened this issue Nov 14, 2023 · 6 comments · Fixed by #1526 or robotology/icub-main#914
Closed

Problem when building the superbuild at commit babf8b5 #1519

fedeceola opened this issue Nov 14, 2023 · 6 comments · Fixed by #1526 or robotology/icub-main#914

Comments

@fedeceola
Copy link

Today I built the robotology-superbuild at commit babf8b5 with the option cmake .. -D ROBOTOLOGY_USES_PYTHON=ON -D ROBOTOLOGY_USES_GAZEBO=OFF -D ROBOTOLOGY_ENABLE_DYNAMICS=ON. From python it's impossible to import icub (and indeed icub.py is not available in robotology-superbuild/build/install/lib/python3/dist-packages). With the last distro v2023.08.0 there are no problems.

@traversaro
Copy link
Member

For reference, the reference commit is babf8b5 . I guess this is related to the changes in #1508 and #1511 .

To debug the problem, can you report the content of following files:

  • robotology-superbuild/build/install/share/robotology-superbuild/setup.sh
  • robotology-superbuild/build/src/YARP/install_manifest.txt
  • robotology-superbuild/build/src/ICUB/CMakeCache.txt
  • robotology-superbuild/build/src/ICUB/install_manifest.txt

Thanks!

@traversaro
Copy link
Member

Actually, looking at the CI log is already clear the problem, for some reason the python files are installed in the build directory instead of the install prefix:

2023-11-15T02:36:24.8751347Z -- Installing: /__w/robotology-superbuild/robotology-superbuild/build/install/bin/iKinCartesianSolver
2023-11-15T02:36:24.8754293Z -- Set runtime path of "/__w/robotology-superbuild/robotology-superbuild/build/install/bin/iKinCartesianSolver" to "$ORIGIN/:$ORIGIN/../lib:$ORIGIN/../:/__w/robotology-superbuild/robotology-superbuild/build/install/lib"
2023-11-15T02:36:24.8756997Z -- Installing: /__w/robotology-superbuild/robotology-superbuild/build/install/bin/actionsRenderingEngine
2023-11-15T02:36:24.8759812Z -- Set runtime path of "/__w/robotology-superbuild/robotology-superbuild/build/install/bin/actionsRenderingEngine" to "$ORIGIN/:$ORIGIN/../lib:$ORIGIN/../:/__w/robotology-superbuild/robotology-superbuild/build/install/lib"
2023-11-15T02:36:24.8762606Z -- Installing: /__w/robotology-superbuild/robotology-superbuild/build/src/ICUB/lib/python3/dist-packages/icub.py
2023-11-15T02:36:24.8764507Z -- Installing: /__w/robotology-superbuild/robotology-superbuild/build/src/ICUB/lib/python3/dist-packages/_icub.so

while for yarp:

2023-11-15T02:27:33.9930558Z -- Installing: /__w/robotology-superbuild/robotology-superbuild/build/install/lib/python3/dist-packages/yarp.py
2023-11-15T02:27:33.9931369Z -- Installing: /__w/robotology-superbuild/robotology-superbuild/build/install/lib/python3/dist-packages/_yarp.so

@traversaro
Copy link
Member

So the problem may be related to the code in robotology/icub-main#820 .

@traversaro
Copy link
Member

@fedeceola can you check if #1526 solves the issue? Thanks!

@fedeceola
Copy link
Author

Hi @traversaro, I just checked. The issue is solved. Thanks!

@traversaro
Copy link
Member

Great, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants