Skip to content

Building fails because of incompatibility between grpc-proto and grpc

Summary

Building the main branch locally fails with this error:

protobuf/3.21.4: Downloaded recipe revision 0                                                                                                                                                                                  
ERROR: Conflict in grpc-proto/cci.20220627:                                                                                                                                                                                    
    'grpc-proto/cci.20220627' requires 'protobuf/3.21.4' while 'grpc/1.45.2' requires 'protobuf/3.21.1'.                                                                                                                       
    To fix this conflict you need to override the package 'protobuf' in your root package.

Steps to Reproduce the Problem

  1. make conan

Specifications

  • Version: Revision 6e9216bc
  • Platform: Debian Linux

Possible fixes

This is probably fixed in dev by updating the grpc dependency in conanfile.py to grpc/1.48.0. So there should be a new minor release with just this change.

Edited by Daniel Hornung