conan-io / conan-io/docs

[bug] binary cache not used, claim is same settings and options but different dependencies, dependencies looks identical to me

Open
#4,179 7 comments 0 reactions 1 assignee Claimed by @memsharded View on GitHub
type: question
Dominant language
C++
Stars
125
Forks
382
Avg merge
22h 39m
Merged PRs (30d)
21

Description

### Describe the bug

I have a situation where the binary cache is not being used.

The conan graph explain says that the following:

```
dependencies
expected: hiredis/1.1.Z, libev/4.33.Z
existing: hiredis/1.1.0#312991eb91791ad706f038d6a8383c63:be712621cf2b2bb3dfabbbfedf4c2b102294b18a, libev/4.33#8fc921587a3733e276520386c84ac583:5e6e38e5a54ca49246fc1eefcd6700d1d71fa40f
explanation: This binary has same settings and options, but different dependencies
```

using conan 2.9.1

Yet we can see above that hiredis 1.1.0 is same as 1.1.Z and libev 4.33 should be treated same as 4.33.Z but apparently it is not.explains

### How to reproduce it

Create a package with libev 4.33 as a dependency, seems that because the version has only two parts, the cache binary system fails to recognized it as greater or equal version.

(assuming I misunderstand the underlying bug)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.