Skip to contentSkip to conversation

recipe that worked on morty fails on sumo

DISCUSSION Greg Wilson-Lindberg 2 participants 2 messages Feb 9, 2019

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw

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

Quoted 51 lines · Greg Wilson-Lindberg

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
[email protected]
https://lists.yoctoproject.org/listinfo/yocto