| Submitter | Liang Li |
|---|---|
| Date | July 31, 2012, 1:24 a.m. |
| Message ID | <1343697899-20776-1-git-send-email-liang.li@windriver.com> |
| Download | mbox | patch |
| Permalink | /patch/33417/ |
| State | New |
| Headers | show |
Comments
On Tue, 2012-07-31 at 09:24 +0800, Liang Li wrote: > 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.li@windriver.com> > Signed-off-by: Bruce Ashfield <bruce.ashfield@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(-) I merged Morgan's patch for this. Thanks, Richard
On 2012-07-31 19:08, Richard Purdie <richard.purdie@linuxfoundation.org> wrote: > On Tue, 2012-07-31 at 09:24 +0800, Liang Li wrote: > > 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.li@windriver.com> > > Signed-off-by: Bruce Ashfield <bruce.ashfield@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(-) > > I merged Morgan's patch for this. > Good to know this, thanks. :) Regards, Liang Li > Thanks, > > Richard
Patch
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 \