public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
From: Claus Stovgaard <claus.stovgaard@gmail.com>
To: openembedded-core@lists.openembedded.org
Cc: Claus Stovgaard <claus.stovgaard@gmail.com>
Subject: [master][PATCH] kernel-devsrc: fix missing RDEPENDS gawk and make
Date: Thu,  1 Feb 2024 12:53:26 +0100	[thread overview]
Message-ID: <20240201115326.506503-1-claus.stovgaard@gmail.com> (raw)

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



             reply	other threads:[~2024-02-01 11:54 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-01 11:53 Claus Stovgaard [this message]
2024-02-01 12:45 ` [OE-core] [master][PATCH] kernel-devsrc: fix missing RDEPENDS gawk and make 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240201115326.506503-1-claus.stovgaard@gmail.com \
    --to=claus.stovgaard@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox