Bug 788

Summary: [sstate] random error message shown when sstate is used
Product: [Build System, Metadata & Runtime] Meta-yocto Reporter: Jiajun Xu <jiajun.xu>
Component: meta-yoctoAssignee: Richard Purdie <richard.purdie>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: bluelightning, edwin.zhai, kevin.tian, poky.bs.watcher, poky.watcher, sgw
Version: 1.0   
Target Milestone: 1.0 M4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Jiajun Xu 2011-03-02 05:44:50 UTC
Testing Env:    
Host: Ubuntu 10.04 LTS
Kernel: 2.6.32-21-generic-pae
Commit information: e08dc5aaaeba61e332caab4a3df5750df6b49ac1

In RC1 testing, when sstate is used on local machine, random error messages will show up during build. The error messages seems do not break functionality.

Reproduce Steps:
1. git clone poky master tree
2. git checkout e08dc5aaaeba61e332caab4a3df5750df6b49ac1, which is RC1 build
3. setup the build environment, MACHINE ?= qemux86, and build poky-image-minimal. After build is finished, the sstate dir will be found under ${TOPDIR}/sstate-cache
4. git clone another poky master tree
5. Set the same configuration as the first tree and set the SSTATE_MIRRORS in local.conf to the sstate dir built in first tree.
6. build poky-image-minimal

The error messages are like following:
#########
NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Running setscene task 1 of 11 (virtual:native:/home/jxu49/osel/poky-sstate-m4/meta/recipes-devtools/pseudo/pseudo_1.0.bb:do_populate_sysroot_setscene)
NOTE: Running setscene task 2 of 11 (/home/jxu49/osel/poky-sstate-m4/meta/recipes-extended/tar/tar-replacement-native_1.25.bb:do_populate_sysroot_setscene)
NOTE: package pseudo-native-1.0-r0: task do_populate_sysroot_setscene: Started
ERROR: Task 0 (virtual:native:/home/jxu49/osel/poky-sstate-m4/meta/recipes-devtools/pseudo/pseudo_1.0.bb, do_unpack) failed with exit code '1'
NOTE: Running setscene task 3 of 11 (virtual:native:/home/jxu49/osel/poky-sstate-m4/meta/recipes-support/sqlite/sqlite3_3.7.3.bb:do_populate_sysroot_setscene)
NOTE: package tar-replacement-native-1.25-r0: task do_populate_sysroot_setscene: Started
ERROR: Task 1 (virtual:native:/home/jxu49/osel/poky-sstate-m4/meta/recipes-devtools/pseudo/pseudo_1.0.bb, do_patch) failed with exit code '1'
NOTE: Running setscene task 4 of 11 (virtual:native:/home/jxu49/osel/poky-sstate-m4/meta/recipes-core/gettext/gettext_0.17.bb:do_populate_sysroot_setscene)
NOTE: package sqlite3-native-3.7.3-r1: task do_populate_sysroot_setscene: Started
ERROR: Task 3 (virtual:native:/home/jxu49/osel/poky-sstate-m4/meta/recipes-devtools/pseudo/pseudo_1.0.bb, do_populate_sysroot) failed with exit code '1'
NOTE: Running setscene task 5 of 11 (virtual:native:/home/jxu49/osel/poky-sstate-m4/meta/recipes-devtools/tcltk/tcl_8.5.9.bb:do_populate_sysroot_setscene)
NOTE: package gettext-native-0.17-r5: task do_populate_sysroot_setscene: Started
ERROR: Task 8 (/home/jxu49/osel/poky-sstate-m4/meta/recipes-extended/tar/tar-replacement-native_1.25.bb, do_unpack) failed with exit code '1'
NOTE: package tcl-native-8.5.9-r0: task do_populate_sysroot_setscene: Started
ERROR: Task 10 (/home/jxu49/osel/poky-sstate-m4/meta/recipes-extended/tar/tar-replacement-native_1.25.bb, do_install) failed with exit code '1'
NOTE: Running setscene task 6 of 11 (/home/jxu49/osel/poky-sstate-m4/meta/recipes-devtools/libtool/libtool-native_2.4.bb:do_populate_sysroot_setscene)
NOTE: package libtool-native-2.4-r2: task do_populate_sysroot_setscene: Started
ERROR: Task 6 (virtual:native:/home/jxu49/osel/poky-sstate-m4/meta/recipes-devtools/pseudo/pseudo_1.0.bb, do_configure) failed with exit code '1'
NOTE: Running setscene task 7 of 11 (virtual:native:/home/jxu49/osel/poky-sstate-m4/meta/recipes-devtools/automake/automake_1.11.1.bb:do_populate_sysroot_setscene)
NOTE: package automake-native-1.11.1-r1: task do_populate_sysroot_setscene: Started
ERROR: Task 5 (virtual:native:/home/jxu49/osel/poky-sstate-m4/meta/recipes-devtools/pseudo/pseudo_1.0.bb, do_setscene) failed with exit code '1'
NOTE: Running setscene task 8 of 11 (virtual:native:/home/jxu49/osel/poky-sstate-m4/meta/recipes-devtools/autoconf/autoconf_2.65.bb:do_populate_sysroot_setscene)
NOTE: package autoconf-native-2.65-r2: task do_populate_sysroot_setscene: Started
ERROR: Task 4 (virtual:native:/home/jxu49/osel/poky-sstate-m4/meta/recipes-devtools/pseudo/pseudo_1.0.bb, do_fetch) failed with exit code '1'
NOTE: Running setscene task 9 of 11 (/home/jxu49/osel/poky-sstate-m4/meta/recipes-devtools/m4/m4-native_1.4.15.bb:do_populate_sysroot_setscene)
NOTE: package m4-native-1.4.15-r0: task do_populate_sysroot_setscene: Started
ERROR: Task 9 (/home/jxu49/osel/poky-sstate-m4/meta/recipes-extended/tar/tar-replacement-native_1.25.bb, do_patch) failed with exit code '1'
NOTE: Executing RunQueue Tasks
.....
.....
#########
Comment 1 Paul Eggleton 2011-03-06 11:20:02 UTC
Assuming you're referring to the task name being random, this is fixed by a patch I submitted previously (not yet merged).

https://lists.yoctoproject.org/pipermail/poky/2011-February/004059.html
Comment 2 Richard Purdie 2011-03-15 08:29:12 UTC
This is fixed in master in http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=9d9c68e3536387150e3ce7261f4770576e724dd9
Comment 3 Jiajun Xu 2011-03-17 06:32:36 UTC
Verify the bug is fixed with tree/branch(poky/bernard), commit information: 387e05af6d6f71b43c677983668da418a1633e0d.