[yocto] build fails for qemux86
Burton, Ross
ross.burton at intel.com
Tue Dec 18 05:14:33 PST 2018
On Tue, 18 Dec 2018 at 13:07, sanjay chopra <sanjuchopracool at gmail.com> wrote:
> + qemu-i386 -r 3.2.0 -E LD_LIBRARY_PATH=/home/sanju/qemu_check/tmp/work/qemux86-poky-linux/core-image-minimal/1.0-r0/rootfs/usr/lib:/home/sanju/qemu_check/tmp/work/qemux86-poky-linux/core-image-minimal/1.0-r0/rootfs/lib -L /home/sanju/qemu_check/tmp/work/qemux86-poky-linux/core-image-minimal/1.0-r0/rootfs -E /home/sanju/qemu_check/tmp/work/qemux86-poky-linux/core-image-minimal/1.0-r0/rootfs/usr/libexec/fc-cache --sysroot=/home/sanju/qemu_check/tmp/work/qemux86-poky-linux/core-image-minimal/1.0-r0/rootfs --system-only
> usage: qemu-i386 [options] program [arguments...]
> Linux CPU emulator (compiled for i386 emulation)
So qemu doesn't like what it's been passed. Unpacking what you posted:
qemu-i386 \
-r 3.2.0 \
-E LD_LIBRARY_PATH=WORKDIR/rootfs/usr/lib:WORKDIR/rootfs/lib \
-L WORKDIR/rootfs \
-E \
WORKDIR/rootfs/usr/libexec/fc-cache \
--sysroot=WORKDIR/rootfs \
--system-only
For some reason an extra -E is being passed. Have you changed the
intercepts? This is what the script should look like:
$ cat scripts/postinst-intercepts/update_font_cache
#!/bin/sh
set -e
PSEUDO_UNLOAD=1 ${binprefix}qemuwrapper -L $D -E
${fontconfigcacheenv} $D${libexecdir}/${binprefix}fc-cache --sysro
ot=$D --system-only ${fontconfigcacheparams}
Note there's only one -E entry.
Ross
More information about the yocto
mailing list