From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 80476158086 for ; Sun, 2 Jan 2022 03:06:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9D5492C402D; Sun, 2 Jan 2022 03:06:04 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 18B312C4029 for ; Sun, 2 Jan 2022 03:06:02 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9C5D9342B8D for ; Sun, 2 Jan 2022 03:06:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1A7FF274 for ; Sun, 2 Jan 2022 03:05:59 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1641092555.fab20bbcbf246d0868b8d70b02ced33972f7c137.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-cluster/openmpi/files/, sys-cluster/openmpi/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-cluster/openmpi/files/openmpi-4.1.2-missing-includes.patch sys-cluster/openmpi/openmpi-4.1.2.ebuild X-VCS-Directories: sys-cluster/openmpi/files/ sys-cluster/openmpi/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: fab20bbcbf246d0868b8d70b02ced33972f7c137 X-VCS-Branch: master Date: Sun, 2 Jan 2022 03:05:59 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 6b4db81d-cf3e-4d72-a8a0-bb1d3683a68e X-Archives-Hash: 2699cdf618d9e1d0085fce397b6e61ae commit: fab20bbcbf246d0868b8d70b02ced33972f7c137 Author: Sam James gentoo org> AuthorDate: Sun Jan 2 03:02:35 2022 +0000 Commit: Sam James gentoo org> CommitDate: Sun Jan 2 03:02:35 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fab20bbc sys-cluster/openmpi: add upstream patch for build failure Closes: https://bugs.gentoo.org/828123 Signed-off-by: Sam James gentoo.org> .../files/openmpi-4.1.2-missing-includes.patch | 32 ++++++++++++++++++++++ sys-cluster/openmpi/openmpi-4.1.2.ebuild | 6 +++- 2 files changed, 37 insertions(+), 1 deletion(-) diff --git a/sys-cluster/openmpi/files/openmpi-4.1.2-missing-includes.patch b/sys-cluster/openmpi/files/openmpi-4.1.2-missing-includes.patch new file mode 100644 index 000000000000..89abc049df4e --- /dev/null +++ b/sys-cluster/openmpi/files/openmpi-4.1.2-missing-includes.patch @@ -0,0 +1,32 @@ +https://github.com/open-mpi/ompi/commit/927e9aa97373dac652f9cba4813e6ee609ca2830 +https://bugs.gentoo.org/828123 + +From: George Bosilca +Date: Tue, 23 Nov 2021 14:28:11 -0500 +Subject: [PATCH] Fix compile failure with enable-heterogeneous. + +An internal header file was missing, leading to an incomplete type. + +Fixes #9697. + +Signed-off-by: George Bosilca +--- a/ompi/mca/coll/base/coll_base_alltoall.c ++++ b/ompi/mca/coll/base/coll_base_alltoall.c +@@ -29,6 +29,7 @@ + #include "mpi.h" + #include "ompi/constants.h" + #include "ompi/datatype/ompi_datatype.h" ++#include "opal/datatype/opal_convertor_internal.h" + #include "ompi/communicator/communicator.h" + #include "ompi/mca/coll/coll.h" + #include "ompi/mca/coll/base/coll_tags.h" +--- a/ompi/mca/coll/base/coll_base_alltoallv.c ++++ b/ompi/mca/coll/base/coll_base_alltoallv.c +@@ -31,6 +31,7 @@ + #include "mpi.h" + #include "ompi/constants.h" + #include "ompi/datatype/ompi_datatype.h" ++#include "opal/datatype/opal_convertor_internal.h" + #include "ompi/communicator/communicator.h" + #include "ompi/mca/coll/coll.h" + #include "ompi/mca/coll/base/coll_tags.h" diff --git a/sys-cluster/openmpi/openmpi-4.1.2.ebuild b/sys-cluster/openmpi/openmpi-4.1.2.ebuild index 6652c805f75a..036f1cbe8cb6 100644 --- a/sys-cluster/openmpi/openmpi-4.1.2.ebuild +++ b/sys-cluster/openmpi/openmpi-4.1.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -71,6 +71,10 @@ MULTILIB_WRAPPED_HEADERS=( /usr/include/openmpi/mpiext/mpiext_cuda_c.h ) +PATCHES=( + "${FILESDIR}"/${PN}-4.1.2-missing-includes.patch +) + pkg_setup() { fortran-2_pkg_setup java-pkg-opt-2_pkg_setup