I had a similar problem where the rapidjson recipe was not working only on sumo.
The problem was that the default ${PN} package was empty so it would
not be generated, but do_rootfs would try to include it.
It helped to add a bbappend with the following line:
FILES_${PN} = " ${includedir}/ "
in
I created a custom meta-layer to build libfmt 4.1.0 (
https://github.com/fmtlib/fmt).
Since this library uses cmake, I created this receipe:
*SUMMARY = "fmt"*
*SECTION = "base"*
*SRC_URI = "https://github.com/fmtlib/fmt/archive/${PV}.tar.gz