in 1.3 M2 RC1,when build meta-toolchain with following settings in local.conf: PACKAGE_CLASSES ?= "package_ipk" SDKMACHINE ?= "x86_64" or SDKMACHINE ?= "i686" then run "bitbake meta-toolchain", below error will be met: ...... NOTE: Running task 2033 of 2034 (ID: 7, /buildarea/poky.ubuntu.new_712/poky/meta/recipes-core/meta/meta-toolchain.bb, do_populate_sdk) NOTE: package meta-toolchain-1.0-r7: task do_populate_sdk: Started ERROR: Function failed: populate_sdk_image (see /buildarea/tester/build_4/tmp/work/mips32-poky-linux/meta-toolchain-1.0-r7/temp/log.do_populate_sdk.9735 for further information) ERROR: Logfile of failure stored in: /buildarea/tester/build_4/tmp/work/mips32-poky-linux/meta-toolchain-1.0-r7/temp/log.do_populate_sdk.9735 Log data follows: | DEBUG: Executing python function do_populate_sdk | DEBUG: Executing shell function populate_sdk_image | + ipkgarchs=all any noarch mips mips32 qemumips all any noarch x86_64-nativesdk | + [ ! -z ] | + packagedirs=/buildarea/tester/build_4/tmp/deploy/ipk | + packagedirs=/buildarea/tester/build_4/tmp/deploy/ipk /buildarea/tester/build_4/tmp/deploy/ipk/all | + packagedirs=/buildarea/tester/build_4/tmp/deploy/ipk /buildarea/tester/build_4/tmp/deploy/ipk/all /buildarea/tester/build_4/tmp/deploy/ipk/any | + packagedirs=/buildarea/tester/build_4/tmp/deploy/ipk /buildarea/tester/build_4/tmp/deploy/ipk/all /buildarea/tester/build_4/tmp/deploy/ipk/any /buildarea/tester/build_4/tmp/deploy/ipk/noarch | + packagedirs=/buildarea/tester/build_4/tmp/deploy/ipk /buildarea/tester/build_4/tmp/deploy/ipk/all /buildarea/tester/build_4/tmp/deploy/ipk/any /buildarea/tester/build_4/tmp/deploy/ipk/noarch /buildarea/tester/build_4/tmp/deploy/ipk/mips | + packagedirs=/buildarea/tester/build_4/tmp/deploy/ipk /buildarea/tester/build_4/tmp/deploy/ipk/all /buildarea/tester/build_4/tmp/deploy/ipk/any /buildarea/tester/build_4/tmp/deploy/ipk/noarch /buildarea/tester/build_4/tmp/deploy/ipk/mips /buildarea/tester/build_4/tmp/deploy/ipk/mips32 | + packagedirs=/buildarea/tester/build_4/tmp/deploy/ipk /buildarea/tester/build_4/tmp/deploy/ipk/all /buildarea/tester/build_4/tmp/deploy/ipk/any /buildarea/tester/build_4/tmp/deploy/ipk/noarch /buildarea/tester/build_4/tmp/deploy/ipk/mips /buildarea/tester/build_4/tmp/deploy/ipk/mips32 /buildarea/tester/build_4/tmp/deploy/ipk/qemumips | + packagedirs=/buildarea/tester/build_4/tmp/deploy/ipk /buildarea/tester/build_4/tmp/deploy/ipk/all /buildarea/tester/build_4/tmp/deploy/ipk/any /buildarea/tester/build_4/tmp/deploy/ipk/noarch /buildarea/tester/build_4/tmp/deploy/ipk/mips /buildarea/tester/build_4/tmp/deploy/ipk/mips32 /buildarea/tester/build_4/tmp/deploy/ipk/qemumips /buildarea/tester/build_4/tmp/deploy/ipk/all | + packagedirs=/buildarea/tester/build_4/tmp/deploy/ipk /buildarea/tester/build_4/tmp/deploy/ipk/all /buildarea/tester/build_4/tmp/deploy/ipk/any /buildarea/tester/build_4/tmp/deploy/ipk/noarch /buildarea/tester/build_4/tmp/deploy/ipk/mips /buildarea/tester/build_4/tmp/deploy/ipk/mips32 /buildarea/tester/build_4/tmp/deploy/ipk/qemumips /buildarea/tester/build_4/tmp/deploy/ipk/all /buildarea/tester/build_4/tmp/deploy/ipk/any | + packagedirs=/buildarea/tester/build_4/tmp/deploy/ipk /buildarea/tester/build_4/tmp/deploy/ipk/all /buildarea/tester/build_4/tmp/deploy/ipk/any /buildarea/tester/build_4/tmp/deploy/ipk/noarch /buildarea/tester/build_4/tmp/deploy/ipk/mips /buildarea/tester/build_4/tmp/deploy/ipk/mips32 /buildarea/tester/build_4/tmp/deploy/ipk/qemumips /buildarea/tester/build_4/tmp/deploy/ipk/all /buildarea/tester/build_4/tmp/deploy/ipk/any /buildarea/tester/build_4/tmp/deploy/ipk/noarch | + packagedirs=/buildarea/tester/build_4/tmp/deploy/ipk /buildarea/tester/build_4/tmp/deploy/ipk/all /buildarea/tester/build_4/tmp/deploy/ipk/any /buildarea/tester/build_4/tmp/deploy/ipk/noarch /buildarea/tester/build_4/tmp/deploy/ipk/mips /buildarea/tester/build_4/tmp/deploy/ipk/mips32 /buildarea/tester/build_4/tmp/deploy/ipk/qemumips /buildarea/tester/build_4/tmp/deploy/ipk/all /buildarea/tester/build_4/tmp/deploy/ipk/any /buildarea/tester/build_4/tmp/deploy/ipk/noarch /buildarea/tester/build_4/tmp/deploy/ipk/x86_64-nativesdk | + multilib_archs= | + [ -e /buildarea/tester/build_4/tmp/deploy/ipk/ ] | + touch /buildarea/tester/build_4/tmp/deploy/ipk/Packages | + flock /buildarea/tester/build_4/tmp/deploy/ipk/Packages.flock -c opkg-make-index -r /buildarea/tester/build_4/tmp/deploy/ipk/Packages -p /buildarea/tester/build_4/tmp/deploy/ipk/Packages -m /buildarea/tester/build_4/tmp/deploy/ipk/ | + [ -e /buildarea/tester/build_4/tmp/deploy/ipk/all/ ] | + touch /buildarea/tester/build_4/tmp/deploy/ipk/all/Packages | + flock /buildarea/tester/build_4/tmp/deploy/ipk/all/Packages.flock -c opkg-make-index -r /buildarea/tester/build_4/tmp/deploy/ipk/all/Packages -p /buildarea/tester/build_4/tmp/deploy/ipk/all/Packages -m /buildarea/tester/build_4/tmp/deploy/ipk/all/ | + [ -e /buildarea/tester/build_4/tmp/deploy/ipk/any/ ] | + [ -e /buildarea/tester/build_4/tmp/deploy/ipk/noarch/ ] | + [ -e /buildarea/tester/build_4/tmp/deploy/ipk/mips/ ] | + [ -e /buildarea/tester/build_4/tmp/deploy/ipk/mips32/ ] | + touch /buildarea/tester/build_4/tmp/deploy/ipk/mips32/Packages | + flock /buildarea/tester/build_4/tmp/deploy/ipk/mips32/Packages.flock -c opkg-make-index -r /buildarea/tester/build_4/tmp/deploy/ipk/mips32/Packages -p /buildarea/tester/build_4/tmp/deploy/ipk/mips32/Packages -m /buildarea/tester/build_4/tmp/deploy/ipk/mips32/ | + [ -e /buildarea/tester/build_4/tmp/deploy/ipk/qemumips/ ] | + [ -e /buildarea/tester/build_4/tmp/deploy/ipk/all/ ] | + touch /buildarea/tester/build_4/tmp/deploy/ipk/all/Packages | + flock /buildarea/tester/build_4/tmp/deploy/ipk/all/Packages.flock -c opkg-make-index -r /buildarea/tester/build_4/tmp/deploy/ipk/all/Packages -p /buildarea/tester/build_4/tmp/deploy/ipk/all/Packages -m /buildarea/tester/build_4/tmp/deploy/ipk/all/ | + [ -e /buildarea/tester/build_4/tmp/deploy/ipk/any/ ] | + [ -e /buildarea/tester/build_4/tmp/deploy/ipk/noarch/ ] | + [ -e /buildarea/tester/build_4/tmp/deploy/ipk/x86_64-nativesdk/ ] | + touch /buildarea/tester/build_4/tmp/deploy/ipk/x86_64-nativesdk/Packages | + flock /buildarea/tester/build_4/tmp/deploy/ipk/x86_64-nativesdk/Packages.flock -c opkg-make-index -r /buildarea/tester/build_4/tmp/deploy/ipk/x86_64-nativesdk/Packages -p /buildarea/tester/build_4/tmp/deploy/ipk/x86_64-nativesdk/Packages -m /buildarea/tester/build_4/tmp/deploy/ipk/x86_64-nativesdk/ | + package_generate_ipkg_conf | + package_generate_archlist | + ipkgarchs=all any noarch x86_64-nativesdk | + priority=1 | + echo arch all 1 | + expr 1 + 5 | + priority=6 | + echo arch any 6 | + expr 6 + 5 | + priority=11 | + echo arch noarch 11 | + expr 11 + 5 | + priority=16 | + echo arch x86_64-nativesdk 16 | + expr 16 + 5 | + priority=21 | + ipkgarchs=all any noarch mips mips32 qemumips | + priority=1 | + echo arch all 1 | + expr 1 + 5 | + priority=6 | + echo arch any 6 | + expr 6 + 5 | + priority=11 | + echo arch noarch 11 | + expr 11 + 5 | + priority=16 | + echo arch mips 16 | + expr 16 + 5 | + priority=21 | + echo arch mips32 21 | + expr 21 + 5 | + priority=26 | + echo arch qemumips 26 | + expr 26 + 5 | + priority=31 | + echo src oe file:/buildarea/tester/build_4/tmp/deploy/ipk | + ipkgarchs=all any noarch x86_64-nativesdk | + [ -e /buildarea/tester/build_4/tmp/deploy/ipk/all/Packages ] | + echo src oe-all file:/buildarea/tester/build_4/tmp/deploy/ipk/all | + [ -e /buildarea/tester/build_4/tmp/deploy/ipk/any/Packages ] | + [ -e /buildarea/tester/build_4/tmp/deploy/ipk/noarch/Packages ] | + [ -e /buildarea/tester/build_4/tmp/deploy/ipk/x86_64-nativesdk/Packages ] | + echo src oe-x86_64-nativesdk file:/buildarea/tester/build_4/tmp/deploy/ipk/x86_64-nativesdk | + echo src oe file:/buildarea/tester/build_4/tmp/deploy/ipk | + ipkgarchs=all any noarch mips mips32 qemumips | + [ -e /buildarea/tester/build_4/tmp/deploy/ipk/all/Packages ] | + echo src oe-all file:/buildarea/tester/build_4/tmp/deploy/ipk/all | + [ -e /buildarea/tester/build_4/tmp/deploy/ipk/any/Packages ] | + [ -e /buildarea/tester/build_4/tmp/deploy/ipk/noarch/Packages ] | + [ -e /buildarea/tester/build_4/tmp/deploy/ipk/mips/Packages ] | + [ -e /buildarea/tester/build_4/tmp/deploy/ipk/mips32/Packages ] | + echo src oe-mips32 file:/buildarea/tester/build_4/tmp/deploy/ipk/mips32 | + [ -e /buildarea/tester/build_4/tmp/deploy/ipk/qemumips/Packages ] | + export INSTALL_PACKAGES_LINGUAS_IPK= | + export INSTALL_TASK_IPK=populate_sdk | + export INSTALL_ROOTFS_IPK=/buildarea/tester/build_4/tmp/work/mips32-poky-linux/meta-toolchain-1.0-r7/sdk/image//opt/poky/1.2+snapshot/sysroots/mips32-poky-linux | + export INSTALL_CONF_IPK=/buildarea/tester/build_4/tmp/work/mips32-poky-linux/meta-toolchain-1.0-r7/opkg.conf | + export INSTALL_PACKAGES_IPK=task-core-standalone-sdk-target-dbg task-core-standalone-sdk-target | + export INSTALL_PACKAGES_ATTEMPTONLY_IPK= | + export D=/buildarea/tester/build_4/tmp/work/mips32-poky-linux/meta-toolchain-1.0-r7/sdk/image//opt/poky/1.2+snapshot/sysroots/mips32-poky-linux | + export OFFLINE_ROOT=/buildarea/tester/build_4/tmp/work/mips32-poky-linux/meta-toolchain-1.0-r7/sdk/image//opt/poky/1.2+snapshot/sysroots/mips32-poky-linux | + export IPKG_OFFLINE_ROOT=/buildarea/tester/build_4/tmp/work/mips32-poky-linux/meta-toolchain-1.0-r7/sdk/image//opt/poky/1.2+snapshot/sysroots/mips32-poky-linux | + export OPKG_OFFLINE_ROOT=/buildarea/tester/build_4/tmp/work/mips32-poky-linux/meta-toolchain-1.0-r7/sdk/image//opt/poky/1.2+snapshot/sysroots/mips32-poky-linux | + package_install_internal_ipk | + local target_rootfs=/buildarea/tester/build_4/tmp/work/mips32-poky-linux/meta-toolchain-1.0-r7/sdk/image//opt/poky/1.2+snapshot/sysroots/mips32-poky-linux | + local conffile=/buildarea/tester/build_4/tmp/work/mips32-poky-linux/meta-toolchain-1.0-r7/opkg.conf | + local package_attemptonly= | + local package_linguas= | + local task=populate_sdk | + split_multilib_packages | + INSTALL_PACKAGES_NORMAL_IPK= | + INSTALL_PACKAGES_MULTILIB_IPK= | + is_multilib=0 | + [ 0 = 0 ] | + INSTALL_PACKAGES_NORMAL_IPK= task-core-standalone-sdk-target-dbg | + is_multilib=0 | + [ 0 = 0 ] | + INSTALL_PACKAGES_NORMAL_IPK= task-core-standalone-sdk-target-dbg task-core-standalone-sdk-target | + local package_to_install= task-core-standalone-sdk-target-dbg task-core-standalone-sdk-target | + local package_multilib= | + mkdir -p /buildarea/tester/build_4/tmp/work/mips32-poky-linux/meta-toolchain-1.0-r7/sdk/image//opt/poky/1.2+snapshot/sysroots/mips32-poky-linux/var/lib/opkg/ | + local ipkg_args=-f /buildarea/tester/build_4/tmp/work/mips32-poky-linux/meta-toolchain-1.0-r7/opkg.conf -o /buildarea/tester/build_4/tmp/work/mips32-poky-linux/meta-toolchain-1.0-r7/sdk/image//opt/poky/1.2+snapshot/sysroots/mips32-poky-linux --force-overwrite --force_postinstall | + opkg-cl -f /buildarea/tester/build_4/tmp/work/mips32-poky-linux/meta-toolchain-1.0-r7/opkg.conf -o /buildarea/tester/build_4/tmp/work/mips32-poky-linux/meta-toolchain-1.0-r7/sdk/image//opt/poky/1.2+snapshot/sysroots/mips32-poky-linux --force-overwrite --force_postinstall update | /buildarea/tester/build_4/tmp/work/mips32-poky-linux/meta-toolchain-1.0-r7/temp/run.populate_sdk_image.9735: 200: /buildarea/tester/build_4/tmp/work/mips32-poky-linux/meta-toolchain-1.0-r7/temp/run.populate_sdk_image.9735: opkg-cl: not found | DEBUG: Python function do_populate_sdk finished | ERROR: Function failed: populate_sdk_image (see /buildarea/tester/build_4/tmp/work/mips32-poky-linux/meta-toolchain-1.0-r7/temp/log.do_populate_sdk.9735 for further information) NOTE: package meta-toolchain-1.0-r7: task do_populate_sdk: Failed ERROR: Task 7 (/buildarea/poky.ubuntu.new_712/poky/meta/recipes-core/meta/meta-toolchain.bb, do_populate_sdk) failed with exit code '1' NOTE: Tasks Summary: Attempted 2033 tasks of which 331 didn't need to be rerun and 1 failed. Summary: 1 task failed: /buildarea/poky.ubuntu.new_712/poky/meta/recipes-core/meta/meta-toolchain.bb, do_populate_sdk Summary: There were 123 WARNING messages shown. Summary: There was 1 ERROR message shown, returning a non-zero exit code. ------------ this lead to local adtrepo build fail which lead to ADT installer installation test case fail. git info : eb0cb7e8234f5d2e5623406e9660be91cf52f65e git branch :poky/master test env: host : ubuntu 12.04 x86_64 and fedora 17 i686.
the error still happend on nightly build 20120725-3: http://autobuilder.yoctoproject.org/pub/nightly/20120725-3/ git info :0ffb02eec2beaea27ff0ec9d3d31b0a09e675a4c git branch: poky/master
the error not met on nightly build 20120801-1: http://autobuilder.yoctoproject.org/pub/nightly/20120801-1/ git info :3309cf42d314f0a26079a11836c6b9b9bb5f253e git branch: poky/master test env: hosts: ubuntu 12.04 x86_64,fedora 17 i686, opensuse 12.1 x86_64 if the bug is solved, pls set the status to "RESOLVED".
the error not met again in recent tests.
There was a recent change to the attemptonly install that should have fixed this problem.
verified on : git info:19ff55a53b436d463f9577adaed15be77708f0d2 git branch : poky/master test env: host: ubuntu 12.04 x86_64