[yocto] [meta-raspberrypi] Problem building core-image-sato-sdk

Andrei Gherzan andrei at gherzan.ro
Tue Jun 10 13:31:23 PDT 2014


Hello Robert,


On Tue, Apr 8, 2014 at 11:02 AM, Andrei Gherzan <andrei at gherzan.ro> wrote:

>
>
>
> On Tue, Apr 8, 2014 at 10:41 AM, Robert Berger <
> gmane at reliableembeddedsystems.com> wrote:
>
>> On 03/09/2014 02:08 PM, Federico Vitali wrote:
>> > Hi everyone,
>> >
>> > I've succesfully build core-image-sato for raspberry pi, but when I try
>> > to build the sdk version I obtain the following error:
>> >
>>
>> BTW I get the error also with core-image-sato:
>>
>> builder at ubuntu-srvr-lv:~/rpi/poky/raspberrypi/conf$ bitbake
>> core-image-sato
>> Loading cache: 100%
>>
>> |#####################################################################################################################################|
>> ETA:  00:00:00
>> Loaded 1215 entries from dependency cache.
>> NOTE: Resolving any missing task queue dependencies
>>
>> Build Configuration:
>> BB_VERSION        = "1.20.0"
>> BUILD_SYS         = "x86_64-linux"
>> NATIVELSBSTRING   = "Ubuntu-12.04"
>> TARGET_SYS        = "arm-poky-linux-gnueabi"
>> MACHINE           = "raspberrypi"
>> DISTRO            = "poky"
>> DISTRO_VERSION    = "1.5.1"
>> TUNE_FEATURES     = "armv6 vfp"
>> TARGET_FPU        = "vfp"
>> meta
>> meta-yocto
>> meta-yocto-bsp    = "dora:98bd952a5b72c584fc1094e4a61eb9e2a24cc97b"
>> meta-raspberrypi  = "master:fbc0947e96e8989d46b1570619554cb916e24049"
>>
>> NOTE: Preparing runqueue
>> NOTE: Executing SetScene Tasks
>> NOTE: Executing RunQueue Tasks
>> ERROR: Recipe mesa-gl is trying to create package libegl-mesa which was
>> already written by recipe mesa. This will cause corruption, please
>> resolve this and only provide the package from one recipe or the other
>> or only build one of the recipes.
>> ERROR: Function failed: read_subpackage_metadata
>> ERROR: Logfile of failure stored in:
>>
>> /home/builder/rpi/poky/raspberrypi/tmp/work/armv6-vfp-poky-linux-gnueabi/mesa-gl/2_9.1.6-r0/temp/log.do_package_write_ipk.9838
>> ERROR: Task 2436
>> (/home/builder/rpi/poky/meta/recipes-graphics/mesa/mesa-gl_9.1.6.bb,
>> do_package_write_ipk) failed with exit code '1'
>>
>>
> Will try to take a look on this this weekend. If anybody finds the root of
> the problem please submit a patch.
> Thanks,
>

I investigated a little the issue. The problem comes from mesa-demos which
needs libgles1 provided only by mesa right now.  Userland does not include
libgles v1 implementation so this is why this fails. I'm not sure right now
how to fix this now.
vc-graphics installs gles1. So probably we need some patches here. First of
all vg-graphics should provide libgles1. And then, if user wants to use
gles1, vc-graphics(-hardfp) should be used as libgles1. gles2, gl, egl
provider. Or we can have a custom recipe which provides only opengles1.
What do you think?

-- 
*Andrei Gherzan*
m: +40.744.478.414 |  f: +40.31.816.28.12
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20140610/22997e8e/attachment.html>


More information about the yocto mailing list