| Summary: | bbnote is not working | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] BitBake | Reporter: | Costin <costin.c.constantin> |
| Component: | bitbake | Assignee: | Richard Purdie <richard.purdie> |
| Status: | RESOLVED NOTABUG | QA Contact: | Lucian Musat <georgex.l.musat> |
| Severity: | minor | ||
| Priority: | Undecided | CC: | bogdanx.a.voiculescu, poky.bs.watcher, poky.watcher |
| Version: | 1.9 | ||
| Target Milestone: | --- | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |
same happens to bb.note:
cat meta/classes/myclass.bbclass:
python do_test() {
var = d.getVar("D",True)
bb.note(var)
bb.warn(var)
}
addtask test
result:
cosscat@cosscat:/media/cosscat/Touro/7poky/build$ bitbake m4 -c test
...
"(detachedfrome5956a6):e5956a6b850f75e65a76180fc7a568553072d36d"
...
NOTE: Preparing RunQueue
NOTE: Executing RunQueue Tasks
WARNING: /media/cosscat/Touro/7poky/build/tmp/work/i586-poky-linux/m4/1.4.17-r0/image
NOTE: Tasks Summary: Attempted 1 tasks of which 0 didn't need to be rerun and all succeeded.
Summary: There was 1 WARNING message shown.
Have a look at the log file for the task. By default note messages are not shown on the main console output. thank you. Yes, they are present |
Hello, Tried to use bbnote for simple debugging purposes and it didn't work. poky master hash: e5956a6b850f75e65a76180fc7a568553072d36d How to test: cat meta/classes/myclass.bbclass do_test() { bbwarn ${D}/${bindir} bbwarn "from inside test class ..." bbnote "from inside test class ..." bbnote ${D}/${bindir} } addtask test then add the following to conf/local.conf: ... INHERIT = "test" ... run the test task against a target: bitbake m4 -c test Costin