Fixed
Created: Mar 9, 2014
Updated: Dec 3, 2018
Resolved Date: Mar 9, 2014
Previous ID: LIN5-18231
Found In Version: 6.0.0.2
Fix Version: 6.0.0.4
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: Build & Config
Host OS: Linux Other
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.
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