[yocto] recipe that worked on morty fails on sumo
Greg Wilson-Lindberg
GWilson at sakuraus.com
Fri Feb 8 15:44:53 PST 2019
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
More information about the yocto
mailing list