]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
gawk: Add coreutils to rdeps for ptests package
authorKhem Raj <raj.khem@gmail.com>
Fri, 5 Jan 2024 07:12:24 +0000 (23:12 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 7 Jan 2024 12:24:54 +0000 (12:24 +0000)
newer gawk 5.3.0+ added a new testcase test/cmdlinefsbacknl2.sh which
use od utility with -An option which is not available in busybox
provided od applet. Replacing -An is not possible because default output
for od is octal and the test wants to use none for radix thats why it
uses -An.

Fixes test/cmdlinefsbacknl2.sh failures in ptests

which fails like below

   Usage: od [-aBbcDdeFfHhIiLlOovXx] [FILE]
    od: unrecognized option: A
    BusyBox v1.36.1 () multi-call binary.

Sadly, this prolongs depchain if ptest distro feature is used but there
is no other option if this test has to execute. Perhaps its best to
report this to upstream gawk and request to fix the testcase to not
hard depend on coreutils/od utility

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/gawk/gawk_5.3.0.bb

index 3d652da6e5c6fda25bcf7e072e01bb0260c3a4ff..d7a0fc616d3ac90ca47598c992afcce8359aa242 100644 (file)
@@ -79,7 +79,7 @@ do_install_ptest:append:libc-musl() {
        done
 }
 
-RDEPENDS:${PN}-ptest += "make locale-base-en-us"
+RDEPENDS:${PN}-ptest += "make locale-base-en-us coreutils"
 
 RDEPENDS:${PN}-ptest:append:libc-glibc = " locale-base-en-us.iso-8859-1"
 RDEPENDS:${PN}-ptest:append:libc-musl = " musl-locales"