The error message is like below. | install: cannot stat '/buildarea2/chenqi/poky/build-systemd/tmp/deploy/sdk/poky-glibc-x86_64-buildtools-tarball-core2-64-buildtools-nativesdk-standalone-1.8+snapshot-20150429.sh': No such file or direc\ tory How to reproduce. 1) bitbake buildtools-tarball 2) After one day, do `bitbake core-image-minimal -c populate_sdk_ext' The problem is that the output name for buildtools-tarball has ${DATE} in it. So if populate_sdk_ext task is executed but buildtools-tarball is not rebuilt, the above error appears. I think in install_tools() function in populate_sdk_ext.bbclass, instead of hardcoding ${DISTRO_VERSION} which contains ${DATE}, we should find the latest buildtools-tarball based on modification time and install it. //Chen Qi
Module: openembedded-core.git Branch: master Commit: fa708504d71e0b01ee97a172ac17ad16a9e3b897 URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=fa708504d71e0b01ee97a172ac17ad16a9e3b897 Author: Qi.Chen@windriver.com <Qi.Chen@windriver.com> Date: Mon Sep 7 13:42:21 2015 +0100 Module: openembedded-core.git Branch: master Commit: 78ea4fcdea468888c0faef22a95dea7015a91df2 URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=78ea4fcdea468888c0faef22a95dea7015a91df2 Author: Paul Eggleton <paul.eggleton@linux.intel.com> Date: Mon Sep 7 13:42:20 2015 +0100 classes/populate_sdk_ext: avoid poky-specific buildtools naming Only poky sets SDK_NAME to include ${IMAGE_BASENAME} (i.e. ${PN}), so we can't assume the buildtools filename will include it here. Change it to look for a file with "buildtools-nativesdk-standalone" in the name (the buildtools-tarball recipe itself sets TOOLCHAIN_OUTPUTNAME to include this.) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
verified on master d4585fa23d56a58c583ee33db067a23177a936b1 bitbake -c populate_sdk_ext core-image-minimal run successful next day 3280592 -rw-------. 1 valentin valentin 5089 Sep 14 18:34 poky-glibc-x86_64-buildtools-tarball-i586-buildtools-nativesdk-standalone-1.8+snapshot-20150914.host.manifest 3276801 -rwxr-xr-x. 1 valentin valentin 26902738 Sep 14 18:34 poky-glibc-x86_64-buildtools-tarball-i586-buildtools-nativesdk-standalone-1.8+snapshot-20150914.sh 3280580 -rw-------. 1 valentin valentin 0 Sep 14 18:32 poky-glibc-x86_64-buildtools-tarball-i586-buildtools-nativesdk-standalone-1.8+snapshot-20150914.target.manifest 3280666 -rw-------. 1 valentin valentin 136 Sep 15 14:13 poky-glibc-x86_64-core-image-minimal-i586-toolchain-ext-1.8+snapshot.host.manifest 3280668 -rwxr-xr-x. 1 valentin valentin 1585805917 Sep 15 14:16 poky-glibc-x86_64-core-image-minimal-i586-toolchain-ext-1.8+snapshot.sh 3280407 -rw-------. 1 valentin valentin 0 Sep 15 14:13 poky-glibc-x86_64-core-image-minimal-i586-toolchain-ext-1.8+snapshot.target.manifest