[bitbake-devel] do_rootfs failed ... bug in log_check?

Oren Leaffer oren at ephemeron-labs.com
Fri Mar 30 06:27:13 UTC 2012


Hi,

I'm getting the following failure on "bitbake -v -D -D -D systemd-image":
ERROR: Task 8 (/home/ol/setup-scripts/sources/meta-angstrom/recipes-images/angstrom/systemd-image.bb,
do_rootfs) failed with exit code '1'
NOTE: Tasks Summary: Attempted 3283 tasks of which 3282 didn't need to
be rerun and 1 failed.
+ cd /home/ol/setup-scripts/build/tmp-angstrom_2010_x-eglibc/work/armv7a-angstrom-linux-gnueabi/bblayers-1.0-r0/bblayers-1.0
+ buildhistory_commit
+ '[' '!' -d /home/ol/setup-scripts/build/tmp-angstrom_2010_x-eglibc/buildhistory
']'
+ cd /home/ol/setup-scripts/build/tmp-angstrom_2010_x-eglibc/buildhistory/
+ '[' '!' -d .git ']'
++ git status --porcelain
+ repostatus=
+ '[' '' '!=' '' ']'

>From what I can tell, this is caused because the log_check command in
setup-scripts/sources/openembedded-core/meta/classes/package_ipk.class
matches on line 177 to

file://3.2.1/0042-xhci-Properly-handle-COMP_2ND_BW_ERR.patch

and to

file://3.2.6/0072-target-Fail-INQUIRY-commands-with-EVPD-0-but-PAGE-CO.patch

It occurs to me that this might be a result of the level of
verbosity/debugging that I specified.

Attached is my patch that does two things:
1) makes the error message from log_check slightly more informative
2) changes the text that log_check is using to identify errors to
incorporate regular expressions

This makes it less likely to issue false positives, I hope that it
doesn't increase the changes of false negatives, but I'm a rank
amateur at this, so I wouldn't bet on it.


Best regards,


Oren
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-making-log_check-less-likely-to-declare-failure-inco.patch
Type: application/octet-stream
Size: 2979 bytes
Desc: not available
URL: <http://lists.openembedded.org/pipermail/bitbake-devel/attachments/20120330/21d82832/attachment-0001.obj>


More information about the bitbake-devel mailing list