On Fri, Nov 2, 2018 at 8:30 AM Peter Bergin <pe...@berginkonsult.se> wrote: > > Hi, > > I'm working in rocko branch and trying to build a SDK with kernel-devsrc on a > standard qemux86 machine. During task populate_sdk I get the following error: > > ERROR: core-image-base-1.0-r0 do_populate_sdk: Could not invoke dnf. Command > '/work/yocto/rocko/qemux86/tmp/work/qemux86-poky-linux/core-image-base/1.0-r0/recipe-sysroot-native/usr/bin/dnf > -y -c > /work/yocto/rocko/qemux86/tmp/work/qemux86-poky-linux/core-image-base/1.0-r0/sdk/image/opt/poky/2.4.3/sysroots/i586-poky-linux/etc/dnf/dnf.conf > > --setopt=reposdir=/work/yocto/rocko/qemux86/tmp/work/qemux86-poky-linux/core-image-base/1.0-r0/sdk/image/opt/poky/2.4.3/sysroots/i586-poky-linux/etc/yum.repos.d > > --repofrompath=oe-repo,/work/yocto/rocko/qemux86/tmp/work/qemux86-poky-linux/core-image-base/1.0-r0/oe-sdk-repo > > --installroot=/work/yocto/rocko/qemux86/tmp/work/qemux86-poky-linux/core-image-base/1.0-r0/sdk/image/opt/poky/2.4.3/sysroots/i586-poky-linux > > --setopt=logdir=/work/yocto/rocko/qemux86/tmp/work/qemux86-poky-linux/core-image-base/1.0-r0/temp > --nogpgcheck install packagegroup-core-standalone-sdk-target run-postinsts > psplash packagegroup-base-extended packagegroup-core-boot linu x-libc-headers-dev kernel-devsrc' returned 1: > Added oe-repo repo from > /work/yocto/rocko/qemux86/tmp/work/qemux86-poky-linux/core-image-base/1.0-r0/oe-sdk-repo > Last metadata expiration check: 0:00:00 ago on Fri 02 Nov 2018 07:14:37 AM > UTC. > Error: > Problem: conflicting requests > - nothing provides /usr/bin/python needed by kernel-devsrc-1.0-r0.qemux86 > > ERROR: core-image-base-1.0-r0 do_populate_sdk: Function failed: > do_populate_sdk > ERROR: Logfile of failure stored in: > /work/yocto/rocko/qemux86/tmp/work/qemux86-poky-linux/core-image-base/1.0-r0/temp/log.do_populate_sdk.25760 > ERROR: Task > (/work/yocto/rocko/layers/poky/meta/recipes-core/images/core-image-base.bb:do_populate_sdk) > failed with exit code '1' > > Any ideas about what the problem is and how to fix?
I had a quick look at how the kernel-devsrc recipe looks in master, and there they have added python to RDEPENDS. Adding that should pull python in to the SDK as well. See http://cgit.openembedded.org/openembedded-core/tree/meta/recipes-kernel/linux/kernel-devsrc.bb?h=master#n234 Cheers, Erik > > My addition to standard Yocto configuration is: > > TOOLCHAIN_TARGET_TASK_append = " \ > kernel-devsrc \ > linux-libc-headers-dev \ > " > > I first build image with 'bitbake core-image-base' then I got the error when > building SDK with 'bitbake core-image-base -c populate_sdk' > > > Thanks, > /Peter > -- > _______________________________________________ > yocto mailing list > yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto