raspberry Pi core-image-sato
HiStill having errors with bitbake core-image-satoThis 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.Any and all help is appreciated. Edward Vidal Jr.
e-mail [email protected]
915-595-1613
Quoted 2 lines · Edward Vidal
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.
Quoted 11 lines
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.
(quoted diff) +2
-0+PREFERRED_PROVIDER_virtual/egl ?= "vc-graphics-hardfp" +PREFERRED_PROVIDER_virtual/libgles2 ?= "vc-graphics-hardfp"
Quoted 1 line
This caused several more errors.
Which you failed [again] to list :-(
Quoted 1 line
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
Signature · 4 lines
------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------
From 17d22ee69a1568d1aaeaee26823ce6adbdf3062a Mon Sep 17 00:00:00 2001
From: Gary Thomas <[email protected]>
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...)
--- meta/recipes-graphics/libepoxy/libepoxy_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-graphics/libepoxy/libepoxy_git.bb +1 -1
@@ -16,7 +16,7 @@ PV = "1.2+git${SRCPV}" S = "${WORKDIR}/git" -inherit autotools pkgconfig +inherit autotools pkgconfig python3native DEPENDS = "util-macros virtual/egl"
Signature · 1 line
1.9.1
Quoted 3 lines · Gary Thomas
You must have added something to your image - core-image-sato does not include libepoxy by default.
"Well actually", if your using oe-core master and DISTRO_FEATURES includes wayland then xserver-xorg will build the xwayland server, which requires libepoxy.
Ross
Quoted 8 lines · Ross
On 23 July 2015 at 01:23, Gary Thomas <[email protected] <mailto:[email protected]>> wrote:
You must have added something to your image - core-image-sato does not include libepoxy by default.
"Well actually", if your using oe-core master and
DISTRO_FEATURESincludes wayland then xserver-xorg will build the xwayland server, which requires libepoxy.
Good catch, but one never knows as the original poster has not provided enough details :-(
Signature · 4 lines
------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------