Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Hemanth.KumarMD@windriver.com
To: openembedded-core@lists.openembedded.org
Cc: Sundeep.Kokkonda@windriver.com, Hemanth.KumarMD@windriver.com
Subject: [PATCH] bitbake.conf: Add timeout to HOSTTOOLS
Date: Fri,  7 Aug 2026 03:02:37 -0700	[thread overview]
Message-ID: <20260807100237.1218728-1-Hemanth.KumarMD@windriver.com> (raw)

From: Hemanth Kumar M D <Hemanth.KumarMD@windriver.com>

The glibc iconv/tst-iconv_prog test uses timeout(1) on the host to
guard against hangs during charset conversion testing. Since timeout
is not listed in HOSTTOOLS, it is unavailable in the Yocto build
environment, causing the test to fail with exit code 127 (command not
found) instead of the expected conversion error code.

AB testresults (qemux86-64-tc):

  +--------------+--------+--------+------+
  | Result       | Before | After  | Diff |
  +--------------+--------+--------+------+
  | PASS         | 6759   | 6760   | +1   |
  | FAIL         | 30     | 29     | -1   |
  | UNSUPPORTED  | 584    | 584    |  0   |
  | XFAIL        | 16     | 16     |  0   |
  +--------------+--------+--------+------+

  iconv/tst-iconv_prog  FAIL -> PASS

With this fix, iconv/tst-iconv_prog now passes on all architectures.
Verified on AB.

Signed-off-by: Hemanth Kumar M D <Hemanth.KumarMD@windriver.com>
---
 meta/conf/bitbake.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index bdf37d0da2..39966d60ef 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -533,7 +533,7 @@ HOSTTOOLS += " \
     mktemp mv nm objcopy objdump od patch perl pr printf pwd \
     python3 pzstd ranlib readelf readlink realpath rm rmdir rpcgen sed seq sh \
     sha1sum sha224sum sha256sum sha384sum sha512sum \
-    sleep sort split stat strings strip tail tar tee test touch tr true truncate uname \
+    sleep sort split stat strings strip tail tar tee test timeout touch tr true truncate uname \
     uniq unzstd wc wget which xargs zstd xz \
 "
 
-- 
2.49.0



                 reply	other threads:[~2026-08-07 10:03 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20260807100237.1218728-1-Hemanth.KumarMD@windriver.com \
    --to=hemanth.kumarmd@windriver.com \
    --cc=Sundeep.Kokkonda@windriver.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