diff mbox series

[1/2] babeltrace: Remove in favour of babeltrace2

Message ID 20250819131550.3646165-1-richard.purdie@linuxfoundation.org
State New
Headers show
Series [1/2] babeltrace: Remove in favour of babeltrace2 | expand

Commit Message

Richard Purdie Aug. 19, 2025, 1:15 p.m. UTC
This version is deprecated and replaced by babeltrace2. Drop the older version
so we can focus efforts around the newer one.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 meta/conf/distro/include/distro_alias.inc     |  1 -
 meta/conf/distro/include/maintainers.inc      |  1 -
 .../distro/include/ptest-packagelists.inc     |  1 -
 .../packagegroup-core-tools-profile.bb        |  2 -
 .../recipes-kernel/lttng/babeltrace/run-ptest |  9 --
 .../recipes-kernel/lttng/babeltrace_1.5.11.bb | 98 -------------------
 .../lttng/lttng-tools_2.14.0.bb               |  2 +-
 7 files changed, 1 insertion(+), 113 deletions(-)
 delete mode 100755 meta/recipes-kernel/lttng/babeltrace/run-ptest
 delete mode 100644 meta/recipes-kernel/lttng/babeltrace_1.5.11.bb

Comments

patchtest@automation.yoctoproject.org Aug. 19, 2025, 1:31 p.m. UTC | #1
Thank you for your submission. Patchtest identified one
or more issues with the patch. Please see the log below for
more information:

---
Testing patch /home/patchtest/share/mboxes/1-2-babeltrace-Remove-in-favour-of-babeltrace2.patch

FAIL: test lic files chksum modified not mentioned: LIC_FILES_CHKSUM changed without "License-Update:" tag and description in commit message (test_metadata.TestMetadata.test_lic_files_chksum_modified_not_mentioned)

PASS: pretest src uri left files (test_metadata.TestMetadata.pretest_src_uri_left_files)
PASS: test CVE check ignore (test_metadata.TestMetadata.test_cve_check_ignore)
PASS: test Signed-off-by presence (test_mbox.TestMbox.test_signed_off_by_presence)
PASS: test author valid (test_mbox.TestMbox.test_author_valid)
PASS: test commit message presence (test_mbox.TestMbox.test_commit_message_presence)
PASS: test commit message user tags (test_mbox.TestMbox.test_commit_message_user_tags)
PASS: test max line length (test_metadata.TestMetadata.test_max_line_length)
PASS: test mbox format (test_mbox.TestMbox.test_mbox_format)
PASS: test non-AUH upgrade (test_mbox.TestMbox.test_non_auh_upgrade)
PASS: test shortlog format (test_mbox.TestMbox.test_shortlog_format)
PASS: test shortlog length (test_mbox.TestMbox.test_shortlog_length)
PASS: test src uri left files (test_metadata.TestMetadata.test_src_uri_left_files)
PASS: test target mailing list (test_mbox.TestMbox.test_target_mailing_list)

SKIP: pretest pylint: No python related patches, skipping test (test_python_pylint.PyLint.pretest_pylint)
SKIP: test CVE tag format: No new CVE patches introduced (test_patch.TestPatch.test_cve_tag_format)
SKIP: test Signed-off-by presence: No new CVE patches introduced (test_patch.TestPatch.test_signed_off_by_presence)
SKIP: test Upstream-Status presence: No new CVE patches introduced (test_patch.TestPatch.test_upstream_status_presence_format)
SKIP: test bugzilla entry format: No bug ID found (test_mbox.TestMbox.test_bugzilla_entry_format)
SKIP: test lic files chksum presence: No added recipes, skipping test (test_metadata.TestMetadata.test_lic_files_chksum_presence)
SKIP: test license presence: No added recipes, skipping test (test_metadata.TestMetadata.test_license_presence)
SKIP: test pylint: No python related patches, skipping test (test_python_pylint.PyLint.test_pylint)
SKIP: test series merge on head: Merge test is disabled for now (test_mbox.TestMbox.test_series_merge_on_head)
SKIP: test summary presence: No added recipes, skipping test (test_metadata.TestMetadata.test_summary_presence)

