public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/gdb] fix-dup-patch: Remove libbabeltrace dependency by disabling Common Trace Format support
@ 2026-07-23 18:36 Andrew Burgess
0 siblings, 0 replies; only message in thread
From: Andrew Burgess @ 2026-07-23 18:36 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/gdb
Branch : fix-dup-patch
Commit : c40b0f7199e07cdd028fd7942e50dfa5d65590b1
Author : Andrew Burgess <aburgess@redhat.com>
Date : 2026-05-18T17:18:29+01:00
Stats : +8/-3 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/gdb/c/c40b0f7199e07cdd028fd7942e50dfa5d65590b1?branch=fix-dup-patch
Log:
Remove libbabeltrace dependency by disabling Common Trace Format support
The upstream commit:
commit 305ad81ae664965897d12e50205db1344b6f4bf8
Date: Sat May 9 22:15:38 2026 -0400
Remove support for the Common Trace Format (CTF)
removes Common Trace Format (CTF) support from GDB, and with it the
dependency on libbabeltrace.
This is being done because GDB uses libbabeltrace v1, which is no
longer supported. The conversion to libbabeltrace v2 is not trivial,
and it is not clear if there are any users of this feature of GDB.
Additionally, there are some issues with how GDB uses libbabeltrace,
see the upstream commit for details.
At this point I am not backporting the patch to remove the
libbabeltrace code from GDB, instead I am just removing the build
dependency from the gdb.spec, and configuring GDB without CTF support,
this means the libbabeltrace code is no longer compiled.
---
diff --git a/gdb.spec b/gdb.spec
index a430d91..3a6b40b 100644
--- a/gdb.spec
+++ b/gdb.spec
@@ -45,7 +45,7 @@ Version: 17.1
# The release always contains a leading reserved number, start it at 1.
# `upstream' is not a part of `name' to stay fully rpm dependencies compatible for the testing.
-Release: 7%{?dist}
+Release: 8%{?dist}
License: GPL-3.0-or-later AND BSD-3-Clause AND FSFAP AND LGPL-2.1-or-later AND GPL-2.0-or-later AND LGPL-2.0-or-later AND LicenseRef-Fedora-Public-Domain AND GFDL-1.3-or-later AND LGPL-2.0-or-later WITH GCC-exception-2.0 AND GPL-3.0-or-later WITH GCC-exception-3.1 AND GPL-2.0-or-later WITH GNU-compiler-exception AND MIT
# Do not provide URL for snapshots as the file lasts there only for 2 days.
@@ -162,7 +162,6 @@ BuildRequires: texinfo-tex
BuildRequires: texlive-collection-latexrecommended
# Permit rebuilding *.[0-9] files even if they are distributed in gdb-*.tar:
BuildRequires: /usr/bin/pod2man
-BuildRequires: libbabeltrace-devel%{buildisa}
%if %{defined use_guile}
%if 0%{!?rhel:1}
BuildRequires: guile22-devel%{buildisa}
@@ -514,7 +513,7 @@ export CXXFLAGS="$CFLAGS"
# The configure flags we will use when building the full GDB.
GDB_FULL_CONFIGURE_FLAGS="\
--with-system-gdbinit=%{_sysconfdir}/gdbinit \
- --with-babeltrace \
+ --without-babeltrace \
--with-expat \
$(: ppc64 host build crashes on ppc variant of libexpat.so ) \
--without-libexpat-prefix \
@@ -932,6 +931,12 @@ fi
# endif scl
%changelog
+* Mon May 18 2026 Andrew Burgess <aburgess@redhat.com>
+- Remove BuildRequires for libbabeltrace, and build GDB without
+ babeltrace support. Upstream commit 305ad81ae66 has removed Common
+ Trace Format (CTF) support, I have not backported that commit, but I
+ have disabled the CTF feature so we no longer require libbabeltrace.
+
* Sat May 16 2026 Andrew Burgess <aburgess@redhat.com>
- Backport the following upstream commits in order to address RHBZ
2467251: d980317c7f1, 958d06262a7, 7d1d7386561, 8915de0883c,
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-23 18:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-23 18:36 [rpms/gdb] fix-dup-patch: Remove libbabeltrace dependency by disabling Common Trace Format support Andrew Burgess
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox