From: Denys Dmytriyenko <denis@denix.org>
To: Oren Leaffer <oren@ephemeron-labs.com>
Cc: meta-ti@yoctoproject.org, bitbake-devel@lists.openembedded.org,
angstrom-distro-devel@linuxtogo.org,
openembedded-core@lists.openembedded.org
Subject: Re: [bitbake-devel] do_rootfs failed ... bug in log_check?
Date: Fri, 30 Mar 2012 03:08:10 -0400 [thread overview]
Message-ID: <20120330070810.GA5488@denix.org> (raw)
In-Reply-To: <CALvD2Lj2HbbAmfsaQyiifz5DLe+3-ewX7TPBAkFGJRxSp2_P5w@mail.gmail.com>
On Fri, Mar 30, 2012 at 02:27:13AM -0400, Oren Leaffer wrote:
> 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=
> + '[' '' '!=' '' ']'
We have been discussing this topic past couple days here:
http://thread.gmane.org/gmane.linux.distributions.angstrom.devel/6260/focus=6274
Moreover, bitbake-devel is probably the wrongest list for this discussion or
patch. I'm copying other related lists, but probably the main one should be
openembedded-core, as the patch tries to fix it's package_ipk class...
> 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
And your analysis seems correct, as the grep matches the patch names of
beaglebone kernel from meta-ti.
> It occurs to me that this might be a result of the level of
> verbosity/debugging that I specified.
Actually, it does not depend on the verbosity/debug level, as it controls the
output on the console and not in the log.do_rootfs file.
> Attached is my patch that does two things:
> 1) makes the error message from log_check slightly more informative
I don't think this part is really necessary - you always know which packaging
system you use, so ipk/deb/rpm_log_check is rather easily identifiable...
> 2) changes the text that log_check is using to identify errors to
> incorporate regular expressions
So, this changes the regular expression to look for ^ERR and ^Fail at the
beginning of the line...
> 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.
While the change should fix this particular issue, I'm also worried about
increasing chances of missing the actual errors when they don't start with ERR
and Fail at the beginning of the line.
Either way, you may want to resubmit the cleaned up patch to openembedded-core
list for other to comment.
P.S. Sorry for somewhat excessive cross-posting.
--
Denys
parent reply other threads:[~2012-03-30 7:17 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <CALvD2Lj2HbbAmfsaQyiifz5DLe+3-ewX7TPBAkFGJRxSp2_P5w@mail.gmail.com>]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120330070810.GA5488@denix.org \
--to=denis@denix.org \
--cc=angstrom-distro-devel@linuxtogo.org \
--cc=bitbake-devel@lists.openembedded.org \
--cc=meta-ti@yoctoproject.org \
--cc=openembedded-core@lists.openembedded.org \
--cc=oren@ephemeron-labs.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox