搭建好openbmc编译环境后
执行如下命令:
. setup romulus
bitbake obmc-phosphor-image
do_fetch,do_patch, do_compile都能完成
但是最后在do_rootfs报错,
报错信息如下:
Configuring packagegroup-op-apps-fans.
Configuring packagegroup-machine-base.
Configuring packagegroup-base.
Configuring packagegroup-base-extended.
Configuring phosphor-ldap.
Configuring packagegroup-obmc-apps-user-mgmt-ldap.
Configuring pam-ipmi.
Configuring phosphor-ipmi-net.
Configuring op-proc-control-systemd-links.
Configuring packagegroup-obmc-apps-sensors.
Configuring packagegroup-obmc-apps-devtools.
Configuring libnss-systemd2.
Configuring packagegroup-obmc-apps-ikvm.
Configuring run-postinsts.
Configuring packagegroup-obmc-apps-remote-logging.
Configuring packagegroup-obmc-apps-network.
Configuring packagegroup-obmc-apps-settings.
Configuring p9-host-start.
NOTE: Running ['oe-pkgdata-util', '-p', '~/openbmc/build/romulus/tmp/pkgdata/romulus', 'glob', '/tmp/installed-pkgsu59lbc4a', '']
NOTE: Installing complementary packages ... (skipped already provided packages )
NOTE: Running intercept scripts:
NOTE: > Executing update_font_cache intercept ...
NOTE: Exit code 1. Output:
+ '[' True = False -a qemuwrapper-cross '!=' nativesdk-qemuwrapper-cross ']'
+ qemu-arm -r 3.2.0 -E LD_LIBRARY_PATH=~/openbmc/build/romulus/tmp/work/romulus-openbmc-linux-gnueabi/obmc-phosphor-image/1.0-r0/rootfs/usr/lib:~/openbmc/build/romulus/tmp/work/romulus-openbmc-linux-gnueabi/obmc-phosphor-image/1.0-r0/rootfs/lib -L ~/openbmc/build/romulus/tmp/work/romulus-openbmc-linux-gnueabi/obmc-phosphor-image/1.0-r0/rootfs -E FC_DEBUG=1 ~/openbmc/build/romulus/tmp/work/romulus-openbmc-linux-gnueabi/obmc-phosphor-image/1.0-r0/rootfs/usr/libexec/fc-cache --sysroot=~/openbmc/build/romulus/tmp/work/romulus-openbmc-linux-gnueabi/obmc-phosphor-image/1.0-r0/rootfs --system-only -v
FC_DEBUG=1
[~/openbmc/build/romulus/tmp/work/romulus-openbmc-linux-gnueabi/obmc-phosphor-image/1.0-r0/rootfs]/usr/share/fonts: "/usr/share/fonts": Value too large for defined data type
[~/openbmc/build/romulus/tmp/work/romulus-openbmc-linux-gnueabi/obmc-phosphor-image/1.0-r0/rootfs]/usr/share/fonts/ttf: skipping, no such directory
~/openbmc/build/romulus/tmp/work/romulus-openbmc-linux-gnueabi/obmc-phosphor-image/1.0-r0/rootfs//var/cache/fontconfig: cleaning cache directory
~/openbmc/build/romulus/tmp/work/romulus-openbmc-linux-gnueabi/obmc-phosphor-image/1.0-r0/rootfs/usr/libexec/fc-cache: failed
ERROR: The postinstall intercept hook 'update_font_cache' failed, details in ~/openbmc/build/romulus/tmp/work/romulus-openbmc-linux-gnueabi/obmc-phosphor-image/1.0-r0/temp/log.do_rootfs
DEBUG: Python function do_rootfs finished