[OE-core] New fetcher failure for local files

Martin Jansa martin.jansa at gmail.com
Tue May 31 18:00:41 UTC 2011


On Fri, May 20, 2011 at 09:25:49AM +0200, Koen Kooi wrote:
> Hi,
> 
> Since a few days the fetcher is behaving strangely:
> 
> NOTE: package linux-omap-psp-2.6.32-r99b+gitr5fc29e7b2a76a64a739f857858ef0b98294aa155: task do_fetch: Started
> ERROR: Function 'Fetcher failure for URL: 'file://defconfig'. Unable to fetch URL file://defconfig from any source.' failed
> 
> It is present:
> 
> koen at dominion:/OE/tentacle/sources/meta-texasinstruments$ find . -name "defconfig" | grep beagle
> ./recipes-bsp/linux/linux-omap-psp-2.6.32/beagleboard/defconfig
> ./recipes-bsp/linux/linux-omap/beagleboard/defconfig
> 
> The strange thing is that it will work once (e.g. bitbake console-image) but it will fail after switching TCLIBC. And once it started failing, it doesn't work for the default TCLIBC either.
> 
> What's the best way to debug this? -DDD isn't giving much clues, nor does strace :(
> 
> regards,
> 
> Koen

I was hit by similar issues this after last bitbake update, maybe caused by this:
http://git.openembedded.org/cgit.cgi/bitbake/commit/?id=6e9119c42d3f4cb3dab3d25856eee8b4bf4ad94f

but sofar only when building with -b and relative path and -b virtual:native:sth seems broken again :/

OE om-gta02 at shr ~/shr-core $ bitbake -c clean -b openembedded-core/meta/recipes-support/libnl/libnl_2.0.bb

OE Build Configuration:
BB_VERSION        = "1.13.0"
METADATA_BRANCH   = "shr"
METADATA_REVISION = "2189cc44308ee29cfd0e302da542dc32e246c60c"
TARGET_ARCH       = "arm"
TARGET_OS         = "linux-gnueabi"
MACHINE           = "om-gta02"
DISTRO            = "shr"
DISTRO_VERSION    = "-20110531"
TARGET_FPU        = "soft"

NOTE: Preparing runqueue
NOTE: Executing RunQueue Tasks
NOTE: Running task 1 of 1 (ID: 0, openembedded-core/meta/recipes-support/libnl/libnl_2.0.bb, do_clean)
NOTE: package libnl-2.0-r2: task do_clean: Started
NOTE: package libnl-2.0-r2: task do_clean: Succeeded
NOTE: Tasks Summary: Attempted 1 tasks of which 0 didn't need to be rerun and 0 failed.
OE om-gta02 at shr ~/shr-core $ bitbake -c patch -b openembedded-core/meta/recipes-support/libnl/libnl_2.0.bb

OE Build Configuration:
BB_VERSION        = "1.13.0"
METADATA_BRANCH   = "shr"
METADATA_REVISION = "2189cc44308ee29cfd0e302da542dc32e246c60c"
TARGET_ARCH       = "arm"
TARGET_OS         = "linux-gnueabi"
MACHINE           = "om-gta02"
DISTRO            = "shr"
DISTRO_VERSION    = "-20110531"
TARGET_FPU        = "soft"

NOTE: Preparing runqueue
NOTE: Executing RunQueue Tasks
NOTE: Running task 1 of 3 (ID: 2, openembedded-core/meta/recipes-support/libnl/libnl_2.0.bb, do_fetch)
NOTE: package libnl-2.0-r2: task do_fetch: Started
ERROR: Function 'Fetcher failure for URL: 'file://fix-makefile.patch'. Unable to fetch URL file://fix-makefile.patch from any source.' failed
ERROR: Logfile of failure stored in: /OE/shr-core/tmp/work/armv4t-oe-linux-gnueabi/libnl-2.0-r2/temp/log.do_fetch.9100
Log data follows:
| ERROR: Function 'Fetcher failure for URL: 'file://fix-makefile.patch'. Unable to fetch URL file://fix-makefile.patch from any source.' failed
NOTE: package libnl-2.0-r2: task do_fetch: Failed
ERROR: Task 2 (openembedded-core/meta/recipes-support/libnl/libnl_2.0.bb, do_fetch) failed with exit code '1'
ERROR: 'openembedded-core/meta/recipes-support/libnl/libnl_2.0.bb' failed
OE om-gta02 at shr ~/shr-core $ bitbake -c patch -b ~/shr-core/openembedded-core/meta/recipes-support/libnl/libnl_2.0.bb

OE Build Configuration:
BB_VERSION        = "1.13.0"
METADATA_BRANCH   = "shr"
METADATA_REVISION = "2189cc44308ee29cfd0e302da542dc32e246c60c"
TARGET_ARCH       = "arm"
TARGET_OS         = "linux-gnueabi"
MACHINE           = "om-gta02"
DISTRO            = "shr"
DISTRO_VERSION    = "-20110531"
TARGET_FPU        = "soft"

NOTE: Preparing runqueue
NOTE: Executing RunQueue Tasks
NOTE: Running task 1 of 3 (ID: 2, /OE/shr-core/openembedded-core/meta/recipes-support/libnl/libnl_2.0.bb, do_fetch)
NOTE: package libnl-2.0-r2: task do_fetch: Started
NOTE: package libnl-2.0-r2: task do_fetch: Succeeded
NOTE: Running task 2 of 3 (ID: 0, /OE/shr-core/openembedded-core/meta/recipes-support/libnl/libnl_2.0.bb, do_unpack)
NOTE: package libnl-2.0-r2: task do_unpack: Started
NOTE: package libnl-2.0-r2: task do_unpack: Succeeded
NOTE: Running task 3 of 3 (ID: 1, /OE/shr-core/openembedded-core/meta/recipes-support/libnl/libnl_2.0.bb, do_patch)
NOTE: package libnl-2.0-r2: task do_patch: Started
NOTE: package libnl-2.0-r2: task do_patch: Succeeded
NOTE: Tasks Summary: Attempted 3 tasks of which 0 didn't need to be rerun and 0 failed.

OE om-gta02 at shr ~/shr-core $ bitbake -c patch -b virtual:native:~/shr-core/openembedded-core/meta/recipes-support/db/db_5.1.19.bb
ERROR: Unable to match ~/shr-core/openembedded-core/meta/recipes-support/db/db_5.1.19.bb (0 matches found):
ERROR: Command execution failed: Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/bb/command.py", line 102, in runAsyncCommand
    commandmethod(self.cmds_async, self, options)
  File "/usr/lib64/python2.7/site-packages/bb/command.py", line 190, in buildFile
    command.cooker.buildFile(bfile, task)
  File "/usr/lib64/python2.7/site-packages/bb/cooker.py", line 715, in buildFile
    fn = self.matchFile(fn)
  File "/usr/lib64/python2.7/site-packages/bb/cooker.py", line 698, in matchFile
    raise MultipleMatches
MultipleMatches

maybe only with absolute path as relative path shows same error as above
OE om-gta02 at shr ~/shr-core $ bitbake -c patch -b virtual:native:openembedded-core/meta/recipes-support/db/db_5.1.19.bb

OE Build Configuration:
BB_VERSION        = "1.13.0"
METADATA_BRANCH   = "shr"
METADATA_REVISION = "2189cc44308ee29cfd0e302da542dc32e246c60c"
TARGET_ARCH       = "arm"
TARGET_OS         = "linux-gnueabi"
MACHINE           = "om-gta02"
DISTRO            = "shr"
DISTRO_VERSION    = "-20110531"
TARGET_FPU        = "soft"

NOTE: Preparing runqueue
NOTE: Executing RunQueue Tasks
NOTE: Running task 1 of 3 (ID: 2, virtual:native:openembedded-core/meta/recipes-support/db/db_5.1.19.bb, do_fetch)
NOTE: package db-native-5.1.19-r2: task do_fetch: Started
ERROR: Function 'Fetcher failure for URL: 'file://arm-thumb-mutex_db5.patch;patchdir=..'. Unable to fetch URL file://arm-thumb-mutex_db5.patch;patchdir=.. from any source.' failed
ERROR: Logfile of failure stored in: /OE/shr-core/tmp/work/x86_64-linux/db-native-5.1.19-r2/temp/log.do_fetch.9408
Log data follows:
| ERROR: Function 'Fetcher failure for URL: 'file://arm-thumb-mutex_db5.patch;patchdir=..'. Unable to fetch URL file://arm-thumb-mutex_db5.patch;patchdir=.. from any source.' failed
NOTE: package db-native-5.1.19-r2: task do_fetch: Failed
ERROR: Task 2 (virtual:native:openembedded-core/meta/recipes-support/db/db_5.1.19.bb, do_fetch) failed with exit code '1'
ERROR: 'virtual:native:openembedded-core/meta/recipes-support/db/db_5.1.19.bb' failed

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com


More information about the Openembedded-core mailing list