There is one thing which kind of bothers me. "ERROR" message which is just a warning. Like: ERROR: libelf is listed in PACKAGES multiple times, this leads to packaging errors. ERROR: libasm is listed in PACKAGES multiple times, this leads to packaging errors. ERROR: libdw is listed in PACKAGES multiple times, this leads to packaging errors. ERROR: libdw-dev is listed in PACKAGES multiple times, this leads to packaging errors. ERROR: libasm-dev is listed in PACKAGES multiple times, this leads to packaging errors. ERROR: libelf-dev is listed in PACKAGES multiple times, this leads to packaging errors. If it is error then let BitBake exit instead of doing task. If it is not error but just a warning then let it be renamed? My recent build failed with: -------- NOTE: recipe linaro-image-minimal-1.0-r0: task do_rm_work_all: Started NOTE: recipe linaro-image-minimal-1.0-r0: task do_rm_work_all: Succeeded NOTE: Tasks Summary: Attempted 2247 tasks of which 915 didn't need to be rerun and all succeeded. Summary: There were 3 WARNING messages shown. Summary: There were 6 ERROR messages shown, returning a non-zero exit code. Build step 'Execute shell' marked build as failure -------- "all succeeded" does not look like a reason to fail a build.
We are using EC2 for builds so each build costs money. And if I have to repeat 4h build (when sstate-cache is not enough) just to see build failure it bumps costs even more. If BitBake thinks that error is error then let it errors out when it happens.
*** Bug 4398 has been marked as a duplicate of this bug. ***
See Dup, fix by using QA_WARN mechanism *** This bug has been marked as a duplicate of bug 4396 ***