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

openmpi: add missing libevent dependency #25431

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

valgur
Copy link
Contributor

@valgur valgur commented Sep 26, 2024

Summary

Changes to recipe: openmpi/[4.x]

Motivation

I'm splitting off the bugfix changes from the more general update PR #25162, which might take a while to get working. A follow-up to #18980.

The configure script in OpenMPI looks for libevent on the system and falls back to a vendored one if it's not found. Accidentally using the system version of libevent is unwanted and likely to break consuming projects and we also generally try to avoid vendored dependencies, if possible.

Details


@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline ✔️

All green in build 1 (6eebb189423329136831ff19287ed363dfe31242):

  • openmpi/4.1.0:
    Built 12 packages out of 22 (All logs)

  • openmpi/4.1.6:
    Built 16 packages out of 22 (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.

Failure in build 1 (6eebb189423329136831ff19287ed363dfe31242):

  • openmpi/4.1.0:
    CI failed to create some packages (All logs)

    Logs for packageID 4d7a7b9e1cc883c745d9a058da41f3f746a436e4:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=apple-clang
    compiler.cppstd=17
    compiler.libcxx=libc++
    compiler.version=13
    os=Macos
    [options]
    */*:shared=True
    
    [...]
      CC       util/few.lo
      CC       client/pmix_client.lo
      CC       client/pmix_client_fence.lo
      CC       client/pmix_client_get.lo
      CC       client/pmix_client_pub.lo
      CC       client/pmix_client_spawn.lo
      CC       client/pmix_client_connect.lo
      CC       server/pmix_server.lo
      CC       server/pmix_server_ops.lo
      CC       server/pmix_server_get.lo
      CC       runtime/pmix_finalize.lo
      CC       runtime/pmix_init.lo
      CC       runtime/pmix_params.lo
      CC       runtime/pmix_progress_threads.lo
      CC       tool/pmix_tool.lo
      CC       common/pmix_query.lo
      CC       common/pmix_strings.lo
      CC       common/pmix_log.lo
      CC       common/pmix_control.lo
      CC       common/pmix_data.lo
      CC       common/pmix_security.lo
      CC       common/pmix_iof.lo
      CC       hwloc/hwloc.lo
      CCLD     libpmix.la
    /Applications/conan/xcode/13.0/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: .libs/libpmix.a(timings.o) has no symbols
    /Applications/conan/xcode/13.0/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: .libs/libpmix.a(timings.o) has no symbols
    Making all in mca/common/dstore
    if test -z "libmca_common_dstore.la"; then \
    		rm -f "libmca_common_dstore.la"; \
    		ln -s "libmca_common_dstore_noinst.la" "libmca_common_dstore.la"; \
    	fi
      CC       dstore_base.lo
      CC       dstore_segment.lo
      CCLD     libmca_common_dstore.la
    ld: warning: double slash removed from -install_name (//lib/libmca_common_dstore.1.dylib)
    ld: can't map file, errno=22 file '/Users/jenkins/workspace/prod-v2/bsr/91782/adcad/p/opens815f889ef58f5/p/lib' for architecture x86_64
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    make[5]: *** [libmca_common_dstore.la] Error 1
    make[4]: *** [all-recursive] Error 1
    make[3]: *** [all-recursive] Error 1
    make[2]: *** [all-recursive] Error 1
    make[1]: *** [all-recursive] Error 1
    make: *** [all-recursive] Error 1
    
    openmpi/4.1.0: ERROR: 
    Package '4d7a7b9e1cc883c745d9a058da41f3f746a436e4' build failed
    openmpi/4.1.0: WARN: Build folder /Users/jenkins/workspace/prod-v2/bsr/91782/adcad/p/b/openm90bd68abc8b33/b/build-release
    ERROR: openmpi/4.1.0: Error in build() method, line 163
    	autotools.make()
    	ConanException: Error 2 while executing
    
  • openmpi/4.1.6:
    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.

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.

2 participants