Skip to contentSkip to conversation

trace-cmd: Update for python-native changes

PATCH In review Liang Li 2 participants 3 messages Jul 31, 2012

lore
Share & tools
lore

Liang Li

author
#0 lore raw

PATCH 1/1 trace-cmd: Update for python-native changes

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

---
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(-)
meta/recipes-kernel/trace-cmd/trace-cmd_1.2.bb +1 -1
index 7f6f6cf..65e0378 100644
@@ -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 \
Signature · 1 line
1.7.12.rc0.22.gcdd159b
#1 lore raw
Quoted 22 lines · Liang Li

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

---
Hi all,

Quoted 7 lines

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

author
#2 lore raw
Quoted 26 lines · Richard Purdie
Quoted 25 lines · Liang Li

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

---
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. :)

Quoted 7 lines
Quoted 4 lines

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

Quoted 3 lines

Thanks,

Richard