Skip to content
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

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

Open
shaqtsui opened this issue Jan 22, 2024 · 1 comment

Comments

@shaqtsui
Copy link

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
Copy link
Owner

qchateau commented Mar 22, 2024

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 you are free to fix the recipe on CCI, I'd appreciate the contribution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants