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

[package] coin-cbc/2.10.5: Missing conan 2.x integration #19478

Open
matheusdiogenesandrade opened this issue Aug 29, 2023 · 0 comments
Open
Labels
bug Something isn't working

Comments

@matheusdiogenesandrade
Copy link

Description

A MWE can be found here.

Package and Environment Details

  • Package Name/Version: coin-cbc/2.10.5
  • Operating System+version: Linux pop-os 22.04
  • Compiler+version: GCC 11
  • Conan version: conan 2.0.9
  • Python version: Python 3.10

Conan profile

[settings]
os=Linux
arch=x86_64
compiler=gcc
compiler.version=11
compiler.cppstd=20
compiler.libcxx=libstdc++11
build_type=Release
[options]
[conf]

Steps to reproduce

mkdir build
conan install . --profile conanprofile.txt --build=missing --output-folder=build
cd build
cmake .. --preset conan-release
make

Logs

Click to expand log
======== Input profiles ========
Profile host:
[settings]
arch=x86_64
build_type=Release
compiler=gcc
compiler.cppstd=20
compiler.libcxx=libstdc++11
compiler.version=11
os=Linux

Profile build:
[settings]
arch=x86_64
build_type=Release
compiler=gcc
compiler.cppstd=gnu17
compiler.libcxx=libstdc++11
compiler.version=11
os=Linux


======== Computing dependency graph ========
Graph root
    conanfile.txt: ~/coin_cbc_conan_2x_test/conanfile.txt
*********************************************************
Recipe 'coin-cbc/2.10.5' seems broken.
It is possible that this recipe is not Conan 2.0 ready
If the recipe comes from ConanCenter check: https://conan.io/cci-v2.html
If it is your recipe, check if it is updated to 2.0
*********************************************************

ERROR: Package 'coin-cbc/2.10.5' not resolved: coin-cbc/2.10.5: Cannot load recipe.
Error loading conanfile at '~/.conan2/p/coin-bcd5e8333cb2e/e/conanfile.py': Unable to load conanfile in ~/.conan2/p/coin-bcd5e8333cb2e/e/conanfile.py
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "~/.conan2/p/coin-bcd5e8333cb2e/e/conanfile.py", line 6, in <module>
    from conans import AutoToolsBuildEnvironment, tools
ImportError: cannot import name 'AutoToolsBuildEnvironment' from 'conans' (/home/linuxbrew/.linuxbrew/opt/python@3.10/lib/python3.10/site-packages/conans/__init__.py)
@matheusdiogenesandrade matheusdiogenesandrade added the bug Something isn't working label Aug 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant