Re: [oe-commits] Laurentiu Palcu : add fontcache.bbclass

Martin Jansa
2013-02-07T22:21:09Z

[-- Attachment #1: Type: text/plain, Size: 1565 bytes --]

On Wed, Feb 06, 2013 at 10:17:10PM +0100, Martin Jansa wrote:
> On Wed, Feb 06, 2013 at 02:08:41PM +0200, Laurentiu Palcu wrote:
> >
> >
> > On 02/06/2013 01:56 PM, Martin Jansa wrote:
> > > Fails in do_rootfs here, but without any details in log:
> > > Building from feeds activated!
> > > Running intercept scripts:
> > >> > Executing update_font_cache
> > > ERROR: Function failed: do_rootfs (see
> > > /OE/shr-core/tmp-eglibc/work/tuna-oe-linux-gnueabi/shr-image/2.0-r20/temp/log.do_rootfs.2236
> > > for further information)
> > >
> > Most probably fontconfig package was not rebuilt with the new sysroot
> > feature. Can you run the native fc-cache with --help and look for a
> > sysroot option? If it's there, than it's probably a qemu issue... :/
>
> It fails only on some machines I'm building (3 machines from 6) and only sometimes (last run it was only on 2 from 6)
>
> Now I was running it manually and got nice error finally:
> Running intercept scripts:
> > Executing update_font_cache
> readelf: Error:
> '/OE/shr-core/tmp-eglibc/work/tuna-oe-linux-gnueabi/shr-image/2.0-r20/rootfs/usr/bin/fc-cache':
> No such file
> ERROR: intercept script "update_font_cache" failed!
>
> So something is pulling interceptor without runtime dependency on
> fontconfig.

In the end it wasn't fs-cache missing, but
/usr/bin/crossscripts/qemuwrapper in some sysroots

bitbake -c cleansstate qemuwrapper-cross
for each MACHINE and building it again resolved that..