Skip to contentSkip to conversation

chromium: Fix potential configuration issues

PATCH Applied Gary Thomas 2 participants 2 messages Jun 16, 2015 – Jun 17, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 chromium: Fix potential configuration issues

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.

---
 recipes-browser/chromium/chromium.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-browser/chromium/chromium.inc +1 -1
index cd8bfb5..8e83f6a 100644
@@ -9,7 +9,7 @@ COMPATIBLE_MACHINE_armv7a = "(.*)"
 
 CHROMIUM_BUILD_TYPE = "Release"
 
-inherit gettext
+inherit gettext pythonnative
 
 PACKAGECONFIG ??= "use-egl"
 
Signature · 1 line
1.9.1
#1 lore raw
Quoted 11 lines · Gary Thomas

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.

Applied to master; thanks.

Signature · 3 lines
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750