From: Koen Kooi <k.kooi@student.utwente.nl>
To: openembedded-devel@openembedded.org
Subject: Re: pkg_postinst_* not working anymore -> broken packages
Date: Wed, 11 Jun 2008 13:12:50 +0200 [thread overview]
Message-ID: <g2obvj$45d$1@ger.gmane.org> (raw)
In-Reply-To: <1213177678.5010.9.camel@dax.rpnet.com>
Richard Purdie wrote:
> On Wed, 2008-06-11 at 10:23 +0200, Leon Woestenberg wrote:
>> I would like to re-issue the problem where bitbake gives an ERROR that
>> multiple packages provide something and that bitbake then happily
>> starts building two packages.
>>
>> Even though the user has specified one.
>> In one case this happens even when the user has specified a specific
>> provider but that provider is somehow not fully "providing something
>> but should".
>>
>> After the two packages built, there is no way to get rid of this behaviour.
>
> This last bit is no longer true, bitbake now no longer looks for the
> populate_staging stamps to influence its choice of providers making
> builds more deterministic. To put this another way, bitbake no longer
> cares whether packages have built or not, it no longer influences it.
>
> I guess what you're suggesting is that the "multiple packages provide
> something" error should be fatal. I seem to remember trying this and
> people were not happy. That warning is still experimental and I'd
> probably prefer to leave it as an error for now, perhaps considering
> making it fatal for the release after next?
The problem case Leon and I are seeing:
Multiple kernel recipes are getting built when doing 'bitbake
something', which makes builds fail, or worse, succeed and you end up
with bogus kernels for your machine.
In the past we have worked around it by adding COMPATIBLE_MACHINE to
each kernel (people should do that, yes, I'm looking at you,
linux-bd-neon). But now we have linux_<version>.bb that are meant to be
reused, we are stuck with this 'feature' again.
Maybe we should special case recipes that do 'inherit kernel'?
regards,
Koen
next prev parent reply other threads:[~2008-06-11 11:18 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-08 17:14 pkg_postinst_* not working anymore -> broken packages Koen Kooi
2008-06-08 18:52 ` Graeme Gregory
2008-06-08 19:18 ` Koen Kooi
2008-06-09 8:42 ` Koen Kooi
2008-06-09 10:32 ` Koen Kooi
2008-06-10 19:26 ` Jeremy Lainé
2008-06-10 19:50 ` Koen Kooi
2008-06-10 22:07 ` Richard Purdie
2008-06-11 8:23 ` Leon Woestenberg
2008-06-11 9:47 ` Richard Purdie
2008-06-11 11:12 ` Koen Kooi [this message]
2008-06-11 11:32 ` Richard Purdie
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='g2obvj$45d$1@ger.gmane.org' \
--to=k.kooi@student.utwente.nl \
--cc=openembedded-devel@lists.openembedded.org \
--cc=openembedded-devel@openembedded.org \
/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.