[yocto] one build error with latest cs, (Lock problem)

Ke, Liping liping.ke at intel.com
Wed Jan 26 18:12:07 PST 2011


Hi, 
recently (from this week), I continuously meet build error (x86 and arm).

Seems it's a kind of lock problem, eg: complaining that No such file or directory: {POKYBASE}/build-arm/tmp/sysroots/package-output.lock. (not limiting to this, I run into at least four times). Detailed log is pasted below. After re-compile, the problem will be gone. But if you continues, you might meet it again in the future...

Raised it here in case it is a potential problem. 

Thanks& Regards,
criping


{POKYBASE}/build-arm/tmp/work/armv5te-poky-linux-gnueabi/libfm-0.1.14-r1/temp/log.do_package.19852

the following files were installed but not shipped in any package:
NOTE: the following files were installed but not shipped in any package:
  /usr/lib/gio/modules/libgiofm.a
NOTE:   /usr/lib/gio/modules/libgiofm.a
  /usr/lib/gio/modules/libgiofm.la
NOTE:   /usr/lib/gio/modules/libgiofm.la
  /usr/lib/gio/modules/libgiofm.so
NOTE:   /usr/lib/gio/modules/libgiofm.so
  /usr/lib/gio/modules/.debug/libgiofm.so
NOTE:   /usr/lib/gio/modules/.debug/libgiofm.so
  /usr/share/mime/packages/libfm.xml
NOTE:   /usr/share/mime/packages/libfm.xml
Multiple libraries (libfm.so.0, libfm-gtk.so.0) found and LEAD_SONAME not defined
NOTE: Multiple libraries (libfm.so.0, libfm-gtk.so.0) found and LEAD_SONAME not defined Error executing a python function in /media/poky/new.git/meta/recipes-support/libfm/libfm_0.1.14.bb:
OSError: [Errno 2] No such file or directory: '/media/poky/new.git/build-arm/tmp/sysroots/package-output.lock'

ERROR: Error executing a python function in /media/poky/new.git/meta/recipes-support/libfm/libfm_0.1.14.bb:
OSError: [Errno 2] No such file or directory: '/media/poky/new.git/build-arm/tmp/sysroots/package-output.lock'

The stack trace of python calls that resulted in this exception/failure was:
ERROR: The stack trace of python calls that resulted in this exception/failure was:
  File "emit_pkgdata", line 79, in <module>
ERROR:   File "emit_pkgdata", line 79, in <module>

ERROR: 
  File "emit_pkgdata", line 76, in emit_pkgdata
ERROR:   File "emit_pkgdata", line 76, in emit_pkgdata

ERROR: 
  File "/media/poky/new.git/bitbake/lib/bb/utils.py", line 452, in unlockfile
ERROR:   File "/media/poky/new.git/bitbake/lib/bb/utils.py", line 452, in unlockfile
    os.unlink(lf.name)
ERROR:     os.unlink(lf.name)

ERROR: 
The code that was being executed was:
ERROR: The code that was being executed was:
     0075:
ERROR:      0075:
     0076:	bb.utils.unlockfile(lf)
ERROR:      0076:	bb.utils.unlockfile(lf)
     0077:
ERROR:      0077:
     0078:
ERROR:      0078:
 *** 0079:emit_pkgdata(d)
ERROR:  *** 0079:emit_pkgdata(d)
     0080:
ERROR:      0080:
(file: 'emit_pkgdata', lineno: 79, function: <module>)
ERROR: (file: 'emit_pkgdata', lineno: 79, function: <module>)
     0072:		if g or allow_empty == "1":
ERROR:      0072:		if g or allow_empty == "1":
     0073:			packagedfile = pkgdatadir + '/runtime/%s.packaged' % pkg
ERROR:      0073:			packagedfile = pkgdatadir + '/runtime/%s.packaged' % pkg
     0074:			file(packagedfile, 'w').close()
ERROR:      0074:			file(packagedfile, 'w').close()
     0075:
ERROR:      0075:
 *** 0076:	bb.utils.unlockfile(lf)
ERROR:  *** 0076:	bb.utils.unlockfile(lf)
     0077:
ERROR:      0077:
     0078:
ERROR:      0078:
     0079:emit_pkgdata(d)
ERROR:      0079:emit_pkgdata(d)
     0080:
ERROR:      0080:
(file: 'emit_pkgdata', lineno: 76, function: emit_pkgdata)
ERROR: (file: 'emit_pkgdata', lineno: 76, function: emit_pkgdata) Function 'emit_pkgdata' failed
ERROR: Function 'emit_pkgdata' failed



More information about the yocto mailing list