]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
bitbake.conf: Add timeout to HOSTTOOLS
authorHemanth Kumar M D <Hemanth.KumarMD@windriver.com>
Fri, 7 Aug 2026 10:02:37 +0000 (03:02 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 10 Aug 2026 16:35:44 +0000 (17:35 +0100)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/conf/bitbake.conf

index 1830cab753e61ff5135ead8cb12599a2d43ab750..c8ef9768945a61e9e0399b68bc4fd02cb039c59b 100644 (file)
@@ -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 \
 "