libtracefs: remove recipe (moved to oe-core)
PATCH 1/1 libtracefs: remove recipe (moved to oe-core)
libtracefs has been imported into openembedded-core [1] as it is now required by powertop 2.16 (upstream commit 2b133ed [2]). Remove it from meta-oe to avoid duplicate recipes.
- This commit is depends on [1]
[1] https://lists.openembedded.org/g/openembedded-core/topic/120806764
[2] https://github.com/fenrus75/powertop/commit/2b133ed512c6852cf81cb98831bdfd585c0317bf
--- ...not-preserve-ownership-in-cp-command.patch | 28 ------------------- .../libtracefs/libtracefs_1.8.3.bb | 25 ----------------- 2 files changed, 53 deletions(-) delete mode 100644 meta-oe/recipes-kernel/libtracefs/libtracefs/0001-makefile-Do-not-preserve-ownership-in-cp-command.patch delete mode 100644 meta-oe/recipes-kernel/libtracefs/libtracefs_1.8.3.bb
meta-oe/recipes-kernel/libtracefs/libtracefs/0001-makefile-Do-not-preserve-ownership-in-cp-command.patch deleted +0 -28
@@ -1,28 +0,0 @@ -From ab6f78bfd6811c648ee71663cfc4dc8be151a519 Mon Sep 17 00:00:00 2001 -From: Khem Raj <[email protected]> -Date: Wed, 21 Dec 2022 22:50:56 -0800 -Subject: [PATCH] makefile: Do not preserve ownership in cp command - -Fixes -ERROR: libtracefs-1.6.3-r0 do_package_qa: QA Issue: libtracefs: /usr/lib/libtracefs.so is owned by uid 1000, which is the same as the user running bitbake. This may be due to host contamination [host-user-contaminated] - -Upstream-Status: Pending - -Signed-off-by: Khem Raj <[email protected]> ---- - Makefile | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/Makefile b/Makefile -index 7f4f5c3..1ba7b9d 100644 ---- a/Makefile -+++ b/Makefile -@@ -296,7 +296,7 @@ endif # DESTDIR = "" - - install_libs: libs install_pkgconfig - $(Q)$(call do_install,$(LIBTRACEFS_SHARED),$(libdir_SQ)); \ -- cp -fpR $(LIB_INSTALL) $(DESTDIR)$(libdir_SQ) -+ cp --no-preserve=ownership --recursive $(LIB_INSTALL) $(DESTDIR)$(libdir_SQ) - $(Q)$(call do_install,$(src)/include/tracefs.h,$(includedir_SQ),644) - $(Q)$(call install_ld_config) -
meta-oe/recipes-kernel/libtracefs/libtracefs_1.8.3.bb deleted +0 -25
@@ -1,25 +0,0 @@ -# Copyright (C) 2022 Khem Raj <[email protected]> -# Released under the MIT license (see COPYING.MIT for the terms) - -SUMMARY = "Library to parse raw trace event formats " -HOMEPAGE = "https://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git/" -LICENSE = "GPL-2.0-or-later AND LGPL-2.1-or-later" -LIC_FILES_CHKSUM = "file://LICENSES/GPL-2.0;md5=e6a75371ba4d16749254a51215d13f97 \ - file://LICENSES/LGPL-2.1;md5=b370887980db5dd40659b50909238dbd" -SECTION = "libs" -DEPENDS = "libtraceevent bison-native flex-native" - -SRCREV = "6fad6a14ba0d4c4b437d9e4eed7098d4bb07b4fc" -SRC_URI = "git://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git;branch=${BPN};protocol=https \ - file://0001-makefile-Do-not-preserve-ownership-in-cp-command.patch \ - " - -inherit pkgconfig bash-completion - -do_compile:prepend() { - touch ${S}/src/sqlhist.tab.c -} - -do_install() { - oe_runmake install DESTDIR=${D} pkgconfig_dir=${libdir}/pkgconfig -}
Please ping again when it gets applied in core.
Quoted 101 lines · Jaipaul Cheernam
libtracefs has been imported into openembedded-core [1] as it is now required by powertop 2.16 (upstream commit 2b133ed [2]). Remove it from meta-oe to avoid duplicate recipes.
- This commit is depends on [1]
[1] https://lists.openembedded.org/g/openembedded-core/topic/120806764
[2]
https://github.com/fenrus75/powertop/commit/2b133ed512c6852cf81cb98831bdfd585c0317bfSigned-off-by Jaipaul Cheernam <[email protected]>--- ...not-preserve-ownership-in-cp-command.patch | 28 ------------------- .../libtracefs/libtracefs_1.8.3.bb | 25 ----------------- 2 files changed, 53 deletions(-) delete mode 100644 meta-oe/recipes-kernel/libtracefs/libtracefs/0001-makefile-Do-not-preserve-ownership-in-cp-command.patch delete mode 100644 meta-oe/recipes-kernel/libtracefs/libtracefs_1.8.3.bbdiff --git
a/meta-oe/recipes-kernel/libtracefs/libtracefs/0001-makefile-Do-not-preserve-ownership-in-cp-command.patchb/meta-oe/recipes-kernel/libtracefs/libtracefs/0001-makefile-Do-not-preserve-ownership-in-cp-command.patchdeleted file mode 100644
index 7eaf29e4c4..0000000000
---a/meta-oe/recipes-kernel/libtracefs/libtracefs/0001-makefile-Do-not-preserve-ownership-in-cp-command.patch+++/dev/nullmeta-oe/recipes-kernel/libtracefs/libtracefs/0001-makefile-Do-not-preserve-ownership-in-cp-command.patch deleted +0
-7@@ -1,28 +0,0 @@ -From ab6f78bfd6811c648ee71663cfc4dc8be151a519 Mon Sep 17 00:00:00 2001 -From: Khem Raj <[email protected]> -Date: Wed, 21 Dec 2022 22:50:56 -0800 -Subject: [PATCH] makefile: Do not preserve ownership in cp command - -Fixes -ERROR: libtracefs-1.6.3-r0 do_package_qa: QA Issue: libtracefs:
/usr/lib/libtracefs.sois owned by uid 1000, which is the same as the user running bitbake. This may be due to host contamination [host-user-contaminated]meta-oe/recipes-kernel/libtracefs/libtracefs/0001-makefile-Do-not-preserve-ownership-in-cp-command.patch deleted +0
-18- -Upstream-Status: Pending - -Signed-off-by: Khem Raj <[email protected]> ---- - Makefile | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/Makefile b/Makefile -index 7f4f5c3..1ba7b9d 100644 ---- a/Makefile -+++ b/Makefile -@@ -296,7 +296,7 @@ endif # DESTDIR = "" - - install_libs: libs install_pkgconfig - $(Q)$(call do_install,$(LIBTRACEFS_SHARED),$(libdir_SQ)); \ -- cp -fpR $(LIB_INSTALL) $(DESTDIR)$(libdir_SQ) -+ cp --no-preserve=ownership --recursive $(LIB_INSTALL)$(DESTDIR)$(libdir_SQ)
- $(Q)$(call
do_install,$(src)/include/tracefs.h,$(includedir_SQ),644)meta-oe/recipes-kernel/libtracefs/libtracefs/0001-makefile-Do-not-preserve-ownership-in-cp-command.patch deleted +0
-2- $(Q)$(call install_ld_config) -meta-oe/recipes-kernel/libtracefs/libtracefs_1.8.3.bb deleted +0
-5@@ -1,25 +0,0 @@ -# Copyright (C) 2022 Khem Raj <[email protected]> -# Released under the MIT license (see COPYING.MIT for the terms) - -SUMMARY = "Library to parse raw trace event formats " -HOMEPAGE = "https://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git/"
meta-oe/recipes-kernel/libtracefs/libtracefs_1.8.3.bb deleted +0
-2-LICENSE = "GPL-2.0-or-later AND LGPL-2.1-or-later" -LIC_FILES_CHKSUM ="file://LICENSES/GPL-2.0;md5=e6a75371ba4d16749254a51215d13f97 \
- file://LICENSES/LGPL-2.1;md5=b370887980db5dd40659b50909238dbd"meta-oe/recipes-kernel/libtracefs/libtracefs_1.8.3.bb deleted +0
-5-SECTION = "libs" -DEPENDS = "libtraceevent bison-native flex-native" - -SRCREV = "6fad6a14ba0d4c4b437d9e4eed7098d4bb07b4fc" -SRC_URI = "git://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git;branch=${BPN};protocol=https
<http://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git;branch=$%7BBPN%7D;protocol=https>
\meta-oe/recipes-kernel/libtracefs/libtracefs_1.8.3.bb deleted +0
-12- file://0001-makefile-Do-not-preserve-ownership-in-cp-command.patch \ - " - -inherit pkgconfig bash-completion - -do_compile:prepend() { - touch ${S}/src/sqlhist.tab.c -} - -do_install() { - oe_runmake install DESTDIR=${D} pkgconfig_dir=${libdir}/pkgconfig -}
Hi Raj,
Oe-core changes has been accepted and applied.
Please check on this one.
Regards,
Jaipaul Cheernam
🔗 EST Website<https://www.est.tech/>
🔗 EST LinkedIn<https://www.linkedin.com/company/ericsson-software-technology/>
From: [email protected] <[email protected]> on behalf of Khem Raj via lists.openembedded.org <[email protected]>
Date: Wednesday, 19 August 2026 at 05:44
To: Jaipaul Cheernam <[email protected]>
Cc: [email protected] <[email protected]>
Subject: Re: [oe] [PATCH] libtracefs: remove recipe (moved to oe-core)
Please ping again when it gets applied in core.
On Tue, Aug 18, 2026 at 5:43 AM Jaipaul Cheernam <[email protected]> wrote:
libtracefs has been imported into openembedded-core [1] as it is now required by powertop 2.16 (upstream commit 2b133ed [2]). Remove it from meta-oe to avoid duplicate recipes.
- This commit is depends on [1]
[1] https://lists.openembedded.org/g/openembedded-core/topic/120806764
[2] https://github.com/fenrus75/powertop/commit/2b133ed512c6852cf81cb98831bdfd585c0317bf
--- ...not-preserve-ownership-in-cp-command.patch | 28 ------------------- .../libtracefs/libtracefs_1.8.3.bb<http://libtracefs_1.8.3.bb> | 25 ----------------- 2 files changed, 53 deletions(-) delete mode 100644 meta-oe/recipes-kernel/libtracefs/libtracefs/0001-makefile-Do-not-preserve-ownership-in-cp-command.patch delete mode 100644 meta-oe/recipes-kernel/libtracefs/libtracefs_1.8.3.bb<http://libtracefs_1.8.3.bb>
meta-oe/recipes-kernel/libtracefs/libtracefs/0001-makefile-Do-not-preserve-ownership-in-cp-command.patch deleted +0 -28
@@ -1,28 +0,0 @@ -From ab6f78bfd6811c648ee71663cfc4dc8be151a519 Mon Sep 17 00:00:00 2001 -From: Khem Raj <[email protected]<mailto:[email protected]>> -Date: Wed, 21 Dec 2022 22:50:56 -0800 -Subject: [PATCH] makefile: Do not preserve ownership in cp command - -Fixes -ERROR: libtracefs-1.6.3-r0 do_package_qa: QA Issue: libtracefs: /usr/lib/libtracefs.so is owned by uid 1000, which is the same as the user running bitbake. This may be due to host contamination [host-user-contaminated] - -Upstream-Status: Pending - -Signed-off-by: Khem Raj <[email protected]<mailto:[email protected]>> ---- - Makefile | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/Makefile b/Makefile -index 7f4f5c3..1ba7b9d 100644 ---- a/Makefile -+++ b/Makefile -@@ -296,7 +296,7 @@ endif # DESTDIR = "" - - install_libs: libs install_pkgconfig - $(Q)$(call do_install,$(LIBTRACEFS_SHARED),$(libdir_SQ)); \ -- cp -fpR $(LIB_INSTALL) $(DESTDIR)$(libdir_SQ) -+ cp --no-preserve=ownership --recursive $(LIB_INSTALL) $(DESTDIR)$(libdir_SQ) - $(Q)$(call do_install,$(src)/include/tracefs.h,$(includedir_SQ),644) - $(Q)$(call install_ld_config) -
meta-oe/recipes-kernel/libtracefs/libtracefs_1.8.3.bb<http://libtracefs_1.8.3.bb> deleted +0 -25
@@ -1,25 +0,0 @@ -# Copyright (C) 2022 Khem Raj <[email protected]<mailto:[email protected]>> -# Released under the MIT license (see COPYING.MIT for the terms) - -SUMMARY = "Library to parse raw trace event formats " -HOMEPAGE = "https://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git/" -LICENSE = "GPL-2.0-or-later AND LGPL-2.1-or-later" -LIC_FILES_CHKSUM = "file://LICENSES/GPL-2.0;md5=e6a75371ba4d16749254a51215d13f97 \ - file://LICENSES/LGPL-2.1;md5=b370887980db5dd40659b50909238dbd" -SECTION = "libs" -DEPENDS = "libtraceevent bison-native flex-native" - -SRCREV = "6fad6a14ba0d4c4b437d9e4eed7098d4bb07b4fc" -SRC_URI = "git://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git;branch=${BPN};protocol=https<http://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git;branch=$%7BBPN%7D;protocol=https> \ - file://0001-makefile-Do-not-preserve-ownership-in-cp-command.patch \ - " - -inherit pkgconfig bash-completion - -do_compile:prepend() { - touch ${S}/src/sqlhist.tab.c -} - -do_install() { - oe_runmake install DESTDIR=${D} pkgconfig_dir=${libdir}/pkgconfig -}