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

aerospike-client-c: new recipe #23356

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

Conversation

ybogo
Copy link

@ybogo ybogo commented Apr 3, 2024

Specify library name and version: aerospike-client-c/6.6.0

I am not an author of this package but I moving my pet project to use conan and I am using aerospike client in it. So I decided to create a recipe to manage all my dependencies with only one tool.

Closes #23243


@CLAassistant
Copy link

CLAassistant commented Apr 3, 2024

CLA assistant check
All committers have signed the CLA.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

1 similar comment
@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.

Copy link
Contributor

github-actions bot commented Apr 3, 2024

Hooks produced the following warnings for commit f7c1fb0
aerospike-client-c/6.6.0@#589686ab9f385332ad840994456697ca
post_package(): WARN: [APPLE RELOCATABLE SHARED LIBS (KB-H077)] install_name dir of these shared libs is not @rpath: libaerospike.dylib

def layout(self):
basic_layout(self, src_folder='src')

def source(self):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please, use source to download a tarball version instead. Using git is not allowed. Please, read https://github.com/conan-io/conan-center-index/blob/master/docs/adding_packages/folders_and_files.md#the-recipe-folder

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay! Gonna fix it. I used git because source project use submodules and I decided that using git is a good idea. Can you suggest how to download sources for projects with submodules?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ybogo Each submodule should be split as a Conan package in a separated PR.

@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline ✔️

