qchateau / packio

An asynchronous msgpack-RPC and JSON-RPC library built on top of Boost.Asio.
https://qchateau.github.io/packio/
Mozilla Public License 2.0
136 stars 20 forks source link

conan package install error: 'ConanOutput' object has no attribute 'warn' #79

Open shaqtsui opened 8 months ago

shaqtsui commented 8 months ago

Error details:

ERROR: packio/2.5.0: Error in configure() method, line 89
        self.output.warn("packio requires C++17. Your compiler is unknown. Assuming it supports C++17.")
        AttributeError: 'ConanOutput' object has no attribute 'warn'

cause analysis: warn() in https://github.com/conan-io/conan-center-index/blob/master/recipes/packio/all/conanfile.py#L89C18-L89C24 doesn't exist in conan 2.0 api https://docs.conan.io/2/reference/conanfile/running_and_output.html

qchateau commented 6 months ago

Hello, I have tried to fix it but it seems this is not the only incompatibility with conan 2.0. I don't use conan 2.0 so my knowledge of the migration process is limited. That said I believe you are free to fix the recipe on CCI, I'd appreciate the contribution.