From: Andreas Oberritter Date: Tue, 23 Jun 2015 05:12:58 +0000 (-0700) Subject: gdb: Add missing runtime dependency for python option X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~29971 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=646adb4d90030970f6e2136f65b51b3c8b0c9d5c;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 | Could not find platform dependent libraries | Consider setting $PYTHONHOME to [:] | ImportError: No module named site It also complains if python-codecs is missing. Signed-off-by: Andreas Oberritter Signed-off-by: Andre McCurdy Signed-off-by: Ross Burton --- diff --git a/meta/recipes-devtools/gdb/gdb_7.9.1.bb b/meta/recipes-devtools/gdb/gdb_7.9.1.bb index 1abc9d8e76e..cd52e27d569 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() {