On Mon, 2026-08-10 at 11:27 +0200, Alexander Kanavin via lists.openembedded.org 
wrote:
> On Fri, 7 Aug 2026 at 12:03, Hemanth Kumar M D via
> lists.openembedded.org
> <[email protected]> wrote:
> > 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.
> > --- 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 \
> >  "
> 
> Adding to hosttools just to fix a single test is very excessive.
> Rather make it depend on coreutils-native.

I'm a bit torn on this. Since timeout is part of coreutils, the host
dependencies are basically unchanged by the patch since we already
require a good chunk of coreutils.

I do wish we could make "per recipe" markup of things like this work in
a reasonable way though as it is sad to mark this as needed
everywhere...

Cheers,

Richard
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#243124): 
https://lists.openembedded.org/g/openembedded-core/message/243124
Mute This Topic: https://lists.openembedded.org/mt/120640287/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to