bbnote (warning, etc) should be identical to using bb.note (.warning, etc) whereas currently they simply do an echo. Bitbake could open some pipes and then bbnote can echo into them, which bitbake would then read and pass to bb.note.
The current state of the patch enabling this is here: http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=paule/shell-logging There are a couple of concerns: * There are a few places where we're calling bbwarn where we'll now see these reported as actual warnings, so these will need to be fixed. * There is a not insignificant performance penalty. If my numbers are to be believed it adds around a minute to the build of core-image-minimal, which is not really desirable. For these reasons I'm pushing this out to 1.7.
I've just sent this for review, finally. We've resolved a lot of the warnings that would otherwise now be shown (in particular those from do_rootfs are now picked up anyway through the log_check code). The performance impact shouldn't be significant; I don't think my earlier benchmarks were very rigorous.
Implementation merged to master: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=3b5031230717d7430951dfa4a148b7f83bad514b http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=c3ac850f69dc43a1beaf042e8e6a3acb7a1751a3
There were some minor regressions triggered by the implementation of this - the following commits now in master have fixed those: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=5261c5b5bde25a5e4b2e9268ee401071a187468b http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=d3809b77c418804a524b618b51c2af7661e22e93 http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=546bfe8069cfaffd970ba4f6d7fc29fa8070f319 http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=757be608a5538bc4f32d234f216d24d4caa6539b http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=ddc1df3e80b2c42a2bda7ddab8fd26c367290c99 http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=e60597abb73807768e577645713f81b9d447f184