Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package openmpi4 for openSUSE:Factory checked in at 2024-12-22 17:58:58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/openmpi4 (Old) and /work/SRC/openSUSE:Factory/.openmpi4.new.1881 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "openmpi4" Sun Dec 22 17:58:58 2024 rev:18 rq:1232847 version:4.1.7 Changes: -------- --- /work/SRC/openSUSE:Factory/openmpi4/openmpi4.changes 2024-11-30 13:27:21.620492117 +0100 +++ /work/SRC/openSUSE:Factory/.openmpi4.new.1881/openmpi4.changes 2024-12-22 17:59:08.343286037 +0100 @@ -1,0 +2,6 @@ +Fri Dec 20 11:46:32 UTC 2024 - Nicolas Morey <nicolas.mo...@suse.com> + +- Add mtl-ofi-fix-missing-definition-of-container_of.patch to fix + compilation with libfabric >= 2.0 (jsc#PED-9661, jsc#PED-10668) + +------------------------------------------------------------------- New: ---- mtl-ofi-fix-missing-definition-of-container_of.patch BETA DEBUG BEGIN: New: - Add mtl-ofi-fix-missing-definition-of-container_of.patch to fix compilation with libfabric >= 2.0 (jsc#PED-9661, jsc#PED-10668) BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ openmpi4.spec ++++++ --- /var/tmp/diff_new_pack.tcAWwq/_old 2024-12-22 17:59:08.899308872 +0100 +++ /var/tmp/diff_new_pack.tcAWwq/_new 2024-12-22 17:59:08.899308872 +0100 @@ -148,6 +148,7 @@ Patch2: btl-openib-Add-VF-support-for-ConnectX-4-5-and-6.patch Patch3: openmpi4-C99.diff Patch4: test-datatype-partial.c-fix-compiler-warnings.patch +Patch5: mtl-ofi-fix-missing-definition-of-container_of.patch Provides: mpi BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: autoconf ++++++ mtl-ofi-fix-missing-definition-of-container_of.patch ++++++ commit 75b6dad5959ba75fcba8c64cc0a364d820e03ebc Author: Nicolas Morey <nmo...@suse.com> Date: Fri Dec 20 12:44:38 2024 +0100 mtl: ofi: fix missing definition of container_of Signed-off-by: Nicolas Morey <nmo...@suse.com> diff --git ompi/mca/mtl/ofi/mtl_ofi_request.h ompi/mca/mtl/ofi/mtl_ofi_request.h index f68c2a91baa0..6d748fd59bdc 100644 --- ompi/mca/mtl/ofi/mtl_ofi_request.h +++ ompi/mca/mtl/ofi/mtl_ofi_request.h @@ -15,6 +15,11 @@ #include "mtl_ofi.h" +#ifndef container_of +#define container_of(ptr, type, field) \ + ((type *) ((char *)ptr - offsetof(type, field))) +#endif + #define TO_OFI_REQ(_ptr_ctx) \ container_of((_ptr_ctx), struct ompi_mtl_ofi_request_t, ctx)