All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nikolay Dimitrov <picmaster@mail.bg>
To: Fabio Estevam <festevam@gmail.com>
Cc: "meta-freescale@yoctoproject.org"
	<meta-freescale@yoctoproject.org>,
	Otavio Salvador <otavio@ossystems.com.br>
Subject: Re: [meta-fsl-arm-extra][PATCH v2] riotboard: Fix broken image builds against linux-fslc
Date: Thu, 30 Apr 2015 05:50:18 +0300	[thread overview]
Message-ID: <5541986A.6060607@mail.bg> (raw)
In-Reply-To: <CAOMZO5AspajWNYFfJRhCKHDgCCvDOGej1L_T5W=y+KoPEMZCxw@mail.gmail.com>

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@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


  reply	other threads:[~2015-04-30  2:50 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-29 21:38 [meta-fsl-arm-extra][PATCH v2] riotboard: Fix broken image builds against linux-fslc Nikolay Dimitrov
2015-04-29 21:41 ` Otavio Salvador
2015-04-29 22:46   ` Nikolay Dimitrov
2015-04-29 22:59     ` Fabio Estevam
2015-04-30  2:50       ` Nikolay Dimitrov [this message]
2015-04-30  3:22         ` Nikolay Dimitrov
2015-04-30 10:52           ` Otavio Salvador
2015-04-30 14:34             ` Nikolay Dimitrov
2015-04-30 15:13               ` Fabio Estevam
2015-04-30 15:18                 ` Nikolay Dimitrov
2015-04-29 21:42 ` Gary Thomas
2015-04-29 21:48   ` Otavio Salvador
2015-04-29 21:55     ` Nikolay Dimitrov
2015-04-29 21:51   ` Nikolay Dimitrov
2015-04-29 21:56     ` Gary Thomas
2015-04-29 22:12       ` Nikolay Dimitrov
2015-04-29 22:36         ` Gary Thomas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5541986A.6060607@mail.bg \
    --to=picmaster@mail.bg \
    --cc=festevam@gmail.com \
    --cc=meta-freescale@yoctoproject.org \
    --cc=otavio@ossystems.com.br \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.