Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] trace-cmd: Update for python-native changes
@ 2012-07-31  1:24 Liang Li
  2012-07-31 11:08 ` Richard Purdie
  0 siblings, 1 reply; 3+ messages in thread
From: Liang Li @ 2012-07-31  1:24 UTC (permalink / raw)
  To: richard.purdie; +Cc: openembedded-core

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(-)

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





^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] trace-cmd: Update for python-native changes
  2012-07-31  1:24 [PATCH] trace-cmd: Update for python-native changes Liang Li
@ 2012-07-31 11:08 ` Richard Purdie
  2012-07-31 13:35   ` Liang Li
  0 siblings, 1 reply; 3+ messages in thread
From: Richard Purdie @ 2012-07-31 11:08 UTC (permalink / raw)
  To: Liang Li; +Cc: openembedded-core

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




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] trace-cmd: Update for python-native changes
  2012-07-31 11:08 ` Richard Purdie
@ 2012-07-31 13:35   ` Liang Li
  0 siblings, 0 replies; 3+ messages in thread
From: Liang Li @ 2012-07-31 13:35 UTC (permalink / raw)
  To: Richard Purdie; +Cc: openembedded-core

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-07-31 13:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-31  1:24 [PATCH] trace-cmd: Update for python-native changes Liang Li
2012-07-31 11:08 ` Richard Purdie
2012-07-31 13:35   ` Liang Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox