* state broken
@ 2012-08-31 4:18 Khem Raj
2012-08-31 5:47 ` Richard Purdie
0 siblings, 1 reply; 2+ messages in thread
From: Khem Raj @ 2012-08-31 4:18 UTC (permalink / raw)
To: poky
Hello
I am getting following errors today
ERROR: Error executing a python function in /work/yocto/poky/meta/recipes-devtools/m4/m4-native_1.4.16.bb:
IOError: [Errno 2] No such file or directory: '/work/yocto/poky/build/tmp/sstate-control/master.list'
ERROR: The stack trace of python calls that resulted in this exception/failure was:
ERROR: File "sstate_task_postfunc", line 10, in <module>
ERROR:
ERROR: File "sstate_task_postfunc", line 4, in sstate_task_postfunc
ERROR:
ERROR: File "sstate.bbclass", line 38, in sstate_install
ERROR:
ERROR: The code that was being executed was:
ERROR: 0006: bb.build.exec_func(intercept, d)
ERROR: 0007: sstate_package(shared_state, d)
ERROR: 0008:
ERROR: 0009:
ERROR: *** 0010:sstate_task_postfunc(d)
ERROR: 0011:
ERROR: [From file: 'sstate_task_postfunc', lineno: 10, function: <module>]
ERROR: 0001:
ERROR: 0002:def sstate_task_postfunc(d):
ERROR: 0003: shared_state = sstate_state_fromvars(d)
ERROR: *** 0004: sstate_install(shared_state, d)
ERROR: 0005: for intercept in shared_state['interceptfuncs']:
ERROR: 0006: bb.build.exec_func(intercept, d)
ERROR: 0007: sstate_package(shared_state, d)
ERROR: 0008:
ERROR: [From file: 'sstate_task_postfunc', lineno: 4, function: sstate_task_postfunc]
ERROR: 0034: # Check the file list for conflicts against the master manifest
ERROR: 0035: mastermanifest = d.getVar("SSTATE_MASTERMANIFEST", True)
ERROR: 0036: whitelist = d.getVar("SSTATE_DUPWHITELIST", True)
ERROR: 0037: lock = bb.utils.lockfile(mastermanifest + ".lock")
ERROR: *** 0038: fileslist = [line.strip() for line in open(mastermanifest)]
ERROR: 0039: bb.utils.unlockfile(lock)
ERROR: 0040: match = []
ERROR: 0041: for f in sharedfiles:
ERROR: 0042: if f in fileslist:
ERROR: [From file: 'sstate.bbclass', lineno: 38, function: sstate_install]
ERROR: Function failed: sstate_task_postfunc
ERROR: Logfile of failure stored in: /work/yocto/poky/build/tmp/work/x86_64-linux/m4-native-1.4.16-r4/temp/log.do_populate_sysroot.5238
ERROR: Task 59 (/work/yocto/poky/meta/recipes-devtools/m4/m4-native_1.4.16.bb, do_populate_sysroot) failed with exit code '1'
NOTE: Tasks Summary: Attempted 39 tasks of which 35 didn't need to be rerun and 1 failed.
Summary: 1 task failed:
/work/yocto/poky/meta/recipes-devtools/m4/m4-native_1.4.16.bb, do_populate_sysroot
Summary: There were 36 ERROR messages shown, returning a non-zero exit code.
I tracked it down to
commit 59260f952f8687ac67a17035307c6c0792728f1b
Author: Richard Purdie <richard.purdie@linuxfoundation.org>
Date: Sat Aug 25 15:48:14 2012 +0000
sstate.bbclass: Detect overwriting files in sstate controlled directories
We have a potential problem where two sstate packages try and touch the same
file. This adds code which will print a warning whenever this happens.
The implementation does but by maintaining a master file list and comparing
file accesses against this. There are a number of places we have duplicate
accesses which are harmless, mostly in the deploy directory so these
are whitelisted.
For now the code prints warnings, this could be strengthened in future to
become error messages. Whilst working on this code on and off over the past
few months various issues were uncovered, some serious.
[YOCTO #238]
(From OE-Core rev: 1f1b6f93d6b7aa8c9bd9bb5b1826997812e36932)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Anyone else seeing it ?
-Khem
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: state broken
2012-08-31 4:18 state broken Khem Raj
@ 2012-08-31 5:47 ` Richard Purdie
0 siblings, 0 replies; 2+ messages in thread
From: Richard Purdie @ 2012-08-31 5:47 UTC (permalink / raw)
To: Khem Raj; +Cc: poky
On Thu, 2012-08-30 at 21:18 -0700, Khem Raj wrote:
> Hello
>
> I am getting following errors today
>
> ERROR: Error executing a python function in /work/yocto/poky/meta/recipes-devtools/m4/m4-native_1.4.16.bb:
> IOError: [Errno 2] No such file or directory: '/work/yocto/poky/build/tmp/sstate-control/master.list'
Sorry, I knew about this and had the fix but failed to squash it into
the commit when I merged it. A fix is in master now.
Cheers,
Richard
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-08-31 5:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-31 4:18 state broken Khem Raj
2012-08-31 5:47 ` Richard Purdie
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.