From: Phil Blundell <philb@gnu.org>
To: openembedded-core@lists.openembedded.org
Subject: race between aclocal and unstaging of .m4 files
Date: Mon, 29 Oct 2012 14:42:28 +0000 [thread overview]
Message-ID: <1351521750.13864.12.camel@phil-desktop> (raw)
If do_configure() from one recipe runs in parallel with
sysroot_cleansstate() from another then aclocal may fail because it
doesn't react very well to .m4 files disappearing underneath it. This
manifests as slightly obscure failures such as:
| aclocal: error: aclocal: file '.../tmp-eglibc/sysroots/x86_64-linux/share/aclocal/alsa.m4' does not exist
where the .m4 file in question is not one that the recipe being built
would actually want to use. (The alsa.m4 error above actually occurred
during a build of attr.)
There seem to be two obvious ways of fixing this:
a) Add more locking so that these things can't happen in parallel
b) Patch aclocal to make this situation non-fatal
My inclination would be to do (b) since it's less intrusive. Any
objections or better suggestions?
p.
next reply other threads:[~2012-10-29 14:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-29 14:42 Phil Blundell [this message]
2012-10-29 15:45 ` race between aclocal and unstaging of .m4 files 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=1351521750.13864.12.camel@phil-desktop \
--to=philb@gnu.org \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox