summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-oe/dynamic-layers/perl-layer/recipes-support/rasdaemon/files/0001-rasdaemon-fix-post-processing-options.patch83
-rw-r--r--meta-oe/dynamic-layers/perl-layer/recipes-support/rasdaemon/rasdaemon_0.8.4.bb (renamed from meta-oe/dynamic-layers/perl-layer/recipes-support/rasdaemon/rasdaemon_0.8.3.bb)7
-rw-r--r--meta-oe/recipes-gnome/gtk+/gtkmm4_4.20.0.bb (renamed from meta-oe/recipes-gnome/gtk+/gtkmm4_4.14.0.bb)8
-rw-r--r--meta-python/recipes-devtools/python/python3-pytest-cov_7.0.0.bb (renamed from meta-python/recipes-devtools/python/python3-pytest-cov_6.2.1.bb)6
4 files changed, 11 insertions, 93 deletions
diff --git a/meta-oe/dynamic-layers/perl-layer/recipes-support/rasdaemon/files/0001-rasdaemon-fix-post-processing-options.patch b/meta-oe/dynamic-layers/perl-layer/recipes-support/rasdaemon/files/0001-rasdaemon-fix-post-processing-options.patch
deleted file mode 100644
index d999f288dc..0000000000
--- a/meta-oe/dynamic-layers/perl-layer/recipes-support/rasdaemon/files/0001-rasdaemon-fix-post-processing-options.patch
+++ /dev/null
@@ -1,83 +0,0 @@
1From 64bc04705ea8606eed1b1e810904cc8296e99472 Mon Sep 17 00:00:00 2001
2From: Yi Zhao <yi.zhao@windriver.com>
3Date: Sat, 2 Aug 2025 15:43:11 +0800
4Subject: [PATCH] rasdaemon: fix post-processing options
5
6Some post-processing options require an argument, otherwise a segfault
7will occur:
8
9root@qemux86-64:~# rasdaemon -p --status --ipid
10Segmentation fault (core dumped) rasdaemon -p --status --ipid
11
12According to the specification of argp, when an option requires an
13argument, we should use the 'arg' parameter, which points to the
14argument string for that option. Therefore we set char* arg for these
15options in struct argp_option and use it in parse_opt_offline function
16instead of state->argv[state->next].
17
18Fix #220
19
20Upstream-Status: Backport
21[https://github.com/mchehab/rasdaemon/commit/64bc04705ea8606eed1b1e810904cc8296e99472]
22
23Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
24Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
25---
26 rasdaemon.c | 24 ++++++++++++------------
27 1 file changed, 12 insertions(+), 12 deletions(-)
28
29diff --git a/rasdaemon.c b/rasdaemon.c
30index be5c390..9368b12 100644
31--- a/rasdaemon.c
32+++ b/rasdaemon.c
33@@ -98,22 +98,22 @@ static error_t parse_opt_offline(int key, char *arg,
34 event.smca = true;
35 break;
36 case MODEL:
37- event.model = strtoul(state->argv[state->next], NULL, 0);
38+ event.model = strtoul(arg, NULL, 0);
39 break;
40 case FAMILY:
41- event.family = strtoul(state->argv[state->next], NULL, 0);
42+ event.family = strtoul(arg, NULL, 0);
43 break;
44 case BANK_NUM:
45- event.bank = atoi(state->argv[state->next]);
46+ event.bank = atoi(arg);
47 break;
48 case IPID_REG:
49- event.ipid = strtoull(state->argv[state->next], NULL, 0);
50+ event.ipid = strtoull(arg, NULL, 0);
51 break;
52 case STATUS_REG:
53- event.status = strtoull(state->argv[state->next], NULL, 0);
54+ event.status = strtoull(arg, NULL, 0);
55 break;
56 case SYNDROME_REG:
57- event.synd = strtoull(state->argv[state->next], NULL, 0);
58+ event.synd = strtoull(arg, NULL, 0);
59 break;
60 default:
61 return ARGP_ERR_UNKNOWN;
62@@ -146,12 +146,12 @@ int main(int argc, char *argv[])
63 #ifdef HAVE_MCE
64 const struct argp_option offline_options[] = {
65 {"smca", SMCA, 0, 0, "AMD SMCA Error Decoding"},
66- {"model", MODEL, 0, 0, "CPU Model"},
67- {"family", FAMILY, 0, 0, "CPU Family"},
68- {"bank", BANK_NUM, 0, 0, "Bank Number"},
69- {"ipid", IPID_REG, 0, 0, "IPID Register (for SMCA systems only)"},
70- {"status", STATUS_REG, 0, 0, "Status Register"},
71- {"synd", SYNDROME_REG, 0, 0, "Syndrome Register"},
72+ {"model", MODEL, "MODEL", 0, "CPU Model"},
73+ {"family", FAMILY, "FAMILY", 0, "CPU Family"},
74+ {"bank", BANK_NUM, "BANK_NUM", 0, "Bank Number"},
75+ {"ipid", IPID_REG, "IPID_REG", 0, "IPID Register (for SMCA systems only)"},
76+ {"status", STATUS_REG, "STATUS_REG", 0, "Status Register"},
77+ {"synd", SYNDROME_REG, "SYNDROME_REG", 0, "Syndrome Register"},
78 {0, 0, 0, 0, 0, 0},
79 };
80
81--
822.43.0
83
diff --git a/meta-oe/dynamic-layers/perl-layer/recipes-support/rasdaemon/rasdaemon_0.8.3.bb b/meta-oe/dynamic-layers/perl-layer/recipes-support/rasdaemon/rasdaemon_0.8.4.bb
index 2cc2a26acb..0024729a91 100644
--- a/meta-oe/dynamic-layers/perl-layer/recipes-support/rasdaemon/rasdaemon_0.8.3.bb
+++ b/meta-oe/dynamic-layers/perl-layer/recipes-support/rasdaemon/rasdaemon_0.8.4.bb
@@ -4,14 +4,12 @@ LICENSE = "GPL-2.0-only"
4LIC_FILES_CHKSUM = "file://COPYING;md5=d3070efe0afa3dc41608bd82c00bb0dc" 4LIC_FILES_CHKSUM = "file://COPYING;md5=d3070efe0afa3dc41608bd82c00bb0dc"
5 5
6SRC_URI = "git://github.com/mchehab/rasdaemon.git;branch=master;protocol=https \ 6SRC_URI = "git://github.com/mchehab/rasdaemon.git;branch=master;protocol=https \
7 file://0001-rasdaemon-fix-post-processing-options.patch \
8 file://rasdaemon.service \ 7 file://rasdaemon.service \
9 file://init" 8 file://init"
10 9
11SRCREV = "db0870edd2919f4f4d0101843136bcae92ab0743" 10SRCREV = "5a1efb8f324498df8cbaaa5adff0e9db96f648a9"
12 11
13 12DEPENDS = "libtraceevent pciutils"
14DEPENDS = "libtraceevent"
15RDEPENDS:${BPN} = "perl perl-module-file-basename perl-module-file-find perl-module-file-spec perl-module-getopt-long \ 13RDEPENDS:${BPN} = "perl perl-module-file-basename perl-module-file-find perl-module-file-spec perl-module-getopt-long \
16 perl-module-posix perl-module-file-glob libdbi-perl libdbd-sqlite-perl" 14 perl-module-posix perl-module-file-glob libdbi-perl libdbd-sqlite-perl"
17 15
@@ -41,6 +39,7 @@ do_install:append() {
41 39
42FILES:${PN} += "${sbindir}/rasdaemon \ 40FILES:${PN} += "${sbindir}/rasdaemon \
43 ${sysconfdir}/init.d \ 41 ${sysconfdir}/init.d \
42 ${datadir} \
44 ${systemd_unitdir}/system/rasdaemon.service" 43 ${systemd_unitdir}/system/rasdaemon.service"
45 44
46SYSTEMD_SERVICE:${PN} = "rasdaemon.service" 45SYSTEMD_SERVICE:${PN} = "rasdaemon.service"
diff --git a/meta-oe/recipes-gnome/gtk+/gtkmm4_4.14.0.bb b/meta-oe/recipes-gnome/gtk+/gtkmm4_4.20.0.bb
index d3a01e444c..439ab800f8 100644
--- a/meta-oe/recipes-gnome/gtk+/gtkmm4_4.14.0.bb
+++ b/meta-oe/recipes-gnome/gtk+/gtkmm4_4.20.0.bb
@@ -3,8 +3,10 @@ HOMEPAGE = "http://www.gtkmm.org/"
3SECTION = "libs" 3SECTION = "libs"
4 4
5LICENSE = "LGPL-2.1-only & GPL-2.0-only" 5LICENSE = "LGPL-2.1-only & GPL-2.0-only"
6LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c \ 6LIC_FILES_CHKSUM = " \
7 file://COPYING.tools;md5=751419260aa954499f7abaabaa882bbe" 7 file://COPYING;md5=4bf661c1e3793e55c8d1051bc5e0ae21 \
8 file://COPYING.tools;md5=570a9b3749dd0463a1778803b12a6dce \
9"
8 10
9DEPENDS = "glib-2.0-native atkmm pangomm-2.48 glibmm gtk4 cairomm-1.16 gdk-pixbuf-native" 11DEPENDS = "glib-2.0-native atkmm pangomm-2.48 glibmm gtk4 cairomm-1.16 gdk-pixbuf-native"
10 12
@@ -14,7 +16,7 @@ inherit gnomebase features_check
14 16
15REQUIRED_DISTRO_FEATURES = "opengl x11" 17REQUIRED_DISTRO_FEATURES = "opengl x11"
16 18
17SRC_URI[archive.sha256sum] = "9350a0444b744ca3dc69586ebd1b6707520922b6d9f4f232103ce603a271ecda" 19SRC_URI[archive.sha256sum] = "daad9bf9b70f90975f91781fc7a656c923a91374261f576c883cd3aebd59c833"
18 20
19EXTRA_OEMESON = "-Dbuild-demos=false" 21EXTRA_OEMESON = "-Dbuild-demos=false"
20 22
diff --git a/meta-python/recipes-devtools/python/python3-pytest-cov_6.2.1.bb b/meta-python/recipes-devtools/python/python3-pytest-cov_7.0.0.bb
index af4ce4b770..117767d1ee 100644
--- a/meta-python/recipes-devtools/python/python3-pytest-cov_6.2.1.bb
+++ b/meta-python/recipes-devtools/python/python3-pytest-cov_7.0.0.bb
@@ -5,11 +5,11 @@ LIC_FILES_CHKSUM = " \
5 file://LICENSE;md5=cbc4e25353c748c817db2daffe605e43 \ 5 file://LICENSE;md5=cbc4e25353c748c817db2daffe605e43 \
6" 6"
7 7
8SRC_URI[sha256sum] = "25cc6cc0a5358204b8108ecedc51a9b57b34cc6b8c967cc2c01a4e00d8a67da2" 8SRC_URI[sha256sum] = "33c97eda2e049a0c5298e91f519302a1334c26ac65c1a483d6206fd458361af1"
9 9
10inherit pypi setuptools3 10inherit pypi python_setuptools_build_meta python_hatchling
11 11
12DEPENDS += "python3-setuptools-scm-native" 12DEPENDS += "python3-setuptools-scm-native python3-hatch-fancy-pypi-readme-native"
13RDEPENDS:${PN} += "python3-coverage python3-pytest python3-pluggy" 13RDEPENDS:${PN} += "python3-coverage python3-pytest python3-pluggy"
14 14
15PYPI_PACKAGE = "pytest_cov" 15PYPI_PACKAGE = "pytest_cov"