When trying to include sdl_mixer as a package, conan fails with the following error:
*********************************************************
Recipe 'sdl_mixer/2.0.4' seems broken.
It is possible that this recipe is not Conan 2.0 ready
If the recipe comes from ConanCenter, report it at https://github.com/conan-io/conan-center-index/issues
If it is your recipe, check if it is updated to 2.0
*********************************************************
ERROR: Package 'sdl_mixer/2.0.4' not resolved: sdl_mixer/2.0.4: Cannot load recipe.
Error loading conanfile at '/home/sloyd3/.conan2/p/sdl_m16f68a6f39148/e/conanfile.py': Unable to load conanfile in /home/sloyd3/.conan2/p/sdl_m16f68a6f39148/e/conanfile.py
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/home/sloyd3/.conan2/p/sdl_m16f68a6f39148/e/conanfile.py", line 1, in <module>
from conans import CMake, tools
ImportError: cannot import name 'CMake' from 'conans' (/home/sloyd3/bin/_internal/conans/__init__.pyc)
Description
When trying to include sdl_mixer as a package, conan fails with the following error:
Package and Environment Details
Conan profile
[settings] arch=x86_64 build_type=Release compiler=gcc compiler.cppstd=gnu14 compiler.libcxx=libstdc++11 compiler.version=8 os=Linux
Steps to reproduce
conan install .
Logs
Click to expand log
``` [sloyd3@SLOYD-840G10RH Alba]$ conan install . ======== Input profiles ======== Profile host: [settings] arch=x86_64 build_type=Release compiler=gcc compiler.cppstd=gnu14 compiler.libcxx=libstdc++11 compiler.version=8 os=Linux Profile build: [settings] arch=x86_64 build_type=Release compiler=gcc compiler.cppstd=gnu14 compiler.libcxx=libstdc++11 compiler.version=8 os=Linux ======== Computing dependency graph ======== Graph root conanfile.txt: /home/sloyd3/projects/Alba/conanfile.txt Requirements autoconf/2.71#53be95d228b2dcb30dc199cb84262d8f - Cache automake/1.16.5#058bda3e21c36c9aa8425daf3c1faf50 - Cache egl/system#068ac3037d8cf01f768d0e001e6dcd76 - Cache expat/2.5.0#91e43e4544923e4c934bfad1fa4306f9 - Cache flac/1.4.2#5f7bfc8579a458e0a8bc36595c48106f - Cache freeglut/3.4.0#faa2b8377286ee578be419cbecadd8ab - Cache glu/system#ee50fc2ade0e1c0c8ebb3be3ea60e0f5 - Cache libalsa/1.2.10#8b568d62190ef588cd5dcdd81171c289 - Cache libcap/2.69#7ef2d60864c2e58e89db957be936dc49 - Cache libffi/3.4.4#35eb63842b505824b70aedc1baefc916 - Cache libiconv/1.17#fa54397801cd96911a8294bc5fc76335 - Cache libmp3lame/3.100#44b12d19316eb2b223d98d3e75dae438 - Cache libsndfile/1.2.2#a5a93fb8f35fb5fba00552b2b3144db7 - Cache libtool/2.4.7#d55a3c2435c19e830fa77aa5c6c19350 - Cache libunwind/1.6.2#6105641f57b5f9adf5fa51b17c2323f9 - Cache libxml2/2.11.5#84c6b8eda4802848a4545291586b79fa - Cache m4/1.4.19#b38ced39a01e31fef5435bc634461fd2 - Cache mpg123/1.31.2#ce831c936b2284e2066ab3dc58a2628e - Cache ogg/1.3.5#062626875f5c8c59f069f76f148098ef - Cache opengl/system#b29589c04d6df84c110d6acb066ab653 - Cache openssl/3.2.0#d81e0a8c08372368fe7cb757280e2196 - Cache opus/1.4#54631f551fc450783fb2df8cd63f80a2 - Cache pulseaudio/14.2#17adbf0178953babda4e03281f54a93e - Cache sdl/2.26.5#bb0d5aaaf8d1469a927c18d494923acf - Cache vorbis/1.3.7#37e58f52e59a6232199b34ef402714a6 - Cache wayland/1.22.0#f7f3f725dd1fd7f9da0f9027822b3d1f - Cache xkbcommon/1.4.1#16969d0f52b2856ce7a9a6e911cb69ff - Cache xkeyboard-config/system#493c19865261899b6633ecb43ce536d6 - Cache xorg/system#de8fc1917bb3d11cf7a1d15eccf79c16 - Cache xz_utils/5.4.4#f7cff24c0eadb6e51001dd86695e823d - Cache zlib/1.3#06023034579559bb64357db3a53f88a4 - Cache Build requirements autoconf/2.71#53be95d228b2dcb30dc199cb84262d8f - Cache automake/1.16.5#058bda3e21c36c9aa8425daf3c1faf50 - Cache bison/3.8.2#ed1ba0c42d2ab7ab64fc3a62e9ecc673 - Cache expat/2.5.0#91e43e4544923e4c934bfad1fa4306f9 - Cache flex/2.6.4#e35bc44b3fcbcd661e0af0dc5b5b1ad4 - Cache gettext/0.21#d60d0f85b07f9161696cb7258d51f9d2 - Cache gnu-config/cci.20210814#dc430d754f465e8c74463019672fb97b - Cache libffi/3.4.4#35eb63842b505824b70aedc1baefc916 - Cache libiconv/1.17#fa54397801cd96911a8294bc5fc76335 - Cache libtool/2.4.7#d55a3c2435c19e830fa77aa5c6c19350 - Cache libxml2/2.11.5#84c6b8eda4802848a4545291586b79fa - Cache m4/1.4.19#b38ced39a01e31fef5435bc634461fd2 - Cache meson/1.2.2#aace9dcc1db58fa42ecb5292f724092d - Cache meson/1.3.0#83e9030e0cb3418759e72d3631213a5a - Cache ninja/1.11.1#77587f8c8318662ac8e5a7867eb4be21 - Cache pkgconf/1.9.3#3e658ebc066dc868a1f8a472c1065368 - Cache pkgconf/2.0.3#f996677e96e61e6552d85e83756c328b - Cache wayland/1.22.0#f7f3f725dd1fd7f9da0f9027822b3d1f - Cache wayland-protocols/1.31#7921390519d73ba4cd547eb3d0378b3c - Cache yasm/1.3.0#fb800a15413dca19bfaef9e4b5d50694 - Cache zlib/1.3#06023034579559bb64357db3a53f88a4 - Cache Resolved version ranges openssl/[>=1.1 <4]: openssl/3.2.0 zlib/[>=1.2.11 <2]: zlib/1.3 ********************************************************* Recipe 'sdl_mixer/2.0.4' seems broken. It is possible that this recipe is not Conan 2.0 ready If the recipe comes from ConanCenter, report it at https://github.com/conan-io/conan-center-index/issues If it is your recipe, check if it is updated to 2.0 ********************************************************* ERROR: Package 'sdl_mixer/2.0.4' not resolved: sdl_mixer/2.0.4: Cannot load recipe. Error loading conanfile at '/home/sloyd3/.conan2/p/sdl_m16f68a6f39148/e/conanfile.py': Unable to load conanfile in /home/sloyd3/.conan2/p/sdl_m16f68a6f39148/e/conanfile.py File "