Conan-center-index: [bug] Some system packages fail to install (xorg/system, opengl/system)

Created on 22 Jun 2020  路  4Comments  路  Source: conan-io/conan-center-index

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

Environment Details (include every applicable attribute)

  • Operating System+version: Pop!_OS 20.04 LTS x86_64
  • Compiler+version: gcc (Ubuntu 9.3.0-10ubuntu2) 9.3.0
  • Conan version: Conan version 1.26.0
  • Python version: Python 2.7.18rc1 AND Python 3.8.2

Steps to reproduce (Include if Applicable)

conan install opengl/system@
conan install xorg/system@

Logs (Executed commands with output) (Include/Attach if Applicable)

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

All 4 comments

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

Was this page helpful?
0 / 5 - 0 ratings