public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
* [master][PATCH] kernel-devsrc: fix missing RDEPENDS gawk and make
@ 2024-02-01 11:53 Claus Stovgaard
  2024-02-01 12:45 ` [OE-core] " Bruce Ashfield
  0 siblings, 1 reply; 7+ messages in thread
From: Claus Stovgaard @ 2024-02-01 11:53 UTC (permalink / raw)
  To: openembedded-core; +Cc: Claus Stovgaard

gawk is also needed for x86-64. See scripts/check-sysctl-docs
Since version 6.6 the package rules has been split up into a rules file
resulting in the need for make. See scripts/package/debian/rules

For reproducing the issue on a normal qemux86-64 machine, change to the
linux-yocto-dev kernel, add the kernel-devsrc to the toolchain target
task and disable ptest in distro features. (Notice ptest pulls gawk and
make in as RDEPENDS for other packages hiding the issue)

when populating sdk you will see dnf failing.

 Problem: conflicting requests
  - nothing provides /usr/bin/gawk needed by kernel-devsrc-1.0-r0.qemux86_64 from oe-repo
  - nothing provides /usr/bin/make needed by kernel-devsrc-1.0-r0.qemux86_64 from oe-repo

Signed-off-by: Claus Stovgaard <claus.stovgaard@gmail.com>
---
 meta/recipes-kernel/linux/kernel-devsrc.bb | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-kernel/linux/kernel-devsrc.bb b/meta/recipes-kernel/linux/kernel-devsrc.bb
index ce5777fbe9..222f6cf8e1 100644
--- a/meta/recipes-kernel/linux/kernel-devsrc.bb
+++ b/meta/recipes-kernel/linux/kernel-devsrc.bb
@@ -395,7 +395,9 @@ RDEPENDS:${PN} += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-dev', '', d)}"
 RDEPENDS:${PN} += "${@bb.utils.contains('ARCH', 'powerpc', 'elfutils-dev', '', d)}"
 # 5.8+ needs gcc-plugins libmpc-dev
 RDEPENDS:${PN} += "gcc-plugins libmpc-dev"
-# 5.13+ needs awk for arm64
-RDEPENDS:${PN}:append:aarch64 = " gawk"
+# 5.13+ needs awk
+RDEPENDS:${PN} += "gawk"
 # 5.13+ needs grep for powerpc
 RDEPENDS:${PN}:append:powerpc = " grep"
+# 6.6+ needs make for debian package rules
+RDEPENDS:${PN} += "make"
-- 
2.43.0



^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-02-01 15:53 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-01 11:53 [master][PATCH] kernel-devsrc: fix missing RDEPENDS gawk and make Claus Stovgaard
2024-02-01 12:45 ` [OE-core] " Bruce Ashfield
2024-02-01 13:31   ` claus.stovgaard
2024-02-01 13:41     ` Bruce Ashfield
2024-02-01 14:37       ` claus.stovgaard
2024-02-01 14:52         ` Bruce Ashfield
2024-02-01 15:53           ` claus.stovgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox