From 61c6c411a8cae41f1494a0d30214114c3336ac40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Esser?= Date: Wed, 22 Apr 2020 00:01:43 +0200 Subject: [PATCH 01/79] Rebuild (json-c) --- abrt.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/abrt.spec b/abrt.spec index c210274..322cf59 100644 --- a/abrt.spec +++ b/abrt.spec @@ -49,7 +49,7 @@ Summary: Automatic bug detection and reporting tool Name: abrt Version: 2.14.0 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv2+ URL: https://abrt.readthedocs.org/ Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz @@ -1016,6 +1016,9 @@ killall abrt-dbus >/dev/null 2>&1 || : %config(noreplace) %{_sysconfdir}/profile.d/abrt-console-notification.sh %changelog +* Tue Apr 21 2020 Björn Esser - 2.14.0-3 +- Rebuild (json-c) + * Fri Feb 07 2020 Ernestas Kulik - 2.14.0-2 - Bump libreport dependency From bf7b8afe4ac802bc48874414e591c1631c139249 Mon Sep 17 00:00:00 2001 From: Michal Fabik Date: Fri, 24 Apr 2020 18:15:58 +0200 Subject: [PATCH 02/79] New upstream release 2.14.1 Signed-off-by: Michal Fabik --- .gitignore | 1 + abrt.spec | 27 +++++++++++++++++++++++---- sources | 2 +- 3 files changed, 25 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 41d1ef0..3af754d 100644 --- a/.gitignore +++ b/.gitignore @@ -69,3 +69,4 @@ abrt-1.1.13.tar.gz /abrt-2.12.2.tar.gz /abrt-2.13.0.tar.gz /abrt-2.14.0.tar.gz +/abrt-2.14.1.tar.gz diff --git a/abrt.spec b/abrt.spec index 322cf59..50eaa33 100644 --- a/abrt.spec +++ b/abrt.spec @@ -48,8 +48,8 @@ Summary: Automatic bug detection and reporting tool Name: abrt -Version: 2.14.0 -Release: 3%{?dist} +Version: 2.14.1 +Release: 1%{?dist} License: GPLv2+ URL: https://abrt.readthedocs.org/ Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz @@ -114,7 +114,6 @@ BuildRequires: libreport-gtk-devel >= %{libreport_ver} BuildRequires: gsettings-desktop-schemas-devel >= 3.15 #addon-ccpp BuildRequires: gdb-headless -BuildRequires: libcap-devel #addon-kerneloops BuildRequires: systemd-devel BuildRequires: %{libjson_devel} @@ -750,7 +749,7 @@ killall abrt-dbus >/dev/null 2>&1 || : %dir %attr(0751, root, abrt) %{default_dump_dir} %dir %attr(0700, abrt, abrt) %{_localstatedir}/spool/%{name}-upload # abrtd runs as root -%dir %attr(0755, root, root) %{_localstatedir}/run/%{name} +%ghost %dir %attr(0755, root, root) %{_localstatedir}/run/%{name} %ghost %attr(0666, -, -) %{_localstatedir}/run/%{name}/abrt.socket %ghost %attr(0644, -, -) %{_localstatedir}/run/%{name}/abrtd.pid @@ -1016,6 +1015,26 @@ killall abrt-dbus >/dev/null 2>&1 || : %config(noreplace) %{_sysconfdir}/profile.d/abrt-console-notification.sh %changelog +* Fri Apr 24 2020 Michal Fabik - 2.14.1-1 +- tests: Add perl, php R and tcl to dont-blame-interpret +- a-a-save-package-data: Add R and tcl to interpreted langs +- a-a-save-package-data: Use regexps to match interpreters +- .travis.yml: Update secret +- plugins: xorg-utils: Loopify parsing +- Add namespace to libreport function and global names +- cli: Correct debug directories in config +- cli: Show defaults in help output +- cli: Fix verbosity option +- cli: Fix descriptions for --since and --until +- autogen.sh: Handle NOCONFIGURE per the Build API +- plugins: journal: Fix ci_mapping being overwritten +- plugins: abrt-journal-core: Don’t assume anything about uid_t +- lib,plugins: Accomodate for multiple debug directories +- dbus: Drop bogus dependency +- dbus: Drop abrt_problems2 +- Drop libcap dependency +- Drop Travis config + * Tue Apr 21 2020 Björn Esser - 2.14.0-3 - Rebuild (json-c) diff --git a/sources b/sources index fe58d9f..08f6991 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (abrt-2.14.0.tar.gz) = 2d817b7761d5afdca00a825281b759bc084a17d7393fcdf87df1a901b5c1a75595e3a733e481b30b02d068a123f8eac26163e2e55366e7cc20266a95e863967e +SHA512 (abrt-2.14.1.tar.gz) = 5486a4174e7db902f5a30c44159b3c0745341b1b4cb89df903cf42f9bf64ee2309708a20d8312760276db0171655972e9f2847e3463af0e34c66c4ea28cf2c6c From 9f7a213711c78e231f3cf7db188d375e0664f6e3 Mon Sep 17 00:00:00 2001 From: Ernestas Kulik Date: Sat, 25 Apr 2020 11:12:34 +0200 Subject: [PATCH 03/79] Bump libreport dependency --- abrt.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/abrt.spec b/abrt.spec index 50eaa33..5352c9b 100644 --- a/abrt.spec +++ b/abrt.spec @@ -43,7 +43,7 @@ %define docdirversion -%{version} %endif -%define libreport_ver 2.12.0 +%define libreport_ver 2.13.0 %define satyr_ver 0.24 Summary: Automatic bug detection and reporting tool From 438b4b73c73029c56364e645569af4b969d3c2f8 Mon Sep 17 00:00:00 2001 From: Michal Fabik Date: Tue, 12 May 2020 10:11:37 +0200 Subject: [PATCH 04/79] New upstream release 2.14.2 Signed-off-by: Michal Fabik --- .gitignore | 1 + abrt.spec | 5 ++++- sources | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 3af754d..16cc618 100644 --- a/.gitignore +++ b/.gitignore @@ -70,3 +70,4 @@ abrt-1.1.13.tar.gz /abrt-2.13.0.tar.gz /abrt-2.14.0.tar.gz /abrt-2.14.1.tar.gz +/abrt-2.14.2.tar.gz diff --git a/abrt.spec b/abrt.spec index 5352c9b..8e2a7db 100644 --- a/abrt.spec +++ b/abrt.spec @@ -48,7 +48,7 @@ Summary: Automatic bug detection and reporting tool Name: abrt -Version: 2.14.1 +Version: 2.14.2 Release: 1%{?dist} License: GPLv2+ URL: https://abrt.readthedocs.org/ @@ -1015,6 +1015,9 @@ killall abrt-dbus >/dev/null 2>&1 || : %config(noreplace) %{_sysconfdir}/profile.d/abrt-console-notification.sh %changelog +* Tue May 12 2020 Michal Fabik - 2.14.2-1 +- Fix broken builds with --enable-authenticated-autoreporting + * Fri Apr 24 2020 Michal Fabik - 2.14.1-1 - tests: Add perl, php R and tcl to dont-blame-interpret - a-a-save-package-data: Add R and tcl to interpreted langs diff --git a/sources b/sources index 08f6991..ad6df13 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (abrt-2.14.1.tar.gz) = 5486a4174e7db902f5a30c44159b3c0745341b1b4cb89df903cf42f9bf64ee2309708a20d8312760276db0171655972e9f2847e3463af0e34c66c4ea28cf2c6c +SHA512 (abrt-2.14.2.tar.gz) = 020bd0550c41b2358a718a4f0f0c3a839d86fd46fc0c4f4cfc4b7d7f851baf2d5179e008ac1912b350f9f0fbfbfee94e422de3aadce5eb0f7f84a04f233349ff From 18305b2c5069a8dac7653bc51479c87c929f15ab Mon Sep 17 00:00:00 2001 From: Ernestas Kulik Date: Thu, 21 May 2020 15:58:39 +0200 Subject: [PATCH 05/79] Add fix for #1836190 --- ...s-instance-pointer-to-signal-handler.patch | 28 +++++++++++++++++++ 0002-applet-Chain-up-in-dispose.patch | 26 +++++++++++++++++ abrt.spec | 8 +++++- 3 files changed, 61 insertions(+), 1 deletion(-) create mode 100644 0001-applet-Pass-instance-pointer-to-signal-handler.patch create mode 100644 0002-applet-Chain-up-in-dispose.patch diff --git a/0001-applet-Pass-instance-pointer-to-signal-handler.patch b/0001-applet-Pass-instance-pointer-to-signal-handler.patch new file mode 100644 index 0000000..9010657 --- /dev/null +++ b/0001-applet-Pass-instance-pointer-to-signal-handler.patch @@ -0,0 +1,28 @@ +From 5618985d3d7f830ebba0ef78e2ee6d3d6f9f6c55 Mon Sep 17 00:00:00 2001 +From: Ernestas Kulik +Date: Fri, 15 May 2020 15:49:59 +0200 +Subject: [PATCH] applet: Pass instance pointer to signal handler + +Some fallout from 802a40a2f7c971b6533162e70b860e01ae3b5a27. + +https://bugzilla.redhat.com/show_bug.cgi?id=1836190 +--- + src/applet/abrt-applet-application.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/applet/abrt-applet-application.c b/src/applet/abrt-applet-application.c +index d982c9f9..8ea653bb 100644 +--- a/src/applet/abrt-applet-application.c ++++ b/src/applet/abrt-applet-application.c +@@ -177,7 +177,7 @@ abrt_applet_application_init (AbrtAppletApplication *self) + g_signal_connect (network_monitor, "notify::connectivity", + G_CALLBACK (on_connectivity_changed), self); + g_signal_connect (network_monitor, "notify::network-available", +- G_CALLBACK (on_connectivity_changed), NULL); ++ G_CALLBACK (on_connectivity_changed), self); + + self->deferred_problems = g_ptr_array_new_with_free_func (g_object_unref); + } +-- +2.26.2 + diff --git a/0002-applet-Chain-up-in-dispose.patch b/0002-applet-Chain-up-in-dispose.patch new file mode 100644 index 0000000..7d749e1 --- /dev/null +++ b/0002-applet-Chain-up-in-dispose.patch @@ -0,0 +1,26 @@ +From b08e7cbd26704b0a5400fdfab1f3f2e3922b102f Mon Sep 17 00:00:00 2001 +From: Ernestas Kulik +Date: Fri, 15 May 2020 15:50:50 +0200 +Subject: [PATCH] applet: Chain up in dispose() + +Also something missed in 802a40a2f7c971b6533162e70b860e01ae3b5a27. +--- + src/applet/abrt-applet-application.c | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/src/applet/abrt-applet-application.c b/src/applet/abrt-applet-application.c +index 8ea653bb..52ed5529 100644 +--- a/src/applet/abrt-applet-application.c ++++ b/src/applet/abrt-applet-application.c +@@ -985,6 +985,8 @@ abrt_applet_application_dispose (GObject *object) + self = ABRT_APPLET_APPLICATION (object); + + g_clear_pointer (&self->deferred_problems, g_ptr_array_unref); ++ ++ G_OBJECT_CLASS (abrt_applet_application_parent_class)->dispose (object); + } + + static void +-- +2.26.2 + diff --git a/abrt.spec b/abrt.spec index 8e2a7db..52a89fb 100644 --- a/abrt.spec +++ b/abrt.spec @@ -49,11 +49,14 @@ Summary: Automatic bug detection and reporting tool Name: abrt Version: 2.14.2 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2+ URL: https://abrt.readthedocs.org/ Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz +Patch0: 0001-applet-Pass-instance-pointer-to-signal-handler.patch +Patch1: 0002-applet-Chain-up-in-dispose.patch + BuildRequires: git-core BuildRequires: %{dbus_devel} BuildRequires: hostname @@ -1015,6 +1018,9 @@ killall abrt-dbus >/dev/null 2>&1 || : %config(noreplace) %{_sysconfdir}/profile.d/abrt-console-notification.sh %changelog +* Thu May 21 2020 Ernestas Kulik - 2.14.2-2 +- Add fix for https://bugzilla.redhat.com/show_bug.cgi?id=1836190 + * Tue May 12 2020 Michal Fabik - 2.14.2-1 - Fix broken builds with --enable-authenticated-autoreporting From a2bcded0dc78c0f676737459ec0241286f06af8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Sun, 24 May 2020 09:41:56 +0200 Subject: [PATCH 06/79] Rebuilt for Python 3.9 --- abrt.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/abrt.spec b/abrt.spec index 52a89fb..74b9237 100644 --- a/abrt.spec +++ b/abrt.spec @@ -49,7 +49,7 @@ Summary: Automatic bug detection and reporting tool Name: abrt Version: 2.14.2 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv2+ URL: https://abrt.readthedocs.org/ Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz @@ -1018,6 +1018,9 @@ killall abrt-dbus >/dev/null 2>&1 || : %config(noreplace) %{_sysconfdir}/profile.d/abrt-console-notification.sh %changelog +* Sun May 24 2020 Miro Hrončok - 2.14.2-3 +- Rebuilt for Python 3.9 + * Thu May 21 2020 Ernestas Kulik - 2.14.2-2 - Add fix for https://bugzilla.redhat.com/show_bug.cgi?id=1836190 From d8a4ccc6c2a4dd70dab98fb4894f14c95f7e912f Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Mon, 27 Jul 2020 11:40:43 +0000 Subject: [PATCH 07/79] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- abrt.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/abrt.spec b/abrt.spec index 74b9237..a3236fa 100644 --- a/abrt.spec +++ b/abrt.spec @@ -49,7 +49,7 @@ Summary: Automatic bug detection and reporting tool Name: abrt Version: 2.14.2 -Release: 3%{?dist} +Release: 4%{?dist} License: GPLv2+ URL: https://abrt.readthedocs.org/ Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz @@ -1018,6 +1018,9 @@ killall abrt-dbus >/dev/null 2>&1 || : %config(noreplace) %{_sysconfdir}/profile.d/abrt-console-notification.sh %changelog +* Mon Jul 27 2020 Fedora Release Engineering - 2.14.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Sun May 24 2020 Miro Hrončok - 2.14.2-3 - Rebuilt for Python 3.9 From 935456c7d9fb67ed6f63a65dc6661ec4c896ee7d Mon Sep 17 00:00:00 2001 From: Ernestas Kulik Date: Tue, 28 Jul 2020 16:21:15 +0200 Subject: [PATCH 08/79] Add patch for #1860903 --- ...on-Fix-crash-when-processing-deferre.patch | 59 +++++++++++++++++++ abrt.spec | 6 +- 2 files changed, 64 insertions(+), 1 deletion(-) create mode 100644 0003-applet-application-Fix-crash-when-processing-deferre.patch diff --git a/0003-applet-application-Fix-crash-when-processing-deferre.patch b/0003-applet-application-Fix-crash-when-processing-deferre.patch new file mode 100644 index 0000000..1cb1394 --- /dev/null +++ b/0003-applet-application-Fix-crash-when-processing-deferre.patch @@ -0,0 +1,59 @@ +From b28fcc053db224c11f1f88d2885eba88d60a7322 Mon Sep 17 00:00:00 2001 +From: Ernestas Kulik +Date: Tue, 28 Jul 2020 15:39:43 +0200 +Subject: [PATCH] applet: application: Fix crash when processing deferred + +Currently, when processing the deferred problems, if reporting fails, +the problem is re-added to the queue, but the object is not +re-referenced, leading to invalid reads later on. +--- + src/applet/abrt-applet-application.c | 12 ++++++------ + 1 file changed, 6 insertions(+), 6 deletions(-) + +diff --git a/src/applet/abrt-applet-application.c b/src/applet/abrt-applet-application.c +index 28e55135..4716524b 100644 +--- a/src/applet/abrt-applet-application.c ++++ b/src/applet/abrt-applet-application.c +@@ -771,11 +771,9 @@ handle_event_output_cb (GIOChannel *gio, + gpointer data) + { + EventProcessingState *state; +- AbrtAppletProblemInfo *problem_info; + int status; + + state = data; +- problem_info = state->problem_info; + + /* Read streamed data and split lines */ + for (;;) +@@ -836,21 +834,23 @@ handle_event_output_cb (GIOChannel *gio, + + if (WIFEXITED (status) && WEXITSTATUS (status) == EXIT_STOP_EVENT_RUN) + { +- abrt_applet_problem_info_set_known (problem_info, true); ++ abrt_applet_problem_info_set_known (state->problem_info, true); + status = 0; + } + + if (status == 0) + { +- abrt_applet_problem_info_set_reported (problem_info, true); ++ abrt_applet_problem_info_set_reported (state->problem_info, true); + + log_debug ("fast report finished successfully"); +- abrt_applet_application_send_problem_notification (state->application, problem_info); ++ abrt_applet_application_send_problem_notification (state->application, ++ state->problem_info); + } + else + { + log_debug ("fast report failed, deferring"); +- g_ptr_array_add (state->application->deferred_problems, problem_info); ++ g_ptr_array_add (state->application->deferred_problems, ++ g_steal_pointer (&state->problem_info)); + } + + event_processing_state_free (state); +-- +2.26.2 + diff --git a/abrt.spec b/abrt.spec index a3236fa..14c4988 100644 --- a/abrt.spec +++ b/abrt.spec @@ -49,13 +49,14 @@ Summary: Automatic bug detection and reporting tool Name: abrt Version: 2.14.2 -Release: 4%{?dist} +Release: 5%{?dist} License: GPLv2+ URL: https://abrt.readthedocs.org/ Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz Patch0: 0001-applet-Pass-instance-pointer-to-signal-handler.patch Patch1: 0002-applet-Chain-up-in-dispose.patch +Patch2: 0003-applet-application-Fix-crash-when-processing-deferre.patch BuildRequires: git-core BuildRequires: %{dbus_devel} @@ -1018,6 +1019,9 @@ killall abrt-dbus >/dev/null 2>&1 || : %config(noreplace) %{_sysconfdir}/profile.d/abrt-console-notification.sh %changelog +* Tue Jul 28 2020 - Ernestas Kulik - 2.14.2-5 +- Add patch for https://bugzilla.redhat.com/show_bug.cgi?id=1860903 + * Mon Jul 27 2020 Fedora Release Engineering - 2.14.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From 92ab2eb5b35b1276565cbd93044dc661ea87474e Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Thu, 13 Aug 2020 16:42:48 -0700 Subject: [PATCH 09/79] Rebuild for libreport soname bump --- abrt.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/abrt.spec b/abrt.spec index 14c4988..5eb632b 100644 --- a/abrt.spec +++ b/abrt.spec @@ -49,7 +49,7 @@ Summary: Automatic bug detection and reporting tool Name: abrt Version: 2.14.2 -Release: 5%{?dist} +Release: 6%{?dist} License: GPLv2+ URL: https://abrt.readthedocs.org/ Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz @@ -1019,6 +1019,9 @@ killall abrt-dbus >/dev/null 2>&1 || : %config(noreplace) %{_sysconfdir}/profile.d/abrt-console-notification.sh %changelog +* Thu Aug 13 2020 Adam Williamson - 2.14.2-6 +- Rebuild for libreport soname bump + * Tue Jul 28 2020 - Ernestas Kulik - 2.14.2-5 - Add patch for https://bugzilla.redhat.com/show_bug.cgi?id=1860903 From 5e37f501924d9d1589b02a4ac36cff66c590f511 Mon Sep 17 00:00:00 2001 From: Michal Fabik Date: Thu, 13 Aug 2020 12:59:36 +0200 Subject: [PATCH 10/79] New upstream release 2.14.3 Signed-off-by: Michal Fabik --- .gitignore | 1 + abrt.spec | 53 +++++++++++++++++++++++++++-------------------------- sources | 2 +- 3 files changed, 29 insertions(+), 27 deletions(-) diff --git a/.gitignore b/.gitignore index 16cc618..7d8f72d 100644 --- a/.gitignore +++ b/.gitignore @@ -71,3 +71,4 @@ abrt-1.1.13.tar.gz /abrt-2.14.0.tar.gz /abrt-2.14.1.tar.gz /abrt-2.14.2.tar.gz +/abrt-2.14.3.tar.gz diff --git a/abrt.spec b/abrt.spec index 5eb632b..396a9f7 100644 --- a/abrt.spec +++ b/abrt.spec @@ -48,16 +48,12 @@ Summary: Automatic bug detection and reporting tool Name: abrt -Version: 2.14.2 -Release: 6%{?dist} +Version: 2.14.3 +Release: 1%{?dist} License: GPLv2+ URL: https://abrt.readthedocs.org/ Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz -Patch0: 0001-applet-Pass-instance-pointer-to-signal-handler.patch -Patch1: 0002-applet-Chain-up-in-dispose.patch -Patch2: 0003-applet-application-Fix-crash-when-processing-deferre.patch - BuildRequires: git-core BuildRequires: %{dbus_devel} BuildRequires: hostname @@ -106,9 +102,6 @@ Requires: python3-dbus Requires: dmidecode %endif Requires: libreport-plugin-ureport -%if 0%{?rhel} -Requires: libreport-plugin-rhtsupport -%endif %if 0%{?fedora} Requires: libreport-plugin-systemd-journal %endif @@ -360,10 +353,7 @@ Requires: abrt-addon-ccpp Requires: python3-abrt-addon %endif Requires: abrt-addon-xorg -%if 0%{?rhel} -Requires: libreport-rhel >= %{libreport_ver} -Requires: libreport-plugin-rhtsupport >= %{libreport_ver} -%else +%if ! 0%{?rhel} %if %{with retrace} Requires: abrt-retrace-client %endif @@ -403,10 +393,7 @@ Requires: abrt-addon-xorg Requires: gdb-headless Requires: abrt-gui Requires: gnome-abrt -%if 0%{?rhel} -Requires: libreport-rhel >= %{libreport_ver} -Requires: libreport-plugin-rhtsupport >= %{libreport_ver} -%else +%if ! 0%{?rhel} %if %{with retrace} Requires: abrt-retrace-client %endif @@ -506,9 +493,6 @@ CFLAGS="%{optflags} -Werror" %configure \ %if %{without retrace} --without-retrace \ %endif -%if 0%{?rhel} - --enable-authenticated-autoreporting \ -%endif %ifnarch %{arm} --enable-native-unwinder \ %endif @@ -576,10 +560,12 @@ exit 0 %systemd_post abrtd.service %post addon-ccpp -# this is required for transition from 1.1.x to 2.x -# because /cache/abrt-di/* was created under root with root:root -# so 2.x fails when it tries to extract debuginfo there.. -chown -R abrt:abrt %{_localstatedir}/cache/abrt-di +# migration from 2.14.1.18 +if [ ! -e "%{_localstatedir}/cache/abrt-di/.migration-group-add" ]; then + chmod -R g+w %{_localstatedir}/cache/abrt-di + touch "%{_localstatedir}/cache/abrt-di/.migration-group-add" +fi + %systemd_post abrt-journal-core.service %journal_catalog_update @@ -822,8 +808,8 @@ killall abrt-dbus >/dev/null 2>&1 || : %dir %{_localstatedir}/lib/abrt -# attr(6755) ~= SETUID|SETGID -%attr(6755, abrt, abrt) %{_libexecdir}/abrt-action-install-debuginfo-to-abrt-cache +# attr(6755) ~= SETGID +%attr(2755, abrt, abrt) %{_libexecdir}/abrt-action-install-debuginfo-to-abrt-cache %{_bindir}/abrt-action-analyze-c %{_bindir}/abrt-action-trim-files @@ -1019,6 +1005,21 @@ killall abrt-dbus >/dev/null 2>&1 || : %config(noreplace) %{_sysconfdir}/profile.d/abrt-console-notification.sh %changelog +* Thu Aug 13 2020 Michal Fabik - 2.14.3-1 +- plugins: abrt-dump-journal-core: Handle zstd compression +- applet: application: Use GLib for logging +- Replace various utility functions with stock GLib ones +- Various coding style improvements +- Update documentation +- applet: application: Fix crash when processing deferred problems +- dbus: Remove session objects when owner disconnects +- python-problem: Use org.freedesktop.Problems2 API +- abrt-console-notification: Work around noclobber +- daemon: rpm: Use NEVRA instead of ENVRA +- abrtd: Don't delete new problem dirs +- Make sure that former caches are group writable +- Various memory management fixes + * Thu Aug 13 2020 Adam Williamson - 2.14.2-6 - Rebuild for libreport soname bump diff --git a/sources b/sources index ad6df13..51e3cda 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (abrt-2.14.2.tar.gz) = 020bd0550c41b2358a718a4f0f0c3a839d86fd46fc0c4f4cfc4b7d7f851baf2d5179e008ac1912b350f9f0fbfbfee94e422de3aadce5eb0f7f84a04f233349ff +SHA512 (abrt-2.14.3.tar.gz) = 34aeffa9fac4d97adee9511dee525a0208112fdeb2f75180f02795d40ff094c1a60a50dabcb15fc4729c549c407ef97ae23f18ad5ea1df2fd5114c41185a3606 From 3de7b9d0b781037c51fcc375eef6dc84ff7e38bc Mon Sep 17 00:00:00 2001 From: Michal Fabik Date: Mon, 17 Aug 2020 16:51:17 +0200 Subject: [PATCH 11/79] New upstream release 2.14.4 Signed-off-by: Michal Fabik --- .gitignore | 1 + abrt.spec | 17 ++++++++++++----- sources | 2 +- 3 files changed, 14 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 7d8f72d..39856b1 100644 --- a/.gitignore +++ b/.gitignore @@ -72,3 +72,4 @@ abrt-1.1.13.tar.gz /abrt-2.14.1.tar.gz /abrt-2.14.2.tar.gz /abrt-2.14.3.tar.gz +/abrt-2.14.4.tar.gz diff --git a/abrt.spec b/abrt.spec index 396a9f7..b2d9ebe 100644 --- a/abrt.spec +++ b/abrt.spec @@ -43,12 +43,12 @@ %define docdirversion -%{version} %endif -%define libreport_ver 2.13.0 +%define libreport_ver 2.14.0 %define satyr_ver 0.24 Summary: Automatic bug detection and reporting tool Name: abrt -Version: 2.14.3 +Version: 2.14.4 Release: 1%{?dist} License: GPLv2+ URL: https://abrt.readthedocs.org/ @@ -79,6 +79,7 @@ BuildRequires: libselinux-devel BuildRequires: python3-devel BuildRequires: python3-systemd BuildRequires: python3-argcomplete +BuildRequires: python3-dbus %endif Requires: libreport >= %{libreport_ver} @@ -267,7 +268,7 @@ Summary: %{name}'s pstore oops addon Requires: %{name} = %{version}-%{release} Requires: abrt-libs = %{version}-%{release} Requires: abrt-addon-kerneloops -Obsoletes: abrt-addon-uefioops +Obsoletes: abrt-addon-uefioops <= 2.1.6 %description addon-pstoreoops This package contains plugin for collecting kernel oopses from pstore storage. @@ -276,7 +277,7 @@ This package contains plugin for collecting kernel oopses from pstore storage. %package plugin-bodhi Summary: %{name}'s bodhi plugin Requires: %{name} = %{version}-%{release} -Obsoletes: libreport-plugin-bodhi > 0.0.1 +Obsoletes: libreport-plugin-bodhi <= 2.0.10 Provides: libreport-plugin-bodhi = %{version}-%{release} %description plugin-bodhi @@ -545,6 +546,7 @@ make check|| { # find and print the logs of failed test # do not cat tests/testsuite.log because it contains a lot of bloat find tests/testsuite.dir -name "testsuite.log" -print -exec cat '{}' \; + cat src/cli/test-suite.log exit 1 } @@ -808,7 +810,7 @@ killall abrt-dbus >/dev/null 2>&1 || : %dir %{_localstatedir}/lib/abrt -# attr(6755) ~= SETGID +# attr(2755) ~= SETGID %attr(2755, abrt, abrt) %{_libexecdir}/abrt-action-install-debuginfo-to-abrt-cache %{_bindir}/abrt-action-analyze-c @@ -1005,6 +1007,11 @@ killall abrt-dbus >/dev/null 2>&1 || : %config(noreplace) %{_sysconfdir}/profile.d/abrt-console-notification.sh %changelog +* Mon Aug 17 2020 Michal Fabik - 2.14.4-1 +- Fix broken release 2.14.3 +- oops-utils: Respect the 'world-readable' flag +- Decommission libreport_list_free_with_free + * Thu Aug 13 2020 Michal Fabik - 2.14.3-1 - plugins: abrt-dump-journal-core: Handle zstd compression - applet: application: Use GLib for logging diff --git a/sources b/sources index 51e3cda..c3a1c22 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (abrt-2.14.3.tar.gz) = 34aeffa9fac4d97adee9511dee525a0208112fdeb2f75180f02795d40ff094c1a60a50dabcb15fc4729c549c407ef97ae23f18ad5ea1df2fd5114c41185a3606 +SHA512 (abrt-2.14.4.tar.gz) = b45808453187743c165914f7e72fcbca57684cb93a043fecd36414094ae8423fa661e6e07176773a15aaf468013386be300283e0d1b9d102d2e381ee9154e111 From 00422605f435f8d7f6d4084e94ddc462a50df656 Mon Sep 17 00:00:00 2001 From: Michal Fabik Date: Mon, 24 Aug 2020 09:38:50 +0200 Subject: [PATCH 12/79] spec: Add Provides to Obsoletes Signed-off-by: Michal Fabik --- abrt.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/abrt.spec b/abrt.spec index b2d9ebe..1e930f1 100644 --- a/abrt.spec +++ b/abrt.spec @@ -269,6 +269,7 @@ Requires: %{name} = %{version}-%{release} Requires: abrt-libs = %{version}-%{release} Requires: abrt-addon-kerneloops Obsoletes: abrt-addon-uefioops <= 2.1.6 +Provides: abrt-addon-uefioops = %{version}-%{release} %description addon-pstoreoops This package contains plugin for collecting kernel oopses from pstore storage. From 1ab9d3859ffa8bbfd002a95e79f9808f864b23a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=9Bj=20Grabovsk=C3=BD?= Date: Thu, 24 Sep 2020 10:07:28 +0200 Subject: [PATCH 13/79] Add patch for #1881745 --- ...s-instance-pointer-to-signal-handler.patch | 28 --------- 0001-hooklib-Don-t-g_autofree-backtrace.patch | 40 +++++++++++++ 0002-applet-Chain-up-in-dispose.patch | 26 -------- ...on-Fix-crash-when-processing-deferre.patch | 59 ------------------- abrt.spec | 7 ++- 5 files changed, 46 insertions(+), 114 deletions(-) delete mode 100644 0001-applet-Pass-instance-pointer-to-signal-handler.patch create mode 100644 0001-hooklib-Don-t-g_autofree-backtrace.patch delete mode 100644 0002-applet-Chain-up-in-dispose.patch delete mode 100644 0003-applet-application-Fix-crash-when-processing-deferre.patch diff --git a/0001-applet-Pass-instance-pointer-to-signal-handler.patch b/0001-applet-Pass-instance-pointer-to-signal-handler.patch deleted file mode 100644 index 9010657..0000000 --- a/0001-applet-Pass-instance-pointer-to-signal-handler.patch +++ /dev/null @@ -1,28 +0,0 @@ -From 5618985d3d7f830ebba0ef78e2ee6d3d6f9f6c55 Mon Sep 17 00:00:00 2001 -From: Ernestas Kulik -Date: Fri, 15 May 2020 15:49:59 +0200 -Subject: [PATCH] applet: Pass instance pointer to signal handler - -Some fallout from 802a40a2f7c971b6533162e70b860e01ae3b5a27. - -https://bugzilla.redhat.com/show_bug.cgi?id=1836190 ---- - src/applet/abrt-applet-application.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/applet/abrt-applet-application.c b/src/applet/abrt-applet-application.c -index d982c9f9..8ea653bb 100644 ---- a/src/applet/abrt-applet-application.c -+++ b/src/applet/abrt-applet-application.c -@@ -177,7 +177,7 @@ abrt_applet_application_init (AbrtAppletApplication *self) - g_signal_connect (network_monitor, "notify::connectivity", - G_CALLBACK (on_connectivity_changed), self); - g_signal_connect (network_monitor, "notify::network-available", -- G_CALLBACK (on_connectivity_changed), NULL); -+ G_CALLBACK (on_connectivity_changed), self); - - self->deferred_problems = g_ptr_array_new_with_free_func (g_object_unref); - } --- -2.26.2 - diff --git a/0001-hooklib-Don-t-g_autofree-backtrace.patch b/0001-hooklib-Don-t-g_autofree-backtrace.patch new file mode 100644 index 0000000..1225177 --- /dev/null +++ b/0001-hooklib-Don-t-g_autofree-backtrace.patch @@ -0,0 +1,40 @@ +From 1f2963b0611d4023957abe3c7391eab86256ba82 Mon Sep 17 00:00:00 2001 +From: Michal Fabik +Date: Wed, 23 Sep 2020 16:55:25 +0200 +Subject: [PATCH] hooklib: Don't g_autofree backtrace + +The result of abrt_get_backtrace was being freed every time, even when +no error occured. + +Resolves: +https://github.com/abrt/abrt/issues/1528 +https://bugzilla.redhat.com/show_bug.cgi?id=1881745 +Signed-off-by: Michal Fabik +--- + src/lib/hooklib.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/src/lib/hooklib.c b/src/lib/hooklib.c +index dceaeb16..56b77bc3 100644 +--- a/src/lib/hooklib.c ++++ b/src/lib/hooklib.c +@@ -348,7 +348,7 @@ char *abrt_get_backtrace(struct dump_dir *dd, unsigned timeout_sec, const char * + unsigned bt_depth = 1024; + const char *thread_apply_all = "thread apply all -ascending"; + const char *full = "full "; +- g_autofree char *bt = NULL; ++ char *bt = NULL; + while (1) + { + args[bt_cmd_index] = g_strdup_printf("%s backtrace %s%u", thread_apply_all, full, bt_depth); +@@ -367,6 +367,7 @@ char *abrt_get_backtrace(struct dump_dir *dd, unsigned timeout_sec, const char * + /* (NB: in fact, current impl. of exec_vp() never returns NULL) */ + log_warning("Failed to generate backtrace, reducing depth to %u", + bt_depth); ++ free(bt); + + /* Replace -ex disassemble (which disasms entire function $pc points to) + * to a version which analyzes limited, small patch of code around $pc. +-- +2.26.2 + diff --git a/0002-applet-Chain-up-in-dispose.patch b/0002-applet-Chain-up-in-dispose.patch deleted file mode 100644 index 7d749e1..0000000 --- a/0002-applet-Chain-up-in-dispose.patch +++ /dev/null @@ -1,26 +0,0 @@ -From b08e7cbd26704b0a5400fdfab1f3f2e3922b102f Mon Sep 17 00:00:00 2001 -From: Ernestas Kulik -Date: Fri, 15 May 2020 15:50:50 +0200 -Subject: [PATCH] applet: Chain up in dispose() - -Also something missed in 802a40a2f7c971b6533162e70b860e01ae3b5a27. ---- - src/applet/abrt-applet-application.c | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/src/applet/abrt-applet-application.c b/src/applet/abrt-applet-application.c -index 8ea653bb..52ed5529 100644 ---- a/src/applet/abrt-applet-application.c -+++ b/src/applet/abrt-applet-application.c -@@ -985,6 +985,8 @@ abrt_applet_application_dispose (GObject *object) - self = ABRT_APPLET_APPLICATION (object); - - g_clear_pointer (&self->deferred_problems, g_ptr_array_unref); -+ -+ G_OBJECT_CLASS (abrt_applet_application_parent_class)->dispose (object); - } - - static void --- -2.26.2 - diff --git a/0003-applet-application-Fix-crash-when-processing-deferre.patch b/0003-applet-application-Fix-crash-when-processing-deferre.patch deleted file mode 100644 index 1cb1394..0000000 --- a/0003-applet-application-Fix-crash-when-processing-deferre.patch +++ /dev/null @@ -1,59 +0,0 @@ -From b28fcc053db224c11f1f88d2885eba88d60a7322 Mon Sep 17 00:00:00 2001 -From: Ernestas Kulik -Date: Tue, 28 Jul 2020 15:39:43 +0200 -Subject: [PATCH] applet: application: Fix crash when processing deferred - -Currently, when processing the deferred problems, if reporting fails, -the problem is re-added to the queue, but the object is not -re-referenced, leading to invalid reads later on. ---- - src/applet/abrt-applet-application.c | 12 ++++++------ - 1 file changed, 6 insertions(+), 6 deletions(-) - -diff --git a/src/applet/abrt-applet-application.c b/src/applet/abrt-applet-application.c -index 28e55135..4716524b 100644 ---- a/src/applet/abrt-applet-application.c -+++ b/src/applet/abrt-applet-application.c -@@ -771,11 +771,9 @@ handle_event_output_cb (GIOChannel *gio, - gpointer data) - { - EventProcessingState *state; -- AbrtAppletProblemInfo *problem_info; - int status; - - state = data; -- problem_info = state->problem_info; - - /* Read streamed data and split lines */ - for (;;) -@@ -836,21 +834,23 @@ handle_event_output_cb (GIOChannel *gio, - - if (WIFEXITED (status) && WEXITSTATUS (status) == EXIT_STOP_EVENT_RUN) - { -- abrt_applet_problem_info_set_known (problem_info, true); -+ abrt_applet_problem_info_set_known (state->problem_info, true); - status = 0; - } - - if (status == 0) - { -- abrt_applet_problem_info_set_reported (problem_info, true); -+ abrt_applet_problem_info_set_reported (state->problem_info, true); - - log_debug ("fast report finished successfully"); -- abrt_applet_application_send_problem_notification (state->application, problem_info); -+ abrt_applet_application_send_problem_notification (state->application, -+ state->problem_info); - } - else - { - log_debug ("fast report failed, deferring"); -- g_ptr_array_add (state->application->deferred_problems, problem_info); -+ g_ptr_array_add (state->application->deferred_problems, -+ g_steal_pointer (&state->problem_info)); - } - - event_processing_state_free (state); --- -2.26.2 - diff --git a/abrt.spec b/abrt.spec index 1e930f1..362d5ef 100644 --- a/abrt.spec +++ b/abrt.spec @@ -49,11 +49,13 @@ Summary: Automatic bug detection and reporting tool Name: abrt Version: 2.14.4 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2+ URL: https://abrt.readthedocs.org/ Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz +Patch0: 0001-hooklib-Don-t-g_autofree-backtrace.patch + BuildRequires: git-core BuildRequires: %{dbus_devel} BuildRequires: hostname @@ -1008,6 +1010,9 @@ killall abrt-dbus >/dev/null 2>&1 || : %config(noreplace) %{_sysconfdir}/profile.d/abrt-console-notification.sh %changelog +* Thu Sep 24 2020 Matěj Grabovský - 2.14.4-2 +- Add fix for https://bugzilla.redhat.com/show_bug.cgi?id=1881745 + * Mon Aug 17 2020 Michal Fabik - 2.14.4-1 - Fix broken release 2.14.3 - oops-utils: Respect the 'world-readable' flag From 511e6ce6d4dbeef23afc3b7f3b5f744b70398353 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=9Bj=20Grabovsk=C3=BD?= Date: Tue, 13 Oct 2020 11:11:22 +0200 Subject: [PATCH 14/79] Add upstream patch for an invalid read bug --- ...-hooklib-Proper-freeing-of-backtrace.patch | 40 +++++++++++++++++++ abrt.spec | 6 ++- 2 files changed, 45 insertions(+), 1 deletion(-) create mode 100644 0002-hooklib-Proper-freeing-of-backtrace.patch diff --git a/0002-hooklib-Proper-freeing-of-backtrace.patch b/0002-hooklib-Proper-freeing-of-backtrace.patch new file mode 100644 index 0000000..a9ded17 --- /dev/null +++ b/0002-hooklib-Proper-freeing-of-backtrace.patch @@ -0,0 +1,40 @@ +From 5fa7b1f84fb02ca5dcf50d27f4bc14563c1918f6 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Mat=C4=9Bj=20Grabovsk=C3=BD?= +Date: Mon, 12 Oct 2020 19:14:03 +0200 +Subject: [PATCH] hooklib: Proper freeing of backtrace + +Improper bracing caused the bt variable to be freed every time in every +iteration no matter what. This would then lead to an invalid (freed) +pointer being returned by the function. + +The mistake was made in 1f2963b0 and reported by Jeff Law. +--- + src/lib/hooklib.c | 6 +++++- + 1 file changed, 5 insertions(+), 1 deletion(-) + +diff --git a/src/lib/hooklib.c b/src/lib/hooklib.c +index 56b77bc3..fc2a6a00 100644 +--- a/src/lib/hooklib.c ++++ b/src/lib/hooklib.c +@@ -361,13 +361,17 @@ char *abrt_get_backtrace(struct dump_dir *dd, unsigned timeout_sec, const char * + + bt_depth /= 2; + if (bt) ++ { + log_warning("Backtrace is too big (%u bytes), reducing depth to %u", + (unsigned)strlen(bt), bt_depth); ++ } + else ++ { + /* (NB: in fact, current impl. of exec_vp() never returns NULL) */ + log_warning("Failed to generate backtrace, reducing depth to %u", + bt_depth); +- free(bt); ++ g_clear_pointer(&bt, free); ++ } + + /* Replace -ex disassemble (which disasms entire function $pc points to) + * to a version which analyzes limited, small patch of code around $pc. +-- +2.26.2 + diff --git a/abrt.spec b/abrt.spec index 362d5ef..b82ff38 100644 --- a/abrt.spec +++ b/abrt.spec @@ -49,12 +49,13 @@ Summary: Automatic bug detection and reporting tool Name: abrt Version: 2.14.4 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv2+ URL: https://abrt.readthedocs.org/ Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz Patch0: 0001-hooklib-Don-t-g_autofree-backtrace.patch +Patch1: 0002-hooklib-Proper-freeing-of-backtrace.patch BuildRequires: git-core BuildRequires: %{dbus_devel} @@ -1010,6 +1011,9 @@ killall abrt-dbus >/dev/null 2>&1 || : %config(noreplace) %{_sysconfdir}/profile.d/abrt-console-notification.sh %changelog +* Tue Oct 13 2020 Matěj Grabovský - 2.14.4-3 +- Add upstream patch for an invalid read bug + * Thu Sep 24 2020 Matěj Grabovský - 2.14.4-2 - Add fix for https://bugzilla.redhat.com/show_bug.cgi?id=1881745 From 82eb0a22c32e5fbd1163b90b324220ea7afb2706 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Fri, 13 Nov 2020 11:17:17 +0100 Subject: [PATCH 15/79] Use autoreconf in %build instead of plain autoconf This way, when stuff is fixed in automake, the source tarball does not need to be re-generated in upstream to use the fix. Resolves https://bugzilla.redhat.com/show_bug.cgi?id=1897489 --- abrt.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/abrt.spec b/abrt.spec index b82ff38..22462d8 100644 --- a/abrt.spec +++ b/abrt.spec @@ -481,7 +481,7 @@ to the shell %build -autoconf +autoreconf %define default_dump_dir %{_localstatedir}/spool/abrt From 003b0187a1b6e0e4785a2bf591683bd190faeea8 Mon Sep 17 00:00:00 2001 From: Michal Fabik Date: Tue, 1 Dec 2020 15:05:20 +0100 Subject: [PATCH 16/79] New upstream release 2.14.5 Signed-off-by: Michal Fabik --- .gitignore | 1 + abrt.spec | 30 ++++++++++++------------------ sources | 2 +- 3 files changed, 14 insertions(+), 19 deletions(-) diff --git a/.gitignore b/.gitignore index 39856b1..122dd2f 100644 --- a/.gitignore +++ b/.gitignore @@ -73,3 +73,4 @@ abrt-1.1.13.tar.gz /abrt-2.14.2.tar.gz /abrt-2.14.3.tar.gz /abrt-2.14.4.tar.gz +/abrt-2.14.5.tar.gz diff --git a/abrt.spec b/abrt.spec index 22462d8..5ab21c4 100644 --- a/abrt.spec +++ b/abrt.spec @@ -48,14 +48,11 @@ Summary: Automatic bug detection and reporting tool Name: abrt -Version: 2.14.4 -Release: 3%{?dist} +Version: 2.14.5 +Release: 1%{?dist} License: GPLv2+ URL: https://abrt.readthedocs.org/ -Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz - -Patch0: 0001-hooklib-Don-t-g_autofree-backtrace.patch -Patch1: 0002-hooklib-Proper-freeing-of-backtrace.patch +Source: https://github.com/abrt/%{name}/releases/download/%{version}/%{name}-%{version}.tar.gz BuildRequires: git-core BuildRequires: %{dbus_devel} @@ -66,6 +63,7 @@ BuildRequires: rpm-devel >= 4.6 BuildRequires: desktop-file-utils BuildRequires: libnotify-devel #why? BuildRequires: file-devel +BuildRequires: make BuildRequires: gettext BuildRequires: libxml2-devel BuildRequires: intltool @@ -310,15 +308,6 @@ This package contains python 3 hook and handling uncaught exception in python 3 programs in container. %endif -%package plugin-sosreport -Summary: %{name}'s plugin for building automatic sosreports -Requires: sos >= 3.6 -Requires: %{name} = %{version}-%{release} - -%description plugin-sosreport -This package contains a configuration snippet to enable automatic generation -of sosreports for abrt events. - %package plugin-machine-id Summary: %{name}'s plugin to generate machine_id based off dmidecode Requires: %{name} = %{version}-%{release} @@ -549,6 +538,7 @@ rm -f %{buildroot}%{_infodir}/dir make check|| { # find and print the logs of failed test # do not cat tests/testsuite.log because it contains a lot of bloat + find src -name "test-suite.log" -print -exec cat '{}' \; find tests/testsuite.dir -name "testsuite.log" -print -exec cat '{}' \; cat src/cli/test-suite.log exit 1 @@ -943,9 +933,6 @@ killall abrt-dbus >/dev/null 2>&1 || : %{python3_sitelib}/__pycache__/abrt_exception_handler3_container.* %endif -%files plugin-sosreport -%config(noreplace) %{_sysconfdir}/libreport/events.d/sosreport_event.conf - %files plugin-machine-id %config(noreplace) %{_sysconfdir}/libreport/events.d/machine-id_event.conf %{_libexecdir}/abrt-action-generate-machine-id @@ -1011,6 +998,13 @@ killall abrt-dbus >/dev/null 2>&1 || : %config(noreplace) %{_sysconfdir}/profile.d/abrt-console-notification.sh %changelog +* Tue Dec 01 2020 Michal Fabik 2.14.5-1 +- Fix invalid free (rhbz#1895660) +- Fix crash during local processing (rhbz#1881745) +- Fix reported numbers of missing debuginfo packages in abrt-action-install-debuginfo +- Correct the format of NEVRA generated for packages where a problem occurred (rhbz#1900982) +- Drop --raw flag in abrt-action-generate-core-backtrace + * Tue Oct 13 2020 Matěj Grabovský - 2.14.4-3 - Add upstream patch for an invalid read bug diff --git a/sources b/sources index c3a1c22..cf3278c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (abrt-2.14.4.tar.gz) = b45808453187743c165914f7e72fcbca57684cb93a043fecd36414094ae8423fa661e6e07176773a15aaf468013386be300283e0d1b9d102d2e381ee9154e111 +SHA512 (abrt-2.14.5.tar.gz) = ceb55d1e31966fe795bea19f96b1f0af2d4e97c3a7da29858f222a6a9442ebe00e589001b2e4cafd2e5b3a2d6db362b895bd6df63365cabe82fc0111428b05b6 From dacf4e649a88ed804dc0f6f19bf293876be95714 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Mon, 25 Jan 2021 23:44:28 +0000 Subject: [PATCH 17/79] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- abrt.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/abrt.spec b/abrt.spec index 5ab21c4..42dc290 100644 --- a/abrt.spec +++ b/abrt.spec @@ -49,7 +49,7 @@ Summary: Automatic bug detection and reporting tool Name: abrt Version: 2.14.5 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2+ URL: https://abrt.readthedocs.org/ Source: https://github.com/abrt/%{name}/releases/download/%{version}/%{name}-%{version}.tar.gz @@ -998,6 +998,9 @@ killall abrt-dbus >/dev/null 2>&1 || : %config(noreplace) %{_sysconfdir}/profile.d/abrt-console-notification.sh %changelog +* Mon Jan 25 2021 Fedora Release Engineering - 2.14.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Tue Dec 01 2020 Michal Fabik 2.14.5-1 - Fix invalid free (rhbz#1895660) - Fix crash during local processing (rhbz#1881745) From 7e139599174419dbdfff3d24915b38aec58a4a04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C5=BDidek?= Date: Wed, 17 Feb 2021 13:49:44 +0100 Subject: [PATCH 18/79] gating: Add gating.yaml --- gating.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 gating.yaml diff --git a/gating.yaml b/gating.yaml new file mode 100644 index 0000000..b54b7ba --- /dev/null +++ b/gating.yaml @@ -0,0 +1,19 @@ +--- !Policy +product_versions: + - fedora-* +decision_context: bodhi_update_push_testing +subject_type: koji_build +rules: + - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.rpmdeplint.functional} + - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.rpminspect.static-analysis} + - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.installability.functional} + +--- !Policy +product_versions: + - fedora-* +decision_context: bodhi_update_push_stable +subject_type: koji_build +rules: + - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.rpmdeplint.functional} + - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.rpminspect.static-analysis} + - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.installability.functional} From 074ab8b76c6970191d59f45a184a3df1dd288978 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Tue, 2 Mar 2021 16:14:14 +0100 Subject: [PATCH 19/79] Rebuilt for updated systemd-rpm-macros See https://pagure.io/fesco/issue/2583. --- abrt.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/abrt.spec b/abrt.spec index 42dc290..ccdc024 100644 --- a/abrt.spec +++ b/abrt.spec @@ -49,7 +49,7 @@ Summary: Automatic bug detection and reporting tool Name: abrt Version: 2.14.5 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv2+ URL: https://abrt.readthedocs.org/ Source: https://github.com/abrt/%{name}/releases/download/%{version}/%{name}-%{version}.tar.gz @@ -998,6 +998,10 @@ killall abrt-dbus >/dev/null 2>&1 || : %config(noreplace) %{_sysconfdir}/profile.d/abrt-console-notification.sh %changelog +* Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek - 2.14.5-3 +- Rebuilt for updated systemd-rpm-macros + See https://pagure.io/fesco/issue/2583. + * Mon Jan 25 2021 Fedora Release Engineering - 2.14.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild From a1c9e8ff22b79f5f779556bef0861fbf347e5afc Mon Sep 17 00:00:00 2001 From: Michal Fabik Date: Thu, 4 Mar 2021 17:31:09 +0100 Subject: [PATCH 20/79] Add simple smoke test --- .fmf/version | 1 + gating.yaml | 2 ++ tests/smoke.fmf | 3 +++ 3 files changed, 6 insertions(+) create mode 100644 .fmf/version create mode 100644 tests/smoke.fmf diff --git a/.fmf/version b/.fmf/version new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/.fmf/version @@ -0,0 +1 @@ +1 diff --git a/gating.yaml b/gating.yaml index b54b7ba..db67165 100644 --- a/gating.yaml +++ b/gating.yaml @@ -7,6 +7,7 @@ rules: - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.rpmdeplint.functional} - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.rpminspect.static-analysis} - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.installability.functional} + - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional} --- !Policy product_versions: @@ -17,3 +18,4 @@ rules: - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.rpmdeplint.functional} - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.rpminspect.static-analysis} - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.installability.functional} + - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional} diff --git a/tests/smoke.fmf b/tests/smoke.fmf new file mode 100644 index 0000000..ca74391 --- /dev/null +++ b/tests/smoke.fmf @@ -0,0 +1,3 @@ +summary: Basic smoke test for abrt +execute: + script: abrt-action-notify --help From 126031c3215ba44a95960acba94192edad7154ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9rgio=20M=2E=20Basto?= Date: Fri, 30 Apr 2021 22:37:59 +0100 Subject: [PATCH 21/79] Obsoletes abrt-plugin-sosreport, to fix upgrade path --- abrt.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/abrt.spec b/abrt.spec index ccdc024..a5abea8 100644 --- a/abrt.spec +++ b/abrt.spec @@ -49,7 +49,7 @@ Summary: Automatic bug detection and reporting tool Name: abrt Version: 2.14.5 -Release: 3%{?dist} +Release: 4%{?dist} License: GPLv2+ URL: https://abrt.readthedocs.org/ Source: https://github.com/abrt/%{name}/releases/download/%{version}/%{name}-%{version}.tar.gz @@ -107,6 +107,8 @@ Requires: libreport-plugin-ureport %if 0%{?fedora} Requires: libreport-plugin-systemd-journal %endif +# to fix upgrade path abrt-plugin-sosreport was removed in 2.14.5 version. +Obsoletes: abrt-plugin-sosreport < 2.14.5 #gui BuildRequires: libreport-gtk-devel >= %{libreport_ver} @@ -998,6 +1000,9 @@ killall abrt-dbus >/dev/null 2>&1 || : %config(noreplace) %{_sysconfdir}/profile.d/abrt-console-notification.sh %changelog +* Fri Apr 30 2021 Sérgio Basto - 2.14.5-4 +- Obsoletes abrt-plugin-sosreport, to fix upgrade path + * Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek - 2.14.5-3 - Rebuilt for updated systemd-rpm-macros See https://pagure.io/fesco/issue/2583. From 26627dbec37bffbf4598af835faa2fdbe6ecf755 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9rgio=20M=2E=20Basto?= Date: Sat, 1 May 2021 20:29:26 +0100 Subject: [PATCH 22/79] Add dependency on python3-systemd MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit commit 566e2eaacb21e07a8301c3e16408924c46045ad9 Author: Matěj Grabovský Date: Wed Jan 13 12:16:57 2021 +0100 spec: Add dependency on python3-systemd abrt-action-check-oops-for-hw-error from the abrt-addon-vmcore package imports systemd.journal but the python3-systemd package is not declared as a dependency, which causes the script to crash if python3-systemd is not installed on the system. This commit fixes this by adding the formal dependency in the spec file. Resolves https://bugzilla.redhat.com/show_bug.cgi?id=1914170 --- abrt.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/abrt.spec b/abrt.spec index a5abea8..f6e27e9 100644 --- a/abrt.spec +++ b/abrt.spec @@ -259,6 +259,7 @@ Requires: kexec-tools %if %{with python3} Requires: python3-abrt Requires: python3-augeas +Requires: python3-systemd %endif Requires: util-linux From 094983af73f51de6a0d6d3223a826688608c38ec Mon Sep 17 00:00:00 2001 From: Michal Fabik Date: Tue, 25 May 2021 12:52:10 +0200 Subject: [PATCH 23/79] New upstream release 2.14.6 Signed-off-by: Michal Fabik --- .gitignore | 1 + abrt.spec | 18 ++++++++++++++---- sources | 2 +- 3 files changed, 16 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 122dd2f..75abc74 100644 --- a/.gitignore +++ b/.gitignore @@ -74,3 +74,4 @@ abrt-1.1.13.tar.gz /abrt-2.14.3.tar.gz /abrt-2.14.4.tar.gz /abrt-2.14.5.tar.gz +/abrt-2.14.6.tar.gz diff --git a/abrt.spec b/abrt.spec index f6e27e9..765bbfa 100644 --- a/abrt.spec +++ b/abrt.spec @@ -48,11 +48,11 @@ Summary: Automatic bug detection and reporting tool Name: abrt -Version: 2.14.5 -Release: 4%{?dist} +Version: 2.14.6 +Release: 1%{?dist} License: GPLv2+ URL: https://abrt.readthedocs.org/ -Source: https://github.com/abrt/%{name}/releases/download/%{version}/%{name}-%{version}.tar.gz +Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz BuildRequires: git-core BuildRequires: %{dbus_devel} @@ -473,7 +473,7 @@ to the shell %build -autoreconf +./autogen.sh %define default_dump_dir %{_localstatedir}/spool/abrt @@ -1001,6 +1001,16 @@ killall abrt-dbus >/dev/null 2>&1 || : %config(noreplace) %{_sysconfdir}/profile.d/abrt-console-notification.sh %changelog +* Tue May 25 2021 Michal Fabik - 2.14.6-1 +- Add support of master + subkeys gpg. +- hooks: Remove stale workaround for a fixed bug +- cli: Gracefully handle disappearance of problem directory +- libs: Add version info script +- retrace-client: Output task ID to console in batch mode +- retrace-client: Separate commands by commas +- Doc: Improve man page for abrt-action-analyze-vulnerability +- Various memory management and other fixes + * Fri Apr 30 2021 Sérgio Basto - 2.14.5-4 - Obsoletes abrt-plugin-sosreport, to fix upgrade path diff --git a/sources b/sources index cf3278c..601ce96 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (abrt-2.14.5.tar.gz) = ceb55d1e31966fe795bea19f96b1f0af2d4e97c3a7da29858f222a6a9442ebe00e589001b2e4cafd2e5b3a2d6db362b895bd6df63365cabe82fc0111428b05b6 +SHA512 (abrt-2.14.6.tar.gz) = eb1ba2f624d51eeccd203bb23060493347f5a9142fad7d0570d46134071d870a9c66b4fbfb8210e7d6f87c0c039f31eb486d18a36b10fba318e2180aa09df9fe From a4e0effc616b94a0710c7f7117b7ce00c573e83c Mon Sep 17 00:00:00 2001 From: Michal Fabik Date: Wed, 2 Jun 2021 20:59:37 +0200 Subject: [PATCH 24/79] Rebuild against libreport-2.15.2 Signed-off-by: Michal Fabik --- abrt.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/abrt.spec b/abrt.spec index 765bbfa..35afcdc 100644 --- a/abrt.spec +++ b/abrt.spec @@ -49,7 +49,7 @@ Summary: Automatic bug detection and reporting tool Name: abrt Version: 2.14.6 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2+ URL: https://abrt.readthedocs.org/ Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz From f99a7f835a99136af01e8f809fe39234a67847b7 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 4 Jun 2021 11:19:26 +0200 Subject: [PATCH 25/79] Rebuilt for Python 3.10 --- abrt.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/abrt.spec b/abrt.spec index 35afcdc..2e4d528 100644 --- a/abrt.spec +++ b/abrt.spec @@ -49,7 +49,7 @@ Summary: Automatic bug detection and reporting tool Name: abrt Version: 2.14.6 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv2+ URL: https://abrt.readthedocs.org/ Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz @@ -1001,6 +1001,9 @@ killall abrt-dbus >/dev/null 2>&1 || : %config(noreplace) %{_sysconfdir}/profile.d/abrt-console-notification.sh %changelog +* Fri Jun 04 2021 Python Maint - 2.14.6-3 +- Rebuilt for Python 3.10 + * Tue May 25 2021 Michal Fabik - 2.14.6-1 - Add support of master + subkeys gpg. - hooks: Remove stale workaround for a fixed bug From 61c2c079e010c9515f94665ede64418b1de0ebbb Mon Sep 17 00:00:00 2001 From: Michal Fabik Date: Fri, 4 Jun 2021 15:02:12 +0200 Subject: [PATCH 26/79] Bump release to rebuild in new side tag Signed-off-by: Michal Fabik --- abrt.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/abrt.spec b/abrt.spec index 2e4d528..ec5947d 100644 --- a/abrt.spec +++ b/abrt.spec @@ -49,7 +49,7 @@ Summary: Automatic bug detection and reporting tool Name: abrt Version: 2.14.6 -Release: 3%{?dist} +Release: 4%{?dist} License: GPLv2+ URL: https://abrt.readthedocs.org/ Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz From 4f5933399291cec7f1a00cf535ab9025c6f51831 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Mon, 7 Jun 2021 17:17:41 +0200 Subject: [PATCH 27/79] Rebuilt for Python 3.10 --- abrt.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/abrt.spec b/abrt.spec index ec5947d..a07d4dc 100644 --- a/abrt.spec +++ b/abrt.spec @@ -49,7 +49,7 @@ Summary: Automatic bug detection and reporting tool Name: abrt Version: 2.14.6 -Release: 4%{?dist} +Release: 5%{?dist} License: GPLv2+ URL: https://abrt.readthedocs.org/ Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz @@ -1001,6 +1001,9 @@ killall abrt-dbus >/dev/null 2>&1 || : %config(noreplace) %{_sysconfdir}/profile.d/abrt-console-notification.sh %changelog +* Mon Jun 07 2021 Python Maint - 2.14.6-5 +- Rebuilt for Python 3.10 + * Fri Jun 04 2021 Python Maint - 2.14.6-3 - Rebuilt for Python 3.10 From 1d49502fa75c6e503d2b2906ad610ea6bea72034 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Esser?= Date: Sat, 10 Jul 2021 11:51:13 +0200 Subject: [PATCH 28/79] Rebuild for versioned symbols in json-c --- abrt.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/abrt.spec b/abrt.spec index a07d4dc..9639e44 100644 --- a/abrt.spec +++ b/abrt.spec @@ -49,7 +49,7 @@ Summary: Automatic bug detection and reporting tool Name: abrt Version: 2.14.6 -Release: 5%{?dist} +Release: 6%{?dist} License: GPLv2+ URL: https://abrt.readthedocs.org/ Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz @@ -1001,6 +1001,9 @@ killall abrt-dbus >/dev/null 2>&1 || : %config(noreplace) %{_sysconfdir}/profile.d/abrt-console-notification.sh %changelog +* Sat Jul 10 2021 Björn Esser - 2.14.6-6 +- Rebuild for versioned symbols in json-c + * Mon Jun 07 2021 Python Maint - 2.14.6-5 - Rebuilt for Python 3.10 From e3d620d8fc5e5e28dc86d0fc9b95c772bcd55351 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 21 Jul 2021 12:16:28 +0000 Subject: [PATCH 29/79] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering From d99ab08e76bc3f2b9bfa38277ef21c66bf4d1920 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 21 Jul 2021 17:11:34 +0000 Subject: [PATCH 30/79] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- abrt.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/abrt.spec b/abrt.spec index 9639e44..fb88956 100644 --- a/abrt.spec +++ b/abrt.spec @@ -49,7 +49,7 @@ Summary: Automatic bug detection and reporting tool Name: abrt Version: 2.14.6 -Release: 6%{?dist} +Release: 7%{?dist} License: GPLv2+ URL: https://abrt.readthedocs.org/ Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz @@ -1001,6 +1001,9 @@ killall abrt-dbus >/dev/null 2>&1 || : %config(noreplace) %{_sysconfdir}/profile.d/abrt-console-notification.sh %changelog +* Wed Jul 21 2021 Fedora Release Engineering - 2.14.6-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Sat Jul 10 2021 Björn Esser - 2.14.6-6 - Rebuild for versioned symbols in json-c From 7c6ec28dde3eded86606d12de0cf84a631fe14fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=9Bj=20Grabovsk=C3=BD?= Date: Mon, 27 Sep 2021 12:34:36 +0200 Subject: [PATCH 31/79] Backport Python lazy loading patch (rhbz#2007664) --- ...y-imports-in-abrt_exception_handler3.patch | 57 +++++++++++++++++++ 0001-hooklib-Don-t-g_autofree-backtrace.patch | 40 ------------- ...-hooklib-Proper-freeing-of-backtrace.patch | 40 ------------- abrt.spec | 8 ++- 4 files changed, 64 insertions(+), 81 deletions(-) create mode 100644 0001-Use-lazy-imports-in-abrt_exception_handler3.patch delete mode 100644 0001-hooklib-Don-t-g_autofree-backtrace.patch delete mode 100644 0002-hooklib-Proper-freeing-of-backtrace.patch diff --git a/0001-Use-lazy-imports-in-abrt_exception_handler3.patch b/0001-Use-lazy-imports-in-abrt_exception_handler3.patch new file mode 100644 index 0000000..5c892a8 --- /dev/null +++ b/0001-Use-lazy-imports-in-abrt_exception_handler3.patch @@ -0,0 +1,57 @@ +From 4755f2171aa50a72d8ec03260c8cbc602263a6c0 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= +Date: Fri, 24 Sep 2021 17:48:07 +0200 +Subject: [PATCH] Use lazy imports in abrt_exception_handler3 + +The abrt_exception_handler3 module is always imported when Python starts, +but all the modules imported from it (except sys) are only used during crashes. + +Especially the systemd.journal import is really expensive. + +Fixes https://bugzilla.redhat.com/show_bug.cgi?id=2007664 +--- + src/hooks/abrt_exception_handler3.py.in | 9 +++++++-- + 1 file changed, 7 insertions(+), 2 deletions(-) + +diff --git a/src/hooks/abrt_exception_handler3.py.in b/src/hooks/abrt_exception_handler3.py.in +index 89e2474b..0bc548e0 100644 +--- a/src/hooks/abrt_exception_handler3.py.in ++++ b/src/hooks/abrt_exception_handler3.py.in +@@ -20,13 +20,15 @@ + Module for the ABRT exception handling hook + """ + ++# Avoid importing anything but sys here, use lazy imports. ++# This file is imported on every Python startup, ++# all unused imports only increase the startup time and memory usage. + import sys +-import os + +-from systemd import journal + + def syslog(msg): + """Log message to system logger (journal)""" ++ from systemd import journal + + journal.send(msg) + +@@ -68,6 +70,8 @@ def send(data): + + + def write_dump(tb_text, tb): ++ import os ++ + if sys.argv[0][0] == "/": + executable = os.path.abspath(sys.argv[0]) + else: +@@ -118,6 +122,7 @@ def handle_exception(etype, value, tb): + sys.excepthook = sys.__excepthook__ # pylint: disable-msg=E1101 + + import errno ++ import os + + # Ignore Ctrl-C + # SystemExit rhbz#636913 -> this exception is not an error +-- +2.31.1 + diff --git a/0001-hooklib-Don-t-g_autofree-backtrace.patch b/0001-hooklib-Don-t-g_autofree-backtrace.patch deleted file mode 100644 index 1225177..0000000 --- a/0001-hooklib-Don-t-g_autofree-backtrace.patch +++ /dev/null @@ -1,40 +0,0 @@ -From 1f2963b0611d4023957abe3c7391eab86256ba82 Mon Sep 17 00:00:00 2001 -From: Michal Fabik -Date: Wed, 23 Sep 2020 16:55:25 +0200 -Subject: [PATCH] hooklib: Don't g_autofree backtrace - -The result of abrt_get_backtrace was being freed every time, even when -no error occured. - -Resolves: -https://github.com/abrt/abrt/issues/1528 -https://bugzilla.redhat.com/show_bug.cgi?id=1881745 -Signed-off-by: Michal Fabik ---- - src/lib/hooklib.c | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/src/lib/hooklib.c b/src/lib/hooklib.c -index dceaeb16..56b77bc3 100644 ---- a/src/lib/hooklib.c -+++ b/src/lib/hooklib.c -@@ -348,7 +348,7 @@ char *abrt_get_backtrace(struct dump_dir *dd, unsigned timeout_sec, const char * - unsigned bt_depth = 1024; - const char *thread_apply_all = "thread apply all -ascending"; - const char *full = "full "; -- g_autofree char *bt = NULL; -+ char *bt = NULL; - while (1) - { - args[bt_cmd_index] = g_strdup_printf("%s backtrace %s%u", thread_apply_all, full, bt_depth); -@@ -367,6 +367,7 @@ char *abrt_get_backtrace(struct dump_dir *dd, unsigned timeout_sec, const char * - /* (NB: in fact, current impl. of exec_vp() never returns NULL) */ - log_warning("Failed to generate backtrace, reducing depth to %u", - bt_depth); -+ free(bt); - - /* Replace -ex disassemble (which disasms entire function $pc points to) - * to a version which analyzes limited, small patch of code around $pc. --- -2.26.2 - diff --git a/0002-hooklib-Proper-freeing-of-backtrace.patch b/0002-hooklib-Proper-freeing-of-backtrace.patch deleted file mode 100644 index a9ded17..0000000 --- a/0002-hooklib-Proper-freeing-of-backtrace.patch +++ /dev/null @@ -1,40 +0,0 @@ -From 5fa7b1f84fb02ca5dcf50d27f4bc14563c1918f6 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Mat=C4=9Bj=20Grabovsk=C3=BD?= -Date: Mon, 12 Oct 2020 19:14:03 +0200 -Subject: [PATCH] hooklib: Proper freeing of backtrace - -Improper bracing caused the bt variable to be freed every time in every -iteration no matter what. This would then lead to an invalid (freed) -pointer being returned by the function. - -The mistake was made in 1f2963b0 and reported by Jeff Law. ---- - src/lib/hooklib.c | 6 +++++- - 1 file changed, 5 insertions(+), 1 deletion(-) - -diff --git a/src/lib/hooklib.c b/src/lib/hooklib.c -index 56b77bc3..fc2a6a00 100644 ---- a/src/lib/hooklib.c -+++ b/src/lib/hooklib.c -@@ -361,13 +361,17 @@ char *abrt_get_backtrace(struct dump_dir *dd, unsigned timeout_sec, const char * - - bt_depth /= 2; - if (bt) -+ { - log_warning("Backtrace is too big (%u bytes), reducing depth to %u", - (unsigned)strlen(bt), bt_depth); -+ } - else -+ { - /* (NB: in fact, current impl. of exec_vp() never returns NULL) */ - log_warning("Failed to generate backtrace, reducing depth to %u", - bt_depth); -- free(bt); -+ g_clear_pointer(&bt, free); -+ } - - /* Replace -ex disassemble (which disasms entire function $pc points to) - * to a version which analyzes limited, small patch of code around $pc. --- -2.26.2 - diff --git a/abrt.spec b/abrt.spec index fb88956..3aef1ba 100644 --- a/abrt.spec +++ b/abrt.spec @@ -49,7 +49,7 @@ Summary: Automatic bug detection and reporting tool Name: abrt Version: 2.14.6 -Release: 7%{?dist} +Release: 8%{?dist} License: GPLv2+ URL: https://abrt.readthedocs.org/ Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz @@ -136,6 +136,8 @@ BuildRequires: python3-libreport BuildRequires: python3-devel %endif +Patch0: 0001-Use-lazy-imports-in-abrt_exception_handler3.patch + %description %{name} is a tool to help users to detect defects in applications and to create a bug report with all information needed by maintainer to fix it. @@ -1001,6 +1003,10 @@ killall abrt-dbus >/dev/null 2>&1 || : %config(noreplace) %{_sysconfdir}/profile.d/abrt-console-notification.sh %changelog +* Mon Sep 27 2021 Matěj Grabovský - 2.14.6-8 +- Use lazy import in the Python exception handler to avoid slowdown in Python + startup (rhbz#2007664) + * Wed Jul 21 2021 Fedora Release Engineering - 2.14.6-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild From 1b8bae307ac40653f80f4baae1df283d5d1850ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=9Bj=20Grabovsk=C3=BD?= Date: Wed, 22 Dec 2021 11:22:22 +0100 Subject: [PATCH 32/79] Rebuild for satyr 0.39 --- abrt.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/abrt.spec b/abrt.spec index 3aef1ba..7fa1705 100644 --- a/abrt.spec +++ b/abrt.spec @@ -49,7 +49,7 @@ Summary: Automatic bug detection and reporting tool Name: abrt Version: 2.14.6 -Release: 8%{?dist} +Release: 9%{?dist} License: GPLv2+ URL: https://abrt.readthedocs.org/ Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz @@ -1003,6 +1003,9 @@ killall abrt-dbus >/dev/null 2>&1 || : %config(noreplace) %{_sysconfdir}/profile.d/abrt-console-notification.sh %changelog +* Wed Dec 22 2021 Matěj Grabovský - 2.14.6-9 +- Rebuild for satyr 0.39 + * Mon Sep 27 2021 Matěj Grabovský - 2.14.6-8 - Use lazy import in the Python exception handler to avoid slowdown in Python startup (rhbz#2007664) From 810fcb191126868bbbe733ade0f0988c375e4964 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=9Bj=20Grabovsk=C3=BD?= Date: Thu, 6 Jan 2022 14:56:23 +0100 Subject: [PATCH 33/79] Do not install conflicting packages in test --- tests/smoke.fmf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/smoke.fmf b/tests/smoke.fmf index ca74391..f879d5c 100644 --- a/tests/smoke.fmf +++ b/tests/smoke.fmf @@ -1,3 +1,9 @@ summary: Basic smoke test for abrt +prepare: + how: install + # Do not attempt to install conflicting subpackages. + exclude: + - abrt-atomic + - python3-abrt-container-addon execute: script: abrt-action-notify --help From 1c9f6e51cf55421457d220f34dc655e4587f906b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=9Bj=20Grabovsk=C3=BD?= Date: Thu, 6 Jan 2022 15:10:12 +0100 Subject: [PATCH 34/79] Bump release for rebuild --- abrt.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/abrt.spec b/abrt.spec index 7fa1705..558be8b 100644 --- a/abrt.spec +++ b/abrt.spec @@ -49,7 +49,7 @@ Summary: Automatic bug detection and reporting tool Name: abrt Version: 2.14.6 -Release: 9%{?dist} +Release: 10%{?dist} License: GPLv2+ URL: https://abrt.readthedocs.org/ Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz @@ -1003,6 +1003,9 @@ killall abrt-dbus >/dev/null 2>&1 || : %config(noreplace) %{_sysconfdir}/profile.d/abrt-console-notification.sh %changelog +* Thu Jan 06 2022 Matěj Grabovský - 2.14.6-10 +- Bump release for rebuild + * Wed Dec 22 2021 Matěj Grabovský - 2.14.6-9 - Rebuild for satyr 0.39 From 88895e18b5cfe2def0c89a959af80bad4d5dd327 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Wed, 12 Jan 2022 16:24:16 +0100 Subject: [PATCH 35/79] Fix issues with conflicting multilib packages --- abrt.spec | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/abrt.spec b/abrt.spec index 558be8b..51289a2 100644 --- a/abrt.spec +++ b/abrt.spec @@ -49,7 +49,7 @@ Summary: Automatic bug detection and reporting tool Name: abrt Version: 2.14.6 -Release: 10%{?dist} +Release: 11%{?dist} License: GPLv2+ URL: https://abrt.readthedocs.org/ Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz @@ -81,6 +81,10 @@ BuildRequires: python3-devel BuildRequires: python3-systemd BuildRequires: python3-argcomplete BuildRequires: python3-dbus + +# https://docs.fedoraproject.org/en-US/packaging-guidelines/Python_Appendix/#_byte_compilation_reproducibility +%global py_reproducible_pyc_path %{buildroot}%{python3_sitelib} +BuildRequires: /usr/bin/marshalparser %endif Requires: libreport >= %{libreport_ver} @@ -305,6 +309,7 @@ uncaught exception in python 3 programs. %package -n python3-abrt-container-addon Summary: %{name}'s container addon for catching Python 3 exceptions +BuildArch: noarch Conflicts: python3-abrt-addon Requires: container-exception-logger @@ -323,6 +328,7 @@ of machine_id for abrt events. %package tui Summary: %{name}'s command line interface +BuildArch: noarch Requires: %{name} = %{version}-%{release} Requires: libreport-cli >= %{libreport_ver} Requires: abrt-libs = %{version}-%{release} @@ -1003,6 +1009,10 @@ killall abrt-dbus >/dev/null 2>&1 || : %config(noreplace) %{_sysconfdir}/profile.d/abrt-console-notification.sh %changelog +* Wed Jan 12 2022 Miro Hrončok - 2.14.6-11 +- Make abrt-tui and python3-abrt-container-addon noarch as they contain no architecture-specific content +- Ensure Python bytecode in noarch subpackages is reproducible + * Thu Jan 06 2022 Matěj Grabovský - 2.14.6-10 - Bump release for rebuild From 0302f37126a25ca5e73a01ea8cce0e249634eaa0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=9Bj=20Grabovsk=C3=BD?= Date: Mon, 17 Jan 2022 19:27:36 +0100 Subject: [PATCH 36/79] New upstream release 2.15.0 --- .gitignore | 1 + ...y-imports-in-abrt_exception_handler3.patch | 57 ------------------- abrt.spec | 16 ++++-- sources | 2 +- 4 files changed, 14 insertions(+), 62 deletions(-) delete mode 100644 0001-Use-lazy-imports-in-abrt_exception_handler3.patch diff --git a/.gitignore b/.gitignore index 75abc74..faaae41 100644 --- a/.gitignore +++ b/.gitignore @@ -75,3 +75,4 @@ abrt-1.1.13.tar.gz /abrt-2.14.4.tar.gz /abrt-2.14.5.tar.gz /abrt-2.14.6.tar.gz +/abrt-2.15.0.tar.gz diff --git a/0001-Use-lazy-imports-in-abrt_exception_handler3.patch b/0001-Use-lazy-imports-in-abrt_exception_handler3.patch deleted file mode 100644 index 5c892a8..0000000 --- a/0001-Use-lazy-imports-in-abrt_exception_handler3.patch +++ /dev/null @@ -1,57 +0,0 @@ -From 4755f2171aa50a72d8ec03260c8cbc602263a6c0 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= -Date: Fri, 24 Sep 2021 17:48:07 +0200 -Subject: [PATCH] Use lazy imports in abrt_exception_handler3 - -The abrt_exception_handler3 module is always imported when Python starts, -but all the modules imported from it (except sys) are only used during crashes. - -Especially the systemd.journal import is really expensive. - -Fixes https://bugzilla.redhat.com/show_bug.cgi?id=2007664 ---- - src/hooks/abrt_exception_handler3.py.in | 9 +++++++-- - 1 file changed, 7 insertions(+), 2 deletions(-) - -diff --git a/src/hooks/abrt_exception_handler3.py.in b/src/hooks/abrt_exception_handler3.py.in -index 89e2474b..0bc548e0 100644 ---- a/src/hooks/abrt_exception_handler3.py.in -+++ b/src/hooks/abrt_exception_handler3.py.in -@@ -20,13 +20,15 @@ - Module for the ABRT exception handling hook - """ - -+# Avoid importing anything but sys here, use lazy imports. -+# This file is imported on every Python startup, -+# all unused imports only increase the startup time and memory usage. - import sys --import os - --from systemd import journal - - def syslog(msg): - """Log message to system logger (journal)""" -+ from systemd import journal - - journal.send(msg) - -@@ -68,6 +70,8 @@ def send(data): - - - def write_dump(tb_text, tb): -+ import os -+ - if sys.argv[0][0] == "/": - executable = os.path.abspath(sys.argv[0]) - else: -@@ -118,6 +122,7 @@ def handle_exception(etype, value, tb): - sys.excepthook = sys.__excepthook__ # pylint: disable-msg=E1101 - - import errno -+ import os - - # Ignore Ctrl-C - # SystemExit rhbz#636913 -> this exception is not an error --- -2.31.1 - diff --git a/abrt.spec b/abrt.spec index 51289a2..c340e01 100644 --- a/abrt.spec +++ b/abrt.spec @@ -48,8 +48,8 @@ Summary: Automatic bug detection and reporting tool Name: abrt -Version: 2.14.6 -Release: 11%{?dist} +Version: 2.15.0 +Release: 1%{?dist} License: GPLv2+ URL: https://abrt.readthedocs.org/ Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz @@ -140,8 +140,6 @@ BuildRequires: python3-libreport BuildRequires: python3-devel %endif -Patch0: 0001-Use-lazy-imports-in-abrt_exception_handler3.patch - %description %{name} is a tool to help users to detect defects in applications and to create a bug report with all information needed by maintainer to fix it. @@ -1009,6 +1007,16 @@ killall abrt-dbus >/dev/null 2>&1 || : %config(noreplace) %{_sysconfdir}/profile.d/abrt-console-notification.sh %changelog +* Mon Jan 17 2022 Matěj Grabovský - 2.15.0-1 +- Bump abrt library version to 1:0:1 +- cli: Fix path and glob matching for abrt info etc. +- abrt-dump-oops: Fix vmcore call trace parsing +- Use lazy imports in abrt_exception_handler3 +- Don't copy coredump to problem dir +- Detect Python 3.10 and Perl correctly in abrt-action-save-package-data +- Fix calls to deprecated methods in tests +- Update translations + * Wed Jan 12 2022 Miro Hrončok - 2.14.6-11 - Make abrt-tui and python3-abrt-container-addon noarch as they contain no architecture-specific content - Ensure Python bytecode in noarch subpackages is reproducible diff --git a/sources b/sources index 601ce96..adf93c6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (abrt-2.14.6.tar.gz) = eb1ba2f624d51eeccd203bb23060493347f5a9142fad7d0570d46134071d870a9c66b4fbfb8210e7d6f87c0c039f31eb486d18a36b10fba318e2180aa09df9fe +SHA512 (abrt-2.15.0.tar.gz) = 2d6c1287c1f01990aeb30f956f465c7a6399a6e53dc667602e263c136f94bc4090b58876acba678b29671c0db89ae8e7dd6994cf8d0d2d9fbc375f54ae6cd935 From 15bea33e034cd5275bc734d08e549700665cd51c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=9Bj=20Grabovsk=C3=BD?= Date: Wed, 19 Jan 2022 12:27:20 +0100 Subject: [PATCH 37/79] tests: Add one more conflicting package --- tests/smoke.fmf | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/smoke.fmf b/tests/smoke.fmf index f879d5c..69759b3 100644 --- a/tests/smoke.fmf +++ b/tests/smoke.fmf @@ -4,6 +4,7 @@ prepare: # Do not attempt to install conflicting subpackages. exclude: - abrt-atomic + - abrt-java-connector-container - python3-abrt-container-addon execute: script: abrt-action-notify --help From fcc2f68d2d33f263829a065fc0dd8c1eea446da4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=9Bj=20Grabovsk=C3=BD?= Date: Wed, 19 Jan 2022 14:54:57 +0100 Subject: [PATCH 38/79] Rebuild for testing --- abrt.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/abrt.spec b/abrt.spec index c340e01..6094cfc 100644 --- a/abrt.spec +++ b/abrt.spec @@ -49,7 +49,7 @@ Summary: Automatic bug detection and reporting tool Name: abrt Version: 2.15.0 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2+ URL: https://abrt.readthedocs.org/ Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz @@ -1007,6 +1007,9 @@ killall abrt-dbus >/dev/null 2>&1 || : %config(noreplace) %{_sysconfdir}/profile.d/abrt-console-notification.sh %changelog +* Wed Jan 19 2022 Matěj Grabovský - 2.15.0-2 +- Rebuild for testing + * Mon Jan 17 2022 Matěj Grabovský - 2.15.0-1 - Bump abrt library version to 1:0:1 - cli: Fix path and glob matching for abrt info etc. From f9fd407b73ecb5a9a7eba95392049700e57cc81a Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 19 Jan 2022 20:51:29 +0000 Subject: [PATCH 39/79] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- abrt.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/abrt.spec b/abrt.spec index 6094cfc..028ffc4 100644 --- a/abrt.spec +++ b/abrt.spec @@ -49,7 +49,7 @@ Summary: Automatic bug detection and reporting tool Name: abrt Version: 2.15.0 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv2+ URL: https://abrt.readthedocs.org/ Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz @@ -1007,6 +1007,9 @@ killall abrt-dbus >/dev/null 2>&1 || : %config(noreplace) %{_sysconfdir}/profile.d/abrt-console-notification.sh %changelog +* Wed Jan 19 2022 Fedora Release Engineering - 2.15.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Wed Jan 19 2022 Matěj Grabovský - 2.15.0-2 - Rebuild for testing From 3f24d622892a3f97fb0544df933a546f1e892603 Mon Sep 17 00:00:00 2001 From: Michal Srb Date: Thu, 10 Mar 2022 21:48:33 +0100 Subject: [PATCH 40/79] Update to 2.15.1 Signed-off-by: Michal Srb --- .gitignore | 1 + abrt.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index faaae41..302a9d3 100644 --- a/.gitignore +++ b/.gitignore @@ -76,3 +76,4 @@ abrt-1.1.13.tar.gz /abrt-2.14.5.tar.gz /abrt-2.14.6.tar.gz /abrt-2.15.0.tar.gz +/abrt-2.15.1.tar.gz diff --git a/abrt.spec b/abrt.spec index 028ffc4..a700fbc 100644 --- a/abrt.spec +++ b/abrt.spec @@ -48,8 +48,8 @@ Summary: Automatic bug detection and reporting tool Name: abrt -Version: 2.15.0 -Release: 3%{?dist} +Version: 2.15.1 +Release: 1%{?dist} License: GPLv2+ URL: https://abrt.readthedocs.org/ Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz @@ -1007,6 +1007,9 @@ killall abrt-dbus >/dev/null 2>&1 || : %config(noreplace) %{_sysconfdir}/profile.d/abrt-console-notification.sh %changelog +* Thu Mar 10 2022 Michal Srb - 2.15.1-1 +- Update to 2.15.1 + * Wed Jan 19 2022 Fedora Release Engineering - 2.15.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild diff --git a/sources b/sources index adf93c6..d9aac56 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (abrt-2.15.0.tar.gz) = 2d6c1287c1f01990aeb30f956f465c7a6399a6e53dc667602e263c136f94bc4090b58876acba678b29671c0db89ae8e7dd6994cf8d0d2d9fbc375f54ae6cd935 +SHA512 (abrt-2.15.1.tar.gz) = 745c513969b78ee7c76c310a8c2fc0bafd1e50375130fa773ad950bf123ee50cfa237da9b331f2c0af2851b35b162cbc908f2e00d59283867ed8ffd72236d0ea From f144023834a27b166d06ee9d74fb4715509f2dc1 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Wed, 15 Jun 2022 18:15:40 +0200 Subject: [PATCH 41/79] Rebuilt for Python 3.11 --- abrt.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/abrt.spec b/abrt.spec index a700fbc..85e5185 100644 --- a/abrt.spec +++ b/abrt.spec @@ -49,7 +49,7 @@ Summary: Automatic bug detection and reporting tool Name: abrt Version: 2.15.1 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2+ URL: https://abrt.readthedocs.org/ Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz @@ -1007,6 +1007,9 @@ killall abrt-dbus >/dev/null 2>&1 || : %config(noreplace) %{_sysconfdir}/profile.d/abrt-console-notification.sh %changelog +* Wed Jun 15 2022 Python Maint - 2.15.1-2 +- Rebuilt for Python 3.11 + * Thu Mar 10 2022 Michal Srb - 2.15.1-1 - Update to 2.15.1 From 1e992dd7d9da7666d5da2be286a4568de4a5217f Mon Sep 17 00:00:00 2001 From: Michal Srb Date: Thu, 16 Jun 2022 13:24:42 +0200 Subject: [PATCH 42/79] Fix FTBFS Resolves: rhbz#2093924 Signed-off-by: Michal Srb --- 0001-Fix-for-rpm-4.18.patch | 59 +++++++++++++++++++++++++++++++++++++ abrt.spec | 7 ++++- 2 files changed, 65 insertions(+), 1 deletion(-) create mode 100644 0001-Fix-for-rpm-4.18.patch diff --git a/0001-Fix-for-rpm-4.18.patch b/0001-Fix-for-rpm-4.18.patch new file mode 100644 index 0000000..606d0e9 --- /dev/null +++ b/0001-Fix-for-rpm-4.18.patch @@ -0,0 +1,59 @@ +From ca26ccfff7e5e89eb48d67e707722d4a740f4511 Mon Sep 17 00:00:00 2001 +From: Michal Srb +Date: Thu, 16 Jun 2022 13:13:59 +0200 +Subject: [PATCH] Fix for rpm 4.18 + +pgpHexStr() function has been deprecated and renamed to rpmhex(). + +Since the replacement is only available in Rawhide (f37), let's +continue using the old name for now. + +This commit tells gcc to ignore the deprecation warning. + +See the commit: +https://github.com/rpm-software-management/rpm/commit/d44be2cbc1c3265d55f05b47daa69334a7a133e6 + +Signed-off-by: Michal Srb +--- + src/daemon/rpm.c | 11 +++++++++++ + 1 file changed, 11 insertions(+) + +diff --git a/src/daemon/rpm.c b/src/daemon/rpm.c +index c84f1221..b9ac9767 100644 +--- a/src/daemon/rpm.c ++++ b/src/daemon/rpm.c +@@ -24,6 +24,7 @@ + #include + #include + #include ++#include + #include + + struct rpmPubkey_s { +@@ -92,6 +93,15 @@ void rpm_destroy() + g_list_free_full(g_steal_pointer(&list_fingerprints), free); + } + ++ ++// TODO: pgpHexStr() has been renamed to rpmhex() recently, and ++// pgpHexStr() is now deprecated and it will be dropped ++// in the future. Let's keep using the old name for now ++// as the replacement is only available in Rawhide (f37). ++// https://github.com/rpm-software-management/rpm/commit/d44be2cbc1c3265d55f05b47daa69334a7a133e6 ++// Ignore the deprecation warning in this function ++#pragma GCC diagnostic push ++#pragma GCC diagnostic ignored "-Wdeprecated-declarations" + void rpm_load_gpgkey(const char* filename) + { + #ifdef HAVE_LIBRPM +@@ -133,6 +143,7 @@ void rpm_load_gpgkey(const char* filename) + return; + #endif + } ++#pragma GCC diagnostic pop + + int rpm_chk_fingerprint(const char* pkg) + { +-- +2.36.1 + diff --git a/abrt.spec b/abrt.spec index 85e5185..feea9e4 100644 --- a/abrt.spec +++ b/abrt.spec @@ -49,10 +49,11 @@ Summary: Automatic bug detection and reporting tool Name: abrt Version: 2.15.1 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv2+ URL: https://abrt.readthedocs.org/ Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz +Patch0: 0001-Fix-for-rpm-4.18.patch BuildRequires: git-core BuildRequires: %{dbus_devel} @@ -1007,6 +1008,10 @@ killall abrt-dbus >/dev/null 2>&1 || : %config(noreplace) %{_sysconfdir}/profile.d/abrt-console-notification.sh %changelog +* Thu Jun 16 2022 Michal Srb - 2.15.1-3 +- Fix FTBFS +- Resolves: rhbz#2093924 + * Wed Jun 15 2022 Python Maint - 2.15.1-2 - Rebuilt for Python 3.11 From d3f14892f8b4c2fb8030bcb07db2d313ca8242a1 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 20 Jul 2022 20:22:13 +0000 Subject: [PATCH 43/79] Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- abrt.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/abrt.spec b/abrt.spec index feea9e4..b5632b6 100644 --- a/abrt.spec +++ b/abrt.spec @@ -49,7 +49,7 @@ Summary: Automatic bug detection and reporting tool Name: abrt Version: 2.15.1 -Release: 3%{?dist} +Release: 4%{?dist} License: GPLv2+ URL: https://abrt.readthedocs.org/ Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz @@ -1008,6 +1008,9 @@ killall abrt-dbus >/dev/null 2>&1 || : %config(noreplace) %{_sysconfdir}/profile.d/abrt-console-notification.sh %changelog +* Wed Jul 20 2022 Fedora Release Engineering - 2.15.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + * Thu Jun 16 2022 Michal Srb - 2.15.1-3 - Fix FTBFS - Resolves: rhbz#2093924 From 534292e248ea6cfd1b3ce048b867ff3dedca9a61 Mon Sep 17 00:00:00 2001 From: Michal Srb Date: Wed, 12 Oct 2022 09:43:01 +0200 Subject: [PATCH 44/79] abrt-journal: call sd_journal_get_fd() right after sd_journal_open() Resolves: rhbz#2128662 Signed-off-by: Michal Srb --- ...l-sd_journal_get_fd-right-after-sd_j.patch | 65 +++++++++++++++++++ abrt.spec | 7 +- 2 files changed, 71 insertions(+), 1 deletion(-) create mode 100644 0002-abrt-journal-call-sd_journal_get_fd-right-after-sd_j.patch diff --git a/0002-abrt-journal-call-sd_journal_get_fd-right-after-sd_j.patch b/0002-abrt-journal-call-sd_journal_get_fd-right-after-sd_j.patch new file mode 100644 index 0000000..9c42e6e --- /dev/null +++ b/0002-abrt-journal-call-sd_journal_get_fd-right-after-sd_j.patch @@ -0,0 +1,65 @@ +From 4ebe2699287844d2766f87062c48d8953b292bfe Mon Sep 17 00:00:00 2001 +From: Michal Srb +Date: Tue, 11 Oct 2022 22:41:33 +0200 +Subject: [PATCH] abrt-journal: call sd_journal_get_fd() right after + sd_journal_open() + +See: rhbz#2128662 + +Under certain circumstances, abrt-dump-journal can be running, +but not receiving any event notifications from journal. + +The culprit of the issue seems to be the delayed call +to sd_journal_get_fd(), as discussed in various +issues and pull-requests in other projects. +See for example [1], [2], or [3]. + +[1]: https://github.com/systemd/systemd/issues/7998 +[2]: https://github.com/ledbettj/systemd-journal/pull/78 +[3]: https://github.com/rsyslog/rsyslog/issues/2436 + +Signed-off-by: Michal Srb +--- + src/plugins/abrt-journal.c | 6 +++++- + 1 file changed, 5 insertions(+), 1 deletion(-) + +diff --git a/src/plugins/abrt-journal.c b/src/plugins/abrt-journal.c +index adc9440e..48ae8c99 100644 +--- a/src/plugins/abrt-journal.c ++++ b/src/plugins/abrt-journal.c +@@ -35,12 +35,15 @@ + struct abrt_journal + { + sd_journal *j; ++ int fd; + }; + + static int abrt_journal_new_flags(abrt_journal_t **journal, int flags) + { + sd_journal *j; + const int r = sd_journal_open(&j, flags); ++ const int fd = sd_journal_get_fd(j); ++ + if (r < 0) + { + log_notice("Failed to open journal: %s", strerror(-r)); +@@ -49,6 +52,7 @@ static int abrt_journal_new_flags(abrt_journal_t **journal, int flags) + + *journal = g_malloc0(sizeof(**journal)); + (*journal)->j = j; ++ (*journal)->fd = fd; + + return 0; + } +@@ -452,7 +456,7 @@ int abrt_journal_watch_run_sync(abrt_journal_watch_t *watch) + sigdelset(&mask, SIGKILL); + + struct pollfd pollfd; +- pollfd.fd = sd_journal_get_fd(watch->j->j); ++ pollfd.fd = watch->j->fd; + pollfd.events = sd_journal_get_events(watch->j->j); + + int r = 0; +-- +2.37.3 + diff --git a/abrt.spec b/abrt.spec index b5632b6..201f845 100644 --- a/abrt.spec +++ b/abrt.spec @@ -49,11 +49,12 @@ Summary: Automatic bug detection and reporting tool Name: abrt Version: 2.15.1 -Release: 4%{?dist} +Release: 5%{?dist} License: GPLv2+ URL: https://abrt.readthedocs.org/ Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz Patch0: 0001-Fix-for-rpm-4.18.patch +Patch1: 0002-abrt-journal-call-sd_journal_get_fd-right-after-sd_j.patch BuildRequires: git-core BuildRequires: %{dbus_devel} @@ -1008,6 +1009,10 @@ killall abrt-dbus >/dev/null 2>&1 || : %config(noreplace) %{_sysconfdir}/profile.d/abrt-console-notification.sh %changelog +* Wed Oct 12 2022 Michal Srb - 2.15.1-5 +- abrt-journal: call sd_journal_get_fd() right after sd_journal_open() +- Resolves: rhbz#2128662 + * Wed Jul 20 2022 Fedora Release Engineering - 2.15.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild From 4f63977e6d3dff1d0c666e0baa1d64c12c28f777 Mon Sep 17 00:00:00 2001 From: Michal Srb Date: Wed, 12 Oct 2022 09:44:21 +0200 Subject: [PATCH 45/79] Adjust gating.yaml for non-Rawhide release Fedora CI still doesn't run the generic tests for non-Rawhide releases :/ Signed-off-by: Michal Srb --- gating.yaml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/gating.yaml b/gating.yaml index db67165..f075ad7 100644 --- a/gating.yaml +++ b/gating.yaml @@ -4,9 +4,6 @@ product_versions: decision_context: bodhi_update_push_testing subject_type: koji_build rules: - - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.rpmdeplint.functional} - - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.rpminspect.static-analysis} - - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.installability.functional} - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional} --- !Policy @@ -15,7 +12,4 @@ product_versions: decision_context: bodhi_update_push_stable subject_type: koji_build rules: - - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.rpmdeplint.functional} - - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.rpminspect.static-analysis} - - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.installability.functional} - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional} From c8a122775e01e31dcb0435ff904c1e61b6c64f55 Mon Sep 17 00:00:00 2001 From: Michal Srb Date: Wed, 12 Oct 2022 09:59:26 +0200 Subject: [PATCH 46/79] applet: Update GLib constant name This fixes FTBFS in F37+ Signed-off-by: Michal Srb --- 0003-applet-Update-GLib-constant-name.patch | 48 +++++++++++++++++++++ abrt.spec | 1 + 2 files changed, 49 insertions(+) create mode 100644 0003-applet-Update-GLib-constant-name.patch diff --git a/0003-applet-Update-GLib-constant-name.patch b/0003-applet-Update-GLib-constant-name.patch new file mode 100644 index 0000000..ae96953 --- /dev/null +++ b/0003-applet-Update-GLib-constant-name.patch @@ -0,0 +1,48 @@ +From 8f67ddc99b4a72718290daae323fa5bc3c1d59eb Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Mat=C4=9Bj=20Grabovsk=C3=BD?= +Date: Thu, 15 Sep 2022 12:59:23 +0200 +Subject: [PATCH] applet: Update GLib constant name + +The `G_APPLICATION_FLAGS_NONE` constant has apparently been deprecated +and removed 2.73. Also bump the version constraint in the spec file. +--- + abrt.spec | 3 ++- + src/applet/abrt-applet-application.c | 2 +- + 2 files changed, 3 insertions(+), 2 deletions(-) + +diff --git a/abrt.spec b/abrt.spec +index 2f2c3027..03beca7d 100644 +--- a/abrt.spec ++++ b/abrt.spec +@@ -43,6 +43,7 @@ + %define docdirversion -%{version} + %endif + ++%define glib_ver 2.73.3 + %define libreport_ver 2.14.0 + %define satyr_ver 0.24 + +@@ -56,7 +57,7 @@ Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.ta + BuildRequires: %{dbus_devel} + BuildRequires: hostname + BuildRequires: gtk3-devel +-BuildRequires: glib2-devel >= 2.43.4 ++BuildRequires: glib2-devel >= %{glib_ver} + BuildRequires: rpm-devel >= 4.6 + BuildRequires: desktop-file-utils + BuildRequires: libnotify-devel +diff --git a/src/applet/abrt-applet-application.c b/src/applet/abrt-applet-application.c +index 394d52b7..6faa8cf7 100644 +--- a/src/applet/abrt-applet-application.c ++++ b/src/applet/abrt-applet-application.c +@@ -1215,6 +1215,6 @@ abrt_applet_application_new (void) + { + return g_object_new (ABRT_APPLET_TYPE_APPLICATION, + "application-id", ABRT_DBUS_NAME ".applet", +- "flags", G_APPLICATION_FLAGS_NONE, ++ "flags", G_APPLICATION_DEFAULT_FLAGS, + NULL); + } +-- +2.37.3 + diff --git a/abrt.spec b/abrt.spec index 201f845..e6c1ad1 100644 --- a/abrt.spec +++ b/abrt.spec @@ -55,6 +55,7 @@ URL: https://abrt.readthedocs.org/ Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz Patch0: 0001-Fix-for-rpm-4.18.patch Patch1: 0002-abrt-journal-call-sd_journal_get_fd-right-after-sd_j.patch +Patch2: 0003-applet-Update-GLib-constant-name.patch BuildRequires: git-core BuildRequires: %{dbus_devel} From a20ba81e1de969ff5310297d05ac94a95a09e71d Mon Sep 17 00:00:00 2001 From: Michal Srb Date: Wed, 19 Oct 2022 15:41:54 +0200 Subject: [PATCH 47/79] abrt-journal: First seek the journal tail and then set filters Resolves: rhbz#2128662 Signed-off-by: Michal Srb --- ...ore-First-seek-the-journal-tail-and-.patch | 61 +++++++++++++++++++ abrt.spec | 7 ++- 2 files changed, 67 insertions(+), 1 deletion(-) create mode 100644 0004-a-dump-journal-core-First-seek-the-journal-tail-and-.patch diff --git a/0004-a-dump-journal-core-First-seek-the-journal-tail-and-.patch b/0004-a-dump-journal-core-First-seek-the-journal-tail-and-.patch new file mode 100644 index 0000000..8d130b8 --- /dev/null +++ b/0004-a-dump-journal-core-First-seek-the-journal-tail-and-.patch @@ -0,0 +1,61 @@ +From 428bdf417b33d65fa5fbdcd292f12eef704bae95 Mon Sep 17 00:00:00 2001 +From: Michal Srb +Date: Wed, 19 Oct 2022 06:43:38 +0200 +Subject: [PATCH] a-dump-journal-core: First seek the journal tail and then set + filters + +See: rhbz#2128662 + +a-dump-journal-core uses filters to jump between +systemd-coredump entries in journal. + +However, we should first jump to the starting position +(journal tail) and only then set filters. +I suspect that setting the filters early, before we are +at the starting position, can lead to the strange +behavior that we are seeing in Fedora. + +This patch makes the problem go away on my freshly-installed +Fedora 37 VM. + +Signed-off-by: Michal Srb +--- + src/plugins/abrt-dump-journal-core.c | 17 +++++++++++------ + 1 file changed, 11 insertions(+), 6 deletions(-) + +diff --git a/src/plugins/abrt-dump-journal-core.c b/src/plugins/abrt-dump-journal-core.c +index 68d5b320..1bb793a2 100644 +--- a/src/plugins/abrt-dump-journal-core.c ++++ b/src/plugins/abrt-dump-journal-core.c +@@ -628,17 +628,22 @@ main(int argc, char *argv[]) + error_msg_and_die(_("Cannot open systemd-journal")); + } + +- if (abrt_journal_set_journal_filter(journal, coredump_journal_filter) < 0) +- error_msg_and_die(_("Cannot filter systemd-journal to systemd-coredump data only")); ++ if (opts & OPT_e) { ++ if (abrt_journal_seek_tail(journal) < 0) ++ error_msg_and_die(_("Cannot seek to the end of journal")); + +- g_list_free(coredump_journal_filter); +- +- if ((opts & OPT_e) && abrt_journal_seek_tail(journal) < 0) +- error_msg_and_die(_("Cannot seek to the end of journal")); ++ if (abrt_journal_save_current_position(journal, ABRT_JOURNAL_WATCH_STATE_FILE) < 0) ++ log_warning("Failed to save the starting cursor position"); ++ } + + if (cursor && abrt_journal_set_cursor(journal, cursor)) + error_msg_and_die(_("Failed to set systemd-journal cursor '%s'"), cursor); + ++ if (abrt_journal_set_journal_filter(journal, coredump_journal_filter) < 0) ++ error_msg_and_die(_("Cannot filter systemd-journal to systemd-coredump data only")); ++ ++ g_list_free(coredump_journal_filter); ++ + if ((opts & OPT_f)) + { + if (!cursor && !(opts & OPT_e)) +-- +2.37.3 + diff --git a/abrt.spec b/abrt.spec index e6c1ad1..15ae1a0 100644 --- a/abrt.spec +++ b/abrt.spec @@ -49,13 +49,14 @@ Summary: Automatic bug detection and reporting tool Name: abrt Version: 2.15.1 -Release: 5%{?dist} +Release: 6%{?dist} License: GPLv2+ URL: https://abrt.readthedocs.org/ Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz Patch0: 0001-Fix-for-rpm-4.18.patch Patch1: 0002-abrt-journal-call-sd_journal_get_fd-right-after-sd_j.patch Patch2: 0003-applet-Update-GLib-constant-name.patch +Patch3: 0004-a-dump-journal-core-First-seek-the-journal-tail-and-.patch BuildRequires: git-core BuildRequires: %{dbus_devel} @@ -1010,6 +1011,10 @@ killall abrt-dbus >/dev/null 2>&1 || : %config(noreplace) %{_sysconfdir}/profile.d/abrt-console-notification.sh %changelog +* Wed Oct 19 2022 Michal Srb - 2.15.1-6 +- abrt-journal: First seek the journal tail and then set filters +- Resolves: rhbz#2128662 + * Wed Oct 12 2022 Michal Srb - 2.15.1-5 - abrt-journal: call sd_journal_get_fd() right after sd_journal_open() - Resolves: rhbz#2128662 From 50a321fe1d1726d0ef76ed09e8da2cf4531fa318 Mon Sep 17 00:00:00 2001 From: Michal Srb Date: Mon, 24 Oct 2022 18:00:03 +0200 Subject: [PATCH 48/79] Update to upstream release 2.16.0 Signed-off-by: Michal Srb --- .gitignore | 1 + 0001-Fix-for-rpm-4.18.patch | 59 --------------- ...l-sd_journal_get_fd-right-after-sd_j.patch | 65 ---------------- 0003-applet-Update-GLib-constant-name.patch | 48 ------------ ...ore-First-seek-the-journal-tail-and-.patch | 61 --------------- abrt.spec | 74 ++++--------------- sources | 2 +- 7 files changed, 18 insertions(+), 292 deletions(-) delete mode 100644 0001-Fix-for-rpm-4.18.patch delete mode 100644 0002-abrt-journal-call-sd_journal_get_fd-right-after-sd_j.patch delete mode 100644 0003-applet-Update-GLib-constant-name.patch delete mode 100644 0004-a-dump-journal-core-First-seek-the-journal-tail-and-.patch diff --git a/.gitignore b/.gitignore index 302a9d3..424d319 100644 --- a/.gitignore +++ b/.gitignore @@ -77,3 +77,4 @@ abrt-1.1.13.tar.gz /abrt-2.14.6.tar.gz /abrt-2.15.0.tar.gz /abrt-2.15.1.tar.gz +/abrt-2.16.0.tar.gz diff --git a/0001-Fix-for-rpm-4.18.patch b/0001-Fix-for-rpm-4.18.patch deleted file mode 100644 index 606d0e9..0000000 --- a/0001-Fix-for-rpm-4.18.patch +++ /dev/null @@ -1,59 +0,0 @@ -From ca26ccfff7e5e89eb48d67e707722d4a740f4511 Mon Sep 17 00:00:00 2001 -From: Michal Srb -Date: Thu, 16 Jun 2022 13:13:59 +0200 -Subject: [PATCH] Fix for rpm 4.18 - -pgpHexStr() function has been deprecated and renamed to rpmhex(). - -Since the replacement is only available in Rawhide (f37), let's -continue using the old name for now. - -This commit tells gcc to ignore the deprecation warning. - -See the commit: -https://github.com/rpm-software-management/rpm/commit/d44be2cbc1c3265d55f05b47daa69334a7a133e6 - -Signed-off-by: Michal Srb ---- - src/daemon/rpm.c | 11 +++++++++++ - 1 file changed, 11 insertions(+) - -diff --git a/src/daemon/rpm.c b/src/daemon/rpm.c -index c84f1221..b9ac9767 100644 ---- a/src/daemon/rpm.c -+++ b/src/daemon/rpm.c -@@ -24,6 +24,7 @@ - #include - #include - #include -+#include - #include - - struct rpmPubkey_s { -@@ -92,6 +93,15 @@ void rpm_destroy() - g_list_free_full(g_steal_pointer(&list_fingerprints), free); - } - -+ -+// TODO: pgpHexStr() has been renamed to rpmhex() recently, and -+// pgpHexStr() is now deprecated and it will be dropped -+// in the future. Let's keep using the old name for now -+// as the replacement is only available in Rawhide (f37). -+// https://github.com/rpm-software-management/rpm/commit/d44be2cbc1c3265d55f05b47daa69334a7a133e6 -+// Ignore the deprecation warning in this function -+#pragma GCC diagnostic push -+#pragma GCC diagnostic ignored "-Wdeprecated-declarations" - void rpm_load_gpgkey(const char* filename) - { - #ifdef HAVE_LIBRPM -@@ -133,6 +143,7 @@ void rpm_load_gpgkey(const char* filename) - return; - #endif - } -+#pragma GCC diagnostic pop - - int rpm_chk_fingerprint(const char* pkg) - { --- -2.36.1 - diff --git a/0002-abrt-journal-call-sd_journal_get_fd-right-after-sd_j.patch b/0002-abrt-journal-call-sd_journal_get_fd-right-after-sd_j.patch deleted file mode 100644 index 9c42e6e..0000000 --- a/0002-abrt-journal-call-sd_journal_get_fd-right-after-sd_j.patch +++ /dev/null @@ -1,65 +0,0 @@ -From 4ebe2699287844d2766f87062c48d8953b292bfe Mon Sep 17 00:00:00 2001 -From: Michal Srb -Date: Tue, 11 Oct 2022 22:41:33 +0200 -Subject: [PATCH] abrt-journal: call sd_journal_get_fd() right after - sd_journal_open() - -See: rhbz#2128662 - -Under certain circumstances, abrt-dump-journal can be running, -but not receiving any event notifications from journal. - -The culprit of the issue seems to be the delayed call -to sd_journal_get_fd(), as discussed in various -issues and pull-requests in other projects. -See for example [1], [2], or [3]. - -[1]: https://github.com/systemd/systemd/issues/7998 -[2]: https://github.com/ledbettj/systemd-journal/pull/78 -[3]: https://github.com/rsyslog/rsyslog/issues/2436 - -Signed-off-by: Michal Srb ---- - src/plugins/abrt-journal.c | 6 +++++- - 1 file changed, 5 insertions(+), 1 deletion(-) - -diff --git a/src/plugins/abrt-journal.c b/src/plugins/abrt-journal.c -index adc9440e..48ae8c99 100644 ---- a/src/plugins/abrt-journal.c -+++ b/src/plugins/abrt-journal.c -@@ -35,12 +35,15 @@ - struct abrt_journal - { - sd_journal *j; -+ int fd; - }; - - static int abrt_journal_new_flags(abrt_journal_t **journal, int flags) - { - sd_journal *j; - const int r = sd_journal_open(&j, flags); -+ const int fd = sd_journal_get_fd(j); -+ - if (r < 0) - { - log_notice("Failed to open journal: %s", strerror(-r)); -@@ -49,6 +52,7 @@ static int abrt_journal_new_flags(abrt_journal_t **journal, int flags) - - *journal = g_malloc0(sizeof(**journal)); - (*journal)->j = j; -+ (*journal)->fd = fd; - - return 0; - } -@@ -452,7 +456,7 @@ int abrt_journal_watch_run_sync(abrt_journal_watch_t *watch) - sigdelset(&mask, SIGKILL); - - struct pollfd pollfd; -- pollfd.fd = sd_journal_get_fd(watch->j->j); -+ pollfd.fd = watch->j->fd; - pollfd.events = sd_journal_get_events(watch->j->j); - - int r = 0; --- -2.37.3 - diff --git a/0003-applet-Update-GLib-constant-name.patch b/0003-applet-Update-GLib-constant-name.patch deleted file mode 100644 index ae96953..0000000 --- a/0003-applet-Update-GLib-constant-name.patch +++ /dev/null @@ -1,48 +0,0 @@ -From 8f67ddc99b4a72718290daae323fa5bc3c1d59eb Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Mat=C4=9Bj=20Grabovsk=C3=BD?= -Date: Thu, 15 Sep 2022 12:59:23 +0200 -Subject: [PATCH] applet: Update GLib constant name - -The `G_APPLICATION_FLAGS_NONE` constant has apparently been deprecated -and removed 2.73. Also bump the version constraint in the spec file. ---- - abrt.spec | 3 ++- - src/applet/abrt-applet-application.c | 2 +- - 2 files changed, 3 insertions(+), 2 deletions(-) - -diff --git a/abrt.spec b/abrt.spec -index 2f2c3027..03beca7d 100644 ---- a/abrt.spec -+++ b/abrt.spec -@@ -43,6 +43,7 @@ - %define docdirversion -%{version} - %endif - -+%define glib_ver 2.73.3 - %define libreport_ver 2.14.0 - %define satyr_ver 0.24 - -@@ -56,7 +57,7 @@ Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.ta - BuildRequires: %{dbus_devel} - BuildRequires: hostname - BuildRequires: gtk3-devel --BuildRequires: glib2-devel >= 2.43.4 -+BuildRequires: glib2-devel >= %{glib_ver} - BuildRequires: rpm-devel >= 4.6 - BuildRequires: desktop-file-utils - BuildRequires: libnotify-devel -diff --git a/src/applet/abrt-applet-application.c b/src/applet/abrt-applet-application.c -index 394d52b7..6faa8cf7 100644 ---- a/src/applet/abrt-applet-application.c -+++ b/src/applet/abrt-applet-application.c -@@ -1215,6 +1215,6 @@ abrt_applet_application_new (void) - { - return g_object_new (ABRT_APPLET_TYPE_APPLICATION, - "application-id", ABRT_DBUS_NAME ".applet", -- "flags", G_APPLICATION_FLAGS_NONE, -+ "flags", G_APPLICATION_DEFAULT_FLAGS, - NULL); - } --- -2.37.3 - diff --git a/0004-a-dump-journal-core-First-seek-the-journal-tail-and-.patch b/0004-a-dump-journal-core-First-seek-the-journal-tail-and-.patch deleted file mode 100644 index 8d130b8..0000000 --- a/0004-a-dump-journal-core-First-seek-the-journal-tail-and-.patch +++ /dev/null @@ -1,61 +0,0 @@ -From 428bdf417b33d65fa5fbdcd292f12eef704bae95 Mon Sep 17 00:00:00 2001 -From: Michal Srb -Date: Wed, 19 Oct 2022 06:43:38 +0200 -Subject: [PATCH] a-dump-journal-core: First seek the journal tail and then set - filters - -See: rhbz#2128662 - -a-dump-journal-core uses filters to jump between -systemd-coredump entries in journal. - -However, we should first jump to the starting position -(journal tail) and only then set filters. -I suspect that setting the filters early, before we are -at the starting position, can lead to the strange -behavior that we are seeing in Fedora. - -This patch makes the problem go away on my freshly-installed -Fedora 37 VM. - -Signed-off-by: Michal Srb ---- - src/plugins/abrt-dump-journal-core.c | 17 +++++++++++------ - 1 file changed, 11 insertions(+), 6 deletions(-) - -diff --git a/src/plugins/abrt-dump-journal-core.c b/src/plugins/abrt-dump-journal-core.c -index 68d5b320..1bb793a2 100644 ---- a/src/plugins/abrt-dump-journal-core.c -+++ b/src/plugins/abrt-dump-journal-core.c -@@ -628,17 +628,22 @@ main(int argc, char *argv[]) - error_msg_and_die(_("Cannot open systemd-journal")); - } - -- if (abrt_journal_set_journal_filter(journal, coredump_journal_filter) < 0) -- error_msg_and_die(_("Cannot filter systemd-journal to systemd-coredump data only")); -+ if (opts & OPT_e) { -+ if (abrt_journal_seek_tail(journal) < 0) -+ error_msg_and_die(_("Cannot seek to the end of journal")); - -- g_list_free(coredump_journal_filter); -- -- if ((opts & OPT_e) && abrt_journal_seek_tail(journal) < 0) -- error_msg_and_die(_("Cannot seek to the end of journal")); -+ if (abrt_journal_save_current_position(journal, ABRT_JOURNAL_WATCH_STATE_FILE) < 0) -+ log_warning("Failed to save the starting cursor position"); -+ } - - if (cursor && abrt_journal_set_cursor(journal, cursor)) - error_msg_and_die(_("Failed to set systemd-journal cursor '%s'"), cursor); - -+ if (abrt_journal_set_journal_filter(journal, coredump_journal_filter) < 0) -+ error_msg_and_die(_("Cannot filter systemd-journal to systemd-coredump data only")); -+ -+ g_list_free(coredump_journal_filter); -+ - if ((opts & OPT_f)) - { - if (!cursor && !(opts & OPT_e)) --- -2.37.3 - diff --git a/abrt.spec b/abrt.spec index 15ae1a0..db4fc89 100644 --- a/abrt.spec +++ b/abrt.spec @@ -22,7 +22,7 @@ %bcond_without retrace # rpmbuild --define 'desktopvendor mystring' -%if "x%{desktopvendor}" == "x" +%if "x%{?desktopvendor}" == "x" %define desktopvendor %(source /etc/os-release; echo ${ID}) %endif @@ -43,26 +43,22 @@ %define docdirversion -%{version} %endif +%define glib_ver 2.73.3 %define libreport_ver 2.14.0 %define satyr_ver 0.24 Summary: Automatic bug detection and reporting tool Name: abrt -Version: 2.15.1 -Release: 6%{?dist} +Version: 2.16.0 +Release: 1%{?dist} License: GPLv2+ URL: https://abrt.readthedocs.org/ Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz -Patch0: 0001-Fix-for-rpm-4.18.patch -Patch1: 0002-abrt-journal-call-sd_journal_get_fd-right-after-sd_j.patch -Patch2: 0003-applet-Update-GLib-constant-name.patch -Patch3: 0004-a-dump-journal-core-First-seek-the-journal-tail-and-.patch - BuildRequires: git-core BuildRequires: %{dbus_devel} BuildRequires: hostname BuildRequires: gtk3-devel -BuildRequires: glib2-devel >= 2.43.4 +BuildRequires: glib2-devel >= %{glib_ver} BuildRequires: rpm-devel >= 4.6 BuildRequires: desktop-file-utils BuildRequires: libnotify-devel @@ -72,7 +68,7 @@ BuildRequires: gettext BuildRequires: libxml2-devel BuildRequires: intltool BuildRequires: libtool -BuildRequires: libsoup-devel +BuildRequires: libsoup3-devel BuildRequires: asciidoc BuildRequires: doxygen BuildRequires: xmlto @@ -80,16 +76,20 @@ BuildRequires: libreport-devel >= %{libreport_ver} BuildRequires: satyr-devel >= %{satyr_ver} BuildRequires: augeas BuildRequires: libselinux-devel +# Required for the %%{_unitdir} and %%{_tmpfilesdir} macros. +BuildRequires: systemd-rpm-macros %if %{with python3} BuildRequires: python3-devel BuildRequires: python3-systemd BuildRequires: python3-argcomplete BuildRequires: python3-dbus +%if 0%{?fedora} # https://docs.fedoraproject.org/en-US/packaging-guidelines/Python_Appendix/#_byte_compilation_reproducibility %global py_reproducible_pyc_path %{buildroot}%{python3_sitelib} BuildRequires: /usr/bin/marshalparser %endif +%endif Requires: libreport >= %{libreport_ver} Requires: satyr >= %{satyr_ver} @@ -197,11 +197,9 @@ Summary: %{name}'s C/C++ addon Requires: cpio Requires: gdb-headless Requires: elfutils +# Required for local retracing with GDB. +Requires: elfutils-debuginfod-client %if 0%{!?rhel:1} -%if %{with retrace} -# abrt-action-perform-ccpp-analysis wants to run analyze_RetraceServer: -Requires: %{name}-retrace-client -%endif %endif Requires: %{name} = %{version}-%{release} Requires: abrt-libs = %{version}-%{release} @@ -209,6 +207,7 @@ Requires: abrt-libs = %{version}-%{release} Requires: python3-libreport %endif Obsoletes: abrt-addon-coredump-helper <= 2.12.2 +Obsoletes: abrt-retrace-client <= 2.15.1 %description addon-ccpp @@ -222,20 +221,6 @@ Requires: abrt-libs = %{version}-%{release} %description addon-upload-watch This package contains hook for uploaded problems. -%if %{with retrace} -%package retrace-client -Summary: %{name}'s retrace client -Requires: %{name} = %{version}-%{release} -Requires: xz -Requires: tar -Requires: p11-kit-trust -Requires: libsoup - -%description retrace-client -This package contains the client application for Retrace server -which is able to analyze C/C++ crashes remotely. -%endif - %package addon-kerneloops Summary: %{name}'s kerneloops addon Requires: curl @@ -361,9 +346,6 @@ Requires: python3-abrt-addon %endif Requires: abrt-addon-xorg %if ! 0%{?rhel} -%if %{with retrace} -Requires: abrt-retrace-client -%endif %if %{with bodhi} Requires: abrt-plugin-bodhi %endif @@ -401,9 +383,6 @@ Requires: gdb-headless Requires: abrt-gui Requires: gnome-abrt %if ! 0%{?rhel} -%if %{with retrace} -Requires: abrt-retrace-client -%endif %if %{with bodhi} Requires: abrt-plugin-bodhi %endif @@ -481,7 +460,6 @@ to the shell %global __scm_apply_git(qp:m:) %{__git} am --exclude doc/design --exclude doc/project/abrt.tex %autosetup -S git -p 0 - %build ./autogen.sh @@ -497,9 +475,6 @@ CFLAGS="%{optflags} -Werror" %configure \ %if %{without atomic} --without-atomic \ %endif -%if %{without retrace} - --without-retrace \ -%endif %ifnarch %{arm} --enable-native-unwinder \ %endif @@ -553,7 +528,6 @@ make check|| { # do not cat tests/testsuite.log because it contains a lot of bloat find src -name "test-suite.log" -print -exec cat '{}' \; find tests/testsuite.dir -name "testsuite.log" -print -exec cat '{}' \; - cat src/cli/test-suite.log exit 1 } @@ -817,19 +791,13 @@ killall abrt-dbus >/dev/null 2>&1 || : %dir %{_localstatedir}/lib/abrt -# attr(2755) ~= SETGID -%attr(2755, abrt, abrt) %{_libexecdir}/abrt-action-install-debuginfo-to-abrt-cache - %{_bindir}/abrt-action-analyze-c %{_bindir}/abrt-action-trim-files -%{_bindir}/abrt-action-analyze-core %{_bindir}/abrt-action-analyze-vulnerability -%{_bindir}/abrt-action-install-debuginfo %{_bindir}/abrt-action-generate-backtrace %{_bindir}/abrt-action-generate-core-backtrace %{_bindir}/abrt-action-analyze-backtrace %{_bindir}/abrt-action-list-dsos -%{_bindir}/abrt-action-perform-ccpp-analysis %{_bindir}/abrt-action-analyze-ccpp-local %{_bindir}/abrt-dump-journal-core %config(noreplace) %{_sysconfdir}/libreport/events.d/ccpp_event.conf @@ -840,7 +808,6 @@ killall abrt-dbus >/dev/null 2>&1 || : %{_mandir}/man5/vimrc_event.conf.5* %{_datadir}/libreport/events/analyze_CCpp.xml %{_datadir}/libreport/events/analyze_LocalGDB.xml -%{_datadir}/libreport/events/analyze_RetraceServer.xml %{_datadir}/libreport/events/collect_xsession_errors.xml %{_datadir}/libreport/events/collect_GConf.xml %{_datadir}/libreport/events/collect_vimrc_user.xml @@ -852,11 +819,8 @@ killall abrt-dbus >/dev/null 2>&1 || : %{_mandir}/man*/abrt-action-generate-core-backtrace.* %{_mandir}/man*/abrt-action-analyze-backtrace.* %{_mandir}/man*/abrt-action-list-dsos.* -%{_mandir}/man*/abrt-action-install-debuginfo.* %{_mandir}/man*/abrt-action-analyze-ccpp-local.* -%{_mandir}/man*/abrt-action-analyze-core.* %{_mandir}/man*/abrt-action-analyze-vulnerability.* -%{_mandir}/man*/abrt-action-perform-ccpp-analysis.* %{_mandir}/man1/abrt-dump-journal-core.1* %files addon-upload-watch @@ -865,14 +829,6 @@ killall abrt-dbus >/dev/null 2>&1 || : %{_mandir}/man*/abrt-upload-watch.* -%if %{with retrace} -%files retrace-client -%{_bindir}/abrt-retrace-client -%{_mandir}/man1/abrt-retrace-client.1* -%config(noreplace) %{_sysconfdir}/libreport/events.d/ccpp_retrace_event.conf -%{_mandir}/man5/ccpp_retrace_event.conf.5* -%endif - %files addon-kerneloops %config(noreplace) %{_sysconfdir}/libreport/events.d/koops_event.conf %{_journalcatalogdir}/abrt_koops.catalog @@ -954,7 +910,6 @@ killall abrt-dbus >/dev/null 2>&1 || : %files tui %if %{with python3} -%config(noreplace) %{_sysconfdir}/bash_completion.d/abrt.bash_completion %{_bindir}/abrt %{_bindir}/abrt-cli %{python3_sitelib}/abrtcli/ @@ -1011,6 +966,9 @@ killall abrt-dbus >/dev/null 2>&1 || : %config(noreplace) %{_sysconfdir}/profile.d/abrt-console-notification.sh %changelog +* Mon Oct 24 2022 Michal Srb - 2.16.0-1 +- Update to upstream release 2.16.0 + * Wed Oct 19 2022 Michal Srb - 2.15.1-6 - abrt-journal: First seek the journal tail and then set filters - Resolves: rhbz#2128662 diff --git a/sources b/sources index d9aac56..b028c85 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (abrt-2.15.1.tar.gz) = 745c513969b78ee7c76c310a8c2fc0bafd1e50375130fa773ad950bf123ee50cfa237da9b331f2c0af2851b35b162cbc908f2e00d59283867ed8ffd72236d0ea +SHA512 (abrt-2.16.0.tar.gz) = 243594580ad728bfa96c42005d29b3f76f0910cc80a4f4243f1ead7d2087e8ba5a5eadcc5405739bffaa43ed1b4bc0822ee1796ab2d16938a45a6823cfe9f1a5 From e73a64df97c48f6fd0a4f61456caf3b7ff602ce9 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 18 Jan 2023 21:19:42 +0000 Subject: [PATCH 49/79] Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- abrt.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/abrt.spec b/abrt.spec index db4fc89..974234c 100644 --- a/abrt.spec +++ b/abrt.spec @@ -50,7 +50,7 @@ Summary: Automatic bug detection and reporting tool Name: abrt Version: 2.16.0 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2+ URL: https://abrt.readthedocs.org/ Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz @@ -966,6 +966,9 @@ killall abrt-dbus >/dev/null 2>&1 || : %config(noreplace) %{_sysconfdir}/profile.d/abrt-console-notification.sh %changelog +* Wed Jan 18 2023 Fedora Release Engineering - 2.16.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + * Mon Oct 24 2022 Michal Srb - 2.16.0-1 - Update to upstream release 2.16.0 From 8c7bdb15235b4d343765e906f2cfc47de2f690c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=9Bj=20Grabovsk=C3=BD?= Date: Thu, 2 Feb 2023 15:54:58 +0100 Subject: [PATCH 50/79] Use SPDX format for license field See [the wiki][1] for details. [1]: https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_1 --- abrt.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/abrt.spec b/abrt.spec index 974234c..d85b1de 100644 --- a/abrt.spec +++ b/abrt.spec @@ -51,7 +51,7 @@ Summary: Automatic bug detection and reporting tool Name: abrt Version: 2.16.0 Release: 2%{?dist} -License: GPLv2+ +License: GPL-2.0-or-later URL: https://abrt.readthedocs.org/ Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz BuildRequires: git-core From e65ab2c3e6f5b68c125b4d7d544ce98b25f359d1 Mon Sep 17 00:00:00 2001 From: Michal Srb Date: Thu, 30 Mar 2023 11:37:17 +0200 Subject: [PATCH 51/79] Update to upstream release 2.16.1 Signed-off-by: Michal Srb --- .gitignore | 1 + abrt.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 424d319..b777d6a 100644 --- a/.gitignore +++ b/.gitignore @@ -78,3 +78,4 @@ abrt-1.1.13.tar.gz /abrt-2.15.0.tar.gz /abrt-2.15.1.tar.gz /abrt-2.16.0.tar.gz +/abrt-2.16.1.tar.gz diff --git a/abrt.spec b/abrt.spec index d85b1de..1c62018 100644 --- a/abrt.spec +++ b/abrt.spec @@ -49,8 +49,8 @@ Summary: Automatic bug detection and reporting tool Name: abrt -Version: 2.16.0 -Release: 2%{?dist} +Version: 2.16.1 +Release: 1%{?dist} License: GPL-2.0-or-later URL: https://abrt.readthedocs.org/ Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz @@ -966,6 +966,9 @@ killall abrt-dbus >/dev/null 2>&1 || : %config(noreplace) %{_sysconfdir}/profile.d/abrt-console-notification.sh %changelog +* Thu Mar 30 2023 Michal Srb - 2.16.1-1 +- Update to upstream release 2.16.1 + * Wed Jan 18 2023 Fedora Release Engineering - 2.16.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild diff --git a/sources b/sources index b028c85..a543ab6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (abrt-2.16.0.tar.gz) = 243594580ad728bfa96c42005d29b3f76f0910cc80a4f4243f1ead7d2087e8ba5a5eadcc5405739bffaa43ed1b4bc0822ee1796ab2d16938a45a6823cfe9f1a5 +SHA512 (abrt-2.16.1.tar.gz) = a5babbc6fb67ff8ffbf648eec1195132e2128c27b27da9ec5272f894720d75abb147887a0327399a27fdbb87f2aa00a9d894b787e66433a369912c2b9c34c7c5 From 1f0eac990d8017977be50d92271969d55e4436b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=9Bj=20Grabovsk=C3=BD?= Date: Mon, 22 May 2023 11:38:34 +0200 Subject: [PATCH 52/79] Update to upstream release 2.17.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Matěj Grabovský --- .gitignore | 1 + abrt.spec | 8 ++++++-- sources | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index b777d6a..c236681 100644 --- a/.gitignore +++ b/.gitignore @@ -79,3 +79,4 @@ abrt-1.1.13.tar.gz /abrt-2.15.1.tar.gz /abrt-2.16.0.tar.gz /abrt-2.16.1.tar.gz +/abrt-2.17.0.tar.gz diff --git a/abrt.spec b/abrt.spec index 1c62018..994f919 100644 --- a/abrt.spec +++ b/abrt.spec @@ -49,7 +49,7 @@ Summary: Automatic bug detection and reporting tool Name: abrt -Version: 2.16.1 +Version: 2.17.0 Release: 1%{?dist} License: GPL-2.0-or-later URL: https://abrt.readthedocs.org/ @@ -59,7 +59,7 @@ BuildRequires: %{dbus_devel} BuildRequires: hostname BuildRequires: gtk3-devel BuildRequires: glib2-devel >= %{glib_ver} -BuildRequires: rpm-devel >= 4.6 +BuildRequires: rpm-devel >= 4.18 BuildRequires: desktop-file-utils BuildRequires: libnotify-devel #why? BuildRequires: file-devel @@ -966,6 +966,10 @@ killall abrt-dbus >/dev/null 2>&1 || : %config(noreplace) %{_sysconfdir}/profile.d/abrt-console-notification.sh %changelog +* Mon May 22 2023 Matěj Grabovský - 2.17.0-1 +- Update to upstream release 2.17.0 +- Bump rpm-devel dependency to 4.18 + * Thu Mar 30 2023 Michal Srb - 2.16.1-1 - Update to upstream release 2.16.1 diff --git a/sources b/sources index a543ab6..ca6e2ec 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (abrt-2.16.1.tar.gz) = a5babbc6fb67ff8ffbf648eec1195132e2128c27b27da9ec5272f894720d75abb147887a0327399a27fdbb87f2aa00a9d894b787e66433a369912c2b9c34c7c5 +SHA512 (abrt-2.17.0.tar.gz) = 6a2e66436ad097af3a270613ecdbe1b3f67820b7912c2607e3fea7f4b31166d99aa467757eb9504397163fa269af5ab6a88abbd2fa0cbad34f3e938ddddc49e7 From 7073ad434640c52324e9ef7d466fbfc2f437b756 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Wed, 28 Jun 2023 19:02:20 +0200 Subject: [PATCH 53/79] Rebuilt for Python 3.12 --- abrt.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/abrt.spec b/abrt.spec index 994f919..4244f4f 100644 --- a/abrt.spec +++ b/abrt.spec @@ -50,7 +50,7 @@ Summary: Automatic bug detection and reporting tool Name: abrt Version: 2.17.0 -Release: 1%{?dist} +Release: 2%{?dist} License: GPL-2.0-or-later URL: https://abrt.readthedocs.org/ Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz @@ -966,6 +966,9 @@ killall abrt-dbus >/dev/null 2>&1 || : %config(noreplace) %{_sysconfdir}/profile.d/abrt-console-notification.sh %changelog +* Wed Jun 28 2023 Python Maint - 2.17.0-2 +- Rebuilt for Python 3.12 + * Mon May 22 2023 Matěj Grabovský - 2.17.0-1 - Update to upstream release 2.17.0 - Bump rpm-devel dependency to 4.18 From e76a84e22db7e8b28b6791721202b84b022942bd Mon Sep 17 00:00:00 2001 From: Michal Srb Date: Fri, 30 Jun 2023 13:29:27 +0200 Subject: [PATCH 54/79] Update to upstream release 2.17.1 Signed-off-by: Michal Srb --- .gitignore | 1 + abrt.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index c236681..9883f4e 100644 --- a/.gitignore +++ b/.gitignore @@ -80,3 +80,4 @@ abrt-1.1.13.tar.gz /abrt-2.16.0.tar.gz /abrt-2.16.1.tar.gz /abrt-2.17.0.tar.gz +/abrt-2.17.1.tar.gz diff --git a/abrt.spec b/abrt.spec index 4244f4f..898033e 100644 --- a/abrt.spec +++ b/abrt.spec @@ -49,8 +49,8 @@ Summary: Automatic bug detection and reporting tool Name: abrt -Version: 2.17.0 -Release: 2%{?dist} +Version: 2.17.1 +Release: 1%{?dist} License: GPL-2.0-or-later URL: https://abrt.readthedocs.org/ Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz @@ -966,6 +966,9 @@ killall abrt-dbus >/dev/null 2>&1 || : %config(noreplace) %{_sysconfdir}/profile.d/abrt-console-notification.sh %changelog +* Fri Jun 30 2023 Michal Srb - 2.17.1-1 +- Update to upstream release 2.17.1 + * Wed Jun 28 2023 Python Maint - 2.17.0-2 - Rebuilt for Python 3.12 diff --git a/sources b/sources index ca6e2ec..04baaf7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (abrt-2.17.0.tar.gz) = 6a2e66436ad097af3a270613ecdbe1b3f67820b7912c2607e3fea7f4b31166d99aa467757eb9504397163fa269af5ab6a88abbd2fa0cbad34f3e938ddddc49e7 +SHA512 (abrt-2.17.1.tar.gz) = 6f4a1eca2ee2fc87974b32984f3750a86469502e5a0a7f7063d9992e0e5e1dff60bc2e0001908bbb1bbc2956c10a9319342b7dd869437bdded82fc8a4ef09c20 From bbc9c5edc4de4a1f52333530c5e7c4f4b451a90a Mon Sep 17 00:00:00 2001 From: Python Maint Date: Sat, 1 Jul 2023 11:44:59 +0200 Subject: [PATCH 55/79] Rebuilt for Python 3.12 --- abrt.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/abrt.spec b/abrt.spec index 898033e..b08708d 100644 --- a/abrt.spec +++ b/abrt.spec @@ -50,7 +50,7 @@ Summary: Automatic bug detection and reporting tool Name: abrt Version: 2.17.1 -Release: 1%{?dist} +Release: 2%{?dist} License: GPL-2.0-or-later URL: https://abrt.readthedocs.org/ Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz @@ -966,6 +966,9 @@ killall abrt-dbus >/dev/null 2>&1 || : %config(noreplace) %{_sysconfdir}/profile.d/abrt-console-notification.sh %changelog +* Sat Jul 01 2023 Python Maint - 2.17.1-2 +- Rebuilt for Python 3.12 + * Fri Jun 30 2023 Michal Srb - 2.17.1-1 - Update to upstream release 2.17.1 From 32054b4681227b8b419ac523e0cdd562ffdea89f Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 19 Jul 2023 12:49:45 +0000 Subject: [PATCH 56/79] Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- abrt.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/abrt.spec b/abrt.spec index b08708d..967587c 100644 --- a/abrt.spec +++ b/abrt.spec @@ -50,7 +50,7 @@ Summary: Automatic bug detection and reporting tool Name: abrt Version: 2.17.1 -Release: 2%{?dist} +Release: 3%{?dist} License: GPL-2.0-or-later URL: https://abrt.readthedocs.org/ Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz @@ -966,6 +966,9 @@ killall abrt-dbus >/dev/null 2>&1 || : %config(noreplace) %{_sysconfdir}/profile.d/abrt-console-notification.sh %changelog +* Wed Jul 19 2023 Fedora Release Engineering - 2.17.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + * Sat Jul 01 2023 Python Maint - 2.17.1-2 - Rebuilt for Python 3.12 From f1adb645779b4a5adca5c42220dec2d3458383de Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 19 Jan 2024 12:03:02 +0000 Subject: [PATCH 57/79] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- abrt.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/abrt.spec b/abrt.spec index 967587c..f772532 100644 --- a/abrt.spec +++ b/abrt.spec @@ -50,7 +50,7 @@ Summary: Automatic bug detection and reporting tool Name: abrt Version: 2.17.1 -Release: 3%{?dist} +Release: 4%{?dist} License: GPL-2.0-or-later URL: https://abrt.readthedocs.org/ Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz @@ -966,6 +966,9 @@ killall abrt-dbus >/dev/null 2>&1 || : %config(noreplace) %{_sysconfdir}/profile.d/abrt-console-notification.sh %changelog +* Fri Jan 19 2024 Fedora Release Engineering - 2.17.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Wed Jul 19 2023 Fedora Release Engineering - 2.17.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild From 7eebe59cc3fdda898007447a82d2faeb0f6a9f53 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Mon, 22 Jan 2024 22:34:46 +0000 Subject: [PATCH 58/79] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- abrt.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/abrt.spec b/abrt.spec index f772532..819cbca 100644 --- a/abrt.spec +++ b/abrt.spec @@ -50,7 +50,7 @@ Summary: Automatic bug detection and reporting tool Name: abrt Version: 2.17.1 -Release: 4%{?dist} +Release: 5%{?dist} License: GPL-2.0-or-later URL: https://abrt.readthedocs.org/ Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz @@ -966,6 +966,9 @@ killall abrt-dbus >/dev/null 2>&1 || : %config(noreplace) %{_sysconfdir}/profile.d/abrt-console-notification.sh %changelog +* Mon Jan 22 2024 Fedora Release Engineering - 2.17.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Fri Jan 19 2024 Fedora Release Engineering - 2.17.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From 7fea67f0edba61c9435260ef87eeffd249c1ba18 Mon Sep 17 00:00:00 2001 From: Michal Srb Date: Sun, 4 Feb 2024 23:45:24 +0100 Subject: [PATCH 59/79] Update to upstream release 2.17.2 Signed-off-by: Michal Srb --- .gitignore | 1 + abrt.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 9883f4e..ffbcf8a 100644 --- a/.gitignore +++ b/.gitignore @@ -81,3 +81,4 @@ abrt-1.1.13.tar.gz /abrt-2.16.1.tar.gz /abrt-2.17.0.tar.gz /abrt-2.17.1.tar.gz +/abrt-2.17.2.tar.gz diff --git a/abrt.spec b/abrt.spec index 819cbca..9d0c3e8 100644 --- a/abrt.spec +++ b/abrt.spec @@ -49,8 +49,8 @@ Summary: Automatic bug detection and reporting tool Name: abrt -Version: 2.17.1 -Release: 5%{?dist} +Version: 2.17.2 +Release: 1%{?dist} License: GPL-2.0-or-later URL: https://abrt.readthedocs.org/ Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz @@ -966,6 +966,9 @@ killall abrt-dbus >/dev/null 2>&1 || : %config(noreplace) %{_sysconfdir}/profile.d/abrt-console-notification.sh %changelog +* Sun Feb 04 2024 Michal Srb - 2.17.2-1 +- Update to upstream release 2.17.2 + * Mon Jan 22 2024 Fedora Release Engineering - 2.17.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild diff --git a/sources b/sources index 04baaf7..b30f820 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (abrt-2.17.1.tar.gz) = 6f4a1eca2ee2fc87974b32984f3750a86469502e5a0a7f7063d9992e0e5e1dff60bc2e0001908bbb1bbc2956c10a9319342b7dd869437bdded82fc8a4ef09c20 +SHA512 (abrt-2.17.2.tar.gz) = 47113739e400739c61a0eaf29377fb8c1f43c24f323ab984e6844dccf66de201606369cffdde502807767df5d5398a5e0d909d30e0d8349ef1c816969e3385af From 58c69f3384c825595a98da11d8351dac5d594df9 Mon Sep 17 00:00:00 2001 From: Michal Srb Date: Mon, 5 Feb 2024 22:35:28 +0100 Subject: [PATCH 60/79] Update spec file Signed-off-by: Michal Srb --- abrt.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/abrt.spec b/abrt.spec index 9d0c3e8..102f43a 100644 --- a/abrt.spec +++ b/abrt.spec @@ -44,7 +44,7 @@ %endif %define glib_ver 2.73.3 -%define libreport_ver 2.14.0 +%define libreport_ver 2.17.13 %define satyr_ver 0.24 Summary: Automatic bug detection and reporting tool @@ -275,6 +275,7 @@ This package contains plugin for collecting kernel oopses from pstore storage. %package plugin-bodhi Summary: %{name}'s bodhi plugin Requires: %{name} = %{version}-%{release} +Requires: abrt-libs = %{version}-%{release} Obsoletes: libreport-plugin-bodhi <= 2.0.10 Provides: libreport-plugin-bodhi = %{version}-%{release} @@ -785,6 +786,7 @@ killall abrt-dbus >/dev/null 2>&1 || : %config(noreplace) %{_sysconfdir}/%{name}/plugins/CCpp.conf %{_mandir}/man5/abrt-CCpp.conf.5* %{_libexecdir}/abrt-gdb-exploitable +%{_libexecdir}/abrt-action-coredump %config(noreplace) %{_sysconfdir}/libreport/plugins/catalog_journal_ccpp_format.conf %{_unitdir}/abrt-journal-core.service %{_journalcatalogdir}/abrt_ccpp.catalog From e8f18508dab09e7c91bc988e89e08a63ea6eb4da Mon Sep 17 00:00:00 2001 From: Michal Srb Date: Mon, 12 Feb 2024 22:59:07 +0100 Subject: [PATCH 61/79] Update to upstream release 2.17.4 Signed-off-by: Michal Srb --- .gitignore | 1 + abrt.spec | 5 ++++- sources | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index ffbcf8a..61d905a 100644 --- a/.gitignore +++ b/.gitignore @@ -82,3 +82,4 @@ abrt-1.1.13.tar.gz /abrt-2.17.0.tar.gz /abrt-2.17.1.tar.gz /abrt-2.17.2.tar.gz +/abrt-2.17.4.tar.gz diff --git a/abrt.spec b/abrt.spec index 102f43a..3014e18 100644 --- a/abrt.spec +++ b/abrt.spec @@ -49,7 +49,7 @@ Summary: Automatic bug detection and reporting tool Name: abrt -Version: 2.17.2 +Version: 2.17.4 Release: 1%{?dist} License: GPL-2.0-or-later URL: https://abrt.readthedocs.org/ @@ -968,6 +968,9 @@ killall abrt-dbus >/dev/null 2>&1 || : %config(noreplace) %{_sysconfdir}/profile.d/abrt-console-notification.sh %changelog +* Mon Feb 12 2024 Michal Srb - 2.17.4-1 +- Update to upstream release 2.17.4 + * Sun Feb 04 2024 Michal Srb - 2.17.2-1 - Update to upstream release 2.17.2 diff --git a/sources b/sources index b30f820..36c4712 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (abrt-2.17.2.tar.gz) = 47113739e400739c61a0eaf29377fb8c1f43c24f323ab984e6844dccf66de201606369cffdde502807767df5d5398a5e0d909d30e0d8349ef1c816969e3385af +SHA512 (abrt-2.17.4.tar.gz) = a4b809d677ff658fd7b66875153b62fc17e6f08f7817a399615db0c867e8cf927f33f3159869be562a857c74b16168fe367b5bbc7d6b2a332f4c90470473270b From 202231f9cb648b867cc5b22dff77b91103e73979 Mon Sep 17 00:00:00 2001 From: Michal Srb Date: Mon, 19 Feb 2024 19:59:39 +0100 Subject: [PATCH 62/79] Update to 2.17.5 Signed-off-by: Michal Srb --- .gitignore | 1 + abrt.spec | 5 ++++- sources | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 61d905a..e4adccf 100644 --- a/.gitignore +++ b/.gitignore @@ -83,3 +83,4 @@ abrt-1.1.13.tar.gz /abrt-2.17.1.tar.gz /abrt-2.17.2.tar.gz /abrt-2.17.4.tar.gz +/abrt-2.17.5.tar.gz diff --git a/abrt.spec b/abrt.spec index 3014e18..5295a25 100644 --- a/abrt.spec +++ b/abrt.spec @@ -49,7 +49,7 @@ Summary: Automatic bug detection and reporting tool Name: abrt -Version: 2.17.4 +Version: 2.17.5 Release: 1%{?dist} License: GPL-2.0-or-later URL: https://abrt.readthedocs.org/ @@ -968,6 +968,9 @@ killall abrt-dbus >/dev/null 2>&1 || : %config(noreplace) %{_sysconfdir}/profile.d/abrt-console-notification.sh %changelog +* Mon Feb 19 2024 Michal Srb - 2.17.5-1 +- Update to upstream release 2.17.5 + * Mon Feb 12 2024 Michal Srb - 2.17.4-1 - Update to upstream release 2.17.4 diff --git a/sources b/sources index 36c4712..e9aaae8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (abrt-2.17.4.tar.gz) = a4b809d677ff658fd7b66875153b62fc17e6f08f7817a399615db0c867e8cf927f33f3159869be562a857c74b16168fe367b5bbc7d6b2a332f4c90470473270b +SHA512 (abrt-2.17.5.tar.gz) = f72be9eb3f16ba7bbdce69282438f48e6217d2c3ebfce2b30cc60d1893c9f8afe0b526862dbf6a06b973ad0560bc773f685ff2321a7b18490030b26801391a6b From af451300aa03247db3c75b77ee52f7cffac8db66 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Sun, 9 Jun 2024 02:46:55 +0200 Subject: [PATCH 63/79] Rebuilt for Python 3.13 --- abrt.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/abrt.spec b/abrt.spec index 5295a25..c8f8c04 100644 --- a/abrt.spec +++ b/abrt.spec @@ -50,7 +50,7 @@ Summary: Automatic bug detection and reporting tool Name: abrt Version: 2.17.5 -Release: 1%{?dist} +Release: 2%{?dist} License: GPL-2.0-or-later URL: https://abrt.readthedocs.org/ Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz @@ -968,6 +968,9 @@ killall abrt-dbus >/dev/null 2>&1 || : %config(noreplace) %{_sysconfdir}/profile.d/abrt-console-notification.sh %changelog +* Sun Jun 09 2024 Python Maint - 2.17.5-2 +- Rebuilt for Python 3.13 + * Mon Feb 19 2024 Michal Srb - 2.17.5-1 - Update to upstream release 2.17.5 From 66812b6c9237d7d854469e95777c0b953e0a94a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Tue, 18 Jun 2024 13:04:35 +0200 Subject: [PATCH 64/79] Drop call to marshalparser This is now done automatically by add-determinism: https://fedoraproject.org/wiki/Changes/ReproduciblePackageBuilds --- abrt.spec | 6 ------ 1 file changed, 6 deletions(-) diff --git a/abrt.spec b/abrt.spec index c8f8c04..4216157 100644 --- a/abrt.spec +++ b/abrt.spec @@ -83,12 +83,6 @@ BuildRequires: python3-devel BuildRequires: python3-systemd BuildRequires: python3-argcomplete BuildRequires: python3-dbus - -%if 0%{?fedora} -# https://docs.fedoraproject.org/en-US/packaging-guidelines/Python_Appendix/#_byte_compilation_reproducibility -%global py_reproducible_pyc_path %{buildroot}%{python3_sitelib} -BuildRequires: /usr/bin/marshalparser -%endif %endif Requires: libreport >= %{libreport_ver} From e5b49f4be8e16c88e9ab3921ca8e103abfd2fbe7 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 17 Jul 2024 16:31:08 +0000 Subject: [PATCH 65/79] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild --- abrt.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/abrt.spec b/abrt.spec index 4216157..5893951 100644 --- a/abrt.spec +++ b/abrt.spec @@ -50,7 +50,7 @@ Summary: Automatic bug detection and reporting tool Name: abrt Version: 2.17.5 -Release: 2%{?dist} +Release: 3%{?dist} License: GPL-2.0-or-later URL: https://abrt.readthedocs.org/ Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz @@ -962,6 +962,9 @@ killall abrt-dbus >/dev/null 2>&1 || : %config(noreplace) %{_sysconfdir}/profile.d/abrt-console-notification.sh %changelog +* Wed Jul 17 2024 Fedora Release Engineering - 2.17.5-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + * Sun Jun 09 2024 Python Maint - 2.17.5-2 - Rebuilt for Python 3.13 From d48adf45004144dbf0bc479b2453cf60fefbd0b1 Mon Sep 17 00:00:00 2001 From: Michal Srb Date: Sun, 1 Sep 2024 15:24:09 +0200 Subject: [PATCH 66/79] Update to upstream release 2.17.6 Signed-off-by: Michal Srb --- .gitignore | 1 + abrt.spec | 8 ++++++-- sources | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index e4adccf..83c640b 100644 --- a/.gitignore +++ b/.gitignore @@ -84,3 +84,4 @@ abrt-1.1.13.tar.gz /abrt-2.17.2.tar.gz /abrt-2.17.4.tar.gz /abrt-2.17.5.tar.gz +/abrt-2.17.6.tar.gz diff --git a/abrt.spec b/abrt.spec index 5893951..5fb5923 100644 --- a/abrt.spec +++ b/abrt.spec @@ -49,8 +49,8 @@ Summary: Automatic bug detection and reporting tool Name: abrt -Version: 2.17.5 -Release: 3%{?dist} +Version: 2.17.6 +Release: 1%{?dist} License: GPL-2.0-or-later URL: https://abrt.readthedocs.org/ Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz @@ -962,6 +962,10 @@ killall abrt-dbus >/dev/null 2>&1 || : %config(noreplace) %{_sysconfdir}/profile.d/abrt-console-notification.sh %changelog +* Sun Sep 01 2024 Michal Srb - 2.17.6-1 +- Update to upstream release 2.17.6 +- Fix reading signature information from RPM headers (rhbz#2307278) + * Wed Jul 17 2024 Fedora Release Engineering - 2.17.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild diff --git a/sources b/sources index e9aaae8..77e5b6a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (abrt-2.17.5.tar.gz) = f72be9eb3f16ba7bbdce69282438f48e6217d2c3ebfce2b30cc60d1893c9f8afe0b526862dbf6a06b973ad0560bc773f685ff2321a7b18490030b26801391a6b +SHA512 (abrt-2.17.6.tar.gz) = 1e3729187c609f72e6d72c91815fc74e9ff8bed14dd678c093e4c47eafecb4e00fbe0b185e3a1ece614b994302c35de6a171449d5e80157a4fee16ccc7e60277 From 1bb862864421a082c25fb635753f3d82e9b0a50e Mon Sep 17 00:00:00 2001 From: Neal Gompa Date: Wed, 11 Sep 2024 12:56:30 +0200 Subject: [PATCH 67/79] Drop container handler (rhbz#2295150) --- abrt.spec | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/abrt.spec b/abrt.spec index 5fb5923..6d83b4d 100644 --- a/abrt.spec +++ b/abrt.spec @@ -9,6 +9,13 @@ %bcond_with python3 %endif +%if 0%{?fedora} >= 41 || 0%{?rhel} >= 10 +%bcond_with container_handler +%else +%bcond_without container_handler +%endif + + %if 0%{?rhel}%{?suse_version} %bcond_with bodhi %else @@ -50,7 +57,7 @@ Summary: Automatic bug detection and reporting tool Name: abrt Version: 2.17.6 -Release: 1%{?dist} +Release: 2%{?dist} License: GPL-2.0-or-later URL: https://abrt.readthedocs.org/ Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz @@ -289,6 +296,7 @@ Requires: python3-abrt This package contains python 3 hook and python analyzer plugin for handling uncaught exception in python 3 programs. +%if %{with container_handler} %package -n python3-abrt-container-addon Summary: %{name}'s container addon for catching Python 3 exceptions BuildArch: noarch @@ -300,6 +308,8 @@ This package contains python 3 hook and handling uncaught exception in python 3 programs in container. %endif +%endif + %package plugin-machine-id Summary: %{name}'s plugin to generate machine_id based off dmidecode Requires: %{name} = %{version}-%{release} @@ -512,6 +522,13 @@ ln -sf %{_datadir}/applications/org.freedesktop.problems.applet.desktop %{buildr %if %{with python3} ln -sf %{_bindir}/abrt %{buildroot}%{_bindir}/abrt-cli ln -sf %{_mandir}/man1/abrt.1 %{buildroot}%{_mandir}/man1/abrt-cli.1 + +%if ! %{with container_handler} +rm -vf %{buildroot}%{python3_sitelib}/abrt3_container.pth +rm -vf %{buildroot}%{python3_sitelib}/abrt_exception_handler3_container.py +rm -vf %{buildroot}%{python3_sitelib}/__pycache__/abrt_exception_handler3_container.* +%endif + %endif # After everything is installed, remove info dir @@ -892,12 +909,15 @@ killall abrt-dbus >/dev/null 2>&1 || : %{python3_sitelib}/abrt_exception_handler3.py %{python3_sitelib}/__pycache__/abrt_exception_handler3.* +%if %{with container_handler} %files -n python3-abrt-container-addon %{python3_sitelib}/abrt3_container.pth %{python3_sitelib}/abrt_exception_handler3_container.py %{python3_sitelib}/__pycache__/abrt_exception_handler3_container.* %endif +%endif + %files plugin-machine-id %config(noreplace) %{_sysconfdir}/libreport/events.d/machine-id_event.conf %{_libexecdir}/abrt-action-generate-machine-id @@ -962,6 +982,9 @@ killall abrt-dbus >/dev/null 2>&1 || : %config(noreplace) %{_sysconfdir}/profile.d/abrt-console-notification.sh %changelog +* Wed Sep 11 2024 Neal Gompa - 2.17.6-2 +- Drop container handler (rhbz#2295150) + * Sun Sep 01 2024 Michal Srb - 2.17.6-1 - Update to upstream release 2.17.6 - Fix reading signature information from RPM headers (rhbz#2307278) From 67fc5aa7565f8695eda11f3ba88f8edb2d6483f9 Mon Sep 17 00:00:00 2001 From: David Abdurachmanov Date: Wed, 20 Nov 2024 16:45:35 +0000 Subject: [PATCH 68/79] Disable Requires on kexec-tools for riscv64 kexec is supported for riscv64 on the kernel side, but the tooling side is not yet upstreamed. Status is unknown. See recent failed kexec-tools builds on riscv64 here: http://fedora.riscv.rocks/koji/packageinfo?packageID=17577 Signed-off-by: David Abdurachmanov Signed-off-by: Richard W.M. Jones --- abrt.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/abrt.spec b/abrt.spec index 6d83b4d..783d3c4 100644 --- a/abrt.spec +++ b/abrt.spec @@ -57,7 +57,7 @@ Summary: Automatic bug detection and reporting tool Name: abrt Version: 2.17.6 -Release: 2%{?dist} +Release: 3%{?dist} License: GPL-2.0-or-later URL: https://abrt.readthedocs.org/ Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz @@ -249,7 +249,11 @@ log. Summary: %{name}'s vmcore addon Requires: %{name} = %{version}-%{release} Requires: abrt-addon-kerneloops +# On riscv64, kexec-tools does not compile: +# "configure: error: unsupported architecture riscv64" +%ifnarch riscv64 Requires: kexec-tools +%endif %if %{with python3} Requires: python3-abrt Requires: python3-augeas @@ -982,6 +986,9 @@ killall abrt-dbus >/dev/null 2>&1 || : %config(noreplace) %{_sysconfdir}/profile.d/abrt-console-notification.sh %changelog +* Wed Nov 20 2024 David Abdurachmanov - 2.17.6-3 +- Disable Requires for kexec-tools on riscv64 (not supported) + * Wed Sep 11 2024 Neal Gompa - 2.17.6-2 - Drop container handler (rhbz#2295150) From c76a737f5a69b6e7debfae90bf14f4f1c34dff38 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 16 Jan 2025 10:29:17 +0000 Subject: [PATCH 69/79] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild --- abrt.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/abrt.spec b/abrt.spec index 783d3c4..3efaa98 100644 --- a/abrt.spec +++ b/abrt.spec @@ -57,7 +57,7 @@ Summary: Automatic bug detection and reporting tool Name: abrt Version: 2.17.6 -Release: 3%{?dist} +Release: 4%{?dist} License: GPL-2.0-or-later URL: https://abrt.readthedocs.org/ Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz @@ -986,6 +986,9 @@ killall abrt-dbus >/dev/null 2>&1 || : %config(noreplace) %{_sysconfdir}/profile.d/abrt-console-notification.sh %changelog +* Thu Jan 16 2025 Fedora Release Engineering - 2.17.6-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + * Wed Nov 20 2024 David Abdurachmanov - 2.17.6-3 - Disable Requires for kexec-tools on riscv64 (not supported) From 3063be65d9f436a61e6574e60725dba73de68a83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Thu, 23 Jan 2025 17:01:20 +0100 Subject: [PATCH 70/79] Add sysusers.d config file to allow rpm to create users/groups automatically --- abrt.spec | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/abrt.spec b/abrt.spec index 3efaa98..d003e87 100644 --- a/abrt.spec +++ b/abrt.spec @@ -57,7 +57,7 @@ Summary: Automatic bug detection and reporting tool Name: abrt Version: 2.17.6 -Release: 4%{?dist} +Release: 5%{?dist} License: GPL-2.0-or-later URL: https://abrt.readthedocs.org/ Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz @@ -469,6 +469,13 @@ to the shell %global __scm_apply_git(qp:m:) %{__git} am --exclude doc/design --exclude doc/project/abrt.tex %autosetup -S git -p 0 +# Create a sysusers.d config file +#uidgid pair 173:173 reserved in setup rhbz#670231 +%global abrt_gid_uid 173 +cat >abrt.sysusers.conf </dev/null || groupadd -f -g %{abrt_gid_uid} --system abrt -getent passwd abrt >/dev/null || useradd --system -g abrt -u %{abrt_gid_uid} -d /etc/abrt -s /sbin/nologin abrt -exit 0 - %post # $1 == 1 if install; 2 if upgrade %systemd_post abrtd.service @@ -753,6 +755,7 @@ killall abrt-dbus >/dev/null 2>&1 || : %{_mandir}/man5/abrt-action-save-package-data.conf.5* %{_mandir}/man5/gpg_keys.conf.5* %{_mandir}/man8/abrtd.8* +%{_sysusersdir}/abrt.conf %files libs %{_libdir}/libabrt.so.* @@ -986,6 +989,9 @@ killall abrt-dbus >/dev/null 2>&1 || : %config(noreplace) %{_sysconfdir}/profile.d/abrt-console-notification.sh %changelog +* Thu Jan 23 2025 Zbigniew Jędrzejewski-Szmek - 2.17.6-5 +- Add sysusers.d config file to allow rpm to create users/groups automatically + * Thu Jan 16 2025 Fedora Release Engineering - 2.17.6-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild From b8a18969b7d2f0c86e3ad294fddb8cc067ddbea5 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Tue, 3 Jun 2025 15:33:02 +0200 Subject: [PATCH 71/79] Rebuilt for Python 3.14 --- abrt.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/abrt.spec b/abrt.spec index d003e87..cba345b 100644 --- a/abrt.spec +++ b/abrt.spec @@ -57,7 +57,7 @@ Summary: Automatic bug detection and reporting tool Name: abrt Version: 2.17.6 -Release: 5%{?dist} +Release: 6%{?dist} License: GPL-2.0-or-later URL: https://abrt.readthedocs.org/ Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz @@ -989,6 +989,9 @@ killall abrt-dbus >/dev/null 2>&1 || : %config(noreplace) %{_sysconfdir}/profile.d/abrt-console-notification.sh %changelog +* Tue Jun 03 2025 Python Maint - 2.17.6-6 +- Rebuilt for Python 3.14 + * Thu Jan 23 2025 Zbigniew Jędrzejewski-Szmek - 2.17.6-5 - Add sysusers.d config file to allow rpm to create users/groups automatically From ea69665c753d6816df1bd599a28171cf73e528be Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 23 Jul 2025 16:42:37 +0000 Subject: [PATCH 72/79] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild --- abrt.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/abrt.spec b/abrt.spec index cba345b..93a20c5 100644 --- a/abrt.spec +++ b/abrt.spec @@ -57,7 +57,7 @@ Summary: Automatic bug detection and reporting tool Name: abrt Version: 2.17.6 -Release: 6%{?dist} +Release: 7%{?dist} License: GPL-2.0-or-later URL: https://abrt.readthedocs.org/ Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz @@ -989,6 +989,9 @@ killall abrt-dbus >/dev/null 2>&1 || : %config(noreplace) %{_sysconfdir}/profile.d/abrt-console-notification.sh %changelog +* Wed Jul 23 2025 Fedora Release Engineering - 2.17.6-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + * Tue Jun 03 2025 Python Maint - 2.17.6-6 - Rebuilt for Python 3.14 From 3e192a597d9539c4f37f1deacbeb8c99091ce299 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Fri, 25 Jul 2025 14:27:51 -0700 Subject: [PATCH 73/79] Obsolete fros packages fros was recently retired: https://src.fedoraproject.org/rpms/fros/c/1d5c887 it was added to comps to support abrt-desktop: https://pagure.io/fedora-comps/c/e845f70 so it seems most appropriate to have abrt obsolete it, if we don't just use obsolete-packages. Signed-off-by: Adam Williamson --- abrt.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/abrt.spec b/abrt.spec index 93a20c5..0053e72 100644 --- a/abrt.spec +++ b/abrt.spec @@ -118,6 +118,11 @@ Requires: libreport-plugin-systemd-journal %endif # to fix upgrade path abrt-plugin-sosreport was removed in 2.14.5 version. Obsoletes: abrt-plugin-sosreport < 2.14.5 +# fros was retired 2025-07, and was initially added to comps to support +# abrt-desktop, so let's obsolete it here +Obsoletes: fros < 1.1-42 +Obsoletes: fros-gnome < 1.1-42 +Obsoletes: fros-recordmydesktop < 1.1-42 #gui BuildRequires: libreport-gtk-devel >= %{libreport_ver} From 026c727cd2ab021685606ff451d69c3e8a928653 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Fri, 1 Aug 2025 10:49:36 -0700 Subject: [PATCH 74/79] Bump release --- abrt.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/abrt.spec b/abrt.spec index 0053e72..94b5143 100644 --- a/abrt.spec +++ b/abrt.spec @@ -57,7 +57,7 @@ Summary: Automatic bug detection and reporting tool Name: abrt Version: 2.17.6 -Release: 7%{?dist} +Release: 8%{?dist} License: GPL-2.0-or-later URL: https://abrt.readthedocs.org/ Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz @@ -994,6 +994,9 @@ killall abrt-dbus >/dev/null 2>&1 || : %config(noreplace) %{_sysconfdir}/profile.d/abrt-console-notification.sh %changelog +* Fri Aug 01 2025 Adam Williamson - 2.17.6-8 +- Obsolete fros packages + * Wed Jul 23 2025 Fedora Release Engineering - 2.17.6-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild From 54bdc1243fac6524a8b3703146a93e60b09831f0 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 15 Aug 2025 12:37:49 +0200 Subject: [PATCH 75/79] Rebuilt for Python 3.14.0rc2 bytecode --- abrt.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/abrt.spec b/abrt.spec index 94b5143..ed6ab01 100644 --- a/abrt.spec +++ b/abrt.spec @@ -57,7 +57,7 @@ Summary: Automatic bug detection and reporting tool Name: abrt Version: 2.17.6 -Release: 8%{?dist} +Release: 9%{?dist} License: GPL-2.0-or-later URL: https://abrt.readthedocs.org/ Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz @@ -994,6 +994,9 @@ killall abrt-dbus >/dev/null 2>&1 || : %config(noreplace) %{_sysconfdir}/profile.d/abrt-console-notification.sh %changelog +* Fri Aug 15 2025 Python Maint - 2.17.6-9 +- Rebuilt for Python 3.14.0rc2 bytecode + * Fri Aug 01 2025 Adam Williamson - 2.17.6-8 - Obsolete fros packages From ba57e0bbb5605d5ac0259e624c495e8513c1a7ed Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 19 Sep 2025 12:06:17 +0200 Subject: [PATCH 76/79] Rebuilt for Python 3.14.0rc3 bytecode --- abrt.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/abrt.spec b/abrt.spec index ed6ab01..a5b19ef 100644 --- a/abrt.spec +++ b/abrt.spec @@ -57,7 +57,7 @@ Summary: Automatic bug detection and reporting tool Name: abrt Version: 2.17.6 -Release: 9%{?dist} +Release: 10%{?dist} License: GPL-2.0-or-later URL: https://abrt.readthedocs.org/ Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz @@ -994,6 +994,9 @@ killall abrt-dbus >/dev/null 2>&1 || : %config(noreplace) %{_sysconfdir}/profile.d/abrt-console-notification.sh %changelog +* Fri Sep 19 2025 Python Maint - 2.17.6-10 +- Rebuilt for Python 3.14.0rc3 bytecode + * Fri Aug 15 2025 Python Maint - 2.17.6-9 - Rebuilt for Python 3.14.0rc2 bytecode From b36cf8c4991ed7eace2563fd98c3f0d92434227f Mon Sep 17 00:00:00 2001 From: Michal Srb Date: Thu, 2 Oct 2025 10:36:26 +0200 Subject: [PATCH 77/79] Update to 2.17.7 Signed-off-by: Michal Srb --- .gitignore | 1 + abrt.spec | 10 +++++++--- sources | 2 +- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 83c640b..cc954d8 100644 --- a/.gitignore +++ b/.gitignore @@ -85,3 +85,4 @@ abrt-1.1.13.tar.gz /abrt-2.17.4.tar.gz /abrt-2.17.5.tar.gz /abrt-2.17.6.tar.gz +/abrt-2.17.7.tar.gz diff --git a/abrt.spec b/abrt.spec index a5b19ef..d6cfac9 100644 --- a/abrt.spec +++ b/abrt.spec @@ -56,8 +56,8 @@ Summary: Automatic bug detection and reporting tool Name: abrt -Version: 2.17.6 -Release: 10%{?dist} +Version: 2.17.7 +Release: 1%{?dist} License: GPL-2.0-or-later URL: https://abrt.readthedocs.org/ Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz @@ -66,7 +66,7 @@ BuildRequires: %{dbus_devel} BuildRequires: hostname BuildRequires: gtk3-devel BuildRequires: glib2-devel >= %{glib_ver} -BuildRequires: rpm-devel >= 4.18 +BuildRequires: rpm-devel >= 6.0.0 BuildRequires: desktop-file-utils BuildRequires: libnotify-devel #why? BuildRequires: file-devel @@ -994,6 +994,10 @@ killall abrt-dbus >/dev/null 2>&1 || : %config(noreplace) %{_sysconfdir}/profile.d/abrt-console-notification.sh %changelog +* Thu Oct 02 2025 Michal Srb - 2.17.7-1 +- Update to upstream release 2.17.7 +- Fix reading gpg keys with RPM 6.0.0 (rhbz#2396899) + * Fri Sep 19 2025 Python Maint - 2.17.6-10 - Rebuilt for Python 3.14.0rc3 bytecode diff --git a/sources b/sources index 77e5b6a..080308e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (abrt-2.17.6.tar.gz) = 1e3729187c609f72e6d72c91815fc74e9ff8bed14dd678c093e4c47eafecb4e00fbe0b185e3a1ece614b994302c35de6a171449d5e80157a4fee16ccc7e60277 +SHA512 (abrt-2.17.7.tar.gz) = 0e9c05a897387e20b930b616c58b187dd27f6e3372a9067b77f849d70e59443688022c5ae9fcad5968d8e637c4db7f6b500ddbb5aa59e61872b14867c5c7124a From fb86abde3bc96a04de006b456a59009817cca515 Mon Sep 17 00:00:00 2001 From: Michal Srb Date: Thu, 4 Dec 2025 20:32:21 +0100 Subject: [PATCH 78/79] a-a-save-container-data: validate input Resolves: CVE-2025-12744 Signed-off-by: Michal Srb --- .gitignore | 1 + abrt.spec | 6 +++++- sources | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index cc954d8..643f820 100644 --- a/.gitignore +++ b/.gitignore @@ -86,3 +86,4 @@ abrt-1.1.13.tar.gz /abrt-2.17.5.tar.gz /abrt-2.17.6.tar.gz /abrt-2.17.7.tar.gz +/abrt-2.17.8.tar.gz diff --git a/abrt.spec b/abrt.spec index d6cfac9..94695b0 100644 --- a/abrt.spec +++ b/abrt.spec @@ -56,7 +56,7 @@ Summary: Automatic bug detection and reporting tool Name: abrt -Version: 2.17.7 +Version: 2.17.8 Release: 1%{?dist} License: GPL-2.0-or-later URL: https://abrt.readthedocs.org/ @@ -994,6 +994,10 @@ killall abrt-dbus >/dev/null 2>&1 || : %config(noreplace) %{_sysconfdir}/profile.d/abrt-console-notification.sh %changelog +* Thu Dec 04 2025 Michal Srb - 2.17.8-1 +- a-a-save-container-data: validate input +- Resolves: CVE-2025-12744 + * Thu Oct 02 2025 Michal Srb - 2.17.7-1 - Update to upstream release 2.17.7 - Fix reading gpg keys with RPM 6.0.0 (rhbz#2396899) diff --git a/sources b/sources index 080308e..4e58c99 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (abrt-2.17.7.tar.gz) = 0e9c05a897387e20b930b616c58b187dd27f6e3372a9067b77f849d70e59443688022c5ae9fcad5968d8e637c4db7f6b500ddbb5aa59e61872b14867c5c7124a +SHA512 (abrt-2.17.8.tar.gz) = 90b74229412e0186bfa109ee940a60c9f3c0f7ce8c1216acad6f05619a1bb591e7f0bae87363143a05034312c9f14fe5ace341b84f680780ceb93a1e624705b3 From 0baf939494e4c94b47b2d746756ce280ff8b85db Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 16 Jan 2026 03:23:57 +0000 Subject: [PATCH 79/79] Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild --- abrt.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/abrt.spec b/abrt.spec index 94695b0..3bdd3fe 100644 --- a/abrt.spec +++ b/abrt.spec @@ -57,7 +57,7 @@ Summary: Automatic bug detection and reporting tool Name: abrt Version: 2.17.8 -Release: 1%{?dist} +Release: 2%{?dist} License: GPL-2.0-or-later URL: https://abrt.readthedocs.org/ Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz @@ -994,6 +994,9 @@ killall abrt-dbus >/dev/null 2>&1 || : %config(noreplace) %{_sysconfdir}/profile.d/abrt-console-notification.sh %changelog +* Fri Jan 16 2026 Fedora Release Engineering - 2.17.8-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild + * Thu Dec 04 2025 Michal Srb - 2.17.8-1 - a-a-save-container-data: validate input - Resolves: CVE-2025-12744