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

ixwebsocket: conan v2 support #15511

Merged
merged 2 commits into from
Feb 1, 2023

Conversation

SpaceIm
Copy link
Contributor

@SpaceIm SpaceIm commented Jan 28, 2023

also fix system libs casing on Windows for conan-io/hooks#480


@conan-center-bot

This comment has been minimized.

@github-actions
Copy link
Contributor

Hooks produced the following warnings for commit 4ef436a
ixwebsocket/11.4.3
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libixwebsocket.so' links to system library 'm' but it is not in cpp_info.system_libs.
ixwebsocket/11.0.9
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libixwebsocket.so' links to system library 'm' but it is not in cpp_info.system_libs.
ixwebsocket/11.2.4
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libixwebsocket.so' links to system library 'm' but it is not in cpp_info.system_libs.
ixwebsocket/10.4.0
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libixwebsocket.so' links to system library 'm' but it is not in cpp_info.system_libs.
ixwebsocket/7.9.2
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libixwebsocket.so' links to system library 'm' but it is not in cpp_info.system_libs.
ixwebsocket/9.1.9
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libixwebsocket.so' links to system library 'm' but it is not in cpp_info.system_libs.
ixwebsocket/11.0.4
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libixwebsocket.so' links to system library 'm' but it is not in cpp_info.system_libs.
ixwebsocket/10.2.5
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libixwebsocket.so' links to system library 'm' but it is not in cpp_info.system_libs.
ixwebsocket/9.6.4
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libixwebsocket.so' links to system library 'm' but it is not in cpp_info.system_libs.

@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline ✔️

All green in build 3 (e6f37f815f1061fecf6bda309929a344523dd6e8):

  • ixwebsocket/11.4.3@:
    All packages built successfully! (All logs)

  • ixwebsocket/11.2.4@:
    All packages built successfully! (All logs)

  • ixwebsocket/11.0.4@:
    All packages built successfully! (All logs)

  • ixwebsocket/11.0.9@:
    All packages built successfully! (All logs)

  • ixwebsocket/10.2.5@:
    All packages built successfully! (All logs)

  • ixwebsocket/10.4.0@:
    All packages built successfully! (All logs)

  • ixwebsocket/9.6.4@:
    All packages built successfully! (All logs)

  • ixwebsocket/7.9.2@:
    All packages built successfully! (All logs)

  • ixwebsocket/9.1.9@:
    All packages built successfully! (All logs)


Conan v2 pipeline (informative, not required for merge) ❌

