-
Notifications
You must be signed in to change notification settings - Fork 981
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
[bug] binary cache not used, claim is same settings and options but different dependencies, dependencies looks identical to me #17262
Comments
I believe the same is occurring with pcre2 which also have 2 parts only in its version. |
Thanks for your report.
This means that the existing package binary was created with some "package_id_mode" like
What the |
I am unclear how you got from the output to "package_id_mode", and why would not the explain output also mention that? I am not sure I get where the 1.1.Z (the Z?) where it comes from, and even less why it is "expected". We certainly do not use that in our version. Somehow the explanation given by conan graph explain is raising more question than answers. |
Found more information here: #16161 Will explore if the shared option changes or transitive flags, yet I still don't get where the Z comes from, why it is displayed and what is means. |
This is explained in https://docs.conan.io/2/reference/binary_model/dependencies.html, you can see for example how https://docs.conan.io/2/reference/binary_model/dependencies.html#non-embed-mode explains the mapping to the .Z. |
Thanks I think this help clarified things, I do wish it was more obvious in the conan graph explain output. Wouldn't there be a way to preserve the profile and the requires() attributes used to build a binary cache as to enable comparison on such failure to then be able to pinpoint changes in options (shared/static) or transitive aspect? Being able to say:
would be a lot more useful |
Describe the bug
I have a situation where the binary cache is not being used.
The conan graph explain says that the following:
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)
The text was updated successfully, but these errors were encountered: