On Thu, 2014-12-11 at 18:27 +0800, Hongxu Jia wrote: > During packaging, check if there are any dependencies (RDEPENDS) > on packages that have ended up empty and not produced; and if so > produce an warn/error as soon as possible, instead of allowing > the build to proceed up to do_rootfs and then the package manager > reporting the package as missing. > > At the moment, we use bb.persist_data as a global database to > collect all available packages rdepends and rprovides. So in the > do_package_qa task, while package not produced, we could compute > rdepends chain, and report warn/error immediately.
I liked this until I saw you were using bb.persist_data. That isn't under sstate control and will not result in deterministic builds. Have you looked at the data saved by do_packageinfo into the pkgdata structures? Can we not use the information on RDEPENDS and RPROVIDES there instead? Cheers, Richard -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
