[yocto] build fails for qemux86

sanjay chopra sanjuchopracool at gmail.com
Tue Dec 18 06:56:38 PST 2018


Hi,

I copied poky downloads in home directory and after that I tried a clean
build.
It worked after that. That means there is some issues if the poky downloads
are kept in other partition (NTFS)

On Tue, Dec 18, 2018 at 7:08 PM sanjay chopra <sanjuchopracool at gmail.com>
wrote:

> I have not changed anything, I also tried with fresh download from
> https://www.yoctoproject.org/software-overview/downloads/
> I tried cleaning build directory.
>
> I have kept my downloads in a separate partition(NTFS), but I am building
> inside my home directory (ext4 partition).
> I used default configuration files except only one line change in
> local.conf
>
> DL_DIR ?= "/mnt/DATA_PARTITION/poky-downloads"
>
>
> On Tue, Dec 18, 2018 at 6:44 PM Burton, Ross <ross.burton at intel.com>
> wrote:
>
>> 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
>>
>
>
> --
>
> *RegardsSanjay*
>


-- 

*RegardsSanjay*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20181218/1db925d2/attachment.html>


More information about the yocto mailing list