---

Please address the issues identified and
submit a new revision of the patch, or alternatively, reply to this
email with an explanation of why the patch should be accepted. If you
believe these results are due to an error in patchtest, please submit a
bug at https://bugzilla.yoctoproject.org/ (use the 'Patchtest' category
under 'Yocto Project Subprojects'). For more information on specific
failures, see: https://wiki.yoctoproject.org/wiki/Patchtest. Thank
you!
diff mbox series

Patch

diff --git a/meta/conf/distro/include/distro_alias.inc b/meta/conf/distro/include/distro_alias.inc
index 20882523c28..07660a02bf8 100644
--- a/meta/conf/distro/include/distro_alias.inc
+++ b/meta/conf/distro/include/distro_alias.inc
@@ -15,7 +15,6 @@  DISTRO_PN_ALIAS:pn-alsa-utils-scripts = "OE-Core"
 DISTRO_PN_ALIAS:pn-atk = "Fedora=atk OpenSuSE=atk"
 DISTRO_PN_ALIAS:pn-avahi-libnss-mdns = "Meego=nss-mdns OpenSuSE=nss-mdns Ubuntu=nss-mdns Mandriva=nss_mdns Debian=nss-mdns"
 DISTRO_PN_ALIAS:pn-avahi-ui = "Ubuntu=avahi-discover Debian=avahi-discover"
-DISTRO_PN_ALIAS:pn-babeltrace = "OSPDT"
 DISTRO_PN_ALIAS:pn-babeltrace2 = "OSPDT"
 DISTRO_PN_ALIAS:pn-bjam = "OpenSuSE=boost-jam Debian=bjam"
 DISTRO_PN_ALIAS:pn-bluez5 = "Fedora=bluez  Opensuse=bluez"
diff --git a/meta/conf/distro/include/maintainers.inc b/meta/conf/distro/include/maintainers.inc
index 0312ae00f67..a875ce8176a 100644
--- a/meta/conf/distro/include/maintainers.inc
+++ b/meta/conf/distro/include/maintainers.inc
@@ -53,7 +53,6 @@  RECIPE_MAINTAINER:pn-autoconf-archive = "Robert Yang <liezhi.yang@windriver.com>
 RECIPE_MAINTAINER:pn-automake = "Robert Yang <liezhi.yang@windriver.com>"
 RECIPE_MAINTAINER:pn-avahi = "Yi Zhao <yi.zhao@windriver.com>"
 RECIPE_MAINTAINER:pn-avahi-libnss-mdns = "Unassigned <unassigned@yoctoproject.org>"
-RECIPE_MAINTAINER:pn-babeltrace = "Unassigned <unassigned@yoctoproject.org>"
 RECIPE_MAINTAINER:pn-babeltrace2 = "Unassigned <unassigned@yoctoproject.org>"
 RECIPE_MAINTAINER:pn-barebox = "Enrico Jörns <yocto@pengutronix.de>"
 RECIPE_MAINTAINER:pn-barebox-tools = "Enrico Jörns <yocto@pengutronix.de>"
diff --git a/meta/conf/distro/include/ptest-packagelists.inc b/meta/conf/distro/include/ptest-packagelists.inc
index e3099439f4c..9a7b25a9165 100644
--- a/meta/conf/distro/include/ptest-packagelists.inc
+++ b/meta/conf/distro/include/ptest-packagelists.inc
@@ -7,7 +7,6 @@  PTESTS_FAST = "\
     acl \
     apr-util \
     attr \
-    babeltrace \
     babeltrace2 \
     bc \
     bluez5 \
diff --git a/meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb b/meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb
index 54915e4f0c3..9c09f5ab443 100644
--- a/meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb
+++ b/meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb
@@ -35,7 +35,6 @@  LTTNGTOOLS = "lttng-tools"
 LTTNGTOOLS:arc = ""
 LTTNGTOOLS:riscv32 = ""
 
-BABELTRACE = "babeltrace"
 BABELTRACE2 = "babeltrace2"
 
 # valgrind does not work on the following configurations/architectures
@@ -59,7 +58,6 @@  VALGRIND:loongarch64 = ""
 RDEPENDS:${PN} = "\
     ${PROFILETOOLS} \
     ${LTTNGTOOLS} \
-    ${BABELTRACE} \
     ${BABELTRACE2} \
     ${SYSTEMTAP} \
     ${VALGRIND} \
diff --git a/meta/recipes-kernel/lttng/babeltrace/run-ptest b/meta/recipes-kernel/lttng/babeltrace/run-ptest
deleted file mode 100755
index f4b7ce11e20..00000000000
--- a/meta/recipes-kernel/lttng/babeltrace/run-ptest
+++ /dev/null
@@ -1,9 +0,0 @@ 
-#!/bin/sh
-# use target=recheck if you want to recheck failing tests
-[ "$target" = "" ] && target=check
-
-# Without --ignore-exit, the tap harness causes any FAILs within a
-# test plan to raise ERRORs; this is just noise.
-makeargs="LOG_DRIVER_FLAGS=--ignore-exit top_srcdir=$PWD top_builddir=$PWD"
-
-exec make -C tests -k -s $makeargs $target 2>/dev/null
diff --git a/meta/recipes-kernel/lttng/babeltrace_1.5.11.bb b/meta/recipes-kernel/lttng/babeltrace_1.5.11.bb
deleted file mode 100644
index 8ec80167a0d..00000000000
--- a/meta/recipes-kernel/lttng/babeltrace_1.5.11.bb
+++ /dev/null
@@ -1,98 +0,0 @@ 
-SUMMARY = "Babeltrace - Trace Format Babel Tower"
-DESCRIPTION = "Babeltrace provides trace read and write libraries in host side, as well as a trace converter, which used to convert LTTng 2.0 traces into human-readable log."
-HOMEPAGE = "http://babeltrace.org/"
-BUGTRACKER = "https://bugs.lttng.org/projects/babeltrace"
-LICENSE = "MIT & GPL-2.0-only & LGPL-2.1-only"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=76ba15dd76a248e1dd526bca0e2125fa"
-
-DEPENDS = "glib-2.0 util-linux popt bison-native flex-native"
-
-SRC_URI = "git://git.efficios.com/babeltrace.git;branch=stable-1.5;protocol=https \
-	   file://run-ptest \
-	  "
-SRCREV = "91c00f70884887ff5c4849a8e3d47e311a22ba9d"
-UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>1(\.\d+)+)$"
-
-inherit autotools pkgconfig ptest
-
-EXTRA_OECONF = "--disable-debug-info"
-
-ASNEEDED = ""
-
-RDEPENDS:${PN}-ptest += "bash gawk make"
-
-addtask do_patch_ptest_path after do_patch before do_configure
-do_patch_ptest_path () {
-    for f in $(grep -l -r abs_top_srcdir ${S}/tests); do
-	sed -i 's:\@abs_top_srcdir\@:${PTEST_PATH}:' ${f}
-    done
-
-    for f in $(grep -l -r abs_top_builddir ${S}/tests); do
-	sed -i 's:\@abs_top_builddir\@:${PTEST_PATH}:' ${f}
-    done
-    for f in $(grep -l -r GREP ${S}/tests); do
-	sed -i 's:\@GREP\@:grep:' ${f}
-    done
-
-    for f in $(grep -l -r SED ${S}/tests); do
-	sed -i 's:\@SED\@:sed:' ${f}
-    done
-}
-
-do_compile_ptest () {
-    make -C tests all
-}
-
-do_install_ptest () {
-    # Copy required files from source directory
-    for f in config/tap-driver.sh config/test-driver; do
-	install -D "${S}/$f" "${D}${PTEST_PATH}/$f"
-    done
-    install -d "$f" "${D}${PTEST_PATH}/tests/ctf-traces/"
-    cp -a ${S}/tests/ctf-traces/* ${D}${PTEST_PATH}/tests/ctf-traces/
-
-    # Copy the tests directory tree and the executables and
-    # Makefiles found within.
-    install -D "${B}/tests/Makefile" "${D}${PTEST_PATH}/tests/"
-    for d in $(find "${B}/tests" -type d -not -name .libs -printf '%P ') ; do
-	install -d "${D}${PTEST_PATH}/tests/$d"
-	find "${B}/tests/$d" -maxdepth 1 -executable -type f \
-	     -exec install -t "${D}${PTEST_PATH}/tests/$d" {} +
-	test -r "${B}/tests/$d/Makefile" && \
-	    install -t "${D}${PTEST_PATH}/tests/$d" "${B}/tests/$d/Makefile"
-	find "${B}/tests/$d" -maxdepth 1 -name *.sh \
-	     -exec install -t "${D}${PTEST_PATH}/tests/$d" {} \;
-    done
-
-    for d in $(find "${B}/tests" -type d -name .libs -printf '%P ') ; do
-	for f in $(find "${B}/tests/$d" -maxdepth 1 -executable -type f -printf '%P ') ; do
-	    cp ${B}/tests/$d/$f ${D}${PTEST_PATH}/tests/`dirname $d`/$f
-	done
-    done
-
-    install -D ${B}/formats/ctf/metadata/.libs/ctf-parser-test \
-	    ${D}${PTEST_PATH}/formats/ctf/metadata/ctf-parser-test
-
-    # Prevent attempts to update Makefiles during test runs, and
-    # silence "Making check in $SUBDIR" messages.
-    find "${D}${PTEST_PATH}" -name Makefile -type f -exec \
-	 sed -i \
-	 -e '/Makefile:/,/^$/d' \
-	 -e '/$(check_SCRIPTS)/s/^/#/' \
-	 -e '/%: %.in/,/^$/d' \
-	 -e '/echo "Making $$target in $$subdir"; \\/d' \
-	 -e 's/^srcdir = \(.*\)/srcdir = ./' \
-	 -e 's/^builddir = \(.*\)/builddir = ./' \
-	 -e 's/^all-am:.*/all-am:/' \
-	 {} +
-
-    # Remove path to babeltrace.
-    for f in $(grep -l -r "^BABELTRACE_BIN" ${D}${PTEST_PATH}); do
-	sed -i 's:^BABELTRACE_BIN.*:BABELTRACE_BIN=/usr/bin/babeltrace:' ${f}
-    done
-    for f in $(grep -l -r "^BTBIN" ${D}${PTEST_PATH}); do
-	sed -i 's:^BTBIN.*:BTBIN=/usr/bin/babeltrace:' ${f}
-    done
-}
-
-BBCLASSEXTEND = "nativesdk"
diff --git a/meta/recipes-kernel/lttng/lttng-tools_2.14.0.bb b/meta/recipes-kernel/lttng/lttng-tools_2.14.0.bb
index a3faf1e758c..b3383accd9a 100644
--- a/meta/recipes-kernel/lttng/lttng-tools_2.14.0.bb
+++ b/meta/recipes-kernel/lttng/lttng-tools_2.14.0.bb
@@ -15,7 +15,7 @@  include lttng-platforms.inc
 DEPENDS = "liburcu popt libxml2 util-linux bison-native babeltrace2"
 RDEPENDS:${PN} = "libgcc"
 RRECOMMENDS:${PN} += "${LTTNGMODULES}"
-RDEPENDS:${PN}-ptest += "make perl bash gawk babeltrace procps perl-module-overloading coreutils util-linux kmod ${LTTNGMODULES} sed python3-core grep binutils"
+RDEPENDS:${PN}-ptest += "make perl bash gawk procps perl-module-overloading coreutils util-linux kmod ${LTTNGMODULES} sed python3-core grep binutils"
 RDEPENDS:${PN}-ptest:append:libc-glibc = " glibc-utils"
 RDEPENDS:${PN}-ptest:append:libc-musl = " musl-utils"
 # babelstats.pl wants getopt-long