Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package sbd for openSUSE:Factory checked in at 2026-04-02 17:44:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/sbd (Old) and /work/SRC/openSUSE:Factory/.sbd.new.21863 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "sbd" Thu Apr 2 17:44:00 2026 rev:51 rq:1344320 version:1.5.2+20260320.2c43532 Changes: -------- --- /work/SRC/openSUSE:Factory/sbd/sbd.changes 2025-11-14 16:22:23.120171190 +0100 +++ /work/SRC/openSUSE:Factory/.sbd.new.21863/sbd.changes 2026-04-02 17:45:29.966042672 +0200 @@ -1,0 +2,8 @@ +Thu Mar 26 08:55:30 UTC 2026 - Peter Varkoly <[email protected]> + +- Update to version 1.5.2+20260320.2c43532: + * Fix: sbd-testbed: compile with musl + * Fix: sbd-watchdog: compile with musl + * Fix: sbd-pacemaker: remove unused update counter + +------------------------------------------------------------------- Old: ---- sbd-1.5.2+20250909.68bc946.tar.xz New: ---- sbd-1.5.2+20260320.2c43532.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ sbd.spec ++++++ --- /var/tmp/diff_new_pack.OsjTCG/_old 2026-04-02 17:45:30.782076086 +0200 +++ /var/tmp/diff_new_pack.OsjTCG/_new 2026-04-02 17:45:30.786076250 +0200 @@ -1,7 +1,7 @@ # # spec file for package sbd # -# Copyright (c) 2025 SUSE LLC +# Copyright (c) 2026 SUSE LLC and contributors # Copyright (c) 2013 Lars Marowsky-Bree # # All modifications and additions to the file contributed by third parties @@ -55,7 +55,7 @@ %endif Name: sbd -Version: 1.5.2+20250909.68bc946 +Version: 1.5.2+20260320.2c43532 Release: 0 Summary: Shared-storage based death License: GPL-2.0-or-later ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.OsjTCG/_old 2026-04-02 17:45:30.874079854 +0200 +++ /var/tmp/diff_new_pack.OsjTCG/_new 2026-04-02 17:45:30.882080181 +0200 @@ -1,7 +1,7 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/ClusterLabs/sbd.git</param> - <param name="changesrevision">68bc94648fbe8d8cd28d6e4a4716e48fb35a0d99</param> + <param name="changesrevision">2c43532f4052d30aeb36921aad81b7e2c9936c17</param> </service> </servicedata> (No newline at EOF) ++++++ sbd-1.5.2+20250909.68bc946.tar.xz -> sbd-1.5.2+20260320.2c43532.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sbd-1.5.2+20250909.68bc946/.gitattributes new/sbd-1.5.2+20260320.2c43532/.gitattributes --- old/sbd-1.5.2+20250909.68bc946/.gitattributes 2025-09-09 03:00:35.000000000 +0200 +++ new/sbd-1.5.2+20260320.2c43532/.gitattributes 1970-01-01 01:00:00.000000000 +0100 @@ -1,2 +0,0 @@ -/.* export-ignore - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sbd-1.5.2+20250909.68bc946/.gitignore new/sbd-1.5.2+20260320.2c43532/.gitignore --- old/sbd-1.5.2+20250909.68bc946/.gitignore 2025-09-09 03:00:35.000000000 +0200 +++ new/sbd-1.5.2+20260320.2c43532/.gitignore 1970-01-01 01:00:00.000000000 +0100 @@ -1,36 +0,0 @@ -CLAUDE.md -*.m4 -*.cache -compile -config.* -configure -*.list -depcomp -install-sh -libtool -ltmain.sh* -Makefile -Makefile.in -missing -stamp-* -sbd -*.8 -*.o -*.service -sbd.sh -sbd.sysconfig -*~ -*.swp -*.patch -*.diff -*.orig -*.rej -*.rpm -*.pod -*.tar.* -!.copr/Makefile -sbd-*/ -.deps -test-driver -sbd.pc -build.counter diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sbd-1.5.2+20250909.68bc946/src/sbd-pacemaker.c new/sbd-1.5.2+20260320.2c43532/src/sbd-pacemaker.c --- old/sbd-1.5.2+20250909.68bc946/src/sbd-pacemaker.c 2025-09-09 03:00:35.000000000 +0200 +++ new/sbd-1.5.2+20260320.2c43532/src/sbd-pacemaker.c 2026-03-20 14:07:03.000000000 +0100 @@ -351,13 +351,10 @@ static void compute_status(pe_working_set_t * data_set) { - static int updates = 0; static int ever_had_quorum = FALSE; node_t *node = NULL; - updates++; - if (data_set->dc_node == NULL) { set_servant_health(pcmk_health_transient, LOG_INFO, "We don't have a DC right now."); notify_parent(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sbd-1.5.2+20250909.68bc946/src/sbd-watchdog.c new/sbd-1.5.2+20260320.2c43532/src/sbd-watchdog.c --- old/sbd-1.5.2+20250909.68bc946/src/sbd-watchdog.c 2025-09-09 03:00:35.000000000 +0200 +++ new/sbd-1.5.2+20260320.2c43532/src/sbd-watchdog.c 2026-03-20 14:07:03.000000000 +0100 @@ -17,9 +17,13 @@ */ #include "sbd.h" -#ifdef __GLIBC__ +#ifdef __linux__ #include <sys/sysmacros.h> #endif +/* Musl-specific: basename is in libgen.h, and musl lacks __GLIBC__ */ +#ifndef __GLIBC__ +#include <libgen.h> +#endif #include <dirent.h> #include <limits.h> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sbd-1.5.2+20250909.68bc946/tests/sbd-testbed.c new/sbd-1.5.2+20260320.2c43532/tests/sbd-testbed.c --- old/sbd-1.5.2+20250909.68bc946/tests/sbd-testbed.c 2025-09-09 03:00:35.000000000 +0200 +++ new/sbd-1.5.2+20260320.2c43532/tests/sbd-testbed.c 2026-03-20 14:07:03.000000000 +0100 @@ -18,7 +18,7 @@ #include <glib.h> #include <errno.h> -#if __GLIBC_PREREQ(2,36) +#if GLIB_CHECK_VERSION(2, 36, 0) #include <glib-unix.h> #else #include <glib/giochannel.h> @@ -68,7 +68,11 @@ #endif typedef int (*orig_open_f_type)(const char *pathname, int flags, ...); +#ifdef __GLIBC__ typedef int (*orig_ioctl_f_type)(int fd, unsigned long int request, ...); +#else +typedef int (*orig_ioctl_f_type)(int fd, int request, ...); +#endif typedef ssize_t (*orig_write_f_type)(int fd, const void *buf, size_t count); typedef int (*orig_close_f_type)(int fd); typedef FILE *(*orig_fopen_f_type)(const char *pathname, const char *mode); @@ -409,8 +413,14 @@ return orig_write(fd, buf, count); } +#ifdef __GLIBC__ int ioctl(int fd, unsigned long int request, ...) +#else +/* This matches musl/Alpine and most other POSIX systems */ +int +ioctl(int fd, int request, ...) +#endif { int rv = -1; va_list ap; @@ -419,7 +429,13 @@ init(); va_start(ap, request); - switch (request) { + switch ( +#ifdef __GLIBC__ + request +#else + (unsigned int)request +#endif + ) { case BLKSSZGET: for (i=0; i < 3; i++) { if (sbd_device_fd[i] == fd) { @@ -458,7 +474,15 @@ rv = orig_ioctl(fd, request, va_arg(ap, struct watchdog_info *)); break; default: - fprintf(log_fp, "ioctl using unknown request = 0x%08lx", request); + fprintf(log_fp, "ioctl using unknown request = " +#ifdef __GLIBC__ + "0x%08lx", + request +#else + "0x%08x", + (unsigned int)request +#endif + ); rv = orig_ioctl(fd, request, va_arg(ap, void *)); } va_end(ap);
