[meta-freescale] [meta-fsl-arm-extra][PATCH v2] riotboard: Fix broken image builds against linux-fslc

Nikolay Dimitrov picmaster at mail.bg
Wed Apr 29 19:50:18 PDT 2015


Hi Fabio,

On 04/30/2015 01:59 AM, Fabio Estevam wrote:
> Hi Nikolay,
>
> On Wed, Apr 29, 2015 at 7:46 PM, Nikolay Dimitrov <picmaster at mail.bg> wrote:
>
>> Right now fsl-image-machine-test fails on riotboard even with the added:
>>
>> PREFERRED_VERSION_imx-test = "00.00.00"
>>
>> I'm not saying this config is not needed. What I'm saying is that I
>> have a build failure that probably masks the need for this config.
>
> What is the build failure you are seeing?


$ bitbake fsl-image-machine-test
Parsing recipes: 100% 
|#######################################################################################| 
Time: 00:00:31
Parsing of 1606 .bb files complete (0 cached, 1606 parsed). 2090 
targets, 140 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
NOTE: multiple providers are available for jpeg (jpeg, libjpeg-turbo)
NOTE: consider defining a PREFERRED_PROVIDER entry to match jpeg
NOTE: multiple providers are available for jpeg-native (jpeg-native, 
libjpeg-turbo-native)
NOTE: consider defining a PREFERRED_PROVIDER entry to match jpeg-native

Build Configuration:
BB_VERSION        = "1.27.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Debian-7.8"
TARGET_SYS        = "arm-poky-linux-gnueabi"
MACHINE           = "imx6dl-riotboard"
DISTRO            = "poky"
DISTRO_VERSION    = "1.8+snapshot-20150430"
TUNE_FEATURES     = "arm armv7a vfp neon callconvention-hard cortexa9"
TARGET_FPU        = "vfp-neon"
meta
meta-yocto        = "(nobranch):515a8b790e08a48aaf64a6b7237e2b39390e35f6"
meta-oe
meta-multimedia   = "(nobranch):2080f15e86d3d8e1e1f65e16b014545fe538114c"
meta-fsl-arm      = "(nobranch):6002fa0777327a4ca6ee5c0ec36fa1ce8d74087e"
meta-fsl-arm-extra = 
"riotboard-fix-machine-conf-v2:de4320c46fe5241a48f7a7f9ab691bbe41904746"
meta-fsl-demos    = "(nobranch):d70213100bde874897b1126f26b9762bae7accef"

NOTE: Preparing RunQueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
WARNING: fbset-modes: the directory ${WORKDIR}/${BP} 
(/home/picmaster/work/yocto-master-riotboard-test/build/tmp/work/imx6dl_riotboard-poky-linux-gnueabi/fbset-modes/0.1.0-r6/fbset-modes-0.1.0) 
pointed to by the S variable doesn't exist - please set S within the 
recipe to point to where the source has been unpacked to
ERROR: Function failed: do_compile (log file is located at 
/home/picmaster/work/yocto-master-riotboard-test/build/tmp/work/imx6dl_riotboard-poky-linux-gnueabi/imx-lib/1_3.10.53-1.1.0-r0/temp/log.do_compile.12173)
ERROR: Logfile of failure stored in: 
/home/picmaster/work/yocto-master-riotboard-test/build/tmp/work/imx6dl_riotboard-poky-linux-gnueabi/imx-lib/1_3.10.53-1.1.0-r0/temp/log.do_compile.12173
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 1 CROSS_COMPILE=arm-poky-linux-gnueabi- PLATFORM=IMX6Q 
INCLUDE=-I/home/picmaster/work/yocto-master-riotboard-test/build/tmp/work-shared/imx6dl-riotboard/kernel-source/include/uapi 
-I/home/picmaster/work/yocto-master-riotboard-test/build/tmp/work-shared/imx6dl-riotboard/kernel-source/include 
 
-I/home/picmaster/work/yocto-master-riotboard-test/build/tmp/work-shared/imx6dl-riotboard/kernel-source/drivers/mxc/security/rng/include 
 