All green in build 11 (a80af2fe28fe561fbd6b27000d01c561d3cf02d2):

  • aerospike-client-c/6.6.0:
    All packages built successfully! (All logs)

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 11 (a80af2fe28fe561fbd6b27000d01c561d3cf02d2):

  • aerospike-client-c/6.6.0:
    CI failed to create some packages (All logs)

    Logs for packageID 1e198a123cd010bc2beafdb5ef0f6edce0f99b79:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.cppstd=17
    compiler.libcxx=libstdc++11
    compiler.version=11
    os=Linux
    [options]
    */*:shared=True
    
    [...]
    /opt/conan/binutils/bin/ld: /home/conan/workspace/prod-v2/bsr/13566/eceac/p/b/aeros40a1f03365ddb/p/lib/libaerospike.so: undefined reference to `X509_STORE_CTX_get_ex_data'
    /opt/conan/binutils/bin/ld: /home/conan/workspace/prod-v2/bsr/13566/eceac/p/b/aeros40a1f03365ddb/p/lib/libaerospike.so: undefined reference to `PEM_read_PrivateKey'
    /opt/conan/binutils/bin/ld: /home/conan/workspace/prod-v2/bsr/13566/eceac/p/b/aeros40a1f03365ddb/p/lib/libaerospike.so: undefined reference to `SSL_CTX_new'
    /opt/conan/binutils/bin/ld: /home/conan/workspace/prod-v2/bsr/13566/eceac/p/b/aeros40a1f03365ddb/p/lib/libaerospike.so: undefined reference to `lua_touserdata'
    /opt/conan/binutils/bin/ld: /home/conan/workspace/prod-v2/bsr/13566/eceac/p/b/aeros40a1f03365ddb/p/lib/libaerospike.so: undefined reference to `luaL_newstate'
    /opt/conan/binutils/bin/ld: /home/conan/workspace/prod-v2/bsr/13566/eceac/p/b/aeros40a1f03365ddb/p/lib/libaerospike.so: undefined reference to `SSL_get_cipher_list'
    /opt/conan/binutils/bin/ld: /home/conan/workspace/prod-v2/bsr/13566/eceac/p/b/aeros40a1f03365ddb/p/lib/libaerospike.so: undefined reference to `BIO_new'
    /opt/conan/binutils/bin/ld: /home/conan/workspace/prod-v2/bsr/13566/eceac/p/b/aeros40a1f03365ddb/p/lib/libaerospike.so: undefined reference to `CRYPTO_get_ex_new_index'
    /opt/conan/binutils/bin/ld: /home/conan/workspace/prod-v2/bsr/13566/eceac/p/b/aeros40a1f03365ddb/p/lib/libaerospike.so: undefined reference to `TLS_client_method'
    /opt/conan/binutils/bin/ld: /home/conan/workspace/prod-v2/bsr/13566/eceac/p/b/aeros40a1f03365ddb/p/lib/libaerospike.so: undefined reference to `SSL_CIPHER_description'
    /opt/conan/binutils/bin/ld: /home/conan/workspace/prod-v2/bsr/13566/eceac/p/b/aeros40a1f03365ddb/p/lib/libaerospike.so: undefined reference to `PEM_X509_INFO_read_bio'
    /opt/conan/binutils/bin/ld: /home/conan/workspace/prod-v2/bsr/13566/eceac/p/b/aeros40a1f03365ddb/p/lib/libaerospike.so: undefined reference to `lua_concat'
    /opt/conan/binutils/bin/ld: /home/conan/workspace/prod-v2/bsr/13566/eceac/p/b/aeros40a1f03365ddb/p/lib/libaerospike.so: undefined reference to `X509_VERIFY_PARAM_new'
    /opt/conan/binutils/bin/ld: /home/conan/workspace/prod-v2/bsr/13566/eceac/p/b/aeros40a1f03365ddb/p/lib/libaerospike.so: undefined reference to `lua_settop'
    /opt/conan/binutils/bin/ld: /home/conan/workspace/prod-v2/bsr/13566/eceac/p/b/aeros40a1f03365ddb/p/lib/libaerospike.so: undefined reference to `SSL_CTX_set_options'
    /opt/conan/binutils/bin/ld: /home/conan/workspace/prod-v2/bsr/13566/eceac/p/b/aeros40a1f03365ddb/p/lib/libaerospike.so: undefined reference to `SSL_CTX_use_certificate_chain_file'
    /opt/conan/binutils/bin/ld: /home/conan/workspace/prod-v2/bsr/13566/eceac/p/b/aeros40a1f03365ddb/p/lib/libaerospike.so: undefined reference to `SSL_connect'
    /opt/conan/binutils/bin/ld: /home/conan/workspace/prod-v2/bsr/13566/eceac/p/b/aeros40a1f03365ddb/p/lib/libaerospike.so: undefined reference to `lua_tonumberx'
    /opt/conan/binutils/bin/ld: /home/conan/workspace/prod-v2/bsr/13566/eceac/p/b/aeros40a1f03365ddb/p/lib/libaerospike.so: undefined reference to `ERR_clear_error'
    /opt/conan/binutils/bin/ld: /home/conan/workspace/prod-v2/bsr/13566/eceac/p/b/aeros40a1f03365ddb/p/lib/libaerospike.so: undefined reference to `lua_next'
    /opt/conan/binutils/bin/ld: /home/conan/workspace/prod-v2/bsr/13566/eceac/p/b/aeros40a1f03365ddb/p/lib/libaerospike.so: undefined reference to `SSL_set_ex_data'
    /opt/conan/binutils/bin/ld: /home/conan/workspace/prod-v2/bsr/13566/eceac/p/b/aeros40a1f03365ddb/p/lib/libaerospike.so: undefined reference to `SSL_free'
    /opt/conan/binutils/bin/ld: /home/conan/workspace/prod-v2/bsr/13566/eceac/p/b/aeros40a1f03365ddb/p/lib/libaerospike.so: undefined reference to `lua_pushboolean'
    /opt/conan/binutils/bin/ld: /home/conan/workspace/prod-v2/bsr/13566/eceac/p/b/aeros40a1f03365ddb/p/lib/libaerospike.so: undefined reference to `SSL_write'
    /opt/conan/binutils/bin/ld: /home/conan/workspace/prod-v2/bsr/13566/eceac/p/b/aeros40a1f03365ddb/p/lib/libaerospike.so: undefined reference to `X509_VERIFY_PARAM_set_flags'
    /opt/conan/binutils/bin/ld: /home/conan/workspace/prod-v2/bsr/13566/eceac/p/b/aeros40a1f03365ddb/p/lib/libaerospike.so: undefined reference to `SSL_set_fd'
    /opt/conan/binutils/bin/ld: /home/conan/workspace/prod-v2/bsr/13566/eceac/p/b/aeros40a1f03365ddb/p/lib/libaerospike.so: undefined reference to `BIO_new_mem_buf'
    /opt/conan/binutils/bin/ld: /home/conan/workspace/prod-v2/bsr/13566/eceac/p/b/aeros40a1f03365ddb/p/lib/libaerospike.so: undefined reference to `X509_STORE_add_cert'
    /opt/conan/binutils/bin/ld: /home/conan/workspace/prod-v2/bsr/13566/eceac/p/b/aeros40a1f03365ddb/p/lib/libaerospike.so: undefined reference to `SSL_CTX_use_PrivateKey_file'
    /opt/conan/binutils/bin/ld: /home/conan/workspace/prod-v2/bsr/13566/eceac/p/b/aeros40a1f03365ddb/p/lib/libaerospike.so: undefined reference to `SSL_CTX_ctrl'
    /opt/conan/binutils/bin/ld: /home/conan/workspace/prod-v2/bsr/13566/eceac/p/b/aeros40a1f03365ddb/p/lib/libaerospike.so: undefined reference to `BN_free'
    /opt/conan/binutils/bin/ld: /home/conan/workspace/prod-v2/bsr/13566/eceac/p/b/aeros40a1f03365ddb/p/lib/libaerospike.so: undefined reference to `GENERAL_NAME_free'
    /opt/conan/binutils/bin/ld: /home/conan/workspace/prod-v2/bsr/13566/eceac/p/b/aeros40a1f03365ddb/p/lib/libaerospike.so: undefined reference to `lua_setmetatable'
    /opt/conan/binutils/bin/ld: /home/conan/workspace/prod-v2/bsr/13566/eceac/p/b/aeros40a1f03365ddb/p/lib/libaerospike.so: undefined reference to `ERR_get_error'
    /opt/conan/binutils/bin/ld: /home/conan/workspace/prod-v2/bsr/13566/eceac/p/b/aeros40a1f03365ddb/p/lib/libaerospike.so: undefined reference to `SSL_get_rbio'
    /opt/conan/binutils/bin/ld: /home/conan/workspace/prod-v2/bsr/13566/eceac/p/b/aeros40a1f03365ddb/p/lib/libaerospike.so: undefined reference to `SSL_new'
    /opt/conan/binutils/bin/ld: /home/conan/workspace/prod-v2/bsr/13566/eceac/p/b/aeros40a1f03365ddb/p/lib/libaerospike.so: undefined reference to `OPENSSL_sk_free'
    /opt/conan/binutils/bin/ld: /home/conan/workspace/prod-v2/bsr/13566/eceac/p/b/aeros40a1f03365ddb/p/lib/libaerospike.so: undefined reference to `lua_pushcclosure'
    /opt/conan/binutils/bin/ld: /home/conan/workspace/prod-v2/bsr/13566/eceac/p/b/aeros40a1f03365ddb/p/lib/libaerospike.so: undefined reference to `lua_sethook'
    collect2: error: ld returned 1 exit status
    CMakeFiles/test_package.dir/build.make:84: recipe for target 'test_package' failed
    make[2]: *** [test_package] Error 1
    CMakeFiles/Makefile2:75: recipe for target 'CMakeFiles/test_package.dir/all' failed
    make[1]: *** [CMakeFiles/test_package.dir/all] Error 2
    Makefile:83: recipe for target 'all' failed
    make: *** [all] Error 2
    
    ERROR: aerospike-client-c/6.6.0 (test package): Error in build() method, line 21
    	cmake.build()
    	ConanException: Error 2 while executing
    

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.

Copy link
Contributor

github-actions bot commented Apr 4, 2024

Hooks produced the following warnings for commit a80af2f
aerospike-client-c/6.6.0@#d763e96964615129e09a97620389d948
post_package(): WARN: [APPLE RELOCATABLE SHARED LIBS (KB-H077)] install_name dir of these shared libs is not @rpath: libaerospike.dylib

@ybogo ybogo mentioned this pull request Apr 5, 2024
3 tasks
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.

[request] aerospike-client-c/6.6.0
4 participants