Script 'mail_helper' called by obssrc
Hello community,

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

Package is "openmpi2"

Mon Jun 13 13:03:15 2022 rev:35 rq:982427 version:2.1.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/openmpi2/openmpi2.changes        2021-10-20 
20:24:49.885398339 +0200
+++ /work/SRC/openSUSE:Factory/.openmpi2.new.1548/openmpi2.changes      
2022-06-13 13:03:40.185210604 +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:
------------------
++++++ openmpi2.spec ++++++
--- /var/tmp/diff_new_pack.7MnKR6/_old  2022-06-13 13:03:40.757211336 +0200
+++ /var/tmp/diff_new_pack.7MnKR6/_new  2022-06-13 13:03:40.765211346 +0200
@@ -1,7 +1,7 @@
 #
 # spec file
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 # Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
 #                         University Research and Technology
 #                         Corporation.  All rights reserved.
@@ -144,6 +144,8 @@
 Patch1:         reproducible.patch
 Patch2:         add-gen-p5-chip-pci-id-to-ini-file.patch
 Patch3:         openmpi_disable_opal_fifo_test_issue5470.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
@@ -407,6 +409,8 @@
 %patch1 -p1
 %patch2
 %patch3 -p1
+%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 8ae595d47c49783906e940bd31659ad14006d854
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 88c42ac5548e..50c894117b52 100644
--- configure.ac
+++ configure.ac
@@ -1281,10 +1281,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 cb992424a2d67b70aad35925c9027f43e61c1ae6
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