Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 933357

Summary: sys-cluster/openmpi-4.1.6 - [meson-9999] /.../ld: cannot find -lpmix: No such file or directory
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Cluster Team <cluster>
Status: RESOLVED FIXED    
Severity: normal CC: eschwartz
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=652432
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt.xz
environment
etc.clang.tar.xz
etc.portage.tar.xz
logs.tar.xz
qlist-info.txt.xz
sys-cluster:openmpi-4.1.6:20240601-035849.log.xz
temp.tar.xz

Description Toralf Förster gentoo-dev 2024-06-01 09:48:21 UTC
too long lines were shrinked:

                 from ext3x_server_south.c:47:
/usr/include/pmix_server.h:657:27: note: in a call to function PMIx_server_register_nspace
  657 | PMIX_EXPORT pmix_status_t PMIx_server_register_nspace(const pmix_nspace_t nspace, int nlocalprocs,
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/bin/bash ../../../../libtool  --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc -m32 -mfpmath=sse  -DNDEBUG -O2 -pipe -march=native -fno-diagnostics-color -finline-functions -fno-strict-aliasing  -module -avoid-version  -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ld
libtool: link: x86_64-pc-linux-gnu-gcc -m32 -mfpmath=sse -shared  -fPIC -DPIC  .libs/mca_pmix_ext3x_la-ext3x_local.o .libs/mca_pmix_ext3x_la-ext3x.o .libs/mca_pmix_ext3x_la-ext3x_client.o .libs/mca_pmix_ext3x_la-ext3x_component.o .libs/mca_pmix_ext3x_la-ext3x_server_north.o .libs/mca_pmix_ext3x_la-e
/usr/libexec/gcc/x86_64-pc-linux-gnu/ld: cannot find -lpmix: No such file or directory
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:1888: mca_pmix_ext3x.la] Error 1

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_hardened_systemd_abi32+64-20240525-075004

  UNMASKED:
  <dev-build/meson-9999
    Please re-assign to ztrawhcse@ if you cannot reproduced it with regular meson.

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-14 *
clang/llvm (if any):
clang version 18.1.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/18/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/18
18.1.6
Python 3.11.9
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.78.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.23_p9 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.11_p9 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.3_p9 [openjdk-bin-21]
4)	Eclipse Temurin JDK 8.412_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 
  [4]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
go version go1.22.3 linux/amd64

  HEAD of ::gentoo
commit 52d5e32f696806d4b92d51048e35ce1c5de2e0cd
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Jun 1 03:19:17 2024 +0000

    2024-06-01 03:19:16 UTC

emerge -qpvO sys-cluster/openmpi
[ebuild  N    ] sys-cluster/openmpi-4.1.6  USE="cxx ipv6 -cma -cuda -fortran -libompitrace -peruse -romio -valgrind" ABI_X86="32 (64) (-x32)" OPENMPI_FABRICS="-knem -ofed" OPENMPI_OFED_FEATURES="-control-hdr-padding -dynamic-sl -rdmacm -udcm" OPENMPI_RM="-pbs (-slurm)"
Comment 1 Toralf Förster gentoo-dev 2024-06-01 09:48:22 UTC
Created attachment 894833 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-06-01 09:48:23 UTC
Created attachment 894834 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2024-06-01 09:48:25 UTC
Created attachment 894835 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-06-01 09:48:25 UTC
Created attachment 894836 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-06-01 09:48:27 UTC
Created attachment 894837 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-06-01 09:48:28 UTC
Created attachment 894838 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-06-01 09:48:29 UTC
Created attachment 894839 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2024-06-01 09:48:30 UTC
Created attachment 894840 [details]
sys-cluster:openmpi-4.1.6:20240601-035849.log.xz
Comment 9 Toralf Förster gentoo-dev 2024-06-01 09:48:31 UTC
Created attachment 894841 [details]
temp.tar.xz
Comment 10 Eli Schwartz gentoo-dev 2024-07-10 18:36:14 UTC
This was one of the things I was separately working on, and didn't realize a bug was filed for it.

qlist shows that this builder had sys-cluster/pmix installed -- something that was never a DEPEND or RDEPEND of openmpi. I noted this, and fixed it in parallel to this tinderbox result being found. The linked ticket is NOT fixed, because it's about file conflicts, but at least it shouldn't get linker errors now. :)


commit b462e21d01293f5ac38417ff9cb4785b19d46385
Author:     Eli Schwartz <eschwartz93@gmail.com>
AuthorDate: Mon Jun 10 02:00:28 2024
Commit:     Sam James <sam@gentoo.org>
CommitDate: Fri Jun 14 02:44:43 2024

    sys-cluster/openmpi: force disable building against system pmix
    
    It cannot currently work, since it lacks multilib support plus keywords.
    Avoid automagically depending on it, at least.
    
    Bug: https://bugs.gentoo.org/652432
    Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-cluster/openmpi/openmpi-4.1.6.ebuild | 2 ++
 1 file changed, 2 insertions(+)