[yocto] extensible SDK build failure

Paul Eggleton paul.eggleton at linux.intel.com
Mon Jul 31 06:50:08 PDT 2017


Hi Russell,

It looks to me like you have added kernel-devsrc to the TOOLCHAIN_*_TASK variable at the global level, which you really don't want to do if you're going to be building buildtools-tarball (which eSDK will build as a dependency). I'd suggest moving that setting to your image recipe.

Cheers,
Paul

On Sunday, 30 July 2017 4:22:24 PM CEST Russell Peterson wrote:
> Hello, all.
> 
> I’m trying to build the eSDK for my platform and I just can’t figure out why dnf can’t find kernel-devsrc.  It’s there, I added it.  The “normal SDK” uses it and builds fine.  Just no luck with the eSDK.
> Any help out there?  Poky is pyro.  aarch64 SoC target platform with an x86 build host (CentOS 7.3).  Basically I just bitbake -c do_populate_sdk_ext core-image-full.  I do have a linux kernel recipe that pulls the kernel from the standard kernel.org <http://kernel.org/> repo.
> 
> ERROR: buildtools-tarball-1.0-r0 do_populate_sdk: Could not invoke dnf. Command '/scratch/russell/yocto-00dc025f/work/x86_64-nativesdk-pokysdk-linux/buildtools-tarball/1.0-r0/recipe-sysroot-native/usr/bin/dnf -y -c /scratch/russell/yocto-00dc025f/work/x86_64-nativesdk-pokysdk-linux/buildtools-tarball/1.0-r0/sdk/image/opt/poky/2.3.1/sysroots/none/etc/dnf/dnf.conf --setopt=reposdir=/scratch/russell/yocto-00dc025f/work/x86_64-nativesdk-pokysdk-linux/buildtools-tarball/1.0-r0/sdk/image/opt/poky/2.3.1/sysroots/none/etc/yum.repos.d --repofrompath=oe-repo,/scratch/russell/yocto-00dc025f/work/x86_64-nativesdk-pokysdk-linux/buildtools-tarball/1.0-r0/oe-rootfs-repo --installroot=/scratch/russell/yocto-00dc025f/work/x86_64-nativesdk-pokysdk-linux/buildtools-tarball/1.0-r0/sdk/image/opt/poky/2.3.1/sysroots/none --setopt=logdir=/scratch/russell/yocto-00dc025f/work/x86_64-nativesdk-pokysdk-linux/buildtools-tarball/1.0-r0/temp --nogpgcheck install kernel-devsrc' returned 1:
> Added oe-repo repo from file:///scratch/russell/yocto-00dc025f/work/x86_64-nativesdk-pokysdk-linux/buildtools-tarball/1.0-r0/oe-rootfs-repo <file:///scratch/russell/yocto-00dc025f/work/x86_64-nativesdk-pokysdk-linux/buildtools-tarball/1.0-r0/oe-rootfs-repo>
> Last metadata expiration check: 0:00:01 ago on Sun Jul 30 01:38:48 2017 UTC.
> No package kernel-devsrc available.
> Error: Unable to find a match
>  
> ERROR: buildtools-tarball-1.0-r0 do_populate_sdk: Function failed: do_populate_sdk
> ERROR: Logfile of failure stored in: /scratch/russell/yocto-00dc025f/work/x86_64-nativesdk-pokysdk-linux/buildtools-tarball/1.0-r0/temp/log.do_populate_sdk.4836
> ERROR: Task (/labhome/russell/src/bf/poky/meta/recipes-core/meta/buildtools-tarball.bb:do_populate_sdk) failed with exit code '1'


-- 

Paul Eggleton
Intel Open Source Technology Centre



More information about the yocto mailing list