[oe] Race issues (lzma-native)

Andrea Adami andrea.adami at gmail.com
Sun Oct 24 08:59:57 UTC 2010


Hello,

during first build of console image I notice a strange fault:
subsequent builds are ok.
My scripts builds console-image and opie-image.

ERROR: Task 2411
(virtual:native:/oe/openembedded/recipes/lzma/lzma_4.65.bb,
do_distribute_sources) failed with exit code '1'
NOTE: Unpacking ../sources/lzma465.tar.bz2 to
tmp/work/i686-linux/lzma-native-4.65-r4.1/
NOTE: package lzma-native-4.65-r4.1: task do_distribute_sources: Started
NOTE: package lzma-native-4.65-r4.1: task SRC_DISTRIBUTECOMMAND: Failed
ERROR: Function 'SRC_DISTRIBUTECOMMAND' failed


Looking at the
run.SRC_DISTRIBUTECOMMAND.18268   16384 (failing)
run.SRC_DISTRIBUTECOMMAND.9570     34334

it looks like the file is not complete / malformed:

package_generate_ipkg_conf() {
<------>mkdir -p /oe/build/tmp/sysroots/i686-linux/etc/
<------>echo "src oe file:/oe/build/tmp/deploy/glibc/ipk" >
/oe/build/tmp/sysroots/i686-linux/etc/opkg.conf
<------>echo "src oe file:/
EOF

run.do_distribute_sources.18268  is empty, while second time
run.do_distribute_sources.9570   1051 contains  def do_distribute_sources(d):

This seems indeed a race issue...

Andrea




More information about the Openembedded-devel mailing list