Skip to content

Conan fails because of grpc - zlib-1.2.12 incompatibility

Summary

The zlib-1.2.12 wave currently hits some Conan packages. This make cpplib building fail, as can be seen here:

ERROR: Conflict in grpc/1.39.1:
    'grpc/1.39.1' requires 'zlib/1.2.11' while 'boost/1.77.0' requires 'zlib/1.2.12'.
    To fix this conflict you need to override the package 'zlib' in your root package.

Expected Behavior

Every package should just use zlbi-1.2.12.

Actual Behavior

grpc still uses 1.2.11

Steps to Reproduce the Problem

  1. Build conan packages like the pipeline does.

Specifications

  • Version: Which version of this software?
  • Platform: Which operating system, which other relevant software versions?

Possible fixes

  • Are there manual workarounds?
  • Update grpc to use zlib 1.2.12.
Edited by Daniel Hornung