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

stlab: several fixes #21274

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
Open

stlab: several fixes #21274

wants to merge 12 commits into from

Conversation

SpaceIm
Copy link
Contributor

@SpaceIm SpaceIm commented Nov 20, 2023

  • Remove legacy conan v1 self.output.warn, otherwise it fails for "unknown compilers
  • Remove noisy messages in configure() (these messages are already displayed by CMake during build, and messages in configure() are really noisy in a conan install)
  • Add upper bound to cmake version range in build requirements
  • Remove settings.build_type from package id. I think settings.arch could also be removed by I'm not sure.
  • Set cpp_info.bindirs & cpp_info.libdirs to empty list

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline ❌

Failure in build 6 (71b9973c0f9220fcfc5d610f6fc31e727e992771):

  • stlab/1.7.1:
    CI failed to create some packages (All logs)

    Logs for packageID 8aed32ed7b78dda84dca9d040407fe8f7704a4f1:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.libcxx=libstdc++11
    compiler.version=10
    os=Linux
    
    [...]
    -- Installing: /home/conan/w/prod-v1/bsr/56514/cdaef/.conan/data/stlab/1.7.1/_/_/package/8aed32ed7b78dda84dca9d040407fe8f7704a4f1/include/stlab/concurrency/task.hpp
    -- Installing: /home/conan/w/prod-v1/bsr/56514/cdaef/.conan/data/stlab/1.7.1/_/_/package/8aed32ed7b78dda84dca9d040407fe8f7704a4f1/include/stlab/concurrency/traits.hpp
    -- Installing: /home/conan/w/prod-v1/bsr/56514/cdaef/.conan/data/stlab/1.7.1/_/_/package/8aed32ed7b78dda84dca9d040407fe8f7704a4f1/include/stlab/concurrency/tuple_algorithm.hpp
    -- Installing: /home/conan/w/prod-v1/bsr/56514/cdaef/.conan/data/stlab/1.7.1/_/_/package/8aed32ed7b78dda84dca9d040407fe8f7704a4f1/include/stlab/concurrency/utility.hpp
    -- Installing: /home/conan/w/prod-v1/bsr/56514/cdaef/.conan/data/stlab/1.7.1/_/_/package/8aed32ed7b78dda84dca9d040407fe8f7704a4f1/include/stlab/concurrency/variant.hpp
    -- Installing: /home/conan/w/prod-v1/bsr/56514/cdaef/.conan/data/stlab/1.7.1/_/_/package/8aed32ed7b78dda84dca9d040407fe8f7704a4f1/include/stlab/iterator/set_next.hpp
    -- Installing: /home/conan/w/prod-v1/bsr/56514/cdaef/.conan/data/stlab/1.7.1/_/_/package/8aed32ed7b78dda84dca9d040407fe8f7704a4f1/include/stlab/test/model.hpp
    -- Installing: /home/conan/w/prod-v1/bsr/56514/cdaef/.conan/data/stlab/1.7.1/_/_/package/8aed32ed7b78dda84dca9d040407fe8f7704a4f1/share/cmake/stlab/stlabTargets.cmake
    -- Installing: /home/conan/w/prod-v1/bsr/56514/cdaef/.conan/data/stlab/1.7.1/_/_/package/8aed32ed7b78dda84dca9d040407fe8f7704a4f1/share/cmake/stlab/stlabConfig.cmake
    -- Installing: /home/conan/w/prod-v1/bsr/56514/cdaef/.conan/data/stlab/1.7.1/_/_/package/8aed32ed7b78dda84dca9d040407fe8f7704a4f1/share/cmake/stlab/stlabConfigVersion.cmake
    [HOOK - conan-center.py] post_package(): [PACKAGE LICENSE (KB-H012)] OK
    [HOOK - conan-center.py] post_package(): [DEFAULT PACKAGE LAYOUT (KB-H013)] OK
    [HOOK - conan-center.py] post_package(): [SHARED ARTIFACTS (KB-H015)] OK
    [HOOK - conan-center.py] post_package(): [STATIC ARTIFACTS (KB-H074)] OK
    [HOOK - conan-center.py] post_package(): [EITHER STATIC OR SHARED OF EACH LIB (KB-H076)] OK
    [HOOK - conan-center.py] post_package(): [PC-FILES (KB-H020)] OK
    [HOOK - conan-center.py] post_package(): [CMAKE-MODULES-CONFIG-FILES (KB-H016)] OK
    [HOOK - conan-center.py] post_package(): [PDB FILES NOT ALLOWED (KB-H017)] OK
    [HOOK - conan-center.py] post_package(): [LIBTOOL FILES PRESENCE (KB-H018)] OK
    [HOOK - conan-center.py] post_package(): [MS RUNTIME FILES (KB-H021)] OK
    [HOOK - conan-center.py] post_package(): [SHORT_PATHS USAGE (KB-H066)] OK
    [HOOK - conan-center.py] post_package(): [MISSING SYSTEM LIBS (KB-H043)] OK
    [HOOK - conan-center.py] post_package(): [APPLE RELOCATABLE SHARED LIBS (KB-H077)] OK
    CMake Warning at CMakeLists.txt:13 (find_package):
      By not providing "FindQt6.cmake" in CMAKE_MODULE_PATH this project has
      asked CMake to find a package configuration file provided by "Qt6", but
      CMake did not find one.
    
      Could not find a package configuration file provided by "Qt6" with any of
      the following names:
    
        Qt6Config.cmake
        qt6-config.cmake
    
      Add the installation prefix of "Qt6" to CMAKE_PREFIX_PATH or set "Qt6_DIR"
      to a directory containing one of the above files.  If "Qt6" provides a
      separate development package or SDK, be sure it has been installed.
    
    
    CMake Warning:
      Manually-specified variables were not used by the project:
    
        CMAKE_POLICY_DEFAULT_CMP0091
    
    
    stlab/1.7.1: WARN: Using the new toolchains and generators without specifying a build profile (e.g: -pr:b=default) is discouraged and might cause failures and unexpected behavior
    stlab/1.7.1: WARN: Using the new toolchains and generators without specifying a build profile (e.g: -pr:b=default) is discouraged and might cause failures and unexpected behavior
    [HOOK - conan-center.py] post_package(): ERROR: [MATCHING CONFIGURATION (KB-H014)] Package for Linux does not contain artifacts with these extensions: ['a', 'so', 'sh', ''] (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H014-MATCHING-CONFIGURATION) 
    [HOOK - conan-center.py] post_package(): ERROR: [MATCHING CONFIGURATION (KB-H014)] Packaged artifacts does not match the settings used: os=Linux, compiler=gcc (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H014-MATCHING-CONFIGURATION) 
    ERROR: [HOOK - conan-center.py] post_package(): Some checks failed running the hook, check the output
    

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.

@SpaceIm
Copy link
Contributor Author

SpaceIm commented Nov 27, 2023

@uilianries is it possible to fix hook KB-H014? It doesn't check for package_type.

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.

2 participants