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] Conan v2 #22666

Closed
wants to merge 1 commit into from
Closed

Conversation

MartinDelille
Copy link
Contributor

Try to fix llvm-core for v2


Copy link
Contributor

github-actions bot commented Feb 5, 2024

🤖 Beep Boop! This pull request is making changes to 'recipes/llvm-core//'.

👋 @Hopobcn you might be interested. 😉

@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline ❌

Failure in build 1 (6cb6428466e948dbdb3311fe5955b4abaa112dfb):

  • llvm-core/13.0.0:
    Didn't run or was cancelled before finishing

  • llvm-core/12.0.0:
    Didn't run or was cancelled before finishing

  • llvm-core/11.1.0:
    CI failed to create some packages (All logs)

    Logs for packageID 8c30e581d6030327bc59b7217e90a8045bc5e754:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.libcxx=libstdc++11
    compiler.version=9
    os=Linux
    [options]
    llvm-core:shared=False
    
    [...]
    cmake/3.20.5: Package installed 5c09c752508b674ca5cb1f2d327b5a2d582866c8
    cmake/3.20.5: Downloaded package revision d26d610b2052abb12840ed74f344785e
    libxml2/2.9.10: Retrieving package e9a3e7dd6ab9bf161be4ac8c0925d9a6ba8f2645 from remote 'conan-center' 
    Downloading conanmanifest.txt
    Downloading conaninfo.txt
    Downloading conan_package.tgz
    libxml2/2.9.10: Package installed e9a3e7dd6ab9bf161be4ac8c0925d9a6ba8f2645
    libxml2/2.9.10: Downloaded package revision dc22796d5ec7190703e2fb8814146d31
    cmake/3.20.5: Appending PATH environment variable: /home/conan/w/prod-v1/bsr/102586/dbdcb/.conan/data/cmake/3.20.5/_/_/package/5c09c752508b674ca5cb1f2d327b5a2d582866c8/bin
    libxml2/2.9.10: Appending PATH environment variable: /home/conan/w/prod-v1/bsr/102586/dbdcb/.conan/data/libxml2/2.9.10/_/_/package/e9a3e7dd6ab9bf161be4ac8c0925d9a6ba8f2645/bin
    llvm-core/11.1.0: Applying build-requirement: cmake/3.20.5
    llvm-core/11.1.0: Applying build-requirement: openssl/1.1.1l
    [HOOK - conan-center.py] pre_source(): [IMMUTABLE SOURCES (KB-H010)] OK
    llvm-core/11.1.0: Configuring sources in /home/conan/w/prod-v1/bsr/102586/dbdcb/.conan/data/llvm-core/11.1.0/_/_/source
    llvm-core/11.1.0: 
    [HOOK - conan-center.py] post_source(): [LIBCXX MANAGEMENT (KB-H011)] OK
    [HOOK - conan-center.py] post_source(): [CPPSTD MANAGEMENT (KB-H022)] OK
    [HOOK - conan-center.py] post_source(): [SHORT_PATHS USAGE (KB-H066)] OK
    llvm-core/11.1.0: Building your package in /home/conan/w/prod-v1/bsr/102586/dbdcb/.conan/data/llvm-core/11.1.0/_/_/build/8c30e581d6030327bc59b7217e90a8045bc5e754
    llvm-core/11.1.0: Generator cmake_find_package created Findcmake.cmake
    llvm-core/11.1.0: Generator cmake_find_package created FindLibXml2.cmake
    llvm-core/11.1.0: Generator cmake_find_package created FindOpenSSL.cmake
    llvm-core/11.1.0: Generator cmake_find_package created FindZLIB.cmake
    llvm-core/11.1.0: Generator cmake_find_package created FindIconv.cmake
    llvm-core/11.1.0: Generator cmake created conanbuildinfo.cmake
    llvm-core/11.1.0: Aggregating env generators
    [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK. 'fPIC' option found and apparently well managed
    [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK
    llvm-core/11.1.0: Calling build()
    llvm-core/11.1.0: 
    WARN: libxml2/2.9.10: requirement zlib/[>=1.2.11 <2] overridden by llvm-core/11.1.0 to zlib/1.2.12 
    llvm-core/11.1.0: WARN: 
         ************************************************
         The 'cmake_find_package' generator is deprecated.
         Please update your code and remove it.
         *************************************************
    
    llvm-core/11.1.0: WARN: 
         ************************************************
         The 'cmake' generator is deprecated.
         Please update your code and remove it.
         *************************************************
    
    llvm-core/11.1.0: ERROR: Package '8c30e581d6030327bc59b7217e90a8045bc5e754' build failed
    llvm-core/11.1.0: WARN: Build folder /home/conan/w/prod-v1/bsr/102586/dbdcb/.conan/data/llvm-core/11.1.0/_/_/build/8c30e581d6030327bc59b7217e90a8045bc5e754
    ERROR: llvm-core/11.1.0: Error in build() method, line 234
    	cmake = self._configure_cmake()
    while calling '_configure_cmake', line 115
    	cmake = CMake(self)
    	ConanException: Usage of toolchain is only supported with 'cmake_find_package' or 'cmake_find_package_multi' generators
    

Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability.


Conan v2 pipeline ❌

Note: Conan v2 builds are now mandatory. Please read our discussion about it.

The v2 pipeline failed. Please, review the errors and note this is required for pull requests to be merged. In case this recipe is still not ported to Conan 2.x, please, ping @conan-io/barbarians on the PR and we will help you.

See details:

Failure in build 1 (6cb6428466e948dbdb3311fe5955b4abaa112dfb):

  • llvm-core/13.0.0:
    Error running command conan export --name llvm-core --version 13.0.0 recipes/llvm-core/all/conanfile.py:

    ======== Exporting recipe to the cache ========
    ERROR: Error loading conanfile at '/home/conan/w/prod-v2_cci_PR-22666/recipes/llvm-core/all/conanfile.py': Error while initializing options. 'all' is not a valid 'options.components' value.
    Possible values are ['A', 'N', 'Y']
    
  • llvm-core/11.1.0:
    Error running command conan export --name llvm-core --version 11.1.0 recipes/llvm-core/all/conanfile.py:

    ======== Exporting recipe to the cache ========
    ERROR: Error loading conanfile at '/home/conan/w/prod-v2_cci_PR-22666/recipes/llvm-core/all/conanfile.py': Error while initializing options. 'all' is not a valid 'options.components' value.
    Possible values are ['A', 'N', 'Y']
    
  • llvm-core/12.0.0:
    Error running command conan export --name llvm-core --version 12.0.0 recipes/llvm-core/all/conanfile.py:

    ======== Exporting recipe to the cache ========
    ERROR: Error loading conanfile at '/home/conan/w/prod-v2_cci_PR-22666/recipes/llvm-core/all/conanfile.py': Error while initializing options. 'all' is not a valid 'options.components' value.
    Possible values are ['A', 'N', 'Y']
    

Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability.

@paulharris
Copy link
Contributor

? What happened to this PR ?
Is there a plan to do a different PR / recipe?

@MartinDelille
Copy link
Contributor Author

@paulharris I unfortunately don't have enough knowledge and time to go further sorry!

@MartinDelille MartinDelille deleted the v2-llvm-core branch February 26, 2024 10:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants