[yocto] recipe that worked on morty fails on sumo

Burton, Ross ross.burton at intel.com
Sat Feb 9 04:11:01 PST 2019


You're probably using DISTRO=poky, which now disables static libraries.

This is the periodic reminder for the list that the Poky distro is an
example, and does change over time.  If you want control over the distro
then create your own distro.

Ross

On Sat, 9 Feb 2019 at 00:01, Greg Wilson-Lindberg <GWilson at sakuraus.com>
wrote:

>
> I'm working on a boot2qt build of Yocto and the latest release converted
> to sumo. I'm have a recipe for canfestival that we have been using for
> builds with morty that uses several of the packages that are provided by
> the PACKAGES symbol:
>
>
> #original from morty
> #FILES_${PN}-dev = "/usr/lib/libcanfestival*.a
> /usr/include/canfestival/*.h"
> FILES_${PN}-dev = "/usr/lib/libcanfestival*.a"
> #FILES_${PN} = "/usr/lib/libcanfestival*.a /usr/lib/libcanfestival*.so"
> FILES_${PN} = "/usr/include/canfestival/*.h /usr/lib/libcanfestival*.so"
>
> RDEPENDS_${PN}-dev += "${PN}-staticdev"
>
>
> # new try for sumo
> FILES_${PN}-staticdev = "/usr/lib/libcanfestival*.a "
> FILES_${PN}-dev = "/usr/include/canfestival/*.h"
> #FILES_${PN} = "/usr/lib/libcanfestival*.a /usr/lib/libcanfestival*.so"
> #FILES_${PN} = "/usr/include/canfestival/*.h /usr/lib/libcanfestival*.so"
> FILES_${PN} = "/usr/lib/libcanfestival*.so"
>
> RDEPENDS_${PN}-dev += "${PN}-staticdev"
>
> The top version worked on morty, but on sumo I get an error:
>
> Collected errors:
>  * Solver encountered 1 problem(s):
>  * Problem 1/1:
>  *   - nothing provides canfestival-staticdev needed by
> canfestival-dev-3-asc-r01.cortexa7hf-neon-vfpv4
>  *
>
> I tried changing the lines to explicitly define -staticdev files, but I
> still get the same error.
>
> I would have thought that the bitbake.conf definition of PACKAGES would
> take care of the supplier, but I seem to be wrong.
>
> Can someone point me to what I need to do to tell bitbake that the recipe
> provides -staticdev?
>
> Greg Wilson-Lindberg
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20190209/d913a2e5/attachment.html>


More information about the yocto mailing list