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

[bug] header_only packages fail with no shared artifacts KB-H074 #493

Open
prince-chrismc opened this issue Apr 11, 2023 · 0 comments
Open

Comments

@prince-chrismc
Copy link
Contributor

          ### Conan v1 pipeline :x:

Failure in build 6 (7f7b257dfb198a371130108a00ed5e2e4ca89e8a):

  • cglm/0.8.5@:
    Didn't run or was cancelled before finishing

  • cglm/0.8.9@:
    CI failed to create some packages (All logs)

    Logs for packageID 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.libcxx=libstdc++11
    compiler.version=5
    os=Linux
    [options]
    cglm:header_only=True
    
    [...]
    tools.system.package_manager:mode=install
    tools.system.package_manager:sudo=True
    
    cglm/0.8.9: Forced build from source
    Installing package: cglm/0.8.9
    Requirements
        cglm/0.8.9 from local cache - Cache
    Packages
        cglm/0.8.9:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Build
    
    Installing (downloading, building) binaries...
    [HOOK - conan-center.py] pre_source(): [IMMUTABLE SOURCES (KB-H010)] OK
    cglm/0.8.9: Configuring sources in /home/conan/w/prod/BuildSingleReference/.conan/data/cglm/0.8.9/_/_/source
    cglm/0.8.9: 
    [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
    cglm/0.8.9: Copying sources to build folder
    cglm/0.8.9: Building your package in /home/conan/w/prod/BuildSingleReference/.conan/data/cglm/0.8.9/_/_/build/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9
    cglm/0.8.9: Generator txt created conanbuildinfo.txt
    cglm/0.8.9: Calling generate()
    cglm/0.8.9: 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
    cglm/0.8.9: Calling build()
    cglm/0.8.9: Package '5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9' built
    cglm/0.8.9: Build folder /home/conan/w/prod/BuildSingleReference/.conan/data/cglm/0.8.9/_/_/build/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9
    cglm/0.8.9: Generated conaninfo.txt
    cglm/0.8.9: Generated conanbuildinfo.txt
    cglm/0.8.9: Generating the package
    cglm/0.8.9: Package folder /home/conan/w/prod/BuildSingleReference/.conan/data/cglm/0.8.9/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9
    cglm/0.8.9: Calling package()
    cglm/0.8.9: Copied 1 file: LICENSE
    cglm/0.8.9: Copied 1 '.modulemap' file: module.modulemap
    cglm/0.8.9: Copied 147 '.h' files
    [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(): [MATCHING CONFIGURATION (KB-H014)] OK
    [HOOK - conan-center.py] post_package(): [SHARED ARTIFACTS (KB-H015)] 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
    [HOOK - conan-center.py] post_package(): ERROR: [STATIC ARTIFACTS (KB-H074)] Package with 'shared=False' option did not contain any static artifact (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H074-STATIC-ARTIFACTS) 
    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.

Originally posted by @conan-center-bot in conan-io/conan-center-index#16738 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant