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

usearch: new recipe #22931

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

usearch: new recipe #22931

wants to merge 18 commits into from

Conversation

valgur
Copy link
Contributor

@valgur valgur commented Feb 28, 2024

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

Copy link
Contributor

Hooks produced the following warnings for commit 6cab9ff
usearch/2.9.1@#6eed18c08cc218706e240eddca898723
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libusearch_c.so' links to system library 'm' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libusearch_c.so' links to system library 'mvec' but it is not in cpp_info.system_libs.

@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

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@AbrilRBS AbrilRBS self-assigned this May 29, 2024
@conan-center-bot

This comment has been minimized.

@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline ❌

Failure in build 7 (1ea1277ef4a4ce36e324985226b82b1607a2aef6):

  • usearch/2.13.1:
    CI failed to create some packages (All logs)

    Logs for packageID e7c055e7b93f1c1b297990885b446446f92aafa9:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.libcxx=libstdc++11
    compiler.version=9
    os=Linux
    [options]
    usearch:header_only=False
    usearch:shared=False
    
    [...]
        fp16/cci.20210320:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Download
        psimd/cci.20200517:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Download
        usearch/2.13.1:e7c055e7b93f1c1b297990885b446446f92aafa9 - Build
    
    Installing (downloading, building) binaries...
    psimd/cci.20200517: Retrieving package 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 from remote 'conan-center' 
    Downloading conanmanifest.txt
    Downloading conaninfo.txt
    Downloading conan_package.tgz
    psimd/cci.20200517: Package installed 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9
    psimd/cci.20200517: Downloaded package revision e24323a94d91d20b7d7666ed0bf2df2c
    fp16/cci.20210320: Retrieving package 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 from remote 'conan-center' 
    Downloading conanmanifest.txt
    Downloading conaninfo.txt
    Downloading conan_package.tgz
    fp16/cci.20210320: Package installed 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9
    fp16/cci.20210320: Downloaded package revision caab05822de163dea1bb0bc250e3586b
    [HOOK - conan-center.py] pre_source(): [IMMUTABLE SOURCES (KB-H010)] OK
    usearch/2.13.1: Configuring sources in /home/conan/workspace/prod-v1/bsr/82796/fedfd/.conan/data/usearch/2.13.1/_/_/source/src
    usearch/2.13.1: 
    [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
    usearch/2.13.1: Building your package in /home/conan/workspace/prod-v1/bsr/82796/fedfd/.conan/data/usearch/2.13.1/_/_/build/e7c055e7b93f1c1b297990885b446446f92aafa9
    usearch/2.13.1: Generator txt created conanbuildinfo.txt
    usearch/2.13.1: Calling generate()
    usearch/2.13.1: Preset 'release' added to CMakePresets.json. Invoke it manually using 'cmake --preset release'
    usearch/2.13.1: If your CMake version is not compatible with CMakePresets (<3.19) call cmake like: 'cmake <path> -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE=/home/conan/workspace/prod-v1/bsr/82796/fedfd/.conan/data/usearch/2.13.1/_/_/build/e7c055e7b93f1c1b297990885b446446f92aafa9/build/Release/generators/conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0077=NEW -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_BUILD_TYPE=Release'
    usearch/2.13.1: 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
    usearch/2.13.1: Calling build()
    usearch/2.13.1: Apply patch (conan): Fix C lib installation
    usearch/2.13.1: /home/conan/workspace/prod-v1/bsr/82796/fedfd/.conan/data/usearch/2.13.1/_/_/source/patches/0001-fix-lib-installation.patch: source file is different - b'c/CMakeLists.txt'
    usearch/2.13.1: 
    WARN: *** Conan 1 is legacy and on a deprecation path ***
    WARN: *** Please upgrade to Conan 2 ***
    usearch/2.13.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
    usearch/2.13.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
    usearch/2.13.1: WARN: /home/conan/workspace/prod-v1/bsr/82796/fedfd/.conan/data/usearch/2.13.1/_/_/source/patches/0001-fix-lib-installation.patch: file 1/1:	 b'c/CMakeLists.txt'
    usearch/2.13.1: WARN: /home/conan/workspace/prod-v1/bsr/82796/fedfd/.conan/data/usearch/2.13.1/_/_/source/patches/0001-fix-lib-installation.patch:  hunk no.1 doesn't match source file at line 18
    usearch/2.13.1: WARN: /home/conan/workspace/prod-v1/bsr/82796/fedfd/.conan/data/usearch/2.13.1/_/_/source/patches/0001-fix-lib-installation.patch:   expected: b'    elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang")'
    usearch/2.13.1: WARN: /home/conan/workspace/prod-v1/bsr/82796/fedfd/.conan/data/usearch/2.13.1/_/_/source/patches/0001-fix-lib-installation.patch:   actual  : b'        target_link_options(usearch_static_c PRIVATE -static-libstdc++)'
    usearch/2.13.1: ERROR: Package 'e7c055e7b93f1c1b297990885b446446f92aafa9' build failed
    usearch/2.13.1: WARN: Build folder /home/conan/workspace/prod-v1/bsr/82796/fedfd/.conan/data/usearch/2.13.1/_/_/build/e7c055e7b93f1c1b297990885b446446f92aafa9/build/Release
    ERROR: usearch/2.13.1: Error in build() method, line 129
    	self._patch_sources()
    while calling '_patch_sources', line 122
    	apply_conandata_patches(self)
    	ConanException: Failed to apply patch: /home/conan/workspace/prod-v1/bsr/82796/fedfd/.conan/data/usearch/2.13.1/_/_/source/patches/0001-fix-lib-installation.patch
    

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.

Failure in build 7 (1ea1277ef4a4ce36e324985226b82b1607a2aef6):

  • usearch/2.13.1:
    CI failed to create some packages (All logs)

    Logs for packageID 05a8ea1ef3a4ef2ff246f3ada07568d8b046def9:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.cppstd=17
    compiler.libcxx=libstdc++11
    compiler.version=11
    os=Linux
    [options]
    */*:shared=False
    usearch/*:header_only=False
    
    [...]
        usearch/2.13.1#ee5d9e090397af0c942fc732ba0be47e - Cache
    
    ======== Computing necessary packages ========
    usearch/2.13.1: Forced build from source
    Requirements
        fp16/cci.20210320#34dbac7f6fa3dee68830028b53de6c84:da39a3ee5e6b4b0d3255bfef95601890afd80709#b7ab18bd2ee17d82530f93d190f36156 - Download (conan-center)
        psimd/cci.20200517#83200a06ebb1ff39c5adff0d712c05fa:da39a3ee5e6b4b0d3255bfef95601890afd80709#d8c3d8d76275b4c8abf8ee833e49cae5 - Download (conan-center)
        usearch/2.13.1#ee5d9e090397af0c942fc732ba0be47e:05a8ea1ef3a4ef2ff246f3ada07568d8b046def9 - Build
    
    ======== Installing packages ========
    
    -------- Downloading 2 packages --------
    psimd/cci.20200517: Retrieving package da39a3ee5e6b4b0d3255bfef95601890afd80709 from remote 'conan-center' 
    psimd/cci.20200517: Package installed da39a3ee5e6b4b0d3255bfef95601890afd80709
    psimd/cci.20200517: Downloaded package revision d8c3d8d76275b4c8abf8ee833e49cae5
    fp16/cci.20210320: Retrieving package da39a3ee5e6b4b0d3255bfef95601890afd80709 from remote 'conan-center' 
    fp16/cci.20210320: Package installed da39a3ee5e6b4b0d3255bfef95601890afd80709
    fp16/cci.20210320: Downloaded package revision b7ab18bd2ee17d82530f93d190f36156
    usearch/2.13.1: Calling source() in /home/conan/workspace/prod-v2/bsr/74463/abaee/p/usearab7b2c1ce3335/s/src
    usearch/2.13.1: WARN: File https://github.com/unum-cloud/usearch/archive/v2.13.1.tar.gz not found in https://c3i.jfrog.io/artifactory/conan-center-backup-sources/
    
    -------- Installing package usearch/2.13.1 (3 of 3) --------
    usearch/2.13.1: Building from source
    usearch/2.13.1: Package usearch/2.13.1:05a8ea1ef3a4ef2ff246f3ada07568d8b046def9
    usearch/2.13.1: Building your package in /home/conan/workspace/prod-v2/bsr/74463/abaee/p/b/usear11080f9dbf172/b
    usearch/2.13.1: Calling generate()
    usearch/2.13.1: Generators folder: /home/conan/workspace/prod-v2/bsr/74463/abaee/p/b/usear11080f9dbf172/b/build/Release/generators
    usearch/2.13.1: CMakeToolchain generated: conan_toolchain.cmake
    usearch/2.13.1: CMakeToolchain generated: /home/conan/workspace/prod-v2/bsr/74463/abaee/p/b/usear11080f9dbf172/b/build/Release/generators/CMakePresets.json
    usearch/2.13.1: CMakeToolchain generated: /home/conan/workspace/prod-v2/bsr/74463/abaee/p/usearab7b2c1ce3335/s/src/CMakeUserPresets.json
    usearch/2.13.1: CMakeDeps necessary find_package() and targets for your CMakeLists.txt
        find_package(fp16)
        target_link_libraries(... fp16::fp16)
    usearch/2.13.1: Generating aggregated env files
    usearch/2.13.1: Generated aggregated env files: ['conanbuild.sh', 'conanrun.sh']
    usearch/2.13.1: Calling build()
    usearch/2.13.1: Apply patch (conan): Fix C lib installation
    usearch/2.13.1: WARN: /home/conan/workspace/prod-v2/bsr/74463/abaee/p/usearab7b2c1ce3335/s/patches/0001-fix-lib-installation.patch: file 1/1:	 b'c/CMakeLists.txt'
    usearch/2.13.1: WARN: /home/conan/workspace/prod-v2/bsr/74463/abaee/p/usearab7b2c1ce3335/s/patches/0001-fix-lib-installation.patch:  hunk no.1 doesn't match source file at line 18
    usearch/2.13.1: WARN: /home/conan/workspace/prod-v2/bsr/74463/abaee/p/usearab7b2c1ce3335/s/patches/0001-fix-lib-installation.patch:   expected: b'    elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang")'
    usearch/2.13.1: WARN: /home/conan/workspace/prod-v2/bsr/74463/abaee/p/usearab7b2c1ce3335/s/patches/0001-fix-lib-installation.patch:   actual  : b'        target_link_options(usearch_static_c PRIVATE -static-libstdc++)'
    usearch/2.13.1: /home/conan/workspace/prod-v2/bsr/74463/abaee/p/usearab7b2c1ce3335/s/patches/0001-fix-lib-installation.patch: source file is different - b'c/CMakeLists.txt'
    usearch/2.13.1: ERROR: 
    Package '05a8ea1ef3a4ef2ff246f3ada07568d8b046def9' build failed
    usearch/2.13.1: WARN: Build folder /home/conan/workspace/prod-v2/bsr/74463/abaee/p/b/usear11080f9dbf172/b/build/Release
    ERROR: usearch/2.13.1: Error in build() method, line 129
    	self._patch_sources()
    while calling '_patch_sources', line 122
    	apply_conandata_patches(self)
    	ConanException: Failed to apply patch: /home/conan/workspace/prod-v2/bsr/74463/abaee/p/usearab7b2c1ce3335/s/patches/0001-fix-lib-installation.patch
    

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.

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.

5 participants