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

llvm-core/13.0.0: recipe is broken (conan 2) #20339

Open
pierricgimmig opened this issue Oct 4, 2023 · 1 comment · May be fixed by #22997
Open

llvm-core/13.0.0: recipe is broken (conan 2) #20339

pierricgimmig opened this issue Oct 4, 2023 · 1 comment · May be fixed by #22997
Labels
bug Something isn't working

Comments

@pierricgimmig
Copy link

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)
.

@jwillikers
Copy link
Contributor

I think the llvm-core recipe is effectively unmaintained at this point. It hasn't been touched in almost a year, and besides that, LLVM is on version 17 and the latest version of the llvm-core recipe is 13. I can't even build this recipe with Conan v1 right now. We might see a more comprehensive llvm package if #17509 ever gets through. Until then, someone will need to step up and update this recipe if that's desired. I know I need a better solution for a dependency on LLVM in #20528.

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.

2 participants