Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package robinhood for openSUSE:Factory 
checked in at 2026-05-05 17:58:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/robinhood (Old)
 and      /work/SRC/openSUSE:Factory/.robinhood.new.30200 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "robinhood"

Tue May  5 17:58:13 2026 rev:15 rq:1350912 version:3.2.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/robinhood/robinhood.changes      2026-01-22 
15:19:52.760481106 +0100
+++ /work/SRC/openSUSE:Factory/.robinhood.new.30200/robinhood.changes   
2026-05-05 17:58:20.919162531 +0200
@@ -1,0 +2,14 @@
+Mon May  4 15:57:25 UTC 2026 - Christian Goll <[email protected]>
+
+- added additional patches fix-compiler-warnings.patch
+  and fix-gcc16-strerror.patch for gcc16
+
+
+-------------------------------------------------------------------
+Wed Feb 18 08:37:44 UTC 2026 - Petr Gajdos <[email protected]>
+
+- added patches [bsc#1256983]
+  https://github.com/cea-hpc/robinhood/issues/149
+  * robinhood-gcc16.patch
+
+-------------------------------------------------------------------

New:
----
  fix-compiler-warnings.patch
  fix-gcc16-strerror.patch
  robinhood-gcc16.patch

----------(New B)----------
  New:
- added additional patches fix-compiler-warnings.patch
  and fix-gcc16-strerror.patch for gcc16
  New:- added additional patches fix-compiler-warnings.patch
  and fix-gcc16-strerror.patch for gcc16
  New:  https://github.com/cea-hpc/robinhood/issues/149
  * robinhood-gcc16.patch
----------(New E)----------

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

Other differences:
------------------
++++++ robinhood.spec ++++++
--- /var/tmp/diff_new_pack.c0Sq8f/_old  2026-05-05 17:58:21.595190489 +0200
+++ /var/tmp/diff_new_pack.c0Sq8f/_new  2026-05-05 17:58:21.595190489 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package robinhood
 #
-# Copyright (c) 2026 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -40,6 +40,10 @@
 Patch4:         make-test_confparam-depend-on-lustre.patch
 Patch5:         harden_robinhood.service.patch
 Patch6:         [email protected]
+# https://github.com/cea-hpc/robinhood/issues/149
+Patch7:         robinhood-gcc16.patch
+Patch8:         fix-compiler-warnings.patch
+Patch9:         fix-gcc16-strerror.patch
 BuildRequires:  automake
 BuildRequires:  fdupes
 BuildRequires:  glib2-devel
@@ -112,6 +116,9 @@
 %patch -P 4 -p1
 %patch -P 5 -p1
 %patch -P 6 -p1
+%patch -P 7 -p1
+%patch -P 8 -p1
+%patch -P 9 -p1
 # remove spurious executeable bits
 find ./doc/templates -type f -executable -exec chmod 644 {} +
 
@@ -119,7 +126,8 @@
 autoreconf -fi
 
 %build
-export CFLAGS="%optflags -Wno-error=unused-result"
+export CFLAGS="%optflags -Wno-error -Wno-error=unused-result"
+
 %configure \
   --enable-lustre \
   --disable-static \

++++++ fix-compiler-warnings.patch ++++++
diff -Naur robinhood-3.2.0.orig/src/common/rbh_misc.c 
robinhood-3.2.0/src/common/rbh_misc.c
--- robinhood-3.2.0.orig/src/common/rbh_misc.c
+++ robinhood-3.2.0/src/common/rbh_misc.c
@@ -2517,7 +2517,7 @@
     strcpy(ATTR(attrs_out, fullpath), fspath);
     ATTR_MASK_SET(attrs_out, fullpath);
 
-    char *name = strrchr(fspath, '/');
+    const char *name = strrchr(fspath, '/');
     if (name) {
         name++;
         strcpy(ATTR(attrs_out, name), name);
diff -Naur robinhood-3.2.0.orig/src/list_mgr/listmgr_config.c 
robinhood-3.2.0/src/list_mgr/listmgr_config.c
--- robinhood-3.2.0.orig/src/list_mgr/listmgr_config.c
+++ robinhood-3.2.0/src/list_mgr/listmgr_config.c
@@ -283,7 +283,9 @@
         rc = fscanf(passfile, "%1023s", tmpstr);
         if (ferror(passfile) || rc < 1) {
             rc = errno;
-            if (strerror_r(rc, errstr, sizeof(errstr))) {
+            int ret = strerror_r(rc, errstr, sizeof(errstr));
+            (void)ret;
+            if (ret != 0) {
                 snprintf(errstr, sizeof(errstr), "%d", rc);
             }
             sprintf(msg_out, "Error reading password file %s : %s", tmpstr,

++++++ fix-gcc16-strerror.patch ++++++
Index: robinhood-3.2.0/src/list_mgr/listmgr_config.c
===================================================================
--- robinhood-3.2.0/src/list_mgr/listmgr_config.c.orig
+++ robinhood-3.2.0/src/list_mgr/listmgr_config.c
@@ -283,9 +283,7 @@ static int lmgr_cfg_read(config_file_t
         rc = fscanf(passfile, "%1023s", tmpstr);
         if (ferror(passfile) || rc < 1) {
             rc = errno;
-            int ret = strerror_r(rc, errstr, sizeof(errstr));
-            (void)ret;
-            if (ret != 0) {
+            if (strerror_r(rc, errstr, sizeof(errstr)) != 0) {
                 snprintf(errstr, sizeof(errstr), "%d", rc);
             }
             sprintf(msg_out, "Error reading password file %s : %s", tmpstr,

++++++ robinhood-gcc16.patch ++++++
Index: robinhood-3.2.0/src/cfg_parsing/config_parsing.c
===================================================================
--- robinhood-3.2.0.orig/src/cfg_parsing/config_parsing.c
+++ robinhood-3.2.0/src/cfg_parsing/config_parsing.c
@@ -309,14 +309,13 @@ int rh_config_CountBlockNames(config_fil
 {
     config_struct_t *config_struct = (config_struct_t *)cfg;
     generic_item    *curr_block;
-    unsigned int     i;
     unsigned int     count = 0;
 
     if (!config_struct->syntax_tree || !(*config_struct->syntax_tree))
         return -1;
 
-    for (i = 0, curr_block = (*config_struct->syntax_tree);
-         curr_block != NULL; curr_block = curr_block->next, i++) {
+    for (curr_block = (*config_struct->syntax_tree);
+         curr_block != NULL; curr_block = curr_block->next) {
         if (!strcasecmp(curr_block->item.block.block_name, name))
             count++;
     }
Index: robinhood-3.2.0/src/common/rbh_logs.c
===================================================================
--- robinhood-3.2.0.orig/src/common/rbh_logs.c
+++ robinhood-3.2.0/src/common/rbh_logs.c
@@ -640,19 +640,11 @@ void Alert_StartBatching()
 static void FlushAlerts(bool release_mutex_asap)
 {
     alert_type_t   *pcurr;
-    unsigned int    alert_types = 0;
-    unsigned int    mail_size = 0;
     char           *title;
     GString        *contents = NULL;
     time_t          now;
     struct tm       date;
 
-    /* first list scan, to determine the number of alerts, etc... */
-    for (pcurr = alert_list; pcurr != NULL; pcurr = pcurr->next) {
-        alert_types++;
-        mail_size += pcurr->estim_size;
-    }
-
     if (alert_count == 0) {
         if (release_mutex_asap)
             V(alert_mutex);
Index: robinhood-3.2.0/src/robinhood/rbh_undelete.c
===================================================================
--- robinhood-3.2.0.orig/src/robinhood/rbh_undelete.c
+++ robinhood-3.2.0/src/robinhood/rbh_undelete.c
@@ -226,7 +226,7 @@ static bool is_id_filter(entry_id_t *id)
 
 static int list_rm(void)
 {
-    int rc, index;
+    int rc;
     entry_id_t id;
     attr_set_t attrs = ATTR_SET_INIT;
     attr_mask_t mask;
@@ -286,11 +286,8 @@ static int list_rm(void)
             return -1;
         }
 
-        index = 0;
         while ((rc = ListMgr_GetNextRmEntry(rm_list, &id, &attrs))
                == DB_SUCCESS) {
-            index++;
-
             print_attr_values(0, list, list_cnt, &attrs, &id, false, NULL);
 
             /* prepare next call */

Reply via email to