-I/home/picmaster/work/yocto-master-riotboard-test/build/tmp/work-shared/imx6dl-riotboard/kernel-source/drivers/mxc/security/sahara2/include 
all
| make -C hdmi-cec all
| make[1]: Entering directory 
`/home/picmaster/work/yocto-master-riotboard-test/build/tmp/work/imx6dl_riotboard-poky-linux-gnueabi/imx-lib/1_3.10.53-1.1.0-r0/imx-lib-3.10.53-1.1.0/hdmi-cec'
| arm-poky-linux-gnueabi-gcc  -march=armv7-a -mfloat-abi=hard -mfpu=neon 
-mtune=cortex-a9 
--sysroot=/home/picmaster/work/yocto-master-riotboard-test/build/tmp/sysroots/imx6dl-riotboard 
-DIMX6Q -Wall -fPIC  -O2 -pipe -g -feliminate-unused-debug-types -c 
mxc_hdmi-cec.c -o mxc_hdmi-cec.o
| arm-poky-linux-gnueabi-gcc  -march=armv7-a -mfloat-abi=hard -mfpu=neon 
-mtune=cortex-a9 
--sysroot=/home/picmaster/work/yocto-master-riotboard-test/build/tmp/sysroots/imx6dl-riotboard 
-shared -nostartfiles -Wl,-soname,libcec.so.1 mxc_hdmi-cec.o -o 
libcec.so.1 -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed
| ln -s libcec.so.1 libcec.so
| arm-poky-linux-gnueabi-ar -rc libcec.a  mxc_hdmi-cec.o
| make[1]: Leaving directory 
`/home/picmaster/work/yocto-master-riotboard-test/build/tmp/work/imx6dl_riotboard-poky-linux-gnueabi/imx-lib/1_3.10.53-1.1.0-r0/imx-lib-3.10.53-1.1.0/hdmi-cec'
| make -C ipu all
| make[1]: Entering directory 
`/home/picmaster/work/yocto-master-riotboard-test/build/tmp/work/imx6dl_riotboard-poky-linux-gnueabi/imx-lib/1_3.10.53-1.1.0-r0/imx-lib-3.10.53-1.1.0/ipu'
| arm-poky-linux-gnueabi-gcc  -march=armv7-a -mfloat-abi=hard -mfpu=neon 
-mtune=cortex-a9 
--sysroot=/home/picmaster/work/yocto-master-riotboard-test/build/tmp/sysroots/imx6dl-riotboard 
-DIMX6Q 
-I/home/picmaster/work/yocto-master-riotboard-test/build/tmp/work-shared/imx6dl-riotboard/kernel-source/include/uapi 
-I/home/picmaster/work/yocto-master-riotboard-test/build/tmp/work-shared/imx6dl-riotboard/kernel-source/include 
 
-I/home/picmaster/work/yocto-master-riotboard-test/build/tmp/work-shared/imx6dl-riotboard/kernel-source/drivers/mxc/security/rng/include 
 
-I/home/picmaster/work/yocto-master-riotboard-test/build/tmp/work-shared/imx6dl-riotboard/kernel-source/drivers/mxc/security/sahara2/include 
-Wall -fPIC  -O2 -pipe -g -feliminate-unused-debug-types -c 
mxc_ipu_hl_lib_dummy.c -o mxc_ipu_hl_lib_dummy.o
| In file included from 
/home/picmaster/work/yocto-master-riotboard-test/build/tmp/work-shared/imx6dl-riotboard/kernel-source/include/uapi/linux/videodev2.h:64:0,
|                  from mxc_ipu_hl_lib_dummy.c:39:
| 
/home/picmaster/work/yocto-master-riotboard-test/build/tmp/work-shared/imx6dl-riotboard/kernel-source/include/uapi/linux/types.h:9:2: 
warning: #warning "Attempt to use kernel headers from user space, see 
http://kernelnewbies.org/KernelHeaders" [-Wcpp]
|  #warning "Attempt to use kernel headers from user space, see 
http://kernelnewbies.org/KernelHeaders"
|   ^
| In file included from mxc_ipu_hl_lib_dummy.c:40:0:
| mxc_ipu_hl_lib.h:104:25: fatal error: linux/mxcfb.h: No such file or 
directory
|  #include <linux/mxcfb.h>
|                          ^
| compilation terminated.
| make[1]: *** [mxc_ipu_hl_lib_dummy.o] Error 1
| make[1]: Leaving directory 
`/home/picmaster/work/yocto-master-riotboard-test/build/tmp/work/imx6dl_riotboard-poky-linux-gnueabi/imx-lib/1_3.10.53-1.1.0-r0/imx-lib-3.10.53-1.1.0/ipu'
| make: *** [ipu] Error 2
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at 
/home/picmaster/work/yocto-master-riotboard-test/build/tmp/work/imx6dl_riotboard-poky-linux-gnueabi/imx-lib/1_3.10.53-1.1.0-r0/temp/log.do_compile.12173)
ERROR: Task 4701 
(/home/picmaster/work/yocto-master-riotboard-test/sources/meta-fsl-arm/recipes-bsp/imx-lib/imx-lib_3.10.53-1.1.0.bb, 
do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2922 tasks of which 5 didn't need to be 
rerun and 1 failed.
Waiting for 0 running tasks to finish:

Summary: 1 task failed:
 
/home/picmaster/work/yocto-master-riotboard-test/sources/meta-fsl-arm/recipes-bsp/imx-lib/imx-lib_3.10.53-1.1.0.bb, 
do_compile
Summary: There was 1 WARNING message shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.


The obvious part is that someone is pulling-in imx-lib, which shouldn't 
be built with linux-fslc. I'm still to figure out why.

Regards,
Nikolay


More information about the meta-freescale mailing list