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

Install both robotology-superbuild from source and ros noetic in conda result in dependency error (February 2024) #1602

Closed
traversaro opened this issue Feb 22, 2024 · 1 comment

Comments

@traversaro
Copy link
Member

We experienced this today with @marcoforleo @Gianlucamilani @dariosortino .

mamba create -n testros -c conda-forge -c robostack-staging ace asio assimp boost eigen freetype gazebo glew glfw glm "graphviz==8.*" gsl ipopt irrlicht libjpeg-turbo libmatio libode libxml2 nlohmann_json pcl opencv portaudio qt-main sdl sdl2 sqlite tinyxml tinyxml2 spdlog lua soxr qhull cmake compilers make ninja pkg-config tomlplusplus libzlib ffmpeg onnxruntime-cpp ros-noetic-desktop

reports this error:

traversaro@IITBMP014LW012:~$ mamba create -n testros -c conda-forge -c robostack-staging ace asio assimp boost eigen freetype gazebo glew glfw glm "graphviz==8.*" gsl ipopt irrlicht libjpeg-turbo libmatio libode libxml2 nlohmann_json pcl opencv portaudio qt-main sdl sdl2 sqlite tinyxml tinyxml2 spdlog lua soxr qhull cmake compilers make ninja pkg-config tomlplusplus libzlib ffmpeg onnxruntime-cpp ros-noetic-desktop

Looking for: ['ace', 'asio', 'assimp', 'boost', 'eigen', 'freetype', 'gazebo', 'glew', 'glfw', 'glm', 'graphviz=8', 'gsl', 'ipopt', 'irrlicht', 'libjpeg-turbo', 'libmatio', 'libode', 'libxml2', 'nlohmann_json', 'pcl', 'opencv', 'portaudio', 'qt-main', 'sdl', 'sdl2', 'sqlite', 'tinyxml', 'tinyxml2', 'spdlog', 'lua', 'soxr', 'qhull', 'cmake', 'compilers', 'make', 'ninja', 'pkg-config', 'tomlplusplus', 'libzlib', 'ffmpeg', 'onnxruntime-cpp', 'ros-noetic-desktop']

robostack-staging/linux-64                                    No change
robostack-staging/noarch                                      No change
conda-forge/noarch                                  13.6MB @   5.7MB/s  2.6s
conda-forge/linux-64                                32.6MB @   8.2MB/s  4.3s
Could not solve for environment specs
The following packages are incompatible
├─ gazebo is installable with the potential options
│  ├─ gazebo 11.0.0 would require
│  │  └─ tinyxml2 >=7.1.0,<7.2.0a0 , which can be installed;
│  ├─ gazebo [11.0.0|11.1.0|...|11.5.0] would require
│  │  └─ tinyxml2 >=8.0.0,<8.1.0a0 , which can be installed;
│  ├─ gazebo [11.10.0|11.10.1|...|11.9.1] would require
│  │  └─ tinyxml2 >=9.0.0,<10.0a0 , which can be installed;
│  ├─ gazebo [11.11.0|11.12.0] would require
│  │  └─ assimp >=5.2.4,<5.2.5.0a0 , which can be installed;
│  ├─ gazebo [11.12.0|11.13.0] would require
│  │  └─ assimp >=5.2.5,<5.2.6.0a0 , which can be installed;
│  ├─ gazebo [11.5.0|11.5.1|...|11.9.0] would require
│  │  └─ dartsim >=6.10.1,<6.11.0a0 , which requires
│  │     └─ assimp >=5.0.1,<5.1.0a0 , which can be installed;
│  ├─ gazebo 9.15.0, which can be installed;
│  └─ gazebo 11.14.0 would require
│     └─ graphviz >=9.0.0,<10.0a0 , which can be installed;
├─ graphviz 8**  is not installable because it conflicts with any installable versions previously reported;
└─ ros-noetic-desktop is installable and it requires
   └─ ros-noetic-urdf-tutorial, which requires
      └─ ros-noetic-rviz with the potential options
         ├─ ros-noetic-rviz 1.14.19 would require
         │  ├─ assimp >=5.2.5,<5.2.6.0a0 , which can be installed;
         │  ├─ ros-distro-mutex 0.4.* noetic, which can be installed;
         │  └─ ros-noetic-laser-geometry with the potential options
         │     ├─ ros-noetic-laser-geometry 1.6.7 would require
         │     │  └─ ros-noetic-tf with the potential options
         │     │     ├─ ros-noetic-tf 1.13.2 would require
         │     │     │  └─ graphviz >=6.0.2,<7.0a0 , which can be installed;
         │     │     └─ ros-noetic-tf 1.13.2 would require
         │     │        └─ ros-distro-mutex 0.5.* , which requires
         │     │           ├─ boost-cpp 1.82.* , which can be installed;
         │     │           └─ gazebo 11.* , which conflicts with any installable versions previously reported;         │     └─ ros-noetic-laser-geometry 1.6.7 would require
         │        └─ ros-distro-mutex 0.5.* , which cannot be installed (as previously explained);
         └─ ros-noetic-rviz 1.14.20 would require
            ├─ assimp >=5.3.1,<5.3.2.0a0  but there are no viable options
            │  ├─ assimp 5.3.1 would require
            │  │  └─ boost-cpp >=1.78.0,<1.78.1.0a0 , which conflicts with any installable versions previously reported;
            │  └─ assimp 5.3.1 conflicts with any installable versions previously reported;
            ├─ ros-distro-mutex 0.5.* , which cannot be installed (as previously explained);
            └─ tinyxml2 >=10.0.0,<11.0a0 , which conflicts with any installable versions previously reported.

The problem is the graphviz==8 pin, added in #1538 as a workaround for #1537 . As I closed that issue without leaving one open, I forgot about this. Probably I should have left the issue open, or at least open a new one.

@traversaro
Copy link
Member Author

Fixed by #1603 . It would be cool to track these kind of regressions (such as #1230) with CI, but I do not know how to cleanly do that.

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