[oe] [meta-oe][PATCH] Fix PACKAGES assignment for fftw

Andreas Müller schnitzeltony at gmail.com
Fri Nov 24 10:44:26 UTC 2017


On Fri, Nov 24, 2017 at 11:24 AM, Vladan Jovanovic <
vladan.jovanovic at gmail.com> wrote:

> On Thu, Nov 23, 2017 at 4:43 PM, Burton, Ross <ross.burton at intel.com>
> wrote:
>
> > You should explain why its the wrong operator, as =+ is as valid as +=
> is.
> >
> >
> I got build errors as shown below when trying to build fftw. Went away when
> I changed the operator...
>
> Vladan
>
> ERROR: core-image-minimal-1.0-r0 do_rootfs: fftw not found in the feeds
> (imx7dsabresd cortexa7t2hf-neon-mx7d cortexa7hf-neon-mx7d cortexa7hf-neon
> cortexa7hf-vfp armv7vehf-neon armv7vehf-vfp armv7ahf-vfp armv6hf-vfp
> armv5ehf-vfp armv5hf-vfp noarch any all) in
> /home/vladan/fsl-release-bsp-4.9.11_1.0.0_ga/build-mx7d-
> x11/tmp/deploy/rpm.
> ERROR: core-image-minimal-1.0-r0 do_rootfs: This is often caused by an
> empty package declared in a recipe's PACKAGES variable. (Empty packages are
> not constructed unless ALLOW_EMPTY_<pkg> = '1' is used.)
> ERROR: core-image-minimal-1.0-r0 do_rootfs: Function failed: do_rootfs
> ERROR: Logfile of failure stored in:
> /home/vladan/fsl-release-bsp-4.9.11_1.0.0_ga/build-mx7d-
> x11/tmp/work/imx7dsabresd-poky-linux-gnueabi/core-image-
> minimal/1.0-r0/temp/log.do_rootfs.29692
> ERROR: Task
> (/home/vladan/fsl-release-bsp-4.9.11_1.0.0_ga/sources/poky/
> meta/recipes-core/images/core-image-minimal.bb:do_rootfs)
> failed with exit code '1'
>

fftw builds three different and independent packages
libfftw/libfftwl/libfftwf. Package fftw itself is empty and that is OK
(which version should be preferred?). So an ALLOW_EMPTY_${PN} in fftw would
not solve but wipe away that something in your image wants to install fftw
which does not make sense.

Usually it is not necessary to add fftw packages to your images: the
correct libraries are included into the image by link dependencies.

So I suggest you check where the package fftw is inserted in your image and
remove that.

Hope that helps

Andreas



More information about the Openembedded-devel mailing list