-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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] new googleapis recipe (for old version) breaks old grpc recipe #15698
Comments
Hi @thejohnfreeman - thanks for reporting this issue and for the analysis. The issue is caused by the introduction of components in #14894. When introducing the use of layouts in #15450, the missing A similar issue was experienced with the
Indeed this is the case. The current versions of the gRPC recipe are not affected to my knowledge. However, for cases like this, if you need to depend on specific versions for production-critical workflows, we advise using recipe revisions / lockfiles or locally hosting your own copies of the recipes, to avoid being exposed to upstream changes. From my knowledge, libraries like gRPC and protobuf maintained by Google seem to have stable API promises that make it easy for developers to update to newer versions. We'd be very interested to understand what reasons prevent users from updating to newer versions of libraries like gRPC, so that we can make sure our policies ara adapted to meet our users needs. |
Hi @jcar87 I would like to point out that latest grcp recipe 1.50.1 is "broken" since last week due a misalignment of googleapis between grpc and grpc-proto This is generating the following two lines of logs:
I could, of course, add --build=grpc-proto to my conan install, but I prefer using prebuilt packages. |
Going to close this issue as I accept @jcar87's explanation that this specific version is not supported. The recipes for supported versions have been updated. Hosting our own recipe revisions in our own remote is not an easy option, but it is the only one that would serve our CI use case (that always starts with a fresh machine and does not cache dependencies). It is on our roadmap. @manuelnp I suggest you open a separate issue for your breakage. |
Environment details
Steps to reproduce
Tried to install
grpc/1.44.0
. It used to work, a few weeks ago. It depends ongoogleapis/cci.20220531
. The recipe forgrpc
has a_patch_sources()
method (called frombuild()
) that tries to access a field on its dependency'scpp_info
:The old recipe for
googleapis
did not assign a value tocpp_info.resdirs
, but the default is["res"]
if the recipe is not using a layout, otherwise it is[]
. The old recipe forgoogleapis
did not use a layout, but the new one does. This leads to the error below (just like this one filed two weeks ago):The
config.yml
forgrpc
no longer lists version 1.44. Does that mean it is no longer supported?Logs
No response
The text was updated successfully, but these errors were encountered: