[question] What does "ERROR: There are 4 binaries with name libxml2" mean?
See original GitHub issueConan version: 1.20.2
I’m running into this error message when building our tree with most (but not all) of our profiles. There are many similar messages with different packages. I’m calling conan create
with a lockfile to build the package.
The message comes from here:
https://github.com/conan-io/conan/blob/1.20.2/conans/model/graph_lock.py#L324
The wording “binary” is probably misleading here, but I assume this means that somehow there are multiple nodes in the dependency tree with the same name. We probably have overlap in the tree (i.e. not always just the minimal needed packages are required explicitly, sometimes things that are transitive deps of the top-level dependencies are also required explicitly). But we don’t have name collisions in our packages. So what does this error mean exactly and what can I do to resolve it?
- I’ve read the CONTRIBUTING guide.
Issue Analytics
- State:
- Created 4 years ago
- Comments:9 (7 by maintainers)
I actually just ran into this myself; I believe for me it’s related to a package being a build requirement for 1 package and a requirement for another in the dependency tree.
@sztomi, forgot to follow up but I did confirm that a package existing as both a requirement and build requirement was the issue. I was able to switch them all to one category and it worked fine.
Thanks