[poky] [PATCH 2/2] local.conf.sample: qemu-native DEPENDS libxext-naive

Robert Yang liezhi.yang at windriver.com
Tue Jul 22 06:35:23 PDT 2014



On 07/22/2014 09:28 PM, Burton, Ross wrote:
> On 22 July 2014 14:24, Robert Yang <liezhi.yang at windriver.com> wrote:
>> The link route is:
>>
>> qemu-native's do_configure sdl checking:
>> /usr/lib/x86_64-linux-gnu/libSDL.so -->
>> <sysroots>/x86_64-linux/usr/lib/libXext.so.6 -->
>> /usr/lib/x86_64-linux-gnu/libX11.so
>>
>> So it is:
>> host sdl -> sysroot libXext.so.6 -> host X11.so
>>
>> qemu-native doesn't depend on libxext-native, so the error would happen
>> if the libx11-native is being rebuilding and the host's libX11.so doesn't
>> have _XEatDataWords.
>>
>> Manually reproduce on Ubuntu 12.04 x86_64:
>>
>> $ bitbake qemu-native libx11-native libxext-native
>> $ bitbake qemu-native libx11-native -ccleansstate && bitbake qemu-native
>
> This is where I insert my moan that the sysroot needs to have locking
> and not modified during builds...

I'm afraid that the lock can't fix such an issue when build them manually.

>
> Maybe qemu-native should have a wrapper script that removes the
> sysroot from LD_LIBRARY_PATH?  It's a native binary that doesn't need

I'm afraid not, the qemu-native does depend on a few native recipes:

DEPENDS_class-native = "zlib-native alsa-lib-native glib-2.0-native 
pixman-native dtc-native"

// Robert

> anything in the sysroot, so let's stop it even looking there.
>
> Ross
>
>


More information about the poky mailing list