Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package openmpi3 for openSUSE:Factory 
checked in at 2022-06-13 13:03:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/openmpi3 (Old)
 and      /work/SRC/openSUSE:Factory/.openmpi3.new.1548 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "openmpi3"

Mon Jun 13 13:03:16 2022 rev:28 rq:982428 version:3.1.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/openmpi3/openmpi3.changes        2022-03-07 
19:36:21.313405058 +0100
+++ /work/SRC/openSUSE:Factory/.openmpi3.new.1548/openmpi3.changes      
2022-06-13 13:03:41.057211721 +0200
@@ -1,0 +2,7 @@
+Mon Jun 13 06:38:32 UTC 2022 - Nicolas Morey-Chaisemartin 
<nmoreychaisemar...@suse.com>
+
+- Backport upstream patchs to fix compilation with autoconf >= 2.70 and GCC12
+  - Fix-error-with-stricter-quoting-requirements-of-autoconf-2.70.patch
+  - Always-include-the-stddef.h-header.patch
+
+-------------------------------------------------------------------

New:
----
  Always-include-the-stddef.h-header.patch
  Fix-error-with-stricter-quoting-requirements-of-autoconf-2.70.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ openmpi3.spec ++++++
--- /var/tmp/diff_new_pack.1L0fUh/_old  2022-06-13 13:03:41.657212489 +0200
+++ /var/tmp/diff_new_pack.1L0fUh/_new  2022-06-13 13:03:41.661212494 +0200
@@ -172,6 +172,8 @@
 Patch1:         reproducible.patch
 Patch2:         memory-patcher-fix-compiler-warning.patch
 Patch3:         fix-rdma-component-selection.patch
+Patch4:         
Fix-error-with-stricter-quoting-requirements-of-autoconf-2.70.patch
+Patch5:         Always-include-the-stddef.h-header.patch
 Provides:       mpi
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  autoconf
@@ -438,6 +440,8 @@
 %patch1 -p1
 %patch2
 %patch3
+%patch4
+%patch5
 # Live patch the VERSION file
 sed -i -e 's/^greek=.*$/greek=%{git_ver}/' -e 
's/^repo_rev=.*$/repo_rev=%{version}%{git_ver}/' \
        -e 's/^date=.*$/date="OpenMPI %{version} Distribution for SUSE"/' 
VERSION

++++++ Always-include-the-stddef.h-header.patch ++++++
commit 14fde40ec7066c788b27fac7d6de64e8ada43520
Author: George Bosilca <bosi...@icl.utk.edu>
Date:   Fri Mar 12 13:38:10 2021 -0500

    Always include the stddef.h header.
    
    Signed-off-by: George Bosilca <bosi...@icl.utk.edu>

diff --git configure.ac configure.ac
index f553cff725af..fa1adf12bd2c 100644
--- configure.ac
+++ configure.ac
@@ -1290,10 +1290,13 @@ OPAL_SETUP_WRAPPER_FINAL
 # autoconf macro defines in mpi.h.  Since AC sometimes changes whether
 # things are defined as null tokens or an integer result, two projects
 # with different versions of AC can cause problems.
-if test $ac_cv_header_stdc = yes; then
-    AC_DEFINE(OPAL_STDC_HEADERS, 1,
-              [Do not use outside of mpi.h.  Define to 1 if you have the ANSI 
C header files.])
-fi
+
+# According to the autoconf 2.67 documentation the AC_HEADER_STDC macro,
+# and therefore the ac_cv_header_stdc cache variable, is obsolescent, as
+# current systems have conforming header files. Instead of removing the
+# protection completely, let's just make sure it is always on.
+AC_DEFINE(OPAL_STDC_HEADERS, 1,
+          [Do not use outside of mpi.h.  Define to 1 if you have the ANSI C 
header files.])
 if test $ac_cv_header_sys_time_h = yes ; then
     AC_DEFINE(OPAL_HAVE_SYS_TIME_H, 1,
               [Do not use outside of mpi.h.  Define to 1 if you have the 
<sys/time.h> header file.])

++++++ Fix-error-with-stricter-quoting-requirements-of-autoconf-2.70.patch 
++++++
commit eef11c98b878e63c4742523a965da5d91f62d73b
Author: Christoph Niethammer <nietham...@hlrs.de>
Date:   Tue Jan 19 22:56:19 2021 +0100

    Fix error with stricter quoting requirements of autoconf-2.70
    
    Signed-off-by: Christoph Niethammer <nietham...@hlrs.de>

diff --git config/opal_check_cuda.m4 config/opal_check_cuda.m4
index fd7816e3ea7a..67059a8c851e 100644
--- config/opal_check_cuda.m4
+++ config/opal_check_cuda.m4
@@ -91,8 +91,8 @@ AS_IF([test "$opal_check_cuda_happy" = "yes"],
 # If we have CUDA support, check to see if we have support for SYNC_MEMOPS
 # which was first introduced in CUDA 6.0.
 AS_IF([test "$opal_check_cuda_happy"="yes"],
-    AC_CHECK_DECL([CU_POINTER_ATTRIBUTE_SYNC_MEMOPS], [CUDA_SYNC_MEMOPS=1], 
[CUDA_SYNC_MEMOPS=0],
-        [#include <$opal_cuda_incdir/cuda.h>]),
+    [AC_CHECK_DECL([CU_POINTER_ATTRIBUTE_SYNC_MEMOPS], [CUDA_SYNC_MEMOPS=1], 
[CUDA_SYNC_MEMOPS=0],
+        [#include <$opal_cuda_incdir/cuda.h>])],
     [])
 
 # If we have CUDA support, check to see if we have CUDA 6.0 or later.

Reply via email to