Script 'mail_helper' called by obssrc
Hello community,

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

Package is "openmpi1"

Mon Jun 13 13:03:14 2022 rev:7 rq:982426 version:1.10.7

Changes:
--------
--- /work/SRC/openSUSE:Factory/openmpi1/openmpi1.changes        2021-10-20 
20:24:48.957397767 +0200
+++ /work/SRC/openSUSE:Factory/.openmpi1.new.1548/openmpi1.changes      
2022-06-13 13:03:39.305209477 +0200
@@ -1,0 +2,7 @@
+Mon Jun 13 06:38:32 UTC 2022 - Nicolas Morey-Chaisemartin 
<nmoreychaisemar...@suse.com>
+
+- Backport upstream patches to fix compilation with autoconf >= 2.70
+  - 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:
------------------
++++++ openmpi1.spec ++++++
--- /var/tmp/diff_new_pack.Av9rcQ/_old  2022-06-13 13:03:39.917210261 +0200
+++ /var/tmp/diff_new_pack.Av9rcQ/_new  2022-06-13 13:03:39.925210271 +0200
@@ -1,7 +1,7 @@
 #
 # spec file
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -128,6 +128,8 @@
 Patch5:         openmpi-btl-openib-backport-device-params-from-master.patch
 Patch6:         reproducible.patch
 Patch7:         ompi-mca-fix-duplicated-symbol.patch
+Patch8:         
Fix-error-with-stricter-quoting-requirements-of-autoconf-2.70.patch
+Patch9:         Always-include-the-stddef.h-header.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  autoconf
 BuildRequires:  automake
@@ -390,6 +392,8 @@
 %patch4
 %patch5
 %patch7
+%patch8
+%patch9
 
 %if %{without hpc}
 cat > %{_sourcedir}/baselibs.conf  <<EOF

++++++ Always-include-the-stddef.h-header.patch ++++++
commit dcff536356827548849a1a6923265f7996543be7
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 68a839804639..be1b8b3738ca 100644
--- configure.ac
+++ configure.ac
@@ -1302,10 +1302,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 00e96b9cf66a9e424e9c60405996123c614a50d9
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 1248f15e3400..c86d8a396c25 100644
--- config/opal_check_cuda.m4
+++ config/opal_check_cuda.m4
@@ -85,8 +85,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