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

Fix build of robotology-distro-all package #1761

Open
traversaro opened this issue Dec 6, 2024 · 3 comments
Open

Fix build of robotology-distro-all package #1761

traversaro opened this issue Dec 6, 2024 · 3 comments

Comments

@traversaro
Copy link
Member

Current failures:

linux-64:

 The reported errors are:
- Encountered problems while solving:
-   - package robot-log-visualizer-0.8.0-pyh217d2c6_149 requires gst-plugins-bad, but none of the providers can be installed
-   - package walking-controllers-0.8.0-h8d21ce7_149 requires libbipedal-locomotion-framework >=0.19.0,<0.19.1.0a0, but none of the providers can be installed
-   - package icub-main-2.7.1-h1841e4b_0 requires libicub-main 2.7.1 h7997109_0, but none of the providers can be installed

osx-arm64:

 The reported errors are:
- Encountered problems while solving:
-   - package robot-log-visualizer-0.8.0-pyh217d2c6_149 requires gst-plugins-bad, but none of the providers can be installed
-   - package idyntree-13.2.0-py310hb77eec3_0 requires assimp >=5.4.3,<5.4.4.0a0, but none of the providers can be installed
-   - package librobometry-1.2.5-ha3a0417_0 requires libboost >=1.86.0,<1.87.0a0, but none of the providers can be installed
- 

win-64 :

 -   - package robot-log-visualizer-0.8.0-pyh217d2c6_149 requires gst-plugins-bad, but none of the providers can be installed
-   - package openxr-sdk-1.1.43-hda1637e_0 requires jsoncpp >=1.9.6,<1.9.7.0a0, but none of the providers can be installed
-   - nothing provides yarp >=3.5.1,<3.5.2.0a0 needed by icub-contrib-common-1.19.0-h0e60522_38
@traversaro
Copy link
Member Author

Creating a env.yaml out of the log and passing it to conda results in a much more readable error, example for linux-64 :

traversaro@IITBMP014LW012:~/robdistrows$ conda env create -f env.yaml
Channels:
 - conda-forge
 - robotology
 - robostack-staging
Platform: linux-64
Collecting package metadata (repodata.json): done
Solving environment: failed
Channels:
 - conda-forge
 - robotology
 - robostack-staging
Platform: linux-64
Collecting package metadata (repodata.json): done
Solving environment: failed

LibMambaUnsatisfiableError: Encountered problems while solving:
  - package icub-basic-demos-1.26.0-he18c175_149 requires libxcb >=1.17.0,<2.0a0, but none of the providers can be installed
  - package bipedal-locomotion-framework-0.19.0-ha770c72_8 requires bipedal-locomotion-framework-python >=0.19.0,<0.19.1.0a0, but none of the providers can be installed
  - package ergocub-software-0.7.6-ha770c72_0 requires libergocub-software 0.7.6 h30ca1b8_0, but none of the providers can be installed

