[yocto] Problems building util-linux when wide character support is disabled in distro

Hans Beckérus hans.beckerus at gmail.com
Wed Sep 18 02:00:10 PDT 2013


On Wed, Sep 18, 2013 at 10:12 AM, Paul Eggleton
<paul.eggleton at linux.intel.com> wrote:
> Hi Hans,
>
> On Tuesday 17 September 2013 21:14:50 Hans Beckerus wrote:
>> The way forward as I can see right
>> now is to revert and put back the wide character support in libc. Unless I
>> can figure out why util-linux is actually being built in the first place?
>> What can cause dependencies to this package? It is not part of our
>> IMAGE_FEATURES directly, nor indirectly and is not installed in our rootfs.
>> But something requires it. Any hints on how to trace this back?
>
> Look at the dot graphs produced by bitbake -g (too large to be viewed in a
> viewer, but you can look at them in text form) or use bitbake -g -u depexp
> which provides a UI for exploring dependencies.
>
> FWIW, looking at the graphs here for core-image-minimal, udev is the most
> likely culprit unless you have something else that needs it (e.g. e2fsprogs).
>
Thanks Paul. I think it is e2fsprogs.
Actually, now after I enabled wide support again, I am having problems
building e2fsprogs instead.

e4defrag.c:1906: undefined reference to `nftw64'

AFAIK, nftw64 is part of the large file support, but that we have not
changed in our DISTRO_FEATURES so that came as a surprise really :(

Hans

> Cheers,
> Paul
>
> --
>
> Paul Eggleton
> Intel Open Source Technology Centre



More information about the yocto mailing list