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

Fix/libgit2: update libgit2 to conan v2 #18607

Closed
wants to merge 8 commits into from

Conversation

whaliendev
Copy link
Contributor

Specify library name and version: libgit2/*

this PR mainly includes two revisions:

  1. migrate libgit2 to conan v2
  2. bump version v1.6.4

resolves #18594


@ghost
Copy link

ghost commented Jul 18, 2023

I detected other pull requests that are modifying libgit2/all recipe:

This message is automatically generated by https://github.com/ericLemanissier/conan-center-conflicting-prs so don't hesitate to report issues/improvements there.

@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 8 (d0fdfaeb1084cd1fbccdcf6127f59a2acd061ae2):

  • libgit2/1.2.0@:
    CI failed to create some packages (All logs)

    Logs for packageID 315d39825e2ad06188d2448f4158b301b4f317e3:
    [settings]
    arch=x86_64
    build_type=Debug
    compiler=gcc
    compiler.libcxx=libstdc++11
    compiler.version=5
    os=Linux
    [options]
    libgit2:shared=True
    
    [...]
    zlib/1.2.13: Downloaded recipe revision e377bee636333ae348d51ca90874e353
    http_parser/2.9.4: Not found in local cache, looking in remotes...
    http_parser/2.9.4: Trying with 'conan-center'...
    Downloading conanmanifest.txt
    Downloading conanfile.py
    Downloading conan_export.tgz
    http_parser/2.9.4: Downloaded recipe revision 38bd28da476afbba5e4adcdd726ea235
    libssh2/1.11.0: Not found in local cache, looking in remotes...
    libssh2/1.11.0: Trying with 'conan-center'...
    Downloading conanmanifest.txt
    Downloading conanfile.py
    Downloading conan_export.tgz
    libssh2/1.11.0: Downloaded recipe revision 3c2ae97c90887386a340b5cb972b6582
    openssl/1.1.1u: Not found in local cache, looking in remotes...
    openssl/1.1.1u: Trying with 'conan-center'...
    Downloading conanmanifest.txt
    Downloading conanfile.py
    Downloading conan_export.tgz
    openssl/1.1.1u: Downloaded recipe revision de76bbea24d8b46f8def8daa18b31fd9
    libgit2/1.2.0: Forced build from source
    Installing package: libgit2/1.2.0
    Requirements
        http_parser/2.9.4 from 'conan-center' - Downloaded
        libgit2/1.2.0 from local cache - Cache
        libssh2/1.11.0 from 'conan-center' - Downloaded
        openssl/1.1.1u from 'conan-center' - Downloaded
        zlib/1.2.13 from 'conan-center' - Downloaded
    Packages
        http_parser/2.9.4:b1b85bfdc2206d81b3ed6a49e78498182bb98ef3 - Download
        libgit2/1.2.0:315d39825e2ad06188d2448f4158b301b4f317e3 - Build
        libssh2/1.11.0:97b31e6395224145fd55e76cf2ecbf6682a18e88 - Missing
        openssl/1.1.1u:b1b85bfdc2206d81b3ed6a49e78498182bb98ef3 - Download
        zlib/1.2.13:b1b85bfdc2206d81b3ed6a49e78498182bb98ef3 - Download
    
    Installing (downloading, building) binaries...
    
    WARN: libssh2/1.11.0: requirement openssl/[>=1.1 <4] overridden by libgit2/1.2.0 to openssl/1.1.1u 
    ERROR: Missing binary: libssh2/1.11.0:97b31e6395224145fd55e76cf2ecbf6682a18e88
    libssh2/1.11.0: WARN: Can't find a 'libssh2/1.11.0' package for the specified settings, options and dependencies:
    - Settings: arch=x86_64, build_type=Debug, compiler=gcc, compiler.version=5, os=Linux
    - Options: crypto_backend=openssl, enable_crypt_none=False, enable_debug_logging=False, enable_mac_none=False, fPIC=True, shared=False, with_zlib=True, openssl:386=False, openssl:enable_weak_ssl_ciphers=False, openssl:fPIC=True, openssl:no_aria=False, openssl:no_asm=False, openssl:no_async=False, openssl:no_bf=False, openssl:no_blake2=False, openssl:no_camellia=False, openssl:no_cast=False, openssl:no_chacha=False, openssl:no_cms=False, openssl:no_comp=False, openssl:no_ct=False, openssl:no_deprecated=False, openssl:no_des=False, openssl:no_dgram=False, openssl:no_dh=False, openssl:no_dsa=False, openssl:no_dso=False, openssl:no_ec=False, openssl:no_ecdh=False, openssl:no_ecdsa=False, openssl:no_engine=False, openssl:no_filenames=False, openssl:no_gost=False, openssl:no_hmac=False, openssl:no_idea=False, openssl:no_md4=False, openssl:no_md5=False, openssl:no_mdc2=False, openssl:no_ocsp=False, openssl:no_pinshared=False, openssl:no_rc2=False, openssl:no_rfc3779=False, openssl:no_rmd160=False, openssl:no_rsa=False, openssl:no_seed=False, openssl:no_sha=False, openssl:no_sm2=False, openssl:no_sm3=False, openssl:no_sm4=False, openssl:no_sock=False, openssl:no_srp=False, openssl:no_srtp=False, openssl:no_sse2=False, openssl:no_ssl=False, openssl:no_ssl3=False, openssl:no_stdio=False, openssl:no_tests=False, openssl:no_threads=False, openssl:no_tls1=False, openssl:no_ts=False, openssl:no_whirlpool=False, openssl:openssldir=None, openssl:shared=False, zlib:fPIC=True, zlib:shared=False
    - Dependencies: zlib/1.2.13, openssl/1.1.1u
    - Requirements: openssl/1.Y.Z, zlib/1.Y.Z
    - Package ID: 97b31e6395224145fd55e76cf2ecbf6682a18e88
    
    ERROR: Missing prebuilt package for 'libssh2/1.11.0'
    Use 'conan search libssh2/1.11.0@ --table=table.html -r=remote' and open the table.html file to see available packages
    Or try to build locally from sources with '--build=libssh2'
    
    More Info at 'https://docs.conan.io/en/latest/faq/troubleshooting.html#error-missing-prebuilt-package'
    
  • libgit2/1.4.3@:
    Didn't run or was cancelled before finishing

  • libgit2/0.28.5@:
    Didn't run or was cancelled before finishing

  • libgit2/1.1.1@:
    Didn't run or was cancelled before finishing

  • libgit2/1.5.0@:
    Didn't run or was cancelled before finishing

  • libgit2/1.3.0@:
    Didn't run or was cancelled before finishing

  • libgit2/1.0.1@:
    Didn't run or was cancelled before finishing

  • libgit2/1.6.4@:
    Didn't run or was cancelled before finishing

  • libgit2/0.27.10@:
    Didn't run or was cancelled before finishing


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 may be required once they are on the v2 ready list

The v2 pipeline failed. Please, review the errors and note this will be required for pull requests to be merged in the near future.

See details:

Failure in build 8 (d0fdfaeb1084cd1fbccdcf6127f59a2acd061ae2):

  • libgit2/1.5.0@:
    Didn't run or was cancelled before finishing

  • libgit2/1.1.1@:
    Didn't run or was cancelled before finishing

  • libgit2/1.3.0@:
    CI failed to create some packages (All logs)

    Logs for packageID 8e3c8b038de99064a033b102a7d8a73a932da1c7:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.cppstd=17
    compiler.libcxx=libstdc++11
    compiler.version=11
    os=Linux
    [options]
    */*:shared=True
    
    [...]
    libssh2/1.11.0: Not found in local cache, looking in remotes...
    libssh2/1.11.0: Checking remote: conan-center
    libssh2/1.11.0: Downloaded recipe revision 3c2ae97c90887386a340b5cb972b6582
    openssl/1.1.1u: Not found in local cache, looking in remotes...
    openssl/1.1.1u: Checking remote: conan-center
    openssl/1.1.1u: Downloaded recipe revision de76bbea24d8b46f8def8daa18b31fd9
    Graph root
        cli
    Requirements
        http_parser/2.9.4#38bd28da476afbba5e4adcdd726ea235 - Downloaded (conan-center)
        libgit2/1.3.0#899fe34b232f0e854e63eb3d8833a03b - Cache
        libssh2/1.11.0#3c2ae97c90887386a340b5cb972b6582 - Downloaded (conan-center)
        openssl/1.1.1u#de76bbea24d8b46f8def8daa18b31fd9 - Downloaded (conan-center)
        zlib/1.2.13#e377bee636333ae348d51ca90874e353 - Downloaded (conan-center)
    
    ======== Computing necessary packages ========
    libgit2/1.3.0: Forced build from source
    Requirements
        http_parser/2.9.4#38bd28da476afbba5e4adcdd726ea235:abe5e2b04ea92ce2ee91bc9834317dbe66628206#aa7bab37ab4569ca8e3cfb5017d544f2 - Download (conan-center)
        libgit2/1.3.0#899fe34b232f0e854e63eb3d8833a03b:8e3c8b038de99064a033b102a7d8a73a932da1c7 - Build
        libssh2/1.11.0#3c2ae97c90887386a340b5cb972b6582:fc9ae550e7b8d45c3ae4ea73d511851871971d47 - Missing
        openssl/1.1.1u#de76bbea24d8b46f8def8daa18b31fd9:3d256bf7e65648f0cc3079b6b5991aa9ef143696#af7b9b4f6d6bc6e1f5a61971652f013d - Download (conan-center)
        zlib/1.2.13#e377bee636333ae348d51ca90874e353:abe5e2b04ea92ce2ee91bc9834317dbe66628206#441a647ceea3b33b1b0dbe1bef7a807d - Download (conan-center)
    
    ======== Installing packages ========
    ERROR: Missing binary: libssh2/1.11.0:fc9ae550e7b8d45c3ae4ea73d511851871971d47
    
    libssh2/1.11.0: WARN: Can't find a 'libssh2/1.11.0' package binary 'fc9ae550e7b8d45c3ae4ea73d511851871971d47' for the configuration:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.version=11
    os=Linux
    [options]
    crypto_backend=openssl
    enable_crypt_none=False
    enable_debug_logging=False
    enable_mac_none=False
    shared=True
    with_zlib=True
    [requires]
    openssl/1.1.Z
    zlib/1.2.Z
    
    ERROR: Missing prebuilt package for 'libssh2/1.11.0'
    Check the available packages using 'conan list libssh2/1.11.0:* -r=remote'
    or try to build locally from sources using the '--build=libssh2/1.11.0' argument
    
    More Info at 'https://docs.conan.io/2/knowledge/faq.html#error-missing-prebuilt-package'
    
  • libgit2/1.4.3@:
    Didn't run or was cancelled before finishing

  • libgit2/1.2.0@:
    Didn't run or was cancelled before finishing

  • libgit2/1.0.1@:
    Didn't run or was cancelled before finishing

  • libgit2/0.28.5@:
    Didn't run or was cancelled before finishing

  • libgit2/1.6.4@:
    Didn't run or was cancelled before finishing

  • libgit2/0.27.10@:
    Didn't run or was cancelled before finishing


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.

@whaliendev
Copy link
Contributor Author

Refer to #18458

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.

[package] <libgit2>/<*>: libgit2 needs to be updated to conan v2
2 participants