Could not solve for environment specs
The following packages are incompatible
├─ bipedal-locomotion-framework 0.19.0**  is installable with the potential options
│  ├─ bipedal-locomotion-framework 0.19.0 would require
│  │  └─ libbipedal-locomotion-framework [0.19.0 h153e8a6_3|0.19.0 h153e8a6_4|...|0.19.0 hcb4088b_1], which requires
│  │     └─ libyarp >=3.9.0,<3.9.1.0a0 , which can be installed;
│  ├─ bipedal-locomotion-framework 0.19.0 would require
│  │  └─ libbipedal-locomotion-framework 0.19.0 h79677eb_6, which requires
│  │     └─ libmatio-cpp >=0.2.5,<0.2.6.0a0 , which can be installed;
│  └─ bipedal-locomotion-framework 0.19.0 would require
│     └─ bipedal-locomotion-framework-python >=0.19.0,<0.19.1.0a0  with the potential options
│        ├─ bipedal-locomotion-framework-python 0.19.0 would require
│        │  └─ libyarp >=3.9.0,<3.9.1.0a0 , which can be installed;
│        ├─ bipedal-locomotion-framework-python 0.19.0 would require
│        │  └─ pcl >=1.14.1,<1.14.2.0a0  with the potential options
│        │     ├─ pcl 1.14.1 would require
│        │     │  └─ vtk-base [>=9.2.6,<9.2.7.0a0 |>=9.3.0,<9.3.1.0a0 ], which requires
│        │     │     └─ jsoncpp >=1.9.5,<1.9.6.0a0 , which can be installed;
│        │     └─ pcl 1.14.1 would require
│        │        └─ libboost >=1.86.0,<1.87.0a0  with the potential options
│        │           ├─ libboost 1.86.0, which can be installed;
│        │           └─ libboost [1.84.0|1.86.0] would require
│        │              └─ icu >=73.2,<74.0a0 , which can be installed;
│        └─ bipedal-locomotion-framework-python 0.19.0 would require
│           └─ libmatio-cpp >=0.2.5,<0.2.6.0a0 , which can be installed;
├─ blocktest-yarp-plugins 1.1.5**  is installable with the potential options
│  ├─ blocktest-yarp-plugins 1.1.5 would require
│  │  └─ libboost >=1.84.0,<1.85.0a0  with the potential options
│  │     ├─ libboost [1.84.0|1.86.0], which can be installed (as previously explained);
│  │     └─ libboost 1.84.0 conflicts with any installable versions previously reported;
│  ├─ blocktest-yarp-plugins 1.1.5 would require
│  │  └─ libyarp >=3.9.0,<3.9.1.0a0 , which can be installed;
│  └─ blocktest-yarp-plugins 1.1.5 would require
│     └─ blocktest >=2.3.8,<2.3.9.0a0 , which can be installed;
├─ blocktest 2.3.9**  is not installable because it conflicts with any installable versions previously reported;
├─ casadi 3.6.7**  is installable with the potential options
│  ├─ casadi 3.6.7 would require
│  │  └─ python_abi 3.10.* *_cp310 with the potential options
│  │     ├─ python_abi 3.10 would require
│  │     │  └─ python 3.10.*  with the potential options
│  │     │     ├─ python [3.10.0|3.10.1|...|3.9.9] would require
│  │     │     │  └─ openssl >=1.1.1l,<1.1.2a , which can be installed;
│  │     │     ├─ python [3.10.4|3.9.12] would require
│  │     │     │  └─ openssl >=1.1.1n,<1.1.2a , which can be installed;
│  │     │     ├─ python [3.10.5|3.9.13] would require
│  │     │     │  └─ openssl >=1.1.1o,<1.1.2a , which can be installed;
│  │     │     ├─ python [3.10.7|3.10.8|3.11.0|3.9.14|3.9.15] would require
│  │     │     │  └─ openssl >=1.1.1s,<1.1.2a , which can be installed;
│  │     │     ├─ python [3.10.0|3.10.1|...|3.10.9] would require
│  │     │     │  └─ python_abi 3.10.* *_cp310, which can be installed;
│  │     │     ├─ python [3.10.6|3.11.0] would require
│  │     │     │  └─ openssl >=1.1.1q,<1.1.2a , which can be installed;
│  │     │     └─ python 3.10.8 would require
│  │     │        └─ graalpy >=23.0.0,<23.0.1.0a0 , which requires
│  │     │           └─ python_abi 3.10.* *_graalpy230_310_native, which can be installed;
│  │     └─ python_abi 3.10, which can be installed;
│  ├─ casadi 3.6.7 would require
│  │  └─ python >=3.11,<3.12.0a0  with the potential options
│  │     ├─ python [3.10.7|3.10.8|3.11.0|3.9.14|3.9.15], which can be installed (as previously explained);
│  │     ├─ python [3.10.6|3.11.0], which can be installed (as previously explained);
│  │     └─ python [3.11.0|3.11.1|...|3.11.9] would require
│  │        └─ python_abi 3.11.* *_cp311, which conflicts with any installable versions previously reported;
│  ├─ casadi 3.6.7 would require
│  │  └─ python >=3.12,<3.13.0a0 , which requires
│  │     └─ python_abi 3.12.* *_cp312, which conflicts with any installable versions previously reported;
│  ├─ casadi 3.6.7 would require
│  │  └─ python_abi 3.13.* *_cp313, which conflicts with any installable versions previously reported;
│  └─ casadi 3.6.7 would require
│     └─ python >=3.9,<3.10.0a0  with the potential options
│        ├─ python [3.9.0|3.9.1] would require
│        │  └─ openssl >=1.1.1h,<1.1.2a , which can be installed;
│        ├─ python 3.9.1 would require
│        │  └─ openssl >=1.1.1i,<1.1.2a , which can be installed;
│        ├─ python [3.9.10|3.9.12|...|3.9.9] conflicts with any installable versions previously reported;
│        ├─ python [3.10.0|3.10.1|...|3.9.9], which can be installed (as previously explained);
│        ├─ python [3.10.4|3.9.12], which can be installed (as previously explained);
│        ├─ python [3.10.5|3.9.13], which can be installed (as previously explained);
│        ├─ python 3.9.2 would require
│        │  └─ openssl >=1.1.1j,<1.1.2a , which can be installed;
│        ├─ python [3.9.4|3.9.5|3.9.6|3.9.7] would require
│        │  └─ openssl >=1.1.1k,<1.1.2a , which can be installed;
│        └─ python [3.10.7|3.10.8|3.11.0|3.9.14|3.9.15], which can be installed (as previously explained);
├─ ergocub-software 0.7.6**  is not installable because it requires
│  └─ libergocub-software 0.7.6 h30ca1b8_0, which requires
│     └─ libyarp >=3.10.1,<3.10.2.0a0 , which conflicts with any installable versions previously reported;
├─ human-dynamics-estimation 4.1.0**  is installable with the potential options
│  ├─ human-dynamics-estimation 4.1.0 would require
│  │  └─ libhuman-dynamics-estimation 4.1.0 ha401cc5_0, which requires
│  │     └─ libicub-main >=2.6.3,<2.6.4.0a0 , which requires
│  │        └─ libicub-firmware-shared >=1.40.0,<1.40.1.0a0 , which can be installed;
│  └─ human-dynamics-estimation 4.1.0 would require
│     └─ human-dynamics-estimation-python >=4.1.0,<4.1.1.0a0  with the potential options
│        ├─ human-dynamics-estimation-python 4.1.0 would require
│        │  └─ python >=3.10,<3.11.0a0 , which can be installed (as previously explained);
│        ├─ human-dynamics-estimation-python 4.1.0 would require
│        │  └─ libyarp >=3.9.0,<3.9.1.0a0 , which can be installed;
│        ├─ human-dynamics-estimation-python 4.1.0 would require
│        │  └─ python >=3.11,<3.12.0a0  with the potential options
│        │     ├─ python [3.10.7|3.10.8|3.11.0|3.9.14|3.9.15], which can be installed (as previously explained);
│        │     ├─ python [3.10.6|3.11.0], which can be installed (as previously explained);
│        │     └─ python [3.11.0|3.11.1|...|3.11.9], which cannot be installed (as previously explained);
│        ├─ human-dynamics-estimation-python 4.1.0 would require
│        │  └─ python >=3.12,<3.13.0a0 , which cannot be installed (as previously explained);
│        └─ human-dynamics-estimation-python 4.1.0 would require
│           └─ python >=3.9,<3.10.0a0  with the potential options
│              ├─ python [3.9.0|3.9.1], which can be installed (as previously explained);
│              ├─ python 3.9.1, which can be installed (as previously explained);
│              ├─ python [3.9.10|3.9.12|...|3.9.9] conflicts with any installable versions previously reported;
│              ├─ python [3.10.0|3.10.1|...|3.9.9], which can be installed (as previously explained);
│              ├─ python [3.10.4|3.9.12], which can be installed (as previously explained);
│              ├─ python [3.10.5|3.9.13], which can be installed (as previously explained);
│              ├─ python 3.9.2, which can be installed (as previously explained);
│              ├─ python [3.9.4|3.9.5|3.9.6|3.9.7], which can be installed (as previously explained);
│              └─ python [3.10.7|3.10.8|3.11.0|3.9.14|3.9.15], which can be installed (as previously explained);
├─ icub-basic-demos 1.26.0**  is installable and it requires
│  └─ libxcb >=1.17.0,<2.0a0 , which can be installed;
├─ icub-firmware-shared 1.41.0**  is not installable because it requires
│  └─ libicub-firmware-shared 1.41.0 h5888daf_0, which conflicts with any installable versions previously reported;
├─ icub-main 2.7.1**  is not installable because it requires
│  └─ libicub-main 2.7.1 h7997109_0, which requires
│     └─ qt-main >=5.15.15,<5.16.0a0 , which requires
│        ├─ gstreamer >=1.24.7,<1.25.0a0 , which can be installed;
│        └─ icu >=75.1,<76.0a0 , which conflicts with any installable versions previously reported;
├─ icub-tests 1.28.0**  is not installable because it requires
│  └─ libicub-main >=2.7.1,<2.7.2.0a0 , which cannot be installed (as previously explained);
├─ libgazebo-yarp-plugins 4.12.0**  is installable with the potential options
│  ├─ libgazebo-yarp-plugins 4.12.0 would require
│  │  ├─ assimp >=5.4.3,<5.4.4.0a0 , which can be installed;
│  │  ├─ dartsim-cpp >=6.15.0,<6.16.0a0 , which can be installed;
│  │  ├─ gazebo >=11.15.1,<12.0a0 , which requires
│  │  │  └─ libgdal-core >=3.10.0,<3.11.0a0 , which requires
│  │  │     └─ openssl >=3.4.0,<4.0a0 , which conflicts with any installable versions previously reported;
│  │  └─ libprotobuf >=5.28.2,<5.28.3.0a0 , which can be installed;
│  └─ libgazebo-yarp-plugins 4.12.0 would require
│     └─ libyarp >=3.9.0,<3.9.1.0a0 , which can be installed;
├─ libgz-sim-yarp-plugins 0.3.1**  is installable with the potential options
│  ├─ libgz-sim-yarp-plugins 0.3.1 would require
│  │  └─ libgz-sim8 >=8.6.0,<9.0a0  with the potential options
│  │     ├─ libgz-sim8 8.6.0 would require
│  │     │  └─ python_abi 3.13.* *_cp313, which conflicts with any installable versions previously reported;
│  │     ├─ libgz-sim8 8.6.0 would require
│  │     │  ├─ libgz-physics7 >=7.3.0,<8.0a0  with the potential options
│  │     │  │  ├─ libgz-physics7 7.3.0 would require
│  │     │  │  │  └─ assimp >=5.4.2,<5.4.3.0a0 , which conflicts with any installable versions previously reported;
│  │     │  │  └─ libgz-physics7 7.3.0 would require
│  │     │  │     └─ dartsim-cpp >=6.14.5,<6.15.0a0  with the potential options
│  │     │  │        ├─ dartsim-cpp 6.14.5 would require
│  │     │  │        │  └─ assimp >=5.4.2,<5.4.3.0a0 , which conflicts with any installable versions previously reported;
│  │     │  │        ├─ dartsim-cpp 6.14.5 would require
│  │     │  │        │  └─ imgui >=1.91.2,<1.91.3.0a0 , which can be installed;
│  │     │  │        ├─ dartsim-cpp 6.14.5 would require
│  │     │  │        │  └─ imgui >=1.91.3,<1.91.4.0a0 , which can be installed;
│  │     │  │        └─ dartsim-cpp 6.14.5 conflicts with any installable versions previously reported;
│  │     │  └─ python_abi 3.10.* *_cp310 with the potential options
│  │     │     ├─ python_abi 3.10, which cannot be installed (as previously explained);
│  │     │     └─ python_abi 3.10, which can be installed;
│  │     ├─ libgz-sim8 8.6.0 would require
│  │     │  └─ libprotobuf >=4.25.3,<4.25.4.0a0 , which conflicts with any installable versions previously reported;
│  │     ├─ libgz-sim8 8.6.0 would require
│  │     │  └─ libprotobuf >=5.27.5,<5.27.6.0a0 , which conflicts with any installable versions previously reported;
│  │     ├─ libgz-sim8 8.6.0 would require
│  │     │  ├─ libgz-physics7 >=7.3.0,<8.0a0  with the potential options
│  │     │  │  ├─ libgz-physics7 7.3.0, which cannot be installed (as previously explained);
│  │     │  │  └─ libgz-physics7 7.3.0, which can be installed (as previously explained);
│  │     │  └─ python_abi 3.12.* *_cp312, which conflicts with any installable versions previously reported;
│  │     ├─ libgz-sim8 8.6.0 would require
│  │     │  ├─ libgz-physics7 >=7.3.0,<8.0a0  with the potential options
│  │     │  │  ├─ libgz-physics7 7.3.0, which cannot be installed (as previously explained);
│  │     │  │  └─ libgz-physics7 7.3.0, which can be installed (as previously explained);
│  │     │  └─ python_abi 3.11.* *_cp311 with the potential options
│  │     │     ├─ python_abi 3.11 would require
│  │     │     │  └─ python 3.11.*  with the potential options
│  │     │     │     ├─ python [3.10.7|3.10.8|3.11.0|3.9.14|3.9.15], which can be installed (as previously explained);
│  │     │     │     ├─ python [3.10.6|3.11.0], which can be installed (as previously explained);
│  │     │     │     └─ python [3.11.0|3.11.1|...|3.11.9], which cannot be installed (as previously explained);
│  │     │     └─ python_abi 3.11 conflicts with any installable versions previously reported;
│  │     └─ libgz-sim8 8.6.0 would require
│  │        ├─ libgz-physics7 >=7.3.0,<8.0a0  with the potential options
│  │        │  ├─ libgz-physics7 7.3.0, which cannot be installed (as previously explained);
│  │        │  └─ libgz-physics7 7.3.0, which can be installed (as previously explained);
│  │        └─ python_abi 3.9.* *_cp39, which conflicts with any installable versions previously reported;
│  ├─ libgz-sim-yarp-plugins 0.3.1 would require
│  │  └─ libprotobuf >=5.27.5,<5.27.6.0a0 , which conflicts with any installable versions previously reported;
│  └─ libgz-sim-yarp-plugins 0.3.1 would require
│     └─ libyarp >=3.9.0,<3.9.1.0a0 , which can be installed;
├─ libmatio-cpp 0.2.6**  is not installable because it conflicts with any installable versions previously reported;
├─ libyarp 3.10.1**  is not installable because it conflicts with any installable versions previously reported;
├─ openxr-sdk 1.1.43**  is not installable because it requires
│  └─ jsoncpp >=1.9.6,<1.9.7.0a0 , which conflicts with any installable versions previously reported;
├─ robot-log-visualizer 0.8.0**  is not installable because it requires
│  └─ gst-plugins-bad but there are no viable options
│     ├─ gst-plugins-bad [1.18.4|1.18.5] would require
│     │  └─ gstreamer >=1.18.4,<1.19.0a0 , which conflicts with any installable versions previously reported;
│     ├─ gst-plugins-bad [1.18.5|1.20.0|...|1.22.0] would require
│     │  └─ libxcb >=1.13,<1.14.0a0 , which conflicts with any installable versions previously reported;
│     ├─ gst-plugins-bad 1.18.5 would require
│     │  └─ gstreamer >=1.18.5,<1.19.0a0 , which conflicts with any installable versions previously reported;
│     ├─ gst-plugins-bad [1.22.3|1.22.4|...|1.24.4] would require
│     │  └─ libxcb >=1.15,<1.16.0a0 , which conflicts with any installable versions previously reported;
│     ├─ gst-plugins-bad 1.24.4 would require
│     │  └─ gstreamer 1.24.4.* , which conflicts with any installable versions previously reported;
│     └─ gst-plugins-bad 1.24.6 would require
│        └─ gstreamer 1.24.6.* , which conflicts with any installable versions previously reported;
└─ yarp-device-keyboard-joypad 0.0.2**  is installable with the potential options
   ├─ yarp-device-keyboard-joypad 0.0.2 would require
   │  └─ libyarp >=3.9.0,<3.9.1.0a0 , which can be installed;
   └─ yarp-device-keyboard-joypad 0.0.2 would require
      └─ imgui >=1.91.5,<1.91.6.0a0 , which conflicts with any installable versions previously reported.

