Bug 6894

Summary: kernel menuconfig unusable and errors during compileing
Product: [Yocto Project Subprojects] Kernel Reporter: Justus Metzler <justus>
Component: kernel-configurationAssignee: Justus Metzler <justus>
Status: VERIFIED WONTFIX QA Contact: Alexandru Georgescu <alexandru.c.georgescu>
Severity: critical    
Priority: Medium+ CC: alexandru.c.georgescu, yp.kernel.watcher, yp.watcher
Version: unspecified   
Target Milestone: 1.8   
Hardware: Other   
OS: arm   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Justus Metzler 2014-10-27 15:06:00 UTC
Dear Community,

Ive got several problems, we´d edited the defconfig file with menuconfig.
During compiling the kernel, ive got the following messages.

Id uploaded my steps and a Error-log to pastebin

http://pastebin.com/77NcqZGv

Thanks in Advance.


---------------------------------------------------------------
Build Configuration:
BB_VERSION        = "1.22.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-14.04"
TARGET_SYS        = "arm-poky-linux-gnueabi"
MACHINE           = "nitrogen6x"
DISTRO            = "poky"
DISTRO_VERSION    = "1.6.1"
TUNE_FEATURES     = "armv7a vfp neon callconvention-hard cortexa9"
TARGET_FPU        = "vfp-neon"
meta              
meta-yocto        = "(nobranch):313864bf528696a72c3ee6b3dec1a0c7b0b223f6"
meta-oe           = "(nobranch):518cd119a8724dbd485a5d5c5047de59e8fbd652"
meta-fsl-arm      = "(nobranch):4e694e727aa8babfd0ba06c5e98bab3753b39a8b"
meta-fsl-arm-extra = "(nobranch):46c9fe7cfb12afcd75ad427eb3518de029aa766f"
meta-fsl-demos    = "(nobranch):f141c7d1158b8addbd6f1ed047a1b47c2ed85f8f"
meta-qt5          = "daisy:c29c317e0f22202bfaa85329a580564bbc179089"
meta-ruby         
meta-multimedia   = "(nobranch):518cd119a8724dbd485a5d5c5047de59e8fbd652"
Comment 1 Bruce Ashfield 2014-10-27 16:17:50 UTC
Without knowing what you changed during the menuconfig phase, there's not much we
can say. i.e. this is a straight forward missing build dependency.

| make[1]: *** No rule to make target `arch/arm/boot/dts/imx6q-nitrogen6_max.dtb'.  Stop.
| make: *** [imx6q-nitrogen6_max.dtb] Error 2
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_install (log file is located at /home/user/yocto/build/tmp/work/nitrogen6x-poky-linux-gnueabi/linux-imx/3.10.17-r0/temp/log.do_install.31802)
ERROR: Task 2 (/home/user/yocto/sources/meta-fsl-arm/recipes-kernel/linux/linux-imx_3.10.17.bb, do_install) failed with exit code '1'
NOTE: Tasks Summary: Attempted 409 tasks of which 398 didn't need to be rerun and 1 failed.
No currently running tasks (409 of 416)

-----------------

Also, can this be reproduced using linux-yocto and a reference BSP ? If this is only triggered
using the imx kernel, then the maintainers of that layer should be contacted.
Comment 2 Justus Metzler 2014-10-27 17:33:45 UTC
Wed changed nothing, thats the interesting part.
We use a Sabrelite Board from Boundary as reference Board.
Wed do not have edited the .config or defconfig, we just typed menuconfig.
The defconfig and .config is the same as before.
My log is made during doing the steps showed in the log, wed have a fresh clone of the daisy branche.
Comment 3 Bruce Ashfield 2014-10-27 17:40:51 UTC
There's nothing that I can see wrong with kernel.bbclass, have you checked with the 
maintainers of the BSP ?

Without being able to reproduce this, or have it happen with a linux-yocto reference BSP,
there's little I can do at the moment.
Comment 4 Bruce Ashfield 2014-11-13 17:53:09 UTC
setting as needinfo, since we need to hear from the maintainers of the referenced recipe.
Comment 5 Justus Metzler 2014-12-08 19:34:47 UTC
Fixed in Dizzy
Comment 6 Alexandru Georgescu 2015-01-19 10:04:19 UTC
verified as per above comments