Wind River Support Network

HomeDefectsLIN5-18156
Fixed

LIN5-18156 : Build fails when a project is configured with options --enable-ccache=yes --enable-jobs=2 --enable-parallel-pkgbuilds=2

Created: Feb 24, 2014    Updated: Dec 19, 2017
Resolved Date: Mar 9, 2014
Found In Version: 5.0.1.10,5.0.1.11
Fix Version: 5.0.1.13
Severity: Standard
Applicable for: Wind River Linux 5
Component/s: Build & Config
Host OS: Linux Other

Description

This issue occurs on Fedora 17 64bit host, and it does not occur on Ubuntu 12.04 host. So, it may also depend on host OS.

The error message is "make: *** No rule to make target `oldconfig'.  Stop.". This issue does not occur when a project is configured with options --enable-jobs=4 and --enable-parallel-pkgbuilds=4.

Steps to Reproduce

1. Do the following steps on Fedora 17 64bit host.

2. Create a project with the following configure command.

$WIND_LINUX_CONFIGURE \
--enable-board=stm-spear13xx \
--enable-kernel=preempt-rt \
--enable-build=production \
--enable-rootfs=glibc_small \
--with-rcpl-version=0011 \
--enable-ccache=yes \
--enable-jobs=2 \
--enable-parallel-pkgbuilds=2


3. Make the project and it fails with the following error message.

ERROR: Function failed: do_configure (see /home/wrsguest/wrl501/workspace/stmspear13xx-rcpl0011-job2/bitbake_build/tmp/work/stm_spear13xx-wrs-linux-gnueabi/linux-windriver-3.4-r0/temp/do_configure/log.do_configure.19039 for further information)
ERROR: Logfile of failure stored in: /home/wrsguest/wrl501/workspace/stmspear13xx-rcpl0011-job2/bitbake_build/tmp/work/stm_spear13xx-wrs-linux-gnueabi/linux-windriver-3.4-r0/temp/do_configure/log.do_configure.19039
Log data follows:
| DEBUG: Executing python function sysroot_cleansstate
| DEBUG: Python function sysroot_cleansstate finished
| DEBUG: Executing shell function do_configure
| NOTE: make oldconfig
| make: *** No rule to make target `oldconfig'.  Stop.
| ERROR: oe_runmake failed
| WARNING: /home/wrsguest/wrl501/workspace/stmspear13xx-rcpl0011-job2/bitbake_build/tmp/work/stm_spear13xx-wrs-linux-gnueabi/linux-windriver-3.4-r0/temp/do_configure/run.do_configure.19039:99 exit 1 from
|   oe_runmake oldconfig
| ERROR: Function failed: do_configure (see /home/wrsguest/wrl501/workspace/stmspear13xx-rcpl0011-job2/bitbake_build/tmp/work/stm_spear13xx-wrs-linux-gnueabi/linux-windriver-3.4-r0/temp/do_configure/log.do_configure.19039 for further information)
ERROR: Task 266 (/home/wrsguest/wrl501/workspace/stmspear13xx-rcpl0011-job2/layers/wr-kernel/recipes-kernel/linux/linux-windriver_3.4.bb, do_configure) failed with exit code '1'
NOTE: Tasks Summary: Attempted 487 tasks of which 485 didn't need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:

Summary: 1 task failed:
  /home/wrsguest/wrl501/workspace/stmspear13xx-rcpl0011-job2/layers/wr-kernel/recipes-kernel/linux/linux-windriver_3.4.bb, do_configure
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
make: *** [export/stm-spear13xx-glibc-small-preempt-rt-dist.tar.bz2] Error 1

Other Downloads


Live chat
Online