@traversaro
Copy link
Member Author

I suspect it all boils down to:

traversaro@IITBMP014LW012:~$ conda create -n test332 "libgz-sim8>=8.6.0"  "dartsim>=6.15.0"
Channels:
 - robostack-staging
 - conda-forge
Platform: linux-64
Collecting package metadata (repodata.json): done
Solving environment: failed

LibMambaUnsatisfiableError: Encountered problems while solving:
  - package dartsim-6.15.0-h17c5347_0 requires dartsim-cpp 6.15.0 hb535ba7_0, but none of the providers can be installed

Could not solve for environment specs
The following packages are incompatible
├─ dartsim >=6.15.0  is installable with the potential options
│  ├─ dartsim 6.15.0 would require
│  │  └─ dartsim-cpp 6.15.0 hb535ba7_0, which can be installed;
│  └─ dartsim 6.15.0 would require
│     └─ dartsim-cpp 6.15.0 h2a593d4_1, which can be installed;
└─ libgz-sim8 >=8.6.0  is not installable because it requires
   └─ libgz-physics7 >=7.3.0,<8.0a0 , which requires
      └─ dartsim-cpp >=6.14.5,<6.15.0a0 , which conflicts with any installable versions previously reported.

@traversaro
Copy link
Member Author

Rebuilding gz-physics to use the latest dart-cpp and after using boost 1.86, the last failure is:

 The reported errors are:
- Encountered problems while solving:
-   - package robot-log-visualizer-0.8.0-pyh217d2c6_150 requires gst-plugins-bad, but none of the providers can be installed
~~

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

No branches or pull requests

1 participant