All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-raspberrypi] Problem building core-image-sato-sdk
@ 2014-03-09 12:08 Federico Vitali
  2014-04-08  7:35 ` Robert Berger
  2014-04-08  7:41 ` Robert Berger
  0 siblings, 2 replies; 5+ messages in thread
From: Federico Vitali @ 2014-03-09 12:08 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 903 bytes --]

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:

ERROR: Multiple .bb files are due to be built which each provide
virtual/libgles2
(/home/vitalife/yocto/poky/meta-raspberrypi/recipes-graphics/userland/
userland_git.bb /home/vitalife/yocto/poky/meta/recipes-graphics/mesa/
mesa_git.bb).
 This usually means one provides something the other doesn't and should.
ERROR: Multiple versions of mesa are due to be built
(/home/vitalife/yocto/poky/meta/recipes-graphics/mesa/mesa_9.1.6.bb/home/vitalife/yocto/poky/meta/recipes-graphics/mesa/
mesa_git.bb). Only one version of a given PN should be built in any given
build. You likely need to set PREFERRED_VERSION_mesa to select the correct
version or don't depend on multiple versions.

What could be the problem?

Thank you in advance

Federico

[-- Attachment #2: Type: text/html, Size: 1222 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [meta-raspberrypi] Problem building core-image-sato-sdk
  2014-03-09 12:08 [meta-raspberrypi] Problem building core-image-sato-sdk Federico Vitali
@ 2014-04-08  7:35 ` Robert Berger
  2014-04-08  7:41 ` Robert Berger
  1 sibling, 0 replies; 5+ messages in thread
From: Robert Berger @ 2014-04-08  7:35 UTC (permalink / raw)
  To: yocto

Hi,

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:
> 
> ERROR: Multiple .bb files are due to be built which each provide
> virtual/libgles2
> (/home/vitalife/yocto/poky/meta-raspberrypi/recipes-graphics/userland/userland_git.bb
> <http://userland_git.bb>
> /home/vitalife/yocto/poky/meta/recipes-graphics/mesa/mesa_git.bb
> <http://mesa_git.bb>).
>  This usually means one provides something the other doesn't and should.
> ERROR: Multiple versions of mesa are due to be built
> (/home/vitalife/yocto/poky/meta/recipes-graphics/mesa/mesa_9.1.6.bb
> <http://mesa_9.1.6.bb>
> /home/vitalife/yocto/poky/meta/recipes-graphics/mesa/mesa_git.bb
> <http://mesa_git.bb>). Only one version of a given PN should be built in
> any given build. You likely need to set PREFERRED_VERSION_mesa to select
> the correct version or don't depend on multiple versions.
> 
> What could be the problem? 

I hit the same problem and tried something like this [1] and
PREFERRED_VERSION_mesa ?= "9.1.6", but the problem persists.

Did you find a solution?

[1]
http://git.yoctoproject.org/cgit/cgit.cgi/meta-intel/tree/common/recipes-graphics/mesa/mesa_9.1.6.bbappend?h=dora

Regards,

Robert

> 
> Thank you in advance
> 
> Federico
> 
> 
> 
> -- 
> 

..."German programmers tend to take it as a personal insult when a fault
is detected in code that they have written." - Debora Weber-Wulff
weberwu@tfh-berlin.de [comp.risks 16.94]

My public pgp key is available,at:
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x90320BF1




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [meta-raspberrypi] Problem building core-image-sato-sdk
  2014-03-09 12:08 [meta-raspberrypi] Problem building core-image-sato-sdk Federico Vitali
  2014-04-08  7:35 ` Robert Berger
@ 2014-04-08  7:41 ` Robert Berger
  2014-04-08  8:02   ` Andrei Gherzan
  1 sibling, 1 reply; 5+ messages in thread
From: Robert Berger @ 2014-04-08  7:41 UTC (permalink / raw)
  To: yocto

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@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'


..."To be or not to be... that is the question." - The answer is 0xff
since: 0x2b | ~0x2b = 0xff

My public pgp key is available,at:
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x90320BF1




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [meta-raspberrypi] Problem building core-image-sato-sdk
  2014-04-08  7:41 ` Robert Berger
@ 2014-04-08  8:02   ` Andrei Gherzan
  2014-06-10 20:31     ` Andrei Gherzan
  0 siblings, 1 reply; 5+ messages in thread
From: Andrei Gherzan @ 2014-04-08  8:02 UTC (permalink / raw)
  To: Robert Berger; +Cc: Yocto Project

[-- Attachment #1: Type: text/plain, Size: 2161 bytes --]

On Tue, Apr 8, 2014 at 10:41 AM, Robert Berger <
gmane@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@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,

-- 
*Andrei Gherzan*
m: +40.744.478.414 |  f: +40.31.816.28.12

[-- Attachment #2: Type: text/html, Size: 3217 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [meta-raspberrypi] Problem building core-image-sato-sdk
  2014-04-08  8:02   ` Andrei Gherzan
@ 2014-06-10 20:31     ` Andrei Gherzan
  0 siblings, 0 replies; 5+ messages in thread
From: Andrei Gherzan @ 2014-06-10 20:31 UTC (permalink / raw)
  To: Robert Berger; +Cc: Yocto Project

[-- Attachment #1: Type: text/plain, Size: 2898 bytes --]

Hello Robert,


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

>
>
>
> On Tue, Apr 8, 2014 at 10:41 AM, Robert Berger <
> gmane@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@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

[-- Attachment #2: Type: text/html, Size: 4563 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-06-10 20:31 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-09 12:08 [meta-raspberrypi] Problem building core-image-sato-sdk Federico Vitali
2014-04-08  7:35 ` Robert Berger
2014-04-08  7:41 ` Robert Berger
2014-04-08  8:02   ` Andrei Gherzan
2014-06-10 20:31     ` Andrei Gherzan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.