Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package pdsh for openSUSE:Factory checked in 
at 2023-03-02 23:04:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/pdsh (Old)
 and      /work/SRC/openSUSE:Factory/.pdsh.new.31432 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "pdsh"

Thu Mar  2 23:04:18 2023 rev:47 rq:1068674 version:2.34

Changes:
--------
--- /work/SRC/openSUSE:Factory/pdsh/pdsh.changes        2023-01-03 
15:06:15.478822449 +0100
+++ /work/SRC/openSUSE:Factory/.pdsh.new.31432/pdsh.changes     2023-03-02 
23:04:41.792211521 +0100
@@ -1,0 +2,11 @@
+Thu Mar  2 11:21:56 UTC 2023 - Egbert Eich <[email protected]>
+
+- 
Hack-to-work-around-a-generic-type-name-breakage-introduced-by-latest-Slurm.patch
+  Schedmd did it again! Slurm 23.02 broke the pdsh-internal
+  List type by exposing it thru it's public API. The way to
+  protect from it no longer works as types are actually used
+  in the header.
+  This is a hot fix on the pdsh side, that is hopefully sufficiently
+  generic. (boo#1208846).
+
+-------------------------------------------------------------------

New:
----
  
Hack-to-work-around-a-generic-type-name-breakage-introduced-by-latest-Slurm.patch

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

Other differences:
------------------
++++++ pdsh.spec ++++++
--- /var/tmp/diff_new_pack.bx8cZA/_old  2023-03-02 23:04:42.552215318 +0100
+++ /var/tmp/diff_new_pack.bx8cZA/_new  2023-03-02 23:04:42.556215338 +0100
@@ -69,6 +69,7 @@
 Patch5:         Release-a-lock-that-is-no-longer-used-in-dsh.patch
 Patch6:         fail-fast-on-ssh-errors-or-non-zero-return-code.patch
 Patch7:         doc-fast-fail-update.patch
+Patch8:         
Hack-to-work-around-a-generic-type-name-breakage-introduced-by-latest-Slurm.patch
 
 %description
 Pdsh is a multithreaded remote shell client which executes commands on
@@ -138,6 +139,7 @@
 %patch5 -p1
 %patch6 -p1
 %patch7 -p1
+%patch8 -p1
 
 %build
 export CFLAGS="%{optflags} -fno-strict-aliasing"

++++++ 
Hack-to-work-around-a-generic-type-name-breakage-introduced-by-latest-Slurm.patch
 ++++++
From: Egbert Eich <[email protected]>
Date: Thu Mar 2 12:14:47 2023 +0100
Subject: Hack to work around a generic type name breakage introduced by latest 
Slurm.
Patch-mainline: Not yet
Git-commit: 4c04b469a7e201ee29a598c4238c287070cac2e6
References: 

Signed-off-by: Egbert Eich <[email protected]>
Signed-off-by: Egbert Eich <[email protected]>
---
 src/modules/slurm.c | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/modules/slurm.c b/src/modules/slurm.c
index 5594c4f..48e6dde 100644
--- a/src/modules/slurm.c
+++ b/src/modules/slurm.c
@@ -44,15 +44,11 @@
 /*
  * SLURM headers need to be included after pdsh header files to
  *  avoid possibly conflicts with the definition of "bool"
- *
- * Also, Slurm inexplicably exports the "list.h" interface in slurm.h,
- *  and we must define __list_datatypes_defined here to avoid conflict
- *  with our internal List datatype.
  */
-#define __list_datatypes_defined 1
+#define List SlurmList
 #include <slurm/slurm.h>
 #include <slurm/slurm_errno.h>
-
+#undef List
 #if STATIC_MODULES
 #  define pdsh_module_info slurm_module_info
 #  define pdsh_module_priority slurm_module_priority

Reply via email to