From: Denys Dmytriyenko <denis@denix.org>
To: Chris Larson <clarson@kergoth.com>
Cc: "bitbake-devel@lists.openembedded.org"
<bitbake-devel@lists.openembedded.org>,
Martin Jansa <martin.jansa@gmail.com>
Subject: Re: [PATCH 1/1] die if a .bbappend file matches no existing .bb recipe
Date: Fri, 24 Jun 2011 14:38:37 -0400 [thread overview]
Message-ID: <20110624183837.GI29476@denix.org> (raw)
In-Reply-To: <BANLkTinGUdo-ar4NHN6zgfvS7Gf4F3USYQ@mail.gmail.com>
On Fri, Jun 24, 2011 at 11:16:53AM -0700, Chris Larson wrote:
> On Mon, Jun 20, 2011 at 12:29 AM, Cui, Dexuan <dexuan.cui@intel.com> wrote:
> > Martin Jansa wrote:
> >> On Mon, Jun 20, 2011 at 6:34 AM, Dexuan Cui <dexuan.cui@intel.com>
> >> wrote:
> >>> This patch moves the logic of show_appends_with_no_recipes from
> >>> bitbake-layers into bitbake, and makes the script die with a fatal
> >>> error message printed.
> >>
> >> I agree that this is problem, but I'm not sure if it should be fatal.
> >>
> >> Imagine the case when you enable some layer managed by someone else
> >> (lets call it LS) and you're using different oe-core revision, maybe
> >> current HEAD and that LS wasn't updated for that or vice versa you're
> >> using some oe-core release version and you want to reuse some recipes
> >> from LS in current version.
> >>
> >> I think that big fat warning that some .bbappends does not match
> >> should be enough to decide if it's fatal for me (and I'll kill that
> >> build) or that's fine (when I'm not interested in those .bbappends
> >> from LS and I'm using only some other .bb files from LS).
> >>
> >> If we make it fatal then I would be forced to remove unmatched
> >> .bbappends from LS before build which can be difficult to share
> >> (unless I create own LS branch and use it in my distro).
> > Thanks a lot for the explanation!
> > So looks we may as well change the "bb.fatal" to "bb.error"(that is not
> > fatal and wouldn't be ignored by bitbake-layers).
> > This is the new patch (on a new branch dcui/bb-v2):
> > http://git.pokylinux.org/cgit/cgit.cgi/poky-contrib/commit/?h=dcui/bb-v2&id=2a520959f71ec2cd80ed2088bfcf082631161a1a
>
> Are you sure this shouldn't be a warning? Remember that any error
> displayed results in a non-zero exit code from bitbake.
So, speaking of which - what is the practical use for bb.error? It gives an
error message, but doesn't stop the build. Although it returns a non-zero exit
code, which for most autobuilders indicate a failed build anyway... What's the
point?
--
Denys
next prev parent reply other threads:[~2011-06-24 21:43 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-20 4:34 [PATCH 0/1] die if a .bbappend file matches no existing .bb recipe Dexuan Cui
2011-06-20 4:34 ` [PATCH 1/1] " Dexuan Cui
[not found] ` <BANLkTinCB95DBHinewz+A1a7BHiZJzV1Mg@mail.gmail.com>
2011-06-20 7:29 ` Cui, Dexuan
2011-06-24 18:16 ` Chris Larson
2011-06-24 18:38 ` Denys Dmytriyenko [this message]
2011-06-27 13:49 ` Richard Purdie
2011-06-27 14:05 ` Chris Larson
2011-06-28 7:35 ` Cui, Dexuan
2011-06-28 12:34 ` Richard Purdie
2011-06-27 13:06 ` Paul Eggleton
2011-06-28 12:39 ` Richard Purdie
2011-06-29 16:03 ` Cui, Dexuan
2011-06-29 16:14 ` Richard Purdie
2011-06-29 16:28 ` Cui, Dexuan
2011-06-29 16:51 ` Denys Dmytriyenko
2011-07-18 14:27 ` Martin Jansa
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=20110624183837.GI29476@denix.org \
--to=denis@denix.org \
--cc=bitbake-devel@lists.openembedded.org \
--cc=clarson@kergoth.com \
--cc=martin.jansa@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.