When configuring a cmake project template that used conan i encountered an error while configuring cmake :
opengl/system: ERROR: while executing system_requirements(): 'SysConfigOpenGLConan' object has no attribute 'warn'. After attemping a manual installation with conan install opengl/system@ i still have the same problem and output. I have no idea what could be causing this and after a few hours of googling i failed to find anything that would explain this. I also get the exact same output when installing xorg/system
conan install opengl/system@
conan install xorg/system@
Configuration:
[settings]
arch=x86_64
arch_build=x86_64
build_type=Release
os=Linux
os_build=Linux
[options]
[build_requires]
[env]
Installing package: opengl/system
Requirements
opengl/system from 'conan-center' - Cache
Packages
opengl/system:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache
Installing (downloading, building) binaries...
opengl/system: ERROR: while executing system_requirements(): 'SysConfigOpenGLConan' object has no attribute 'warn'
ERROR: Error in system requirements
This seems an error in the ConanCenter recipes, not in Conan, moving the issue there.
cc @danimtb @SSE4
@memsharded
Pop! os is a ubuntu based operating system, so tools.os_info.with_apt should have returned True.
This issue has two parts:
Should be completely fixed with Conan >= 1.27.0