Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package powerpc-utils for openSUSE:Factory checked in at 2025-08-06 14:31:20 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/powerpc-utils (Old) and /work/SRC/openSUSE:Factory/.powerpc-utils.new.1085 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "powerpc-utils" Wed Aug 6 14:31:20 2025 rev:153 rq:1297482 version:1.3.13 Changes: -------- --- /work/SRC/openSUSE:Factory/powerpc-utils/powerpc-utils.changes 2025-07-23 16:32:09.684468466 +0200 +++ /work/SRC/openSUSE:Factory/.powerpc-utils.new.1085/powerpc-utils.changes 2025-08-06 14:31:43.432095843 +0200 @@ -1,0 +2,9 @@ +Mon Aug 4 11:39:55 UTC 2025 - Michal Suchanek <msucha...@suse.de> + +- Fix build ecross codestreams + * pseries_platform.h-Fix-ifdef-guard-typo.patch + * sys_ident-Quiet-strncpy-warning.patch + * nvram.c-Correct-librtas-function-prototypes.patch + * Remove std-gnu17.patch + +------------------------------------------------------------------- @@ -5 +14 @@ - ppc64_cpu --info Command Outputs During DLPAR Operation (bsc#1246126) + ppc64_cpu --info Command Outputs During DLPAR Operation (bsc#1246126 ltc#214064) @@ -42 +51 @@ -- Drop sysvinit service use (bsc#1236480 jsc#-264). +- Drop sysvinit service use (bsc#1236480 jsc#PED-264). Old: ---- std-gnu17.patch New: ---- nvram.c-Correct-librtas-function-prototypes.patch pseries_platform.h-Fix-ifdef-guard-typo.patch sys_ident-Quiet-strncpy-warning.patch ----------(Old B)---------- Old: * nvram.c-Correct-librtas-function-prototypes.patch * Remove std-gnu17.patch ----------(Old E)---------- ----------(New B)---------- New: * sys_ident-Quiet-strncpy-warning.patch * nvram.c-Correct-librtas-function-prototypes.patch * Remove std-gnu17.patch New:- Fix build ecross codestreams * pseries_platform.h-Fix-ifdef-guard-typo.patch * sys_ident-Quiet-strncpy-warning.patch New: * pseries_platform.h-Fix-ifdef-guard-typo.patch * sys_ident-Quiet-strncpy-warning.patch * nvram.c-Correct-librtas-function-prototypes.patch ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ powerpc-utils.spec ++++++ --- /var/tmp/diff_new_pack.W5ojQz/_old 2025-08-06 14:31:46.952243177 +0200 +++ /var/tmp/diff_new_pack.W5ojQz/_new 2025-08-06 14:31:46.972244014 +0200 @@ -35,7 +35,9 @@ Patch8: Fix-HNV-installation-network-conflicts-across-all-di.patch Patch9: cpu_info_helpers-Add-helper-function-to-retrieve-pre.patch Patch10: ppc64_cpu-Fix-handling-of-non-contiguous-CPU-IDs.patch -Patch11: std-gnu17.patch +Patch11: pseries_platform.h-Fix-ifdef-guard-typo.patch +Patch12: sys_ident-Quiet-strncpy-warning.patch +Patch13: nvram.c-Correct-librtas-function-prototypes.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: libnuma-devel ++++++ nvram.c-Correct-librtas-function-prototypes.patch ++++++ >From 13ea9e470a3bb7a62c228126c4d7b1ed51d7b382 Mon Sep 17 00:00:00 2001 From: Michal Suchanek <msucha...@suse.de> Date: Mon, 4 Aug 2025 13:25:38 +0200 Subject: [PATCH] nvram.c: Correct librtas function prototypes --- src/nvram.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/nvram.c b/src/nvram.c index 1987c3d94b1f..3aad364de1c0 100644 --- a/src/nvram.c +++ b/src/nvram.c @@ -886,6 +886,8 @@ dump_errlog(struct nvram *nvram) return 0; } +struct rtas_event; + /** * dump_rtas_event_entry * @brief Dump event-scan data. @@ -901,11 +903,11 @@ dump_errlog(struct nvram *nvram) int dump_rtas_event_entry(char *data, int len) { - void *rtas_event; + struct rtas_event *rtas_event; void *handle; - void *(*parse_rtas_event)(); - void (*rtas_print_event)(); - void (*cleanup_rtas_event)(); + struct rtas_event *(*parse_rtas_event)(char *, int); + void (*rtas_print_event)(FILE *, struct rtas_event *, int); + void (*cleanup_rtas_event)(struct rtas_event *); handle = dlopen("/usr/lib/librtasevent.so", RTLD_LAZY); if (handle == NULL) -- 2.50.1 ++++++ pseries_platform.h-Fix-ifdef-guard-typo.patch ++++++ >From d22ad5c4a715fdc9e95dd37d9e7cae18fa22bd4a Mon Sep 17 00:00:00 2001 From: Michal Suchanek <msucha...@suse.de> Date: Mon, 4 Aug 2025 13:11:00 +0200 Subject: [PATCH] pseries_platform.h: Fix ifdef guard typo --- src/common/pseries_platform.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/pseries_platform.h b/src/common/pseries_platform.h index 440c3e60d58d..257fc62c9386 100644 --- a/src/common/pseries_platform.h +++ b/src/common/pseries_platform.h @@ -19,7 +19,7 @@ */ #ifndef PLATFORM_H -#define PLARFORM_H +#define PLATFORM_H #define PLATFORM_FILE "/proc/cpuinfo" -- 2.50.1 ++++++ sys_ident-Quiet-strncpy-warning.patch ++++++ >From 19315c12080674e6323b5710d199140db8ea48f1 Mon Sep 17 00:00:00 2001 From: Michal Suchanek <msucha...@suse.de> Date: Mon, 4 Nov 2024 11:39:06 +0100 Subject: [PATCH] sys_ident: Quiet strncpy warning The string is terminated by explicit NUL assignement below, use memcpy instead of strncpy. --- src/sys_ident.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sys_ident.c b/src/sys_ident.c index 2c5c06b494b9..0d88a2db315f 100644 --- a/src/sys_ident.c +++ b/src/sys_ident.c @@ -364,7 +364,7 @@ print_sys_part_id(void) temp[2] = '\0'; prefix = atoi(temp); - strncpy(cc, sys_id+6, 2); + memcpy(cc, sys_id+6, 2); cc[2] = '\0'; strncpy(sssss, sys_id+8, 5); @@ -386,7 +386,7 @@ print_sys_part_id(void) close(fd); - strncpy(tttt, model+4, 4); + memcpy(tttt, model+4, 4); tttt[4] = '\0'; fd = open("/proc/device-tree/ibm,partition-no", O_RDONLY); -- 2.50.1