[OE-core] [PATCH 1/1] fontcache: fix fonts postinst failed

Burton, Ross ross.burton at intel.com
Mon Nov 27 16:03:01 UTC 2017


Ah, that would be why I have this in a local branch:

http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=ross/allarch

I rediscovered this on Friday...  personally I think my solution is better
as it's global instead of needing to be worked around in each place where
this can happen, but am open to debate on this.

Ross

On 27 November 2017 at 15:20, Christopher Larson <kergoth at gmail.com> wrote:

> On Tue, Oct 25, 2016 at 7:31 PM, Hongxu Jia <hongxu.jia at windriver.com>
> wrote:
>
>> While instal liberation-fonts to image, the fonts postinst
>> failed at do_rootfs time:
>> -----------------------------------------------
>> |WARNING: core-image-minimal-1.0-r0 do_rootfs: The postinstall intercept
>> hook
>> 'update_font_cache' failed (exit code: 139)! See log for details!
>> |WARNING: core-image-minimal-1.0-r0 do_rootfs: The postinstalls for the
>> following packages will be postponed for first boot: liberation-fonts
>> -----------------------------------------------
>>
>> Since the following commit applied in oe-core
>> -----------------------------------------------
>> commit ce1e7fcc60276040477c1d5e3129e029bb9f204b
>> Author: Richard Purdie <richard.purdie at linuxfoundation.org>
>> Date:   Fri Sep 30 17:43:23 2016 +0100
>>
>>     allarch: Fixes to stop rebuilds when change multilibs
>> -----------------------------------------------
>> It assignes base_libdir="/none" which caused fonts postinst failed at
>> do_rootfs.
>>
>> The fonts postinst invoke qemu to update font cache which requires
>> base_libdir arch relative(such as base_libdir="/lib64").
>>
>> We refer what meta/conf/multilib.conf does, assign it with arch relative.
>>
>> Signed-off-by: Hongxu Jia <hongxu.jia at windriver.com>
>
>
> Without this, we get the mentioned warnings with every qemux86-64 or
> intel-corei7-64 build using our external toolchain. Were there any
> objections to merging this? It doesn’t seem as though it ever went in, but
> this was a year ago now.
> --
> Christopher Larson
> kergoth at gmail dot com
> Founder - BitBake, OpenEmbedded, OpenZaurus
> Senior Software Engineer, Mentor Graphics
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20171127/d57c43b2/attachment-0002.html>


More information about the Openembedded-core mailing list