[oe-commits] Andreas Oberritter : gdb: Add missing runtime dependency for python option

git at git.openembedded.org git at git.openembedded.org
Sat Jun 27 21:45:31 UTC 2015


Module: openembedded-core.git
Branch: master
Commit: 646adb4d90030970f6e2136f65b51b3c8b0c9d5c
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=646adb4d90030970f6e2136f65b51b3c8b0c9d5c

Author: Andreas Oberritter <obi at opendreambox.org>
Date:   Mon Jun 22 22:12:58 2015 -0700

gdb: Add missing runtime dependency for python option

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 at opendreambox.org>
Signed-off-by: Andre McCurdy <armccurdy at gmail.com>
Signed-off-by: Ross Burton <ross.burton at intel.com>

---

 meta/recipes-devtools/gdb/gdb_7.9.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/gdb/gdb_7.9.1.bb b/meta/recipes-devtools/gdb/gdb_7.9.1.bb
index 1abc9d8..cd52e27 100644
--- a/meta/recipes-devtools/gdb/gdb_7.9.1.bb
+++ b/meta/recipes-devtools/gdb/gdb_7.9.1.bb
@@ -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() {



More information about the Openembedded-commits mailing list