From: Gary Thomas <gary@mlbassoc.com>
To: yocto@yoctoproject.org
Subject: Re: raspberry Pi core-image-sato
Date: Wed, 22 Jul 2015 18:23:18 -0600 [thread overview]
Message-ID: <55B033F6.0@mlbassoc.com> (raw)
In-Reply-To: <858020079.672977.1437603410191.JavaMail.yahoo@mail.yahoo.com>
[-- Attachment #1: Type: text/plain, Size: 1256 bytes --]
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
------------------------------------------------------------
[-- Attachment #2: 0001-libepoxy-Use-native-python3.patch --]
[-- Type: text/x-patch, Size: 955 bytes --]
From 17d22ee69a1568d1aaeaee26823ce6adbdf3062a Mon Sep 17 00:00:00 2001
From: Gary Thomas <gary@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 <gary@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
next prev parent reply other threads:[~2015-07-23 0:23 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-22 22:16 raspberry Pi core-image-sato Edward Vidal
2015-07-23 0:23 ` Gary Thomas [this message]
2015-07-23 9:54 ` Burton, Ross
2015-07-23 11:20 ` Gary Thomas
[not found] <mailman.5858.1437611001.2787.yocto@yoctoproject.org>
2015-07-23 12:35 ` Edward Vidal
2015-07-23 12:49 ` Gary Thomas
-- strict thread matches above, loose matches on Subject: below --
2015-07-23 14:37 Edward Vidal
2015-07-23 14:57 ` Gary Thomas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=55B033F6.0@mlbassoc.com \
--to=gary@mlbassoc.com \
--cc=yocto@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.