On 2015-07-22 16:16, Edward Vidal wrote:
Hi
Still having errors with bitbake core-image-sato

You must have added something to your image - core-image-sato does
not include libepoxy by default.

This occurs at
| checking for X11... yes
| checking for EGL... no
| configure: error: Package requirements (egl) were not met:
ERROR: Task 4856 
(/home/vidal/wkg/yocto/RaspberryPi2/poky/meta/recipes-graphics/libepoxy/libepoxy_git.bb,
 do_configure) failed with exit code '1'

I tried adding /conf/machine/raspberrypi2.conf which I found on the internet.

+PREFERRED_PROVIDER_virtual/egl ?= "vc-graphics-hardfp"
+PREFERRED_PROVIDER_virtual/libgles2 ?= "vc-graphics-hardfp"

This caused several more errors.

Which you failed [again] to list :-(

Any and all help is appreciated.

To get libepoxy to build:
  % bitbake userland -c cleansstate

Then apply this patch which fixes a problem with libepoxy using
the wrong python3

After that, I got it to build for RaspberryPi-2

--
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
>From 17d22ee69a1568d1aaeaee26823ce6adbdf3062a Mon Sep 17 00:00:00 2001
From: Gary Thomas <g...@mlbassoc.com>
Date: Wed, 22 Jul 2015 18:20:30 -0600
Subject: [PATCH] libepoxy: Use native python3

This recipe needs python3.  This patch arranges to use the bitbake-built
version, not the host version (which may be missing or not work...)

Signed-off-by: Gary Thomas <g...@mlbassoc.com>
---
 meta/recipes-graphics/libepoxy/libepoxy_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-graphics/libepoxy/libepoxy_git.bb b/meta/recipes-graphics/libepoxy/libepoxy_git.bb
index 9816257..0330a7b 100644
--- a/meta/recipes-graphics/libepoxy/libepoxy_git.bb
+++ b/meta/recipes-graphics/libepoxy/libepoxy_git.bb
@@ -16,7 +16,7 @@ PV = "1.2+git${SRCPV}"
 
 S = "${WORKDIR}/git"
 
-inherit autotools pkgconfig
+inherit autotools pkgconfig python3native
 
 DEPENDS = "util-macros virtual/egl"
 
-- 
1.9.1

-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to