[oe] [meta-browser][PATCH] chromium: Fix potential configuration issues

Gary Thomas gary at mlbassoc.com
Tue Jun 16 20:23:29 UTC 2015


This recipe should be using the python interpreter as built by bitbake,
rather than relying on the host python.  In some cases, the host python
may be incomplete or just plain old, yielding errors during the configure
step such as:
  |     from sgmllib import SGMLParser, SGMLParseError
  | ImportError: No module named sgmllib
  | ninja: build stopped: subcommand failed.

Adding 'inherit pythonnative' solves this problem on all build hosts.

Signed-off-by: Gary Thomas <gary at mlbassoc.com>
---
 recipes-browser/chromium/chromium.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-browser/chromium/chromium.inc b/recipes-browser/chromium/chromium.inc
index cd8bfb5..8e83f6a 100644
--- a/recipes-browser/chromium/chromium.inc
+++ b/recipes-browser/chromium/chromium.inc
@@ -9,7 +9,7 @@ COMPATIBLE_MACHINE_armv7a = "(.*)"
 
 CHROMIUM_BUILD_TYPE = "Release"
 
-inherit gettext
+inherit gettext pythonnative
 
 PACKAGECONFIG ??= "use-egl"
 
-- 
1.9.1




More information about the Openembedded-devel mailing list