[poky] Fwd: Poky build failure with "Could not invoke dnf" error message.

Khem Raj raj.khem at gmail.com
Mon Oct 14 03:18:44 PDT 2019


On Mon, Oct 14, 2019 at 11:10 AM <richard.purdie at linuxfoundation.org> wrote:

> On Mon, 2019-10-14 at 15:24 +0530, AshishKumar Mishra wrote:
> > Thanks for replying back Richard.
> >
> > I can see the RPM generated at "tmp/deploy/rpm/core2_32" .
> >
> > [15:14:38]:~/Documents/linux-foundation-projects/yocto/build-armour :
> find tmp/* -name 'eth0*' | grep rpm
> > tmp/deploy/rpm/core2_32/eth0-dev-0.1-r0.core2_32.rpm
> > tmp/deploy/rpm/core2_32/eth0-dbg-0.1-r0.core2_32.rpm
> >
> tmp/work/qemux86-poky-linux/core-image-minimal/1.0-r0/oe-rootfs-repo/rpm/core2_32/eth0-dev-0.1-r0.core2_32.rpm
> >
> tmp/work/qemux86-poky-linux/core-image-minimal/1.0-r0/oe-rootfs-repo/rpm/core2_32/eth0-dbg-0.1-r0.core2_32.rpm
> >
> tmp/work/core2-32-poky-linux/eth0/0.1-r0/deploy-rpms/core2_32/eth0-dev-0.1-r0.core2_32.rpm
> >
> tmp/work/core2-32-poky-linux/eth0/0.1-r0/deploy-rpms/core2_32/eth0-dbg-0.1-r0.core2_32.rpm
> >
> > This is my folder skeleton & attached is the recipe
> > ~/Documents/linux-foundation-projects/yocto/meta-mechanic/recipes-
> > armour (master) : ls
> > armour  eth0-0.1  images
> > ~/Documents/linux-foundation-projects/yocto/meta-mechanic/recipes-
> > armour (master) : ls eth0-0.1/*
> > eth0-0.1/eth0_0.1.bb
> >
> > eth0-0.1/eth0-0.1:
> > eth0.service
> >
> > Is there any specific dependency which i am missing or if i am doing
> > any thing wrong here .
>
> In the list above I see "eth0-dev" and "eth0-dbg" but no "eth0"
> package.
>
> The error is therefore correct in that no "eth0" package exists. Why, I
> don't know but you need to look at the recipe and figure out why the
> expected package isn't generated.


Most probably it’s an empty package and is eventually deleted by packager
try ALLOW_EMPTY_${PN} = “1” and of that works then you know that’s the
problem so you need to fix the packaging to not rdepend on an empty package

>
>
> Cheers,
>
> Richard
>
> --
> _______________________________________________
> poky mailing list
> poky at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/poky
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/poky/attachments/20191014/f29d1a90/attachment.html>


More information about the poky mailing list