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

userspace-rcu: support conan v2 #20811

Closed
wants to merge 2 commits into from

Conversation

toge
Copy link
Contributor

@toge toge commented Oct 28, 2023

Specify library name and version: userspace-rcu/*


@conan-center-bot

This comment has been minimized.

uilianries
uilianries previously approved these changes Oct 31, 2023
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
Copy link
Collaborator

Conan v1 pipeline ❌

Failure in build 2 (a3466ecef7b2b648e9f709df9fbf93b9e31c751e):

  • userspace-rcu/0.11.4:
    CI failed to create some packages (All logs)

    Logs for packageID bda713dd3b257827c8d11a06ac9d824038871572:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=apple-clang
    compiler.libcxx=libc++
    compiler.version=13.0
    os=Macos
    [options]
    userspace-rcu:shared=True
    
    [...]
    In file included from /Users/jenkins/w/prod-v1/bsr@2/40746/bdddb/.conan/data/userspace-rcu/0.11.4/_/_/build/bda713dd3b257827c8d11a06ac9d824038871572/src/include/urcu/wfcqueue.h:133:
    /Users/jenkins/w/prod-v1/bsr@2/40746/bdddb/.conan/data/userspace-rcu/0.11.4/_/_/build/bda713dd3b257827c8d11a06ac9d824038871572/src/include/urcu/static/wfcqueue.h:117:6: warning: unused variable 'ret' [-Wunused-variable]
            int ret = pthread_mutex_destroy(&head->lock);
                ^
    1 warning generated.
    1 warning generated.
    2 warnings generated.
    In file included from /Users/jenkins/w/prod-v1/bsr@2/40746/bdddb/.conan/data/userspace-rcu/0.11.4/_/_/build/bda713dd3b257827c8d11a06ac9d824038871572/src/src/lfstack.c:27:
    /Users/jenkins/w/prod-v1/bsr@2/40746/bdddb/.conan/data/userspace-rcu/0.11.4/_/_/build/bda713dd3b257827c8d11a06ac9d824038871572/src/include/urcu/static/lfstack.h:89:13: warning: unused variable 'ret' [-Wunused-variable]
            int ret = pthread_mutex_destroy(&s->lock);
                ^
    1 warning generated.
    In file included from /Users/jenkins/w/prod-v1/bsr@2/40746/bdddb/.conan/data/userspace-rcu/0.11.4/_/_/build/bda713dd3b257827c8d11a06ac9d824038871572/src/src/workqueue.c:39:
    In file included from /Users/jenkins/w/prod-v1/bsr@2/40746/bdddb/.conan/data/userspace-rcu/0.11.4/_/_/build/bda713dd3b257827c8d11a06ac9d824038871572/src/include/urcu/wfcqueue.h:133:
    /Users/jenkins/w/prod-v1/bsr@2/40746/bdddb/.conan/data/userspace-rcu/0.11.4/_/_/build/bda713dd3b257827c8d11a06ac9d824038871572/src/include/urcu/static/wfcqueue.h:117:6: warning: unused variable 'ret' [-Wunused-variable]
            int ret = pthread_mutex_destroy(&head->lock);
                ^
    In file included from /Users/jenkins/w/prod-v1/bsr@2/40746/bdddb/.conan/data/userspace-rcu/0.11.4/_/_/build/bda713dd3b257827c8d11a06ac9d824038871572/src/src/rculfhash.c:270:
    In file included from /Users/jenkins/w/prod-v1/bsr@2/40746/bdddb/.conan/data/userspace-rcu/0.11.4/_/_/build/bda713dd3b257827c8d11a06ac9d824038871572/src/include/urcu/call-rcu.h:33:
    In file included from /Users/jenkins/w/prod-v1/bsr@2/40746/bdddb/.conan/data/userspace-rcu/0.11.4/_/_/build/bda713dd3b257827c8d11a06ac9d824038871572/src/include/urcu/wfcqueue.h:133:
    /Users/jenkins/w/prod-v1/bsr@2/40746/bdddb/.conan/data/userspace-rcu/0.11.4/_/_/build/bda713dd3b257827c8d11a06ac9d824038871572/src/include/urcu/static/wfcqueue.h:117:6: warning: unused variable 'ret' [-Wunused-variable]
            int ret = pthread_mutex_destroy(&head->lock);
                ^
    1 warning generated.
    ld: warning: double slash removed from -install_name (//lib/liburcu-common.6.dylib)
    1 warning generated.
    ld: warning: double slash removed from -install_name (//lib/liburcu-mb.6.dylib)
    ld: warning: double slash removed from -install_name (//lib/liburcu.6.dylib)
    ld: warning: double slash removed from -install_name (//lib/liburcu-signal.6.dylib)
    ld: warning: double slash removed from -install_name (//lib/liburcu-qsbr.6.dylib)
    ld: warning: double slash removed from -install_name (//lib/liburcu-bp.6.dylib)ld: warning: double slash removed from -install_name (//lib/liburcu-memb.6.dylib)
    
    ld: warning: double slash removed from -install_name (//lib/liburcu-cds.6.dylib)
    cds_hlist_add_head_rcu.c:19:10: fatal error: 'urcu/urcu-memb.h' file not found
    #include <urcu/urcu-memb.h>     /* Userspace RCU flavor */
             ^~~~~~~~~~~~~~~~~~
    1 error generated.
    make[5]: *** [cds_hlist_add_head_rcu.o] Error 1
    make[4]: *** [all] Error 2
    make[3]: *** [all] Error 2
    make[2]: *** [all-local] Error 2
    make[1]: *** [all-recursive] Error 1
    make: *** [all-recursive] Error 1
    userspace-rcu/0.11.4: 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
    userspace-rcu/0.11.4: 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
    userspace-rcu/0.11.4: ERROR: Package 'bda713dd3b257827c8d11a06ac9d824038871572' build failed
    userspace-rcu/0.11.4: WARN: Build folder /Users/jenkins/w/prod-v1/bsr@2/40746/bdddb/.conan/data/userspace-rcu/0.11.4/_/_/build/bda713dd3b257827c8d11a06ac9d824038871572/build-release
    ERROR: userspace-rcu/0.11.4: Error in build() method, line 68
    	autotools.make()
    	ConanException: Error 2 while executing make -j4
    

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.

See details:

Failure in build 2 (a3466ecef7b2b648e9f709df9fbf93b9e31c751e):

  • userspace-rcu/0.11.4:
    CI failed to create some packages (All logs)

    Logs for packageID 24612164eb0760405fcd237df0102e554ed1cb2f:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=apple-clang
    compiler.cppstd=17
    compiler.libcxx=libc++
    compiler.version=13
    os=Macos
    [options]
    */*:shared=True
    
    [...]
    In file included from /Users/jenkins/w/prod-v2/bsr/32399/baeee/p/b/users1b7d1345bd073/b/src/include/urcu/wfcqueue.h:133:
    /Users/jenkins/w/prod-v2/bsr/32399/baeee/p/b/users1b7d1345bd073/b/src/include/urcu/static/wfcqueue.h:117:6: warning: unused variable 'ret' [-Wunused-variable]
            int ret = pthread_mutex_destroy(&head->lock);
                ^
    1 warning generated.
      CC       rculfhash-mm-mmap.lo
      CCLD     liburcu-common.la
    1 warning generated.
    ld: warning: double slash removed from -install_name (//lib/liburcu-common.6.dylib)
      CCLD     liburcu.la
      CCLD     liburcu-qsbr.la
      CCLD     liburcu-mb.la
      CCLD     liburcu-signal.la
    ld: warning: double slash removed from -install_name (//lib/liburcu.6.dylib)
    ld: warning: double slash removed from -install_name (//lib/liburcu-qsbr.6.dylib)
    ld: warning: double slash removed from -install_name (//lib/liburcu-mb.6.dylib)
    ld: warning: double slash removed from -install_name (//lib/liburcu-signal.6.dylib)
      CCLD     liburcu-bp.la
      CCLD     liburcu-memb.la
      CCLD     liburcu-cds.la
    ld: warning: double slash removed from -install_name (//lib/liburcu-bp.6.dylib)
    ld: warning: double slash removed from -install_name (//lib/liburcu-memb.6.dylib)
    ld: warning: double slash removed from -install_name (//lib/liburcu-cds.6.dylib)
    Making all in doc
    Making all in examples
      CC       cds_hlist_add_head_rcu.o
    cds_hlist_add_head_rcu.c:19:10: fatal error: 'urcu/urcu-memb.h' file not found
    #include <urcu/urcu-memb.h>     /* Userspace RCU flavor */
             ^~~~~~~~~~~~~~~~~~
    1 error generated.
    make[5]: *** [cds_hlist_add_head_rcu.o] Error 1
    make[4]: *** [all] Error 2
    make[3]: *** [all] Error 2
    make[2]: *** [all-local] Error 2
    make[1]: *** [all-recursive] Error 1
    make: *** [all-recursive] Error 1
    
    userspace-rcu/0.11.4: ERROR: 
    Package '24612164eb0760405fcd237df0102e554ed1cb2f' build failed
    userspace-rcu/0.11.4: WARN: Build folder /Users/jenkins/w/prod-v2/bsr/32399/baeee/p/b/users1b7d1345bd073/b/build-release
    *********************************************************
    Recipe 'userspace-rcu/0.11.4' cannot build its binary
    It is possible that this recipe is not Conan 2.0 ready
    If the recipe comes from ConanCenter, report it at https://github.com/conan-io/conan-center-index/issues
    If it is your recipe, check if it is updated to 2.0
    *********************************************************
    
    ERROR: userspace-rcu/0.11.4: Error in build() method, line 68
    	autotools.make()
    	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.

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.

3 participants