Wind River Support Network

HomeDefectsLIN6-7589
Fixed

LIN6-7589 : lsi-axm55xx CGL kernel build failed based on the GIT tree (20140603)

Created: Jun 3, 2014    Updated: Dec 3, 2018
Resolved Date: Jun 3, 2014
Found In Version: 6.0
Fix Version: 6.0.0.8
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: BSP - Async, Build & Config

Description

The failures were as the following (based on the GIT tree).

make fs
...

| make: Entering directory `/60async/git/lsi-axm55xx_cgl/bitbake_build/tmp/work/lsi_axm55xx-wrs-linux-gnueabi/linux-windriver/3.10-r0/image/usr/src/kernel'
| Makefile:1039: target `_clean_samples' given more than once in the same rule.
|   CLEAN   .
|   CLEAN   arch/arm/kernel
|   CLEAN   drivers/tty/vt
|   CLEAN   firmware
|   CLEAN   kernel/debug/kdb
|   CLEAN   kernel
|   CLEAN   lib/raid6
|   CLEAN   lib
|   CLEAN   security/selinux
|   CLEAN   usr
|   CLEAN   arch/arm/boot/compressed
|   CLEAN   arch/arm/boot
| make: Leaving directory `/60async/git/lsi-axm55xx_cgl/bitbake_build/tmp/work/lsi_axm55xx-wrs-linux-gnueabi/linux-windriver/3.10-r0/image/usr/src/kernel'
| make: Entering directory `/60async/git/lsi-axm55xx_cgl/bitbake_build/tmp/work/lsi_axm55xx-wrs-linux-gnueabi/linux-windriver/3.10-r0/image/usr/src/kernel'
| Makefile:1039: target `_clean_samples' given more than once in the same rule.
|   HOSTCC  scripts/basic/fixdep
|   HOSTCC  scripts/kconfig/conf.o
|   HOSTCC  scripts/kconfig/zconf.tab.o
|   HOSTLD  scripts/kconfig/conf
| scripts/kconfig/conf --silentoldconfig Kconfig
| make: Leaving directory `/60async/git/lsi-axm55xx_cgl/bitbake_build/tmp/work/lsi_axm55xx-wrs-linux-gnueabi/linux-windriver/3.10-r0/image/usr/src/kernel'
| Makefile:1039: target `_clean_samples' given more than once in the same rule.
|   CLEAN   scripts/basic
|   CLEAN   scripts/dtc
|   CLEAN   scripts/kconfig
|   CLEAN   scripts/mod
|   CLEAN   scripts/selinux/genheaders
|   CLEAN   scripts/selinux/mdp
|   CLEAN   scripts
| WARNING: /60async/git/lsi-axm55xx_cgl/bitbake_build/tmp/work/lsi_axm55xx-wrs-linux-gnueabi/linux-windriver/3.10-r0/linux/arch/arm/boot/dts/axm5516-amarillo.dts contains the full path to the the dts file, but only the dtb name should be used.
| NOTE: make -j 10 axm5516-amarillo.dtb
| /60async/git/lsi-axm55xx_cgl/bitbake_build/tmp/work/lsi_axm55xx-wrs-linux-gnueabi/linux-windriver/3.10-r0/linux/Makefile:1039: target `_clean_samples' given more than once in the same rule.
|   CC      scripts/mod/devicetable-offsets.s
|   GEN     scripts/mod/devicetable-offsets.h
|   HOSTCC  scripts/mod/file2alias.o
|   HOSTLD  scripts/mod/modpost
| make[3]: *** No rule to make target `arch/arm/boot/dts/axm5516-amarillo.dtb'.  Stop.
| make[2]: *** [axm5516-amarillo.dtb] Error 2
| make[1]: *** [sub-make] Error 2
| make: *** [all] Error 2
| ERROR: oe_runmake failed
| WARNING: /60async/git/lsi-axm55xx_cgl/bitbake_build/tmp/work/lsi_axm55xx-wrs-linux-gnueabi/linux-windriver/3.10-r0/temp/do_install/run.do_install.25519:1 exit 1 from
|   exit 1
| ERROR: Function failed: do_install (log file is located at /60async/git/lsi-axm55xx_cgl/bitbake_build/tmp/work/lsi_axm55xx-wrs-linux-gnueabi/linux-windriver/3.10-r0/temp/do_install/log.do_install.25519)
ERROR: Task 308 (/60async/git/lsi-axm55xx_cgl/layers/wr-kernel/recipes-kernel/linux/linux-windriver_3.10.bb, do_install) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2245 tasks of which 212 didn't need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:

Summary: 1 task failed:
  /60async/git/lsi-axm55xx_cgl/layers/wr-kernel/recipes-kernel/linux/linux-windriver_3.10.bb, do_install
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
make: *** [export/lsi-axm55xx-glibc-cgl-cgl-dist.tar.bz2] Error 1

Steps to Reproduce

Build based on the GIT tree (20140603):

configure \
  --enable-board=lsi-axm55xx \
  --enable-kernel=cgl \
  --enable-rootfs=glibc_cgl \
  --with-layer=wr-testing/kts-test,wr-testing/bts \
  --with-template=feature/kts-basic,feature/kts-extended,feature/kts-cgl \
  --enable-jobs=10 \
  --enable-parallel-pkgbuilds=10

make fs

Other Downloads


Live chat
Online