Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package qclib for openSUSE:Factory checked in at 2025-05-13 20:11:58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/qclib (Old) and /work/SRC/openSUSE:Factory/.qclib.new.30101 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "qclib" Tue May 13 20:11:58 2025 rev:19 rq:1276709 version:2.5.1 Changes: -------- --- /work/SRC/openSUSE:Factory/qclib/qclib.changes 2024-08-21 23:25:19.659862389 +0200 +++ /work/SRC/openSUSE:Factory/.qclib.new.30101/qclib.changes 2025-05-13 20:12:02.823400689 +0200 @@ -1,0 +2,8 @@ +Mon May 12 06:11:17 UTC 2025 - Nikolay Gueorguiev <nikolay.gueorgu...@suse.com> + +- Upgrade qclib to 2.5.1 + * Changes: + - Recognize IBM z17 and LinuxONE Emperor 5 + - sysinfo: Use consistent logic when reading from dump and in live system, increase initial buffer size to accommodate bigger systems + +------------------------------------------------------------------- Old: ---- qclib-2.5.0.tar.gz New: ---- qclib-2.5.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ qclib.spec ++++++ --- /var/tmp/diff_new_pack.dH4hlK/_old 2025-05-13 20:12:03.491428726 +0200 +++ /var/tmp/diff_new_pack.dH4hlK/_new 2025-05-13 20:12:03.495428894 +0200 @@ -1,7 +1,7 @@ # # spec file for package qclib # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %global _lto_cflags %{?_lto_cflags} -ffat-lto-objects Name: qclib -Version: 2.5.0 +Version: 2.5.1 Release: 0 Summary: Query Capacity library License: BSD-3-Clause ++++++ qclib-2.5.0.tar.gz -> qclib-2.5.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qclib-2.5.0/Makefile new/qclib-2.5.1/Makefile --- old/qclib-2.5.0/Makefile 2024-04-28 17:18:52.000000000 +0200 +++ new/qclib-2.5.1/Makefile 2025-05-11 09:25:37.000000000 +0200 @@ -4,7 +4,7 @@ # major : Backwards compatible changes to the API # minor : Additions leaving the API unmodified # bugfix: Bugfixes only -VERSION = 2.5.0 +VERSION = 2.5.1 VERM = $(shell echo $(VERSION) | cut -d '.' -f 1) CFLAGS ?= -g -Wall -O2 LDFLAGS ?= diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qclib-2.5.0/README.md new/qclib-2.5.1/README.md --- old/qclib-2.5.0/README.md 2024-04-28 17:18:52.000000000 +0200 +++ new/qclib-2.5.1/README.md 2025-05-11 09:25:37.000000000 +0200 @@ -87,6 +87,13 @@ Release History --------------- +* __v2.5.1 (2025-05-10)__ + + _Changes_: + - Recognize IBM z17 and LinuxONE Emperor 5 + - `sysinfo`: Use consistent logic when reading from dump and in live + system, increase initial buffer size to accommodate bigger systems + * __v2.5.0 (2024-04-28)__ _Changes_: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qclib-2.5.0/config.doxygen new/qclib-2.5.1/config.doxygen --- old/qclib-2.5.0/config.doxygen 2024-04-28 17:18:52.000000000 +0200 +++ new/qclib-2.5.1/config.doxygen 2025-05-11 09:25:37.000000000 +0200 @@ -1208,7 +1208,7 @@ # generated with the -Duse_libclang=ON option for CMake. # The default value is: NO. -CLANG_ASSISTED_PARSING = NO +#CLANG_ASSISTED_PARSING = NO # If the CLANG_ASSISTED_PARSING tag is set to YES and the CLANG_ADD_INC_PATHS # tag is set to YES then doxygen will add the directory of each input to the @@ -1216,7 +1216,7 @@ # The default value is: YES. # This tag requires that the tag CLANG_ASSISTED_PARSING is set to YES. -CLANG_ADD_INC_PATHS = YES +#CLANG_ADD_INC_PATHS = YES # If clang assisted parsing is enabled you can provide the compiler with command # line options that you would normally use when invoking the compiler. Note that @@ -1224,7 +1224,7 @@ # specified with INPUT and INCLUDE_PATH. # This tag requires that the tag CLANG_ASSISTED_PARSING is set to YES. -CLANG_OPTIONS = +#CLANG_OPTIONS = # If clang assisted parsing is enabled you can provide the clang parser with the # path to the directory containing a file called compile_commands.json. This @@ -1237,7 +1237,7 @@ # Note: The availability of this option depends on whether or not doxygen was # generated with the -Duse_libclang=ON option for CMake. -CLANG_DATABASE_PATH = +#CLANG_DATABASE_PATH = #--------------------------------------------------------------------------- # Configuration options related to the alphabetical class index diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qclib-2.5.0/query_capacity.c new/qclib-2.5.1/query_capacity.c --- old/qclib-2.5.0/query_capacity.c 2024-04-28 17:18:52.000000000 +0200 +++ new/qclib-2.5.1/query_capacity.c 2025-05-11 09:25:37.000000000 +0200 @@ -534,6 +534,7 @@ int type; char *zname; // IBM Z char *lname; // LinuxONE + char *ltype; char *zrack_type; // IBM Z rack mount model type char *zrack_name; char *lrack_type; // LinuxONE rack mount model type @@ -542,34 +543,35 @@ static struct qc_mtype mtypes[] = { // IBM Z LinuxONE - {4381, "IBM 4381", NULL, NULL, NULL, NULL, NULL}, - {3090, "IBM 3090", NULL, NULL, NULL, NULL, NULL}, - {9221, "IBM S/390 9221", NULL, NULL, NULL, NULL, NULL}, - {9021, "IBM ES/9000 9021", NULL, NULL, NULL, NULL, NULL}, - {2003, "IBM S/390 Multiprise 2000", NULL, NULL, NULL, NULL, NULL}, - {3000, "IBM S/390 StarterPak 3000", NULL, NULL, NULL, NULL, NULL}, - {9672, "IBM S/390 9672", NULL, NULL, NULL, NULL, NULL}, - {2066, "IBM zSeries 800", NULL, NULL, NULL, NULL, NULL}, - {2064, "IBM zSeries 900", NULL, NULL, NULL, NULL, NULL}, - {2086, "IBM zSeries 890", NULL, NULL, NULL, NULL, NULL}, - {2084, "IBM zSeries 990", NULL, NULL, NULL, NULL, NULL}, - {2096, "IBM System z9 BC", NULL, NULL, NULL, NULL, NULL}, - {2094, "IBM System z9 EC", NULL, NULL, NULL, NULL, NULL}, - {2098, "IBM System z10 BC", NULL, NULL, NULL, NULL, NULL}, - {2097, "IBM System z10 EC", NULL, NULL, NULL, NULL, NULL}, - {2818, "IBM zEnterprise 114", NULL, NULL, NULL, NULL, NULL}, - {2817, "IBM zEnterprise 196", NULL, NULL, NULL, NULL, NULL}, - {2827, "IBM zEnterprise EC12", NULL, NULL, NULL, NULL, NULL}, - {2828, "IBM zEnterprise BC12", NULL, NULL, NULL, NULL, NULL}, - {2965, "IBM z13s", "IBM LinuxONE Rockhopper", NULL, NULL, NULL, NULL}, - {2964, "IBM z13", "IBM LinuxONE Emperor", NULL, NULL, NULL, NULL}, - {3907, "IBM z14 ZR1", "IBM LinuxONE Rockhopper II", NULL, NULL, NULL, NULL}, - {3906, "IBM z14", "IBM LinuxONE Emperor II", NULL, NULL, NULL, NULL}, - {8561, "IBM z15", "IBM LinuxONE III", NULL, NULL, NULL, NULL}, - {8562, "IBM z15 Model T02", "IBM LinuxONE III Model LT2", NULL, NULL, NULL, NULL}, - {3931, "IBM z16", "IBM LinuxONE Emperor 4", NULL, NULL, NULL, NULL}, - {3932, "IBM z16 A02", "IBM LinuxONE Rockhopper 4", "AGZ", "IBM z16 AGZ", "AGL", "IBM LinuxONE Rockhopper 4"}, - {0, NULL, NULL, NULL, NULL, NULL, NULL} + {4381, "IBM 4381", NULL, NULL, NULL, NULL, NULL, NULL}, + {3090, "IBM 3090", NULL, NULL, NULL, NULL, NULL, NULL}, + {9221, "IBM S/390 9221", NULL, NULL, NULL, NULL, NULL, NULL}, + {9021, "IBM ES/9000 9021", NULL, NULL, NULL, NULL, NULL, NULL}, + {2003, "IBM S/390 Multiprise 2000", NULL, NULL, NULL, NULL, NULL, NULL}, + {3000, "IBM S/390 StarterPak 3000", NULL, NULL, NULL, NULL, NULL, NULL}, + {9672, "IBM S/390 9672", NULL, NULL, NULL, NULL, NULL, NULL}, + {2066, "IBM zSeries 800", NULL, NULL, NULL, NULL, NULL, NULL}, + {2064, "IBM zSeries 900", NULL, NULL, NULL, NULL, NULL, NULL}, + {2086, "IBM zSeries 890", NULL, NULL, NULL, NULL, NULL, NULL}, + {2084, "IBM zSeries 990", NULL, NULL, NULL, NULL, NULL, NULL}, + {2096, "IBM System z9 BC", NULL, NULL, NULL, NULL, NULL, NULL}, + {2094, "IBM System z9 EC", NULL, NULL, NULL, NULL, NULL, NULL}, + {2098, "IBM System z10 BC", NULL, NULL, NULL, NULL, NULL, NULL}, + {2097, "IBM System z10 EC", NULL, NULL, NULL, NULL, NULL, NULL}, + {2818, "IBM zEnterprise 114", NULL, NULL, NULL, NULL, NULL, NULL}, + {2817, "IBM zEnterprise 196", NULL, NULL, NULL, NULL, NULL, NULL}, + {2827, "IBM zEnterprise EC12", NULL, NULL, NULL, NULL, NULL, NULL}, + {2828, "IBM zEnterprise BC12", NULL, NULL, NULL, NULL, NULL, NULL}, + {2964, "IBM z13", "IBM LinuxONE Emperor", NULL, NULL, NULL, NULL, NULL}, + {2965, "IBM z13s", "IBM LinuxONE Rockhopper", NULL, NULL, NULL, NULL, NULL}, + {3906, "IBM z14", "IBM LinuxONE Emperor II", NULL, NULL, NULL, NULL, NULL}, + {3907, "IBM z14 ZR1", "IBM LinuxONE Rockhopper II", NULL, NULL, NULL, NULL, NULL}, + {8561, "IBM z15", "IBM LinuxONE III", NULL, NULL, NULL, NULL, NULL}, + {8562, "IBM z15 Model T02", "IBM LinuxONE III Model LT2", NULL, NULL, NULL, NULL, NULL}, + {3931, "IBM z16", "IBM LinuxONE Emperor 4", NULL, NULL, NULL, NULL, NULL}, + {3932, "IBM z16 A02", "IBM LinuxONE Rockhopper 4", NULL, "AGZ", "IBM z16 AGZ", "AGL", "IBM LinuxONE Rockhopper 4"}, + {9175, "IBM z17", "IBM LinuxONE Emperor 5", "ML1", NULL, NULL, NULL, NULL}, + {0, NULL, NULL, NULL, NULL, NULL, NULL, NULL} }; static int qc_post_process_ziip_thrds(struct qc_handle *hdl) { @@ -598,12 +600,13 @@ if (cpuid == type->type) { if ((str = qc_get_attr_value_string(hdl, qc_model)) == NULL) goto out; - if (type->lname && *str == 'L') { + if (type->lname && ((!type->ltype && *str == 'L') + || (type->ltype && strcmp(type->ltype, str) == 0))) { str = type->lname; - family = QC_TYPE_FAMILY_LINUXONE; + family = QC_TYPE_FAMILY_LINUXONE; } else if (type->lrack_type && strncmp(str, type->lrack_type, 3) == 0) { str = type->lrack_name; - family = QC_TYPE_FAMILY_LINUXONE; + family = QC_TYPE_FAMILY_LINUXONE; } else if (type->zrack_type && strncmp(str, type->zrack_type, 3) == 0) str = type->zrack_name; else diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qclib-2.5.0/query_capacity.h new/qclib-2.5.1/query_capacity.h --- old/qclib-2.5.0/query_capacity.h 2024-04-28 17:18:52.000000000 +0200 +++ new/qclib-2.5.1/query_capacity.h 2025-05-11 09:25:37.000000000 +0200 @@ -5,7 +5,7 @@ #ifndef QUERY_CAPACITY #define QUERY_CAPACITY -#define QC_VERSION "2.5.0" +#define QC_VERSION "2.5.1" /* Build Customization */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qclib-2.5.0/query_capacity_sysinfo.c new/qclib-2.5.1/query_capacity_sysinfo.c --- old/qclib-2.5.0/query_capacity_sysinfo.c 2024-04-28 17:18:52.000000000 +0200 +++ new/qclib-2.5.1/query_capacity_sysinfo.c 2025-05-11 09:25:37.000000000 +0200 @@ -54,7 +54,6 @@ static int qc_sysinfo_open(struct qc_handle *hdl, char **sysinfo) { char *fname = NULL; ssize_t lrc = 1, sysinfo_sz; - struct stat buf; int fd; qc_debug(hdl, "Retrieve sysinfo\n"); @@ -66,17 +65,10 @@ qc_debug(hdl, "Error: Mem alloc failed, cannot open dump\n"); goto out_early; } - if (stat(fname, &buf)) { - qc_debug(hdl, "Error: Failed to stat file '%s'\n", fname); - goto out_early; - } - sysinfo_sz = buf.st_size + 1; - } else { + } else qc_debug(hdl, "Read sysinfo from /proc/sysinfo\n"); - sysinfo_sz = 4096; - } - for (lrc = sysinfo_sz; lrc >= sysinfo_sz; sysinfo_sz *= 2, lrc *= 2) { + for (sysinfo_sz = 8192, lrc = sysinfo_sz; 2 * lrc >= sysinfo_sz; sysinfo_sz *= 2) { fd = open(fname ? fname : "/proc/sysinfo", O_RDONLY); if (!fd) { qc_debug(hdl, "Error: Failed to open file '%s': %s\n", @@ -99,9 +91,9 @@ *sysinfo = NULL; goto out; } - (*sysinfo)[lrc] = '\0'; close(fd); } + (*sysinfo)[lrc] = '\0'; goto out_early; out: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qclib-2.5.0/zname.c new/qclib-2.5.1/zname.c --- old/qclib-2.5.0/zname.c 2024-04-28 17:18:52.000000000 +0200 +++ new/qclib-2.5.1/zname.c 2025-05-11 09:25:37.000000000 +0200 @@ -117,7 +117,7 @@ if (dbg > 1) setenv("QC_DEBUG", "2", 1); if (json && opts) { - fprintf(stderr, "Error: Specifiy either one of the options to print info, or --json\n"); + fprintf(stderr, "Error: Specify either one of the options to print info, or --json\n"); rc = 2; goto out; }