[oe] angstrom-2010.x: `bitbake virtual/kernel` fails with `[Errno 2] No such file or directory: '/oe/openembedded/recipes/linux/linux-omap-2.6.37/beagleboard/./configs/'`
Paul Menzel
paulepanter at users.sourceforge.net
Thu Apr 28 07:39:18 UTC 2011
Dear OE folks,
using `angstrom-2010.x` for `MACHINE = "beagleboard"` and executing
`bitbake -k virtual/kernel` from an empty build directory, task unpack
of `linux-omap_2.6.37.bb` fails with the following error.
$ bitbake -k virtual/kernel
[…]
Build Configuration:
BB_VERSION = "1.12.0"
METADATA_BRANCH = "master"
METADATA_REVISION = "9a7d3ae"
TARGET_ARCH = "arm"
TARGET_OS = "linux-gnueabi"
MACHINE = "beagleboard"
DISTRO = "angstrom"
DISTRO_VERSION = "v20110428"
TARGET_FPU = "hard"
NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing RunQueue Tasks
NOTE: Running task 825 of 945 (ID: 10, /oe/openembedded/recipes/linux/linux-omap_2.6.37.bb, do_setscene)
NOTE: package linux-omap-2.6.37-r101d+gitrfa3b4e23ec20cfc944db7cc2b30b0d82c20e4472: task do_setscene: Started
NOTE: package linux-omap-2.6.37-r101d+gitrfa3b4e23ec20cfc944db7cc2b30b0d82c20e4472: task do_setscene: Succeeded
NOTE: Running task 922 of 945 (ID: 8, /oe/openembedded/recipes/linux/linux-omap_2.6.37.bb, do_fetch)
NOTE: package linux-omap-2.6.37-r101d+gitrfa3b4e23ec20cfc944db7cc2b30b0d82c20e4472: task do_fetch: Started
NOTE: package linux-omap-2.6.37-r101d+gitrfa3b4e23ec20cfc944db7cc2b30b0d82c20e4472: task do_fetch: Succeeded
NOTE: Running task 923 of 945 (ID: 0, /oe/openembedded/recipes/linux/linux-omap_2.6.37.bb, do_unpack)
NOTE: Running task 924 of 945 (ID: 20, /oe/openembedded/recipes/linux/linux-omap_2.6.37.bb, do_distribute_sources)
NOTE: package linux-omap-2.6.37-r101d+gitrfa3b4e23ec20cfc944db7cc2b30b0d82c20e4472: task do_unpack: Started
NOTE: package linux-omap-2.6.37-r101d+gitrfa3b4e23ec20cfc944db7cc2b30b0d82c20e4472: task do_distribute_sources: Started
ERROR: Error executing a python function in /oe/openembedded/recipes/linux/linux-omap_2.6.37.bb:
OSError: [Errno 2] No such file or directory: '/oe/openembedded/recipes/linux/linux-omap-2.6.37/beagleboard/./configs/'
ERROR: The stack trace of python calls that resulted in this exception/failure was:
ERROR: File "base_do_unpack", line 35, in <module>
ERROR:
ERROR: File "base_do_unpack", line 32, in base_do_unpack
ERROR:
ERROR: File "base.bbclass", line 29, in oe_unpack
ERROR:
ERROR: File "/oe/openembedded/lib/oe/unpack.py", line 67, in unpack_file
ERROR: if os.path.samefile(file, dest):
ERROR:
ERROR: File "/usr/lib/python2.6/posixpath.py", line 152, in samefile
ERROR: s1 = os.stat(f1)
ERROR:
ERROR: The code that was being executed was:
ERROR: 0031:
ERROR: 0032: oe_unpack(d, local, urldata)
ERROR: 0033:
ERROR: 0034:
ERROR: *** 0035:base_do_unpack(d)
ERROR: 0036:
ERROR: (file: 'base_do_unpack', lineno: 35, function: <module>)
ERROR: 0028: local = urldata.localpath
ERROR: 0029: if not local:
ERROR: 0030: raise bb.build.FuncFailed('Unable to locate local file for %s' % url)
ERROR: 0031:
ERROR: *** 0032: oe_unpack(d, local, urldata)
ERROR: 0033:
ERROR: 0034:
ERROR: 0035:base_do_unpack(d)
ERROR: 0036:
ERROR: (file: 'base_do_unpack', lineno: 32, function: base_do_unpack)
NOTE: package linux-omap-2.6.37-r101d+gitrfa3b4e23ec20cfc944db7cc2b30b0d82c20e4472: task base_do_unpack: Failed
ERROR: Function 'base_do_unpack' failed
ERROR: Task 0 (/oe/openembedded/recipes/linux/linux-omap_2.6.37.bb, do_unpack) failed with exit code '1'
Waiting for 1 active tasks to finish:
0: linux-omap-2.6.37-r101d+gitrfa3b4e23ec20cfc944db7cc2b30b0d82c20e4472 do_distribute_sources (pid 17470)
NOTE: package linux-omap-2.6.37-r101d+gitrfa3b4e23ec20cfc944db7cc2b30b0d82c20e4472: task do_distribute_sources: Succeeded
ERROR: '/oe/openembedded/recipes/linux/linux-omap_2.6.37.bb' failed
`.configs/` is appended to `SRC_URI` in `multi-kernel.inc` [1].
The strange thing is, that `bitbake -k beagleboard-demo-image` does not
show this error.
A fix would be greatly appreciated.
Thanks,
Paul
[1] http://cgit.openembedded.org/cgit.cgi/openembedded/tree/recipes/linux/multi-kernel.inc#n16
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20110428/4399826e/attachment-0002.sig>
More information about the Openembedded-devel
mailing list