[bug] provides doesn't allow for package conflicts
See original GitHub issueEnvironment Details (include every applicable attribute)
- Operating System+version: Linuxmint 20 ulyana
- Compiler+version: gcc 9
- Conan version: 1.30.2
- Python version: 3.8.5
Steps to reproduce (Include if Applicable)
Set conanfile.txt to include dependencies for qt/5.14.1@bincrafters/stable
, opencv/3.4.5@conan/stable
and libjpeg-turbo/2.0.5
. libjpeg-turbo
says that it provides libjpeg
however the version mismatch between qt
and opencv
requires you put libjpeg
in your conanfile.txt. This check should also check if another library provides libjpeg
and treat that as a resolution between the conflict.
Logs (Executed commands with output) (Include/Attach if Applicable)
ERROR: Conflict in qt/5.14.1@bincrafters/stable:
'qt/5.14.1@bincrafters/stable' requires 'libjpeg/9d' while 'opencv/3.4.5@conan/stable' requires 'libjpeg/9c@bincrafters/stable'.
To fix this conflict you need to override the package 'libjpeg' in your root package.
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
How to interpret conda package conflicts? - Stack Overflow
@Quantum7's answer gives a fine literal interpretation of Conda's conflict reporting. However, I wanted to offer a more practical take, ...
Read more >Can someone help me on how to resolve package conflicts ...
I'd like to understand better the registry system, and how to troubleshoot this error. ERROR: Unsatisfiable requirements detected for package <<>>.
Read more >1636285 – dnf complains about conflicts with non-installed ...
Modular dependency problems: Problem 1: conflicting requests - nothing provides module(platform:f30) needed by stratis:1:20180927214347:a5b0195c ...
Read more >Packaging:Conflicts - Fedora Project Wiki
Conflicts result in a transaction set where the user has to decipher the error message and make some sort of decision. The transaction...
Read more >conflicted: a new approach to resolving ambiguity - Tidyverse
The goal of conflicted is to provide an alternative way of resolving conflicts caused by ambiguous function names. R handles ambiguity by ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
https://github.com/conan-io/conan-center-index/pull/2948 aims to provide a virtual libjpeg recipe, so that all others recipes depending on libjpeg could require this virtual package -avoiding to reimplement again and again this logic in each recipe- and solve this issue (it would ensure a clean dependency graph without mutually exclusive libjpeg implementations). Then consumers would just have to select libjpeg implementation (libjpeg, libjpeg-turbo or mozjpeg) through libjpeg virtual package option.
Unfortunately, there is currently no progress in this PR. I can reopen a PR for this recipe (from existing branch), since I also have interest in such virtual package.
FYI, openvc/4.3.0 is not yet in CCI. This is a bug in the online UI which is not displaying username/channel anymore, see also https://github.com/conan-io/conan-center-index/issues/3360