-
Notifications
You must be signed in to change notification settings - Fork 2k
Description
Description
I get "Recipe 'llvm-core/13.0.0' seems broken." when trying to build llvm-core/13.0.0
with conan 2.
Package and Environment Details
- Package Name/Version: llvm-core/13.0.0
- Operating System+version: Windows 11
- Compiler+version: msvc_2022
- Conan version: conan 2.0..13
- Python version: Python 3.11.14
Conan profile
[settings]
arch=x86_64
build_type=Release
compiler=msvc
compiler.cppstd=14
compiler.runtime=dynamic
compiler.runtime_type=Release
compiler.version=193
os=Windows
Steps to reproduce
use this conanfile.py:
from conan import ConanFile
class CompressorRecipe(ConanFile):
settings = "os", "compiler", "build_type", "arch"
generators = "CMakeToolchain", "CMakeDeps"
def requirements(self):
self.requires("llvm-core/13.0.0")
run conan install . --build=missing
Logs
======== Computing dependency graph ========
llvm-core/13.0.0: Not found in local cache, looking in remotes...
llvm-core/13.0.0: Checking remote: conancenter
llvm-core/13.0.0: Downloaded recipe revision 95ce239bdd688987d2281e44fe8422e8
Graph root
conanfile.py: C:\git\conan_playground\conanfile.py
Requirements
abseil/20230125.3#5431a4c609f5fb48bb8d8567e953243f - Cache
c-ares/1.19.1#420a0b77e370f4b96bee88ef91837ccc - Cache
grpc/1.54.3#3e0d68cd1578502c9c3a0e8366f0ab77 - Cache
openssl/3.1.3#35e30a39a89ee3ae98929377ebe78913 - Cache
protobuf/3.21.12#8210c0b1bb46b08ff2814614ec091a9c - Cache
re2/20230301#56bcddd1eaca2b093fd34525ae40ee9b - Cache
zlib/1.2.13#97d5730b529b4224045fe7090592d4c1 - Cache
Build requirements
nasm/2.15.05#ca1c14c2060af0ec151048b54ced9262 - Cache
strawberryperl/5.32.1.1#8f83d05a60363a422f9033e52d106b47 - Cache
Resolved version ranges
openssl/[>=1.1 <4]: openssl/3.1.3
Recipe 'llvm-core/13.0.0' 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 'llvm-core/13.0.0' not resolved: llvm-core/13.0.0: Cannot load recipe.
Error loading conanfile at 'C:\Users\pierr.conan2\p\llvm-b0efe2cdcc15c\e\conanfile.py': Unable to load conanfile in C:\Users\pierr.conan2\p\llvm-b0efe2cdcc15c\e\conanfile.py
File "", line 940, in exec_module
File "", line 241, in call_with_frames_removed
File "C:\Users\pierr.conan2\p\llvm-b0efe2cdcc15c\e\conanfile.py", line 6, in
from conans import CMake
ImportError: cannot import name 'CMake' from 'conans' (C:\Users\pierr\AppData\Local\Programs\Python\Python311\Lib\site-packages\conans_init.py)
.