[OE-core] [PATCH] trace-cmd: Update for python-native changes

Richard Purdie richard.purdie at linuxfoundation.org
Tue Jul 31 11:08:40 UTC 2012


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 at windriver.com>
> Signed-off-by: Bruce Ashfield <bruce.ashfield at 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





More information about the Openembedded-core mailing list