[yocto] Could not invoke DNF with python package (Unable to find a match)
Giordon Stark
kratsg at gmail.com
Sat Mar 17 10:28:45 PDT 2018
Well,
This is a bit confusing -- but apparently my *.bb files needed an "inherit
setuptools" at the top to make this happen. I thought this was already
being done in the pypi.bbclass ... but apparently that's not done anymore.
Is this an expected change?
Giordon
On Sat, Mar 17, 2018 at 12:16 PM Giordon Stark <kratsg at gmail.com> wrote:
> Hi,
>
> I'm a bit confused by this error, since as far as I can tell, bitbake sees
> this particular recipe I wrote...
>
> inc file:
> https://github.com/kratsg/meta-l1calo/blob/master/recipes-python/python-ironman.inc
>
> specific version:
> https://github.com/kratsg/meta-l1calo/blob/master/recipes-python/python-ironman_0.2.13.bb
>
>
> ERROR: zynq-base-1.0-r0 do_rootfs: Could not invoke dnf. Command
> '/local/d4/gstark/poky/build/tmp/work/gfex_prototype3a-poky-linux/zynq-base/1.0-r0/recipe-sysroot-native/usr/bin/dnf
> -y -c
> /local/d4/gstark/poky/build/tmp/work/gfex_prototype3a-poky-linux/zynq-base/1.0-r0/rootfs/etc/dnf/dnf.conf
> --setopt=reposdir=/local/d4/gstark/poky/build/tmp/work/gfex_prototype3a-poky-linux/zynq-base/1.0-r0/rootfs/etc/yum.repos.d
> --repofrompath=oe-repo,/local/d4/gstark/poky/build/tmp/work/gfex_prototype3a-poky-linux/zynq-base/1.0-r0/oe-rootfs-repo
> --installroot=/local/d4/gstark/poky/build/tmp/work/gfex_prototype3a-poky-linux/zynq-base/1.0-r0/rootfs
> --setopt=logdir=/local/d4/gstark/poky/build/tmp/work/gfex_prototype3a-poky-linux/zynq-base/1.0-r0/temp
> --nogpgcheck install locale-base-en-us locale-base-en-gb
> packagegroup-core-boot run-postinsts packagegroup-core-ssh-openssh devmem2
> init-clock python-ironman packagegroup-base-extended' returned 1:
> Added oe-repo repo from
> file:///local/d4/gstark/poky/build/tmp/work/gfex_prototype3a-poky-linux/zynq-base/1.0-r0/oe-rootfs-repo
> Last metadata expiration check: 0:00:00 ago on Sat Mar 17 17:11:44 2018
> UTC.
> No package python-ironman available.
> Error: Unable to find a match
>
> ERROR: zynq-base-1.0-r0 do_rootfs: Function failed: do_rootfs
> ERROR: Logfile of failure stored in:
> /local/d4/gstark/poky/build/tmp/work/gfex_prototype3a-poky-linux/zynq-base/1.0-r0/temp/log.do_rootfs.24270
> ERROR: Task (/local/d4/gstark/meta-l1calo/recipes-core/images/zynq-base.bb:do_rootfs)
> failed with exit code '1'
>
> so I double-checked that the recipe was discoverable:
>
> kratsg at dc:/local/d4/gstark/poky/build$ bitbake-layers show-recipes
> python-ironman
> === Matching recipes: ===
> python-ironman:
> meta-l1calo 0.2.13
>
> Any ideas if I wrote this python recipe incorrectly? If I inherit from
> pypi, it should install this for me as an rpm that can be picked up by
> bitbake, right?
>
> Giordon
> --
> Giordon Stark
>
--
Giordon Stark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20180317/1d8df5c1/attachment.html>
More information about the yocto
mailing list