From: Mark Hatle <mark.hatle@windriver.com>
To: <openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH 1/1] pseudo: Fix problem related to realpath
Date: Fri, 10 Jun 2011 10:19:50 -0500 [thread overview]
Message-ID: <4DF23616.3030707@windriver.com> (raw)
In-Reply-To: <4DF234DD.2060407@windriver.com>
On 6/10/11 10:14 AM, Mark Hatle wrote:
> On 6/10/11 10:02 AM, Paul Eggleton wrote:
>> On Thursday 09 June 2011 18:15:45 Mark Hatle wrote:
>>> --- a/meta/recipes-devtools/pseudo/pseudo_1.1.1.bb
>>> +++ b/meta/recipes-devtools/pseudo/pseudo_1.1.1.bb
>>> @@ -1,9 +1,10 @@
>>> require pseudo.inc
>>>
>>> -PR = "r0"
>>> +PR = "r1"
>>
>> I may be mistaken, but it seems to me that every time we need to rebuild
>> pseudo it results in a race when an older version of pseudo is present. We
>> handle building pseudo on its own first if it's not present, however if it just
>> needs updating we go ahead and rebuild it at the same time as building other
>> packages, and if it just happens that pseudo is needed when it's being built
>> -> bang. At least that's my assumption given that since the last batch of
>> updates, my rebuild of perl-native failed at the same time as pseudo's
>> do_compile with a large number of "ERROR: ld.so: object 'libpseudo.so' from
>> LD_PRELOAD cannot be preloaded: ignored" messages.
>>
>> Am I right in that there's currently no mechanism to work around this?
>>
>> Cheers,
>> Paul
>>
>
> Theoretically updating pseudo shouldn't happen very often. But yes, currently
> there is an issue that pseudo updates are not caused and cause the pseudo
Wow, too early in the morning I guess.. let me translate that for people who
are awake...
... there is an issue that pseudo updates are not caught by the bitbake wrapper.
This can cause the pseudo-native rebuild in stage2 to cause problems. We can
work around this by:
> rebuild. We can work around this by:
>
> * removing the "pseudodone" file in the build directory
>
> * manually running the "first stage" build:
> BBFETCH2=True PSEUDO_BUILD=1 ../bitbake/bin/bitbake pseudo-native
>
> * manually running "bitbake pseudo-native", (still does it as a second stage,
> but usually works)
>
> Likely what we need to do is figure out a (quick) way in the bitbake wrapper to
> determine if the pseudo has changed... timestamp match to pseudodone? That of
> course still won't be fool proof.
>
> What has been discussed in the past is adding the capabilities for a "staged"
> build to bitbake. Being able to re-invoke the bitbake process after given
> stages [automatically] so that in the end bitbake is in charge of the build
> steps. So far though not much has been done with this idea, as we're really not
> sure how practical this is.
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
next prev parent reply other threads:[~2011-06-10 15:23 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-09 17:15 [PATCH 0/1] Fix realpath issue in pseudo Mark Hatle
2011-06-09 17:15 ` [PATCH 1/1] pseudo: Fix problem related to realpath Mark Hatle
2011-06-10 15:02 ` Paul Eggleton
2011-06-10 15:14 ` Mark Hatle
2011-06-10 15:19 ` Mark Hatle [this message]
2011-06-09 17:20 ` [PATCH 0/1] Fix realpath issue in pseudo 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=4DF23616.3030707@windriver.com \
--to=mark.hatle@windriver.com \
--cc=openembedded-core@lists.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.