Wind River Support Network

HomeDefectsLIN6-7570
Fixed

LIN6-7570 : microcode-ctl_git failes on do_populate_sysroot when building from sstate

Created: Jun 2, 2014    Updated: Dec 3, 2018
Resolved Date: Jun 2, 2014
Found In Version: 6.0.0.8
Fix Version: 6.0.0.8
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: Userspace

Description

When building from sstate the following error is encountered.

NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
Setting up host-cross and links
Setting up packages link
Creating export directory
Creating project properties
ERROR: Error executing a python function in /buildarea/builder/wrsgit/b/ucode-ctl/layers/wr-base/recipes-bsp/microcode-ctl/microcode-ctl_git.bb:

The stack trace of python calls that resulted in this exception/failure was:
File: 'do_populate_sysroot_setscene', lineno: 6, function: <module>
     0002:def do_populate_sysroot_setscene(d):
     0003:    sstate_setscene(d)
     0004:
     0005:
 *** 0006:do_populate_sysroot_setscene(d)
     0007:
File: 'do_populate_sysroot_setscene', lineno: 3, function: do_populate_sysroot_setscene
     0001:
     0002:def do_populate_sysroot_setscene(d):
 *** 0003:    sstate_setscene(d)
     0004:
     0005:
     0006:do_populate_sysroot_setscene(d)
     0007:
File: 'sstate.bbclass', lineno: 3, function: sstate_setscene
     0001:def sstate_setscene(d):
     0002:    shared_state = sstate_state_fromvars(d)
 *** 0003:    accelerate = sstate_installpkg(shared_state, d)
     0004:    if not accelerate:
     0005:        raise bb.build.FuncFailed("No suitable staging package found")
     0006:
File: 'sstate.bbclass', lineno: 68, function: sstate_installpkg
     0064:        os.remove(fixmefn)
     0065:
     0066:    for state in ss['dirs']:
     0067:        prepdir(state[1])
 *** 0068:        os.rename(sstateinst + state[0], state[1])
     0069:    sstate_install(ss, d)
     0070:
     0071:    for plain in ss['plaindirs']:
     0072:        workdir = d.getVar('WORKDIR', True)
Exception: OSError: [Errno 2] No such file or directory

WARNING: Setscene task 0 (/buildarea/builder/wrsgit/b/ucode-ctl/layers/wr-base/recipes-bsp/microcode-ctl/microcode-ctl_git.bb, do_populate_sysroot_setscene) failed with exit code '1' - real task will be run inst
ead

Steps to Reproduce

configure <options>  --enable-board=intel-x86-64 --enable-rootfs=glibc-std --enable-kernel=standard --enable-bootimage=noimage 
make -C build microcode-ctl # <-- populates local sstate
make -C build microcode-ctl.clean # remove local build output but not sstate
make -C build microcode-ctl

Other Downloads


Live chat
Online