[OE-core] bitbake -c cleanall fails first time but works second time
Khem Raj
raj.khem at gmail.com
Thu Mar 3 19:34:57 UTC 2011
Hi
On oe-core I am seeing this behavior consistently. If I do cleanall on
a package like below then first time it ends up with this error
second time it succeeds. Anyone seeing the same.
$ bitbake -c cleanall rpm-native
Loading cache: 100%
|################################################################|
ETA: 00:00:00
Loaded 947 entries from dependency cache.
Parsing recipes: 100%
|##############################################################| Time:
00:00:00
Parsing of 774 .bb files complete (740 cached, 34 parsed). 981
targets, 34 skipped, 0 masked, 0 errors.
WARNING: No bb files matched BBFILE_PATTERN_pvt '/home/kraj/work/oe-core/layers'
OE Build Configuration:
BB_VERSION = "1.13.0"
METADATA_BRANCH = "master"
METADATA_REVISION = "e7164c0c67afd08698023caa7101f84a8f66a46d"
TARGET_ARCH = "arm"
TARGET_OS = "linux-gnueabi"
MACHINE = "qemuarm"
DISTRO = "poky"
DISTRO_VERSION = "0.9+snapshot-20110303"
TARGET_FPU = "soft"
NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing RunQueue Tasks
NOTE: Running task 1 of 2 (ID: 0,
virtual:native:/home/kraj/work/oe-core/openembedded-core/meta/recipes-devtools/rpm/rpm_5.4.0.bb,
do_clean)
NOTE: package rpm-native-5.4.0-r14: task do_clean: Started
ERROR: Error executing a python function in
/home/kraj/work/oe-core/openembedded-core/meta/recipes-devtools/rpm/rpm_5.4.0.bb:
OSError: [Errno 2] No such file or directory
ERROR: The stack trace of python calls that resulted in this
exception/failure was:
ERROR: File "do_clean", line 16, in <module>
ERROR:
ERROR: File "do_clean", line 13, in do_clean
ERROR:
ERROR: File "/home/kraj/work/bitbake/lib/bb/build.py", line 168, in exec_func
ERROR: exec_func_python(func, d, runfile, cwd=adir)
ERROR:
ERROR: File "/home/kraj/work/bitbake/lib/bb/build.py", line 183, in
exec_func_python
ERROR: olddir = os.getcwd()
ERROR:
ERROR: The code that was being executed was:
ERROR: 0012: for f in (bb.data.getVar('CLEANFUNCS', d, 1)
or '').split():
ERROR: 0013: bb.build.exec_func(f, d)
ERROR: 0014:
ERROR: 0015:
ERROR: *** 0016:do_clean(d)
ERROR: 0017:
ERROR: (file: 'do_clean', lineno: 16, function: <module>)
ERROR: 0009: bb.note("Removing " + dir)
ERROR: 0010: oe.path.remove(dir)
ERROR: 0011:
ERROR: 0012: for f in (bb.data.getVar('CLEANFUNCS', d, 1)
or '').split():
ERROR: *** 0013: bb.build.exec_func(f, d)
ERROR: 0014:
ERROR: 0015:
ERROR: 0016:do_clean(d)
ERROR: 0017:
ERROR: (file: 'do_clean', lineno: 13, function: do_clean)
ERROR: Function 'do_clean' failed
NOTE: package rpm-native-5.4.0-r14: task do_clean: Failed
ERROR: Task 0 (virtual:native:/home/kraj/work/oe-core/openembedded-core/meta/recipes-devtools/rpm/rpm_5.4.0.bb,
do_clean) failed with exit code '1'
ERROR: 'virtual:native:/home/kraj/work/oe-core/openembedded-core/meta/recipes-devtools/rpm/rpm_5.4.0.bb'
failed
More information about the Openembedded-core
mailing list