[oe] Another race failure, not sure if this is a hard dependency or an inflight staging which races with another configure??

Leon Woestenberg leon.woestenberg at gmail.com
Wed May 11 23:58:18 UTC 2011


Hello,

I think I found another build race here (must love multi-core machines).

perl-native is still being staged while file-native tries to run perl
stuff resulting in "| perl: error while loading shared libraries:
libperl.so: cannot open shared object file: No such file or
directory".

Restarting bitbake continues the build (note that perl native sysroot
staging finishes just after file-native failing).

Now, I have been thinking about these races; even though we might not
have a dependency on perl, a configure stage may probe for perl, and
if it exists, starts to run tests against it.
So either perl must be present, or not at all. I.e. atomicly staged in sysroot.

Of course, could be this IS a hard dependency after all.

I'll investigate later, here is a small piece of log for your eyes.

Regards,

Leon.



NOTE: package pax-utils-native-0.1.19-r2: task do_configure: Started
NOTE: package pax-utils-native-0.1.19-r2: task do_configure: Succeeded
NOTE: Running task 491 of 4495 (ID: 726,
virtual:native:/home/leon/sandbox/sidebranch/lancerofbdemo/openembedded/openembedded.git/recipes/file/file_5.04.bb,
do_patch)
NOTE: package file-native-5.04-r2.1: task do_patch: Started
NOTE: package file-native-5.04-r2.1: task do_patch: Succeeded
NOTE: Running task 492 of 4495 (ID: 734,
virtual:native:/home/leon/sandbox/sidebranch/lancerofbdemo/openembedded/openembedded.git/recipes/file/file_5.04.bb,
do_configure)
NOTE: package file-native-5.04-r2.1: task do_configure: Started
ERROR: TaskFailed event exception, aborting
ERROR: Build of
virtual:native:/home/leon/sandbox/sidebranch/lancerofbdemo/openembedded/openembedded.git/recipes/file/file_5.04.bb
do_configure failed
ERROR: Task 734
(virtual:native:/home/leon/sandbox/sidebranch/lancerofbdemo/openembedded/openembedded.git/recipes/file/file_5.04.bb,
do_configure) failed with 256
ERROR: Function do_configure failed
NOTE: Task failed: ('function do_configure failed',
'/home/leon/sandbox/sidebranch/lancerofbdemo/openembedded/tmp/work/i686-linux/file-native-5.04-r2.1/temp/log.do_configure.17468')
ERROR: Logfile of failure stored in:
/home/leon/sandbox/sidebranch/lancerofbdemo/openembedded/tmp/work/i686-linux/file-native-5.04-r2.1/temp/log.do_configure.17468
Log data follows:
| automake (GNU automake) 1.11.1
| Copyright (C) 2009 Free Software Foundation, Inc.
| License GPLv2+: GNU GPL version 2 or later
<http://gnu.org/licenses/gpl-2.0.html>
| This is free software: you are free to change and redistribute it.
| There is NO WARRANTY, to the extent permitted by law.
|
| Written by Tom Tromey <tromey at redhat.com>
|        and Alexandre Duret-Lutz <adl at gnu.org>.
| AUTOV is 1.11
| NOTE: Executing autoreconf --verbose --install --force
--exclude=autopoint
-I/home/leon/sandbox/sidebranch/lancerofbdemo/openembedded/tmp/sysroots/i686-linux/usr/share/aclocal-1.11
-I /home/leon/sandbox/sidebranch/lancerofbdemo/openembedded/tmp/sysroots/i686-linux/usr/share/aclocal
| autoreconf: Entering directory `.'
| autoreconf: configure.ac: not using Gettext
| autoreconf: running: aclocal -I
/home/leon/sandbox/sidebranch/lancerofbdemo/openembedded/tmp/sysroots/i686-linux/usr/share/aclocal-1.11
-I /home/leon/sandbox/sidebranch/lancerofbdemo/openembedded/tmp/sysroots/i686-linux/usr/share/aclocal
-I /home/leon/sandbox/sidebranch/lancerofbdemo/openembedded/tmp/sysroots/i686-linux/usr/share/aclocal-1.11
-I /home/leon/sandbox/sidebranch/lancerofbdemo/openembedded/tmp/sysroots/i686-linux/usr/share/aclocal
--force
| perl: error while loading shared libraries: libperl.so: cannot open
shared object file: No such file or directory
| aclocal: /home/leon/sandbox/sidebranch/lancerofbdemo/openembedded/tmp/sysroots/i686-linux/usr/bin/autom4te
failed with exit status: 127
| autoreconf: aclocal failed with exit status: 127
| FATAL: autoreconf execution failed.
| ERROR: Function do_configure failed
NOTE: package file-native-5.04-r2.1: task do_configure: Failed
ERROR: TaskFailed event exception, aborting
ERROR: Build of
virtual:native:/home/leon/sandbox/sidebranch/lancerofbdemo/openembedded/openembedded.git/recipes/file/file_5.04.bb
do_configure failed
ERROR: Task 734
(virtual:native:/home/leon/sandbox/sidebranch/lancerofbdemo/openembedded/openembedded.git/recipes/file/file_5.04.bb,
do_configure) failed with 256
Waiting for 2 active tasks to finish:
1: perl-native-5.10.1-r8 do_populate_sysroot (pid 11088)
2: python-native-2.6.5-ml12.1 do_populate_sysroot (pid 13764)
Waiting for 1 active tasks to finish:
1: python-native-2.6.5-ml12.1 do_populate_sysroot (pid 13764)
NOTE: package perl-native-5.10.1-r8: task do_populate_sysroot: Succeeded
ERROR: 'virtual:native:/home/leon/sandbox/sidebranch/lancerofbdemo/openembedded/openembedded.git/recipes/file/file_5.04.bb'
failed
NOTE: package python-native-2.6.5-ml12.1: task do_populate_sysroot: Succeeded
ERROR: 'virtual:native:/home/leon/sandbox/sidebranch/lancerofbdemo/openembedded/openembedded.git/recipes/file/file_5.04.bb'
failed
ERROR: 'virtual:native:/home/leon/sandbox/sidebranch/lancerofbdemo/openembedded/openembedded.git/recipes/file/file_5.04.bb'
failed
make: *** [image] Error 1

-- 
Leon




More information about the Openembedded-devel mailing list