]> code.ossystems Code Review - openembedded-core.git/commitdiff
gdb: Add missing runtime dependency for python option
authorAndreas Oberritter <obi@opendreambox.org>
Tue, 23 Jun 2015 05:12:58 +0000 (22:12 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 26 Jun 2015 13:08:03 +0000 (14:08 +0100)
With python enabled, gdb refuses to start without core
python modules:

| Could not find platform independent libraries <prefix>
| Could not find platform dependent libraries <exec_prefix>
| Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
| ImportError: No module named site

It also complains if python-codecs is missing.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-devtools/gdb/gdb_7.9.1.bb

index 1abc9d8e76e1552c1ff6dc08433812cb650b6a0b..cd52e27d5698d5fc5d9dbb3115399fc34fbabd88 100644 (file)
@@ -4,7 +4,7 @@ require gdb-${PV}.inc
 inherit python-dir
 
 PACKAGECONFIG ??= ""
-PACKAGECONFIG[python] = "--with-python=${WORKDIR}/python,--without-python,python"
+PACKAGECONFIG[python] = "--with-python=${WORKDIR}/python,--without-python,python,python python-codecs"
 PACKAGECONFIG[babeltrace] = "--with-babeltrace,--without-babeltrace,babeltrace"
 
 do_configure_prepend() {