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

Bug 930362

Summary: sys-cluster/openmpi-4.1.6 fails test - /.../partial.c: error: passing argument 3 of ompi_datatype_create_contiguous from incompatible pointer type [-W
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Cluster Team <cluster>
Status: RESOLVED FIXED    
Severity: normal CC: eschwartz, jy6x2b32pie9, th-gen
Priority: Normal Keywords: TESTFAILURE
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.clang.tar.xz
etc.portage.tar.xz
logs.tar.xz
qlist-info.txt
sys-cluster:openmpi-4.1.6:20240420-215603.log.xz
temp.tar.xz

Description Toralf Förster gentoo-dev 2024-04-21 08:57:32 UTC
too long lines were shrinked:

x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sys-cluster/openmpi-4.1.6/work/openmpi-4.1.6/test/datatype -I../../opal/include -I../../ompi/include -I../../oshmem/include -I../../opal/mca/hwloc/hwloc201/hwloc/include/private/autogen -I../../opal/mca/hwloc/hwloc201/hwloc/include/hwloc
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sys-cluster/openmpi-4.1.6/work/openmpi-4.1.6/test/datatype -I../../opal/include -I../../ompi/include -I../../oshmem/include -I../../opal/mca/hwloc/hwloc201/hwloc/include/private/autogen -I../../opal/mca/hwloc/hwloc201/hwloc/include/hwloc
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sys-cluster/openmpi-4.1.6/work/openmpi-4.1.6/test/datatype -I../../opal/include -I../../ompi/include -I../../oshmem/include -I../../opal/mca/hwloc/hwloc201/hwloc/include/private/autogen -I../../opal/mca/hwloc/hwloc201/hwloc/include/hwloc
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sys-cluster/openmpi-4.1.6/work/openmpi-4.1.6/test/datatype -I../../opal/include -I../../ompi/include -I../../oshmem/include -I../../opal/mca/hwloc/hwloc201/hwloc/include/private/autogen -I../../opal/mca/hwloc/hwloc201/hwloc/include/hwloc
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sys-cluster/openmpi-4.1.6/work/openmpi-4.1.6/test/datatype -I../../opal/include -I../../ompi/include -I../../oshmem/include -I../../opal/mca/hwloc/hwloc201/hwloc/include/private/autogen -I../../opal/mca/hwloc/hwloc201/hwloc/include/hwloc
/var/tmp/portage/sys-cluster/openmpi-4.1.6/work/openmpi-4.1.6/test/datatype/partial.c: In function 'main':
/var/tmp/portage/sys-cluster/openmpi-4.1.6/work/openmpi-4.1.6/test/datatype/partial.c:89:55: error: passing argument 3 of 'ompi_datatype_create_contiguous' from incompatible pointer type [-Wincompatible-pointer-types]
   89 |     ompi_datatype_create_contiguous(CONT_COUNT, base, &vector);
      |                                                       ^~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_plasma_test-20240419-193003

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-14 *
clang/llvm (if any):
clang version 17.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.6
Python 3.11.8
Available Rust versions:
  [1]   rust-bin-1.77.1 *
php cli (if any):
go version go1.22.2 linux/amd64

  HEAD of ::gentoo
commit a6515c83c274b3b39e8392aa83df8ef1703dc1b0
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Apr 20 21:49:12 2024 +0000

    2024-04-20 21:49:12 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="(64) -32 (-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-04-21 08:57:34 UTC
Created attachment 891233 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-04-21 08:57:35 UTC
Created attachment 891234 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-04-21 08:57:36 UTC
Created attachment 891235 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-04-21 08:57:37 UTC
Created attachment 891236 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-04-21 08:57:38 UTC
Created attachment 891237 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-04-21 08:57:39 UTC
Created attachment 891238 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-04-21 08:57:40 UTC
Created attachment 891239 [details]
qlist-info.txt
Comment 8 Toralf Förster gentoo-dev 2024-04-21 08:57:41 UTC
Created attachment 891240 [details]
sys-cluster:openmpi-4.1.6:20240420-215603.log.xz
Comment 9 Toralf Förster gentoo-dev 2024-04-21 08:57:43 UTC
Created attachment 891241 [details]
temp.tar.xz
Comment 10 NHO 2024-05-10 10:25:19 UTC
Upstream bug: https://github.com/open-mpi/ompi/issues/12466
Comment 11 NHO 2024-05-10 10:25:58 UTC
And also https://github.com/open-mpi/ompi/issues/12169 if we decide to include openmpi-5.0.x
Comment 12 Eli Schwartz gentoo-dev 2024-07-11 17:49:55 UTC
It does indeed "just work" when updating to 5.0.3.
Comment 13 Larry the Git Cow gentoo-dev 2024-07-12 05:55:22 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=496a4f0ce86f43da3fe77ffd6c9bef2e41cf3852

commit 496a4f0ce86f43da3fe77ffd6c9bef2e41cf3852
Author:     Eli Schwartz <eschwartz93@gmail.com>
AuthorDate: 2024-06-10 04:05:03 +0000
Commit:     Eli Schwartz <eschwartz@gentoo.org>
CommitDate: 2024-07-12 05:54:15 +0000

    sys-cluster/openmpi: add 5.0.3
    
    A bunch of upstream changes occurred. In particular:
    
    - openmpi drops ALL support for 32-bit, and errors out in ./configure if
      you try. This follows pmix. Rip out all the multilib-minimal
      scaffolding.
    
    - libompitrace "was incomplete and unmaintained" and is now removed from
      the sources
    
    - upstream now defaults to --disable-dlopen, and configuring with
      libltdl enabled externally returns errors saying a non libltdl header
      doesn't exist. Unclear if it actually supports this
    
    - a couple dependencies can now be configured --with-*=external instead
      of passing paths
    
    - libibverbs handling is gone upstream and no longer makes sense to
      configure via USE flags (or at all):
      https://github.com/open-mpi/ompi/commit/59c8ab6da4276ff398453a54910c6c0fb67a153c
    
    Delayed:
    - heterogeneous was broken in older versions, and its USE flag is
      supposed to be restored. But the upstream docs still suggest it is
      broken.
    
    Independent of upstream rework of pmix, we take the opportunity of a
    version bump to build against the system pmix, resolving a longstanding
    bug due to openmpi publicly shipping its own pmix installation that
    stomps all over the global system namespace. Temporarily drop keywords
    which the pmix package lacks.
    
    Bug: https://bugs.gentoo.org/828123
    Closes: https://bugs.gentoo.org/652432
    Closes: https://bugs.gentoo.org/927828
    Closes: https://bugs.gentoo.org/930362
    Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
    Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>

 sys-cluster/openmpi/Manifest             |   1 +
 sys-cluster/openmpi/openmpi-5.0.3.ebuild | 141 +++++++++++++++++++++++++++++++
 2 files changed, 142 insertions(+)