[yocto] Error in do_rootfs while builing on sumo with cmake the library called "libfmt" 4.1.0 (on rocko it was ok)

Joanna ozimki at gmail.com
Tue Feb 26 01:47:33 PST 2019


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 your case you could possibly add ${libdir}/ as well,
This will create the rapidjson package and dnf will be happy.

I do not know if it is the right way to do that but it solves the
problem for me.


More information about the yocto mailing list