Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR: petalinux-user-image-1.0-r0 do_rootfs: The postinstall intercept hook 'update_font_cache' failed #10

Open
pedrombmachado opened this issue Oct 1, 2019 · 0 comments

Comments

@pedrombmachado
Copy link

Dear all,

I am getting the following error on Petalinux 2019.1/Ubuntu 18.04 LTS:

ERROR: petalinux-user-image-1.0-r0 do_rootfs: The postinstall intercept hook 'update_font_cache' failed, details in /Petalinux/Builds/2019.1/ZU4EV/build/tmp/work/plnx_zynqmp-xilinx-linux/petalinux-user-image/1.0-r0/temp/log.do_rootfs
ERROR: petalinux-user-image-1.0-r0 do_rootfs: Function failed: do_rootfs
ERROR: Logfile of failure stored in: /Petalinux/Builds/2019.1/ZU4EV/build/tmp/work/plnx_zynqmp-xilinx-linux/petalinux-user-image/1.0-r0/temp/log.do_rootfs.20085
ERROR: Task (/Petalinux/Builds/2019.1/ZU4EV/project-spec/meta-plnx-generated/recipes-core/images/petalinux-user-image.bb:do_rootfs) failed with exit code '1'

$ cat (/Petalinux/Builds/2019.1/ZU4EV/project-spec/meta-plnx-generated/recipes-core/images/petalinux-user-image.bb:do_rootfs

NOTE: Running /Petalinux/Builds/2019.1/ZU4EV/build/tmp/work/plnx_zynqmp-xilinx-linux/petalinux-user-image/1.0-r0/recipe-sysroot-native/usr/bin/dnf -v --rpmverbosity=debug -y -c /Petalinux/Builds/2019.1/ZU4EV/build/tmp/work/plnx_zynqmp-xilinx-linux/petalinux-user-image/1.0-r0/rootfs/etc/dnf/dnf.conf --setopt=reposdir=/Petalinux/Builds/2019.1/ZU4EV/build/tmp/work/plnx_zynqmp-xilinx-linux/petalinux-user-image/1.0-r0/rootfs/etc/yum.repos.d --repofrompath=oe-repo,/Petalinux/Builds/2019.1/ZU4EV/build/tmp/work/plnx_zynqmp-xilinx-linux/petalinux-user-image/1.0-r0/oe-rootfs-repo --installroot=/Petalinux/Builds/2019.1/ZU4EV/build/tmp/work/plnx_zynqmp-xilinx-linux/petalinux-user-image/1.0-r0/rootfs --setopt=logdir=/Petalinux/Builds/2019.1/ZU4EV/build/tmp/work/plnx_zynqmp-xilinx-linux/petalinux-user-image/1.0-r0/temp repoquery --installed --queryformat Package: %{name} %{arch} %{version} %{name}-%{version}-%{release}.%{arch}.rpm
Dependencies:
%{requires}
Recommendations:
%{recommends}
DependenciesEndHere:

NOTE: Installing complementary packages ...
NOTE: Running ['oe-pkgdata-util', '-p', '/Petalinux/Builds/2019.1/ZU4EV/build/tmp/pkgdata/plnx-zynqmp', 'glob', '/tmp/installed-pkgsnbdg5_2o', '']
NOTE: Running intercept scripts:
NOTE: > Executing update_font_cache intercept ...
NOTE: Exit code 1. Output:

  • '[' True = False ']'
  • qemu-aarch64 -r 3.14 -E LD_LIBRARY_PATH=/Petalinux/Builds/2019.1/ZU4EV/build/tmp/work/plnx_zynqmp-xilinx-linux/petalinux-user-image/1.0-r0/rootfs/usr/lib:/Petalinux/Builds/2019.1/ZU4EV/build/tmp/work/plnx_zynqmp-xilinx-linux/petalinux-user-image/1.0-r0/rootfs/lib -L /Petalinux/Builds/2019.1/ZU4EV/build/tmp/work/plnx_zynqmp-xilinx-linux/petalinux-user-image/1.0-r0/rootfs -E /Petalinux/Builds/2019.1/ZU4EV/build/tmp/work/plnx_zynqmp-xilinx-linux/petalinux-user-image/1.0-r0/rootfs/usr/libexec/fc-cache --sysroot=/Petalinux/Builds/2019.1/ZU4EV/build/tmp/work/plnx_zynqmp-xilinx-linux/petalinux-user-image/1.0-r0/rootfs --system-only
    usage: qemu-aarch64 [options] program [arguments...]
    Linux CPU emulator (compiled for aarch64 emulation)

Options and associated environment variables:

Argument Env-variable Description
-h print this help
-help
-g port QEMU_GDB wait gdb connection to 'port'
-L path QEMU_LD_PREFIX set the elf interpreter prefix to 'path'
-s size QEMU_STACK_SIZE set the stack size to 'size' bytes
-cpu model QEMU_CPU select CPU (-cpu help for list)
-E var=value QEMU_SET_ENV sets targets environment variable (see below)
-U var QEMU_UNSET_ENV unsets targets environment variable (see below)
-0 argv0 QEMU_ARGV0 forces target process argv[0] to be 'argv0'
-r uname QEMU_UNAME set qemu uname release string to 'uname'
-B address QEMU_GUEST_BASE set guest_base address to 'address'
-R size QEMU_RESERVED_VA reserve 'size' bytes for guest virtual address space
-d item[,...] QEMU_LOG enable logging of specified items (use '-d help' for a list of items)
-dfilter range[,...] QEMU_DFILTER filter logging based on address range
-D logfile QEMU_LOG_FILENAME write logs to 'logfile' (default stderr)
-p pagesize QEMU_PAGESIZE set the host page size to 'pagesize'
-singlestep QEMU_SINGLESTEP run in singlestep mode
-strace QEMU_STRACE log system calls
-seed QEMU_RAND_SEED Seed for pseudo-random number generator
-trace QEMU_TRACE [[enable=]][,events=][,file=]
-version QEMU_VERSION display version information and exit

Defaults:
QEMU_LD_PREFIX = /Petalinux/Builds/2019.1/ZU4EV/build/tmp/work/plnx_zynqmp-xilinx-linux/petalinux-user-image/1.0-r0/rootfs
QEMU_STACK_SIZE = 8388608 byte

You can use -E and -U options or the QEMU_SET_ENV and
QEMU_UNSET_ENV environment variables to set and unset
environment variables for the target process.
It is possible to provide several variables by separating them
by commas in getsubopt(3) style. Additionally it is possible to
provide the -E and -U options multiple times.
The following lines are equivalent:
-E var1=val2 -E var2=val2 -U LD_PRELOAD -U LD_DEBUG
-E var1=val2,var2=val2 -U LD_PRELOAD,LD_DEBUG
QEMU_SET_ENV=var1=val2,var2=val2 QEMU_UNSET_ENV=LD_PRELOAD,LD_DEBUG
Note that if you provide several changes to a single variable
the last change will stay in effect.

See https://qemu.org/contribute/report-a-bug for how to report bugs.
More information on the QEMU project at https://qemu.org.

ERROR: The postinstall intercept hook 'update_font_cache' failed, details in /Petalinux/Builds/2019.1/ZU4EV/build/tmp/work/plnx_zynqmp-xilinx-linux/petalinux-user-image/1.0-r0/temp/log.do_rootfs
DEBUG: Python function do_rootfs finished
ERROR: Function failed: do_rootfs

The project compiles fine on Petalinux 2019.1/Ubuntu 16.04 LTS and Petalinux 2019.1 is compatible with Ubuntu 18.04.

Also reported here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant