Bug 3907

Summary: lttng build fails for fsl-image-test for imx28evk
Product: [Build System, Metadata & Runtime] BSPs Reporter: Daiane <angolini>
Component: bsps-meta-fsl-armAssignee: Otavio Salvador <otavio>
Status: VERIFIED WORKSFORME QA Contact:
Severity: normal    
Priority: Undecided CC: corneliux.stoicescu
Version: unspecified   
Target Milestone: ---   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Daiane 2013-02-19 13:23:09 UTC
ERROR: Function failed: do_compile (see /home/b19406/master/build_mx28/tmp/work/imx28evk-poky-linux-gnueabi/lttng-modules/2.1.0-r0/temp/log.do_compile.10276 for further information)
ERROR: Logfile of failure stored in: /home/b19406/master/build_mx28/tmp/work/imx28evk-poky-linux-gnueabi/lttng-modules/2.1.0-r0/temp/log.do_compile.10276
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 4 -e MAKEFLAGS= KERNEL_PATH=/home/b19406/master/build_mx28/tmp/sysroots/imx28evk/usr/src/kernel KERNEL_SRC=/home/b19406/master/build_mx28/tmp/sysroots/imx28evk/usr/src/kernel KERNEL_VERSION=3.8.0-rc7 CC=arm-poky-linux-gnueabi-gcc  -march=armv5te  -marm -mthumb-interwork   --sysroot=/home/b19406/master/build_mx28/tmp/sysroots/imx28evk  -mno-thumb-interwork -marm LD=arm-poky-linux-gnueabi-ld --sysroot=/home/b19406/master/build_mx28/tmp/sysroots/imx28evk    AR=arm-poky-linux-gnueabi-ar
| make -C /home/b19406/master/build_mx28/tmp/sysroots/imx28evk/usr/src/kernel M=/home/b19406/master/build_mx28/tmp/work/imx28evk-poky-linux-gnueabi/lttng-modules/2.1.0-r0/git modules
| make[1]: Entering directory `/home/b19406/master/build_mx28/tmp/sysroots/imx28evk/usr/src/kernel'
|   CC [M]  /home/b19406/master/build_mx28/tmp/work/imx28evk-poky-linux-gnueabi/lttng-modules/2.1.0-r0/git/lttng-ring-buffer-client-discard.o
| In file included from include/uapi/linux/kernel.h:4:0,
|                  from include/linux/kernel.h:16,
|                  from include/linux/cache.h:4,
|                  from include/linux/time.h:4,
|                  from include/linux/stat.h:18,
|                  from include/linux/module.h:10,
|                  from /home/b19406/master/build_mx28/tmp/work/imx28evk-poky-linux-gnueabi/lttng-modules/2.1.0-r0/git/lttng-ring-buffer-client-discard.c:23:
| /home/b19406/master/build_mx28/tmp/sysroots/imx28evk/usr/src/kernel/include/uapi/linux/sysinfo.h:8:2: error: unknown type name '__kernel_long_t'
| /home/b19406/master/build_mx28/tmp/sysroots/imx28evk/usr/src/kernel/include/uapi/linux/sysinfo.h:9:2: error: unknown type name '__kernel_ulong_t'
| /home/b19406/master/build_mx28/tmp/sysroots/imx28evk/usr/src/kernel/include/uapi/linux/sysinfo.h:10:2: error: unknown type name '__kernel_ulong_t'
| /home/b19406/master/build_mx28/tmp/sysroots/imx28evk/usr/src/kernel/include/uapi/linux/sysinfo.h:11:2: error: unknown type name '__kernel_ulong_t'
| /home/b19406/master/build_mx28/tmp/sysroots/imx28evk/usr/src/kernel/include/uapi/linux/sysinfo.h:12:2: error: unknown type name '__kernel_ulong_t'
| /home/b19406/master/build_mx28/tmp/sysroots/imx28evk/usr/src/kernel/include/uapi/linux/sysinfo.h:13:2: error: unknown type name '__kernel_ulong_t'
| /home/b19406/master/build_mx28/tmp/sysroots/imx28evk/usr/src/kernel/include/uapi/linux/sysinfo.h:14:2: error: unknown type name '__kernel_ulong_t'
| /home/b19406/master/build_mx28/tmp/sysroots/imx28evk/usr/src/kernel/include/uapi/linux/sysinfo.h:15:2: error: unknown type name '__kernel_ulong_t'
| /home/b19406/master/build_mx28/tmp/sysroots/imx28evk/usr/src/kernel/include/uapi/linux/sysinfo.h:18:2: error: unknown type name '__kernel_ulong_t'
| /home/b19406/master/build_mx28/tmp/sysroots/imx28evk/usr/src/kernel/include/uapi/linux/sysinfo.h:19:2: error: unknown type name '__kernel_ulong_t'
| /home/b19406/master/build_mx28/tmp/sysroots/imx28evk/usr/src/kernel/include/uapi/linux/sysinfo.h:21:22: error: '__kernel_ulong_t' undeclared here (not in a function)
| make[2]: *** [/home/b19406/master/build_mx28/tmp/work/imx28evk-poky-linux-gnueabi/lttng-modules/2.1.0-r0/git/lttng-ring-buffer-client-discard.o] Error 1
| make[1]: *** [_module_/home/b19406/master/build_mx28/tmp/work/imx28evk-poky-linux-gnueabi/lttng-modules/2.1.0-r0/git] Error 2
| make[1]: Leaving directory `/home/b19406/master/build_mx28/tmp/sysroots/imx28evk/usr/src/kernel'
| make: *** [default] Error 2
| ERROR: oe_runmake failed
| ERROR: Function failed: do_compile (see /home/b19406/master/build_mx28/tmp/work/imx28evk-poky-linux-gnueabi/lttng-modules/2.1.0-r0/temp/log.do_compile.10276 for further information)
ERROR: Task 1709 (/home/b19406/master/sources/poky/meta/recipes-kernel/lttng/lttng-modules_2.1.0.bb, do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 3586 tasks of which 3568 didn't need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:

Summary: 1 task failed:
  /home/b19406/master/sources/poky/meta/recipes-kernel/lttng/lttng-modules_2.1.0.bb, do_compile
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
Comment 1 Stoicescu Cornel 2013-02-28 10:36:01 UTC
Hello Daiane,

Can you please supply some information about:
-poky version/branch+commit you used

From your log I see you are using master but it would be nice to confirm.

Thanks!
Comment 2 Daiane 2013-02-28 14:20:26 UTC
I just re-tested it and the bug is gone.

I was not able to reproduce the same error.

Thanks a lot for your attention!
Comment 3 Daiane 2013-02-28 14:21:23 UTC
I just re-tested it and the bug is gone.

I was not able to reproduce the same error.

Thanks a lot for your attention!
Comment 4 Daiane 2013-02-28 14:24:09 UTC
I mean, I just re-tested TODAY after a sync I made TODAY

Only to be fully informative regarding the time ;-)
Comment 5 Stoicescu Cornel 2013-02-28 15:56:09 UTC
Verified as per above comment.