open-simulation-platform / cosim-cli

Command-line interface for libcosim
https://open-simulation-platform.github.io/cosim
Mozilla Public License 2.0
10 stars 4 forks source link

Overriding zlib #99

Closed ljamt closed 2 years ago

ljamt commented 2 years ago

Resolves

ERROR: Conflict in libzip/1.7.3:
    'libzip/1.7.3' requires 'zlib/1.2.11' while 'boost/1.71.0' requires 'zlib/1.2.12'.
    To fix this conflict you need to override the package 'zlib' in your root package.
kyllingstad commented 2 years ago

I'm wondering whether this can/should be fixed in libcosim instead. The error message seems to indicate that the conflict is due to incompatible requirements of libzip and boost, but cosim-cli doesn't depend directly on either of those – just on libcosim. As such, it perhaps shouldn't be responsible for resolving the conflict either.

ljamt commented 2 years ago

I see in the corresponding libcosimc PR you call it a "temporary fix" for a specific release. If that's the case here too, I happily approve.

Yes, I was not very clear about that. Was aiming for a cosim-cli release with libcosim 0.9.0. Then we'll fix this in libcosim for the next release.