Add pythonnative to the inherits list, otherwise we'll end up with compiling error like:
| swig -Wall -python -noproxy ctracecmd.i | trace-cmd.h:65: Error: Syntax error in input(1). | trace-cmd.h:221: Warning(322): Redundant redeclaration of | 'trace_util_ftrace_options', | trace-cmd.h:196: Warning(322): previous declaration of | 'trace_util_ftrace_options'. | parse-events.h:275: Warning(312): Nested union not currently | supported (ignored). | parse-events.h:707: Warning(312): Nested union not currently | supported (ignored). | parse-events.h:746: Warning(312): Nested union not currently | supported (ignored). | make: *** [ctracecmd.so] Segmentation fault Signed-off-by: Liang Li <liang...@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfi...@windriver.com> --- Hi all, Due to recent change to python, we've done pythonnative related change to various recipes like perf, xcb etc. Now this one is for trace-cmd. :) Thanks. meta/recipes-kernel/trace-cmd/trace-cmd_1.2.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-kernel/trace-cmd/trace-cmd_1.2.bb b/meta/recipes-kernel/trace-cmd/trace-cmd_1.2.bb index 7f6f6cf..65e0378 100644 --- a/meta/recipes-kernel/trace-cmd/trace-cmd_1.2.bb +++ b/meta/recipes-kernel/trace-cmd/trace-cmd_1.2.bb @@ -9,7 +9,7 @@ SRCREV = "7055ffd37beeb44714e86a4abc703f7e175a0db5" PR = "r2" PV = "1.2+git${SRCPV}" -inherit pkgconfig +inherit pkgconfig pythonnative SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd.git;protocol=git \ file://addldflags.patch \ -- 1.7.12.rc0.22.gcdd159b _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core