Note: Conan v2 builds are informative and they are not required for the PR to be merged.

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 3 (e6f37f815f1061fecf6bda309929a344523dd6e8):

  • ixwebsocket/11.2.4@:
    Didn't run or was cancelled before finishing

  • ixwebsocket/11.4.3@:
    CI failed to create some packages (All logs)

    Logs for packageID b31edb4db42e819cfc8e914dd5e31a2bae3404a4:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.libcxx=libstdc++11
    compiler.version=11
    os=Linux
    [options]
    */*:shared=True
    
    [...]
    ixwebsocket/11.4.3 (test package): RUN: cmake --build "/home/conan/w/prod-v2/BuildSingleReference/conan-center-index/recipes/ixwebsocket/all/test_package/test_output/build/Release" -- -j3
    Scanning dependencies of target test_package
    [ 50%] Building CXX object CMakeFiles/test_package.dir/test_package.cpp.o
    [100%] Linking CXX executable test_package
    /opt/conan/binutils/bin/ld: warning: libmbedtls.so.13, needed by /home/conan/w/prod-v2/BuildSingleReference/p/763f4d62646271c6/p/lib/libixwebsocket.so, not found (try using -rpath or -rpath-link)
    /opt/conan/binutils/bin/ld: warning: libmbedx509.so.1, needed by /home/conan/w/prod-v2/BuildSingleReference/p/763f4d62646271c6/p/lib/libixwebsocket.so, not found (try using -rpath or -rpath-link)
    /opt/conan/binutils/bin/ld: warning: libmbedcrypto.so.6, needed by /home/conan/w/prod-v2/BuildSingleReference/p/763f4d62646271c6/p/lib/libixwebsocket.so, not found (try using -rpath or -rpath-link)
    /opt/conan/binutils/bin/ld: /home/conan/w/prod-v2/BuildSingleReference/p/763f4d62646271c6/p/lib/libixwebsocket.so: undefined reference to `mbedtls_x509_crt_parse_file'
    /opt/conan/binutils/bin/ld: /home/conan/w/prod-v2/BuildSingleReference/p/763f4d62646271c6/p/lib/libixwebsocket.so: undefined reference to `mbedtls_pk_parse_keyfile'
    /opt/conan/binutils/bin/ld: /home/conan/w/prod-v2/BuildSingleReference/p/763f4d62646271c6/p/lib/libixwebsocket.so: undefined reference to `mbedtls_net_recv'
    /opt/conan/binutils/bin/ld: /home/conan/w/prod-v2/BuildSingleReference/p/763f4d62646271c6/p/lib/libixwebsocket.so: undefined reference to `mbedtls_ctr_drbg_seed'
    /opt/conan/binutils/bin/ld: /home/conan/w/prod-v2/BuildSingleReference/p/763f4d62646271c6/p/lib/libixwebsocket.so: undefined reference to `mbedtls_ssl_init'
    /opt/conan/binutils/bin/ld: /home/conan/w/prod-v2/BuildSingleReference/p/763f4d62646271c6/p/lib/libixwebsocket.so: undefined reference to `mbedtls_strerror'
    /opt/conan/binutils/bin/ld: /home/conan/w/prod-v2/BuildSingleReference/p/763f4d62646271c6/p/lib/libixwebsocket.so: undefined reference to `mbedtls_ssl_set_hostname'
    /opt/conan/binutils/bin/ld: /home/conan/w/prod-v2/BuildSingleReference/p/763f4d62646271c6/p/lib/libixwebsocket.so: undefined reference to `mbedtls_ssl_config_init'
    /opt/conan/binutils/bin/ld: /home/conan/w/prod-v2/BuildSingleReference/p/763f4d62646271c6/p/lib/libixwebsocket.so: undefined reference to `mbedtls_ssl_handshake'
    /opt/conan/binutils/bin/ld: /home/conan/w/prod-v2/BuildSingleReference/p/763f4d62646271c6/p/lib/libixwebsocket.so: undefined reference to `mbedtls_ssl_conf_ca_chain'
    /opt/conan/binutils/bin/ld: /home/conan/w/prod-v2/BuildSingleReference/p/763f4d62646271c6/p/lib/libixwebsocket.so: undefined reference to `mbedtls_entropy_init'
    /opt/conan/binutils/bin/ld: /home/conan/w/prod-v2/BuildSingleReference/p/763f4d62646271c6/p/lib/libixwebsocket.so: undefined reference to `mbedtls_x509_crt_init'
    /opt/conan/binutils/bin/ld: /home/conan/w/prod-v2/BuildSingleReference/p/763f4d62646271c6/p/lib/libixwebsocket.so: undefined reference to `mbedtls_ctr_drbg_init'
    /opt/conan/binutils/bin/ld: /home/conan/w/prod-v2/BuildSingleReference/p/763f4d62646271c6/p/lib/libixwebsocket.so: undefined reference to `mbedtls_ssl_free'
    /opt/conan/binutils/bin/ld: /home/conan/w/prod-v2/BuildSingleReference/p/763f4d62646271c6/p/lib/libixwebsocket.so: undefined reference to `mbedtls_ssl_config_free'
    /opt/conan/binutils/bin/ld: /home/conan/w/prod-v2/BuildSingleReference/p/763f4d62646271c6/p/lib/libixwebsocket.so: undefined reference to `mbedtls_ssl_setup'
    /opt/conan/binutils/bin/ld: /home/conan/w/prod-v2/BuildSingleReference/p/763f4d62646271c6/p/lib/libixwebsocket.so: undefined reference to `mbedtls_ssl_config_defaults'
    /opt/conan/binutils/bin/ld: /home/conan/w/prod-v2/BuildSingleReference/p/763f4d62646271c6/p/lib/libixwebsocket.so: undefined reference to `mbedtls_ssl_conf_authmode'
    /opt/conan/binutils/bin/ld: /home/conan/w/prod-v2/BuildSingleReference/p/763f4d62646271c6/p/lib/libixwebsocket.so: undefined reference to `mbedtls_ctr_drbg_random'
    /opt/conan/binutils/bin/ld: /home/conan/w/prod-v2/BuildSingleReference/p/763f4d62646271c6/p/lib/libixwebsocket.so: undefined reference to `mbedtls_x509_crt_parse'
    /opt/conan/binutils/bin/ld: /home/conan/w/prod-v2/BuildSingleReference/p/763f4d62646271c6/p/lib/libixwebsocket.so: undefined reference to `mbedtls_ssl_conf_own_cert'
    /opt/conan/binutils/bin/ld: /home/conan/w/prod-v2/BuildSingleReference/p/763f4d62646271c6/p/lib/libixwebsocket.so: undefined reference to `mbedtls_ctr_drbg_free'
    /opt/conan/binutils/bin/ld: /home/conan/w/prod-v2/BuildSingleReference/p/763f4d62646271c6/p/lib/libixwebsocket.so: undefined reference to `mbedtls_ssl_set_bio'
    /opt/conan/binutils/bin/ld: /home/conan/w/prod-v2/BuildSingleReference/p/763f4d62646271c6/p/lib/libixwebsocket.so: undefined reference to `mbedtls_net_send'
    /opt/conan/binutils/bin/ld: /home/conan/w/prod-v2/BuildSingleReference/p/763f4d62646271c6/p/lib/libixwebsocket.so: undefined reference to `mbedtls_ssl_get_verify_result'
    /opt/conan/binutils/bin/ld: /home/conan/w/prod-v2/BuildSingleReference/p/763f4d62646271c6/p/lib/libixwebsocket.so: undefined reference to `mbedtls_entropy_free'
    /opt/conan/binutils/bin/ld: /home/conan/w/prod-v2/BuildSingleReference/p/763f4d62646271c6/p/lib/libixwebsocket.so: undefined reference to `mbedtls_pk_init'
    /opt/conan/binutils/bin/ld: /home/conan/w/prod-v2/BuildSingleReference/p/763f4d62646271c6/p/lib/libixwebsocket.so: undefined reference to `mbedtls_ssl_read'
    /opt/conan/binutils/bin/ld: /home/conan/w/prod-v2/BuildSingleReference/p/763f4d62646271c6/p/lib/libixwebsocket.so: undefined reference to `mbedtls_x509_crt_free'
    /opt/conan/binutils/bin/ld: /home/conan/w/prod-v2/BuildSingleReference/p/763f4d62646271c6/p/lib/libixwebsocket.so: undefined reference to `mbedtls_entropy_func'
    /opt/conan/binutils/bin/ld: /home/conan/w/prod-v2/BuildSingleReference/p/763f4d62646271c6/p/lib/libixwebsocket.so: undefined reference to `mbedtls_ssl_conf_rng'
    /opt/conan/binutils/bin/ld: /home/conan/w/prod-v2/BuildSingleReference/p/763f4d62646271c6/p/lib/libixwebsocket.so: undefined reference to `mbedtls_ssl_write'
    /opt/conan/binutils/bin/ld: /home/conan/w/prod-v2/BuildSingleReference/p/763f4d62646271c6/p/lib/libixwebsocket.so: undefined reference to `mbedtls_x509_crt_verify_info'
    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: ixwebsocket/11.4.3 (test package): Error in build() method, line 21
    	cmake.build()
    	ConanException: Error 2 while executing
    
  • ixwebsocket/9.1.9@:
    Didn't run or was cancelled before finishing

  • ixwebsocket/10.4.0@:
    Didn't run or was cancelled before finishing

  • ixwebsocket/11.0.9@:
    Didn't run or was cancelled before finishing

  • ixwebsocket/10.2.5@:
    Didn't run or was cancelled before finishing

  • ixwebsocket/11.0.4@:
    Didn't run or was cancelled before finishing

  • ixwebsocket/7.9.2@:
    Didn't run or was cancelled before finishing

  • ixwebsocket/9.6.4@:
    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.

Copy link
Member

@uilianries uilianries left a comment

Choose a reason for hiding this comment

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

LGTM

@conan-center-bot conan-center-bot merged commit 98e6795 into conan-io:master Feb 1, 2023
@SpaceIm SpaceIm deleted the ixwebsocket-conan-v2 branch February 1, 2023 07:55
StellaSmith pushed a commit to StellaSmith/conan-center-index that referenced this pull request Feb 2, 2023
* conan v2 support

* add libm to system libs
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

Successfully merging this pull request may close these issues.

4 participants