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

[bug] Some system packages fail to install (xorg/system, opengl/system) #1995

Closed
MineBill opened this issue Jun 22, 2020 · 4 comments · Fixed by #1996, #2011 or conan-io/conan#7237
Closed

Comments

@MineBill
Copy link

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
@memsharded
Copy link
Member

This seems an error in the ConanCenter recipes, not in Conan, moving the issue there.

cc @danimtb @SSE4

@memsharded memsharded transferred this issue from conan-io/conan Jun 22, 2020
ericLemanissier added a commit to ericLemanissier/conan-center-index that referenced this issue Jun 22, 2020
@madebr
Copy link
Contributor

madebr commented Jun 22, 2020

@memsharded
Pop! os is a ubuntu based operating system, so tools.os_info.with_apt should have returned True.

uilianries added a commit to bincrafters/conan-center-index that referenced this issue Jun 22, 2020
Signed-off-by: Uilian Ries <uilianries@gmail.com>
@Croydon
Copy link
Contributor

Croydon commented Jun 22, 2020

This issue has two parts:

jgsogo pushed a commit that referenced this issue Jun 23, 2020
fixes #1995

Co-authored-by: SSE4 <tomskside@gmail.com>
danimtb added a commit that referenced this issue Jun 23, 2020
@Croydon
Copy link
Contributor

Croydon commented Jun 23, 2020

Should be completely fixed with Conan >= 1.